Re: [vserver] Vserver and /var/run

About this list Date view Thread view Subject view Author view Attachment view

From: Ron Arts (raarts_at_office.netland.nl)
Date: Tue Feb 12 2002 - 06:32:39 EST


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 internetoplossingen

http://www.netland.nl Kruislaan 419 1098 VA Amsterdam info: 020-5628282 servicedesk: 020-5628280 fax: 020-5628281


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.4 : Mon Aug 19 2002 - 12:01:01 EDT