From: Ron Arts (raarts_at_office.netland.nl)
Date: Tue 12 Feb 2002 - 11:32:39 GMT
By the way, I replaced both instances with
find /var/run/ -name \*.pid -exec rm -f {} \;
Also changed `sleep 2` into `sleep 5` when stopping
vservers. 2 seconds weas not enough for my MySQL setup.
Ron
Andy Kwong wrote:
> And on line 208 as well.
>
> On Mon, 2002-02-11 at 09:08, Ron Arts wrote:
>
>>Right!! So that's probably what was killing my /var/run/mysqld
>>directory! I did not look into it thoroughly yet, glad you
>>beat me to it ;-)
>>
>>thanks Andy.
>>
>>Ron
>>
>>Andy Kwong wrote:
>>
>>
>>>On line 80 in /usr/sbin/vserver it is -
>>>
>>>
>>>
>>> rm -fr var/run/*
>>>
>>>
>>>
>>>Shouldn't it be -
>>>
>>>
>>>
>>> rm -f var/run/*.pid
>>>
>>>
>>>
>>>This is because it is removing /var/run/named/ and other directories
>>>that some programs need to write their pid files to.
>>>
>>>
>>
>>--
>>Netland Internet Services
>>bedrijfsmatige internetoplossingen
>>
>>http://www.netland.nl Kruislaan 419 1098 VA Amsterdam
>>info: 020-5628282 servicedesk: 020-5628280 fax: 020-5628281
>>
>>
>
-- Netland Internet Services bedrijfsmatige internetoplossingenhttp://www.netland.nl Kruislaan 419 1098 VA Amsterdam info: 020-5628282 servicedesk: 020-5628280 fax: 020-5628281