From: Martin Glauser (mglauser_at_ip-cracks.ch)
Date: Thu 08 Jul 2004 - 10:25:26 BST
Hi community
I am pretty new to linux-vserver and have actualy a strange situation.
I have a couplel of vservers running, everything works as expected
with one exception, the /sbin/reboot within the vserver itself. The
vserver accespts the command and stops fine, however the start then
dosent appear (?) or fails.
Here the system information:
Linux 2.4.26-vs1.28 with the fpu-exploit patch, util-vserver v1.28.
Output from the vserver log:
Jul 8 10:46:37 xxxx105 su(pam_unix)[7275]: session opened for user root by admin(uid=1000)
Jul 8 10:46:46 xxxx105 sshd[7140]: Received signal 15; terminating.
Jul 8 10:46:46 xxxx105 syslog-ng[6620]: syslog-ng version 1.6.4 going down
Jul 8 10:46:58 xxxx105 syslog-ng[8192]: syslog-ng version 1.6.4 starting
Jul 8 10:46:58 xxxx105 syslog-ng[8192]: Changing permissions on special file /dev/tty12
Jul 8 10:46:59 xxxx105 sshd[8720]: Server listening on 212.254.52.229 port 22.
Jul 8 10:47:02 xxxx105 sshd[8720]: Received signal 15; terminating.
Jul 8 10:47:02 xxxx105 syslog-ng[8192]: syslog-ng version 1.6.4 going down
What I saw in the hostsystem:
xxx root # vserver xxxx105 status
Server xxxx105 is running
3 processes running
Vserver uptime: 00:00
xxx root # vserver xxxx105 status
Server xxxx105 is not running
xxx root # vserver xxxx105 status
Server xxxx105 is not running
xxx root #
xxx root #
xxx root # vserver xxxx105 status
Server xxxx105 is running
3 processes running
Vserver uptime: 00:00
xxx root #
xxx root #
xxx root # vserver xxxx105 status
Server xxxx105 is running
2 processes running
Vserver uptime: 00:00
xxx root # vserver gentoo-105 status
Server xxxx105 is not running
xxx root # vserver gentoo-105 status
Server xxxx105 is not running
xxx root #
Well the rebootmgr seems to work as expected:
krios vservers # netstat -la
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 xxx:ssh *:* LISTEN
tcp 0 272 xxx:ssh x.x.x.x:10026 ESTABLISHED
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 2583 /vservers/xxxx104/dev/reboot
unix 2 [ ACC ] STREAM LISTENING 2170 /dev/log
unix 2 [ ACC ] STREAM LISTENING 2557 /vservers/xxxx102/dev/reboot
unix 2 [ ACC ] STREAM LISTENING 2567 /vservers/xxxx103/dev/reboot
unix 2 [ ACC ] STREAM LISTENING 2589 /vservers/xxxx105/dev/reboot
unix 2 [ ACC ] STREAM LISTENING 2553 /vservers/xxxx101/dev/reboot
unix 3 [ ] STREAM CONNECTED 190759 /dev/log
unix 3 [ ] STREAM CONNECTED 190758
Any ideas what may go wrong? The distro I use is Gentoo.
Thanks for feedback & Regards
Tinu
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver