Re: [Vserver] kill: (1) - No such process

2005-04-28 Thread Gilles
Hi. > > > > 1. vserver not running: no processes. > > 2. start vserver: still no processes. > > 3. stop vserver: every application closed becomes . > > 4. impossible to start the vserver again: > > vcontext: vc_create_context(): File exists. > >And "init" is hung (have to reset the com

Re: [Vserver] kill: (1) - No such process

2005-04-27 Thread Herbert Poetzl
On Thu, Apr 28, 2005 at 02:53:29AM +0200, Gilles wrote: > > > > # ls -al /var/lib/vservers/phony/dev > > > total 1 > > > drwxr-xr-x 3 root root 264 Apr 26 11:46 . > > > drwxr-xr-x 20 root root 504 Apr 26 11:46 .. > > > crw-rw-rw- 1 root root 1, 7 Apr 20 18:46 full > > > prw--- 1 root

Re: [Vserver] kill: (1) - No such process

2005-04-27 Thread Gilles
> > # ls -al /var/lib/vservers/phony/dev > > total 1 > > drwxr-xr-x 3 root root 264 Apr 26 11:46 . > > drwxr-xr-x 20 root root 504 Apr 26 11:46 .. > > crw-rw-rw- 1 root root 1, 7 Apr 20 18:46 full > > prw--- 1 root root0 Apr 27 18:54 initctl > > crw-rw-rw- 1 root root 1, 3 Apr 2

Re: [Vserver] kill: (1) - No such process

2005-04-27 Thread Herbert Poetzl
On Thu, Apr 28, 2005 at 12:15:04AM +0200, Gilles wrote: > Hello. > > > > I've started (and stopped) the vserver *once*, now I can't start it > > > anymore, the error is as before: > > > - > > > vcontext: vc_create_context(): File exists > > > > unusual .. but I would conclude that 'somehow' y

Re: [Vserver] kill: (1) - No such process

2005-04-27 Thread Gilles
Hello. > > I've started (and stopped) the vserver *once*, now I can't start it > > anymore, the error is as before: > > - > > vcontext: vc_create_context(): File exists > > unusual .. but I would conclude that 'somehow' your > vserver does something with the init on your host > so I would sug

Re: [Vserver] kill: (1) - No such process

2005-04-27 Thread Herbert Poetzl
On Wed, Apr 27, 2005 at 07:12:21PM +0200, Gilles wrote: > Hi Herbert. > > Still struggling with a ghost "init" and a horde of zombies... > > I forgot to tell (on IRC) that I couldn't reboot: "init" doesn't > answer anymore! So I had to push the button :-{ [No alternative, > I assume?] > > The

Re: [Vserver] kill: (1) - No such process

2005-04-27 Thread Gilles
Hi Herbert. Still struggling with a ghost "init" and a horde of zombies... I forgot to tell (on IRC) that I couldn't reboot: "init" doesn't answer anymore! So I had to push the button :-{ [No alternative, I assume?] The behaviour is still the same unfortunately. I've let the computer do some

Re: [Vserver] kill: (1) - No such process

2005-04-26 Thread Herbert Poetzl
On Wed, Apr 27, 2005 at 01:16:56AM +0200, [EMAIL PROTECTED] wrote: > [Sorry if this a double post, the first one didn't seem to > get through.] > > Hi. > > > Also, there is an ever-growing number of processes: > > # ps ax | grep defunct | grep -v grep | wc -l > > 83 > > The count is raising: >

Re: [Vserver] kill: (1) - No such process

2005-04-26 Thread gilles
Hi. > Also, there is an ever-growing number of processes: > # ps ax | grep defunct | grep -v grep | wc -l > 83 The count is raising: # ps ax | grep defunct | grep -v grep | wc -l 173 Help would be appreciated, first to get back to normal on the host, then to be able to start a vserver with

Re: [Vserver] kill: (1) - No such process

2005-04-26 Thread gilles
[Sorry if this a double post, the first one didn't seem to get through.] Hi. > Also, there is an ever-growing number of processes: > # ps ax | grep defunct | grep -v grep | wc -l > 83 The count is raising: # ps ax | grep defunct | grep -v grep | wc -l 200 Help would be appreciated, first to

Re: [Vserver] kill: (1) - No such process

2005-04-26 Thread Gilles
> > # vkill --xid 99 -s 9 -- 1 > > vkill: vc_ctx_kill(): No such process > > > > :-( > > Hm, strange... A socket hanging around should be gone by now... What > does /proc/virtual/99/status say? # cat /proc/virtual/99/status UseCnt: 3 Tasks: 0 Flags: 0210 BCaps: d44c04ff C

Re: [Vserver] kill: (1) - No such process

2005-04-26 Thread Björn Steinbrink
On 2005.04.26 12:58:04 +0200, Gilles wrote: > Hello. > > > > # vserver phony start > > > vcontext: vc_create_context(): File exists > > > > Take a look at vserver-stat output. > > # vserver-stat > CTX PROCVSZRSS userTIME sysTIMEUPTIME NAME > 0 115 0.9G 146.3K 38m18s83

Re: [Vserver] kill: (1) - No such process

2005-04-26 Thread Gilles
Hello. > > # vserver phony start > > vcontext: vc_create_context(): File exists > > Take a look at vserver-stat output. # vserver-stat CTX PROCVSZRSS userTIME sysTIMEUPTIME NAME 0 115 0.9G 146.3K 38m18s83 1h40m52 21h55m35 root server > The init process is still ru

Re: [Vserver] kill: (1) - No such process

2005-04-26 Thread Björn Steinbrink
On 2005.04.26 12:02:11 +0200, Gilles wrote: > Hi. > > > You have to specify --initstyle plain when building the vserver or have > > /etc/vservers//apps/init/style contain "plain". > > Thanks, that's the piece I was missing. So it worked, *once* :-{ > After that on the next trials to start the vs

Re: [Vserver] kill: (1) - No such process

2005-04-26 Thread Gilles
Hi. > You have to specify --initstyle plain when building the vserver or have > /etc/vservers//apps/init/style contain "plain". Thanks, that's the piece I was missing. So it worked, *once* :-{ After that on the next trials to start the vserver: # vserver phony start vcontext: vc_create_contex

Re: [Vserver] kill: (1) - No such process

2005-04-25 Thread Björn Steinbrink
On 2005.04.26 00:38:48 +0200, Gilles wrote: > Hello. > > > > > should work fine with a real init running inside > > > > the vserver and might work with just the fake > > > > blend through too ... > > > > > PS: I assume you are using 2.6.11.7-vs2.0-pre1 ;) > > > > > > Euh, no: 2.6.11-vs1.9.5-rc1

Re: [Vserver] kill: (1) - No such process

2005-04-25 Thread Gilles
Hello. > > > should work fine with a real init running inside > > > the vserver and might work with just the fake > > > blend through too ... > > > PS: I assume you are using 2.6.11.7-vs2.0-pre1 ;) > > > > Euh, no: 2.6.11-vs1.9.5-rc1 > > Should I upgrade before expecting it to work? So, I did

Re: [Vserver] kill: (1) - No such process

2005-04-23 Thread Gilles
> > I'm trying to install a package in a Debian vserver, > > but the configuration script ends with > > > > kill -s HUP 1 > runit does that, this used to put this package in 'uninstallable' state, That's the one indeed. > because author assumed that kill -HUP 1 always succeeds. > This is a m

Re: [Vserver] kill: (1) - No such process

2005-04-23 Thread Gilles
> You did restart the vserver after adding the flag, yes? Yes. > Enter the vserver and > check if there's a process called "init" with a pid of 1 (use ps xa). # ps ax PID TTY STAT TIME COMMAND 1088 ?S 0:00 /usr/sbin/nullmailer-send -d 1094 ?Ss 0:00 /usr/sbin

Re: [Vserver] kill: (1) - No such process

2005-04-23 Thread Dariush Pietrzak,,,
> I'm trying to install a package in a Debian vserver, > but the configuration script ends with > > kill -s HUP 1 runit does that, this used to put this package in 'uninstallable' state, because author assumed that kill -HUP 1 always succeeds. This is a mistake on packager's side. You can play

Re: [Vserver] kill: (1) - No such process

2005-04-22 Thread Liam Helmer
Hmm... this command works for me with fakeinit on although, it should really be calling "init q", but that's just me being picky. You did restart the vserver after adding the flag, yes? Enter the vserver and check if there's a process called "init" with a pid of 1 (use ps xa). You are using

Re: [Vserver] kill: (1) - No such process

2005-04-22 Thread Gilles
> should work fine with a real init running inside > the vserver and might work with just the fake > blend through too ... > > HTH, > Herbert > > PS: I assume you are using 2.6.11.7-vs2.0-pre1 ;) Euh, no: 2.6.11-vs1.9.5-rc1 Should I upgrade before expecting it to work? Best, Gilles ___

Re: [Vserver] kill: (1) - No such process

2005-04-22 Thread Herbert Poetzl
On Sat, Apr 23, 2005 at 01:23:09AM +0200, Gilles wrote: > > > should work fine with a real init running inside > > the vserver and might work with just the fake > > blend through too ... > > > > HTH, > > Herbert > > > > PS: I assume you are using 2.6.11.7-vs2.0-pre1 ;) > > Euh, no: 2.6.11-vs1.

[Vserver] kill: (1) - No such process

2005-04-22 Thread Gilles
Hello. I'm trying to install a package in a Debian vserver, but the configuration script ends with kill -s HUP 1 (because the package modifies "/etc/inittab"). Hence the script aborts, and the package management system marks the package as "Not fully installed". Is there a way to make that in

Re: [Vserver] kill: (1) - No such process

2005-04-22 Thread Herbert Poetzl
On Sat, Apr 23, 2005 at 01:01:35AM +0200, Gilles wrote: > Hello. > > I'm trying to install a package in a Debian vserver, > but the configuration script ends with > > kill -s HUP 1 > > (because the package modifies "/etc/inittab"). > Hence the script aborts, and the package management > system