OpenVZ Forum


Home » International » Russian » VE died ...
Re: VE died ... [message #33240 is a reply to message #33239] Wed, 01 October 2008 15:05 Go to previous messageGo to previous message
Bobele is currently offline  Bobele
Messages: 37
Registered: March 2006
Member
Спасибо, частично помогло.

ovz-2:/vz/private/1020004/etc/init.d# diff -u mountall.sh.ORIGINAL mountall.sh > mountall.sh.diff
ovz-2:/vz/private/1020004/etc/init.d# cat mountall.sh.diff
--- mountall.sh.ORIGINAL 2008-04-18 18:02:40.000000000 +0200
+++ mountall.sh 2008-10-01 16:53:24.000000000 +0200
@@ -76,7 +76,7 @@
rm -f $INITCTL
mknod -m 600 $INITCTL p
fi
- kill -USR1 1
+#--- kill -USR1 1

#
# Execute swapon command again, in case we want to swap to


Но похоже та же проблемка и у меня...
>> Wait... Commenting `kill -USR1 1' makes VE starting but no services inside VE are started:

Должно быть так (ручной старт sshd и apache2):
ovz-2:/# vzctl exec arvdr ps ax
PID TTY STAT TIME COMMAND
1 ? Ss 0:00 init
11572 ? Ss 0:00 /usr/sbin/apache2 -k start
11573 ? S 0:00 /usr/sbin/apache2 -k start
11574 ? Sl 0:00 /usr/sbin/apache2 -k start
11576 ? Sl 0:00 /usr/sbin/apache2 -k start
11772 ? Sl 0:04 /usr/bin/python /usr/bin/fail2ban-server -b -s /var/run/fail2ban/fail2ban.sock
11840 ? Ss 0:00 /usr/sbin/sshd
11851 ? Rs 0:00 ps ax

ovz-2:/# vzctl exec arvdr netstat -anp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 11572/apache2
tcp6 0 0 :::22 :::* LISTEN 11840/sshd
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node PID/Program name Path
unix 2 [ ACC ] STREAM LISTENING 8010797 11573/apache2 /var/run/apache2/cgisock.11572
unix 2 [ ] DGRAM 8008514 1/init @/com/ubuntu/upstart
unix 2 [ ACC ] STREAM LISTENING 8011701 11772/python /var/run/fail2ban/fail2ban.sock


После нового старта:
ovz-2:/# vzctl exec arvdr ps ax
PID TTY STAT TIME COMMAND
1 ? Ss 0:00 init
13899 ? Rs 0:00 ps ax

ovz-2:/# vzctl exec arvdr netstat -anp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node PID/Program name Path
unix 2 [ ] DGRAM 8012586 1/init @/com/ubuntu/upstart
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Патчи к ядру
Next Topic: аналоги ps и netstat с выводом veid/vpid существуют ?
Goto Forum:
  


Current Time: Mon Nov 04 08:44:51 GMT 2024

Total time taken to generate the page: 0.03435 seconds