OpenVZ Forum


Home » General » Support » Differences between vzctl stop/start and restart?
Differences between vzctl stop/start and restart? [message #30285] Tue, 20 May 2008 07:06 Go to previous message
imknight is currently offline  imknight
Messages: 15
Registered: January 2008
Junior Member
Just wondering what the significant differences were between doing
vzctl stop
vzctl start

and

vzctl restart

On a server when i do the initial two it has no issues:

[root@node0 ~]# service vz stop
Shutting down VE 101
Bringing down interface venet0: [ OK ]
Stopping OpenVZ: [ OK ]
[root@node0 ~]# service vz start
Starting OpenVZ: [ OK ]
Bringing up interface venet0: [ OK ]
Configuring interface venet0: [ OK ]
Starting VE 101: [ OK ]
[root@node0 ~]#


But when doing a vzctl restart:

[root@node0 ~]# service vz restart
Shutting down VE 101
Bringing down interface venet0: [ OK ]
Stopping OpenVZ: [ OK ]
/etc/init.d/vz: line 200: echo: write error: Broken pipe
/etc/init.d/vz: line 200: echo: write error: Broken pipe
Starting OpenVZ: [ OK ]
Bringing up interface venet0: [ OK ]
Configuring interface venet0: [ OK ]
Starting VE 101: [ OK ]
[root@node0 ~]#


Are these 'Broken pipe' errors anything to worry about?

197 conf="`zcat /proc/config.gz 2>/dev/null | grep -E -v '^#|^$'`"
198
199 for opt in $opt_must; do
200 if ! echo "$conf" | grep -q "$opt="; then
201 echo "ERROR: Missing kernel config option: CONFIG_$opt"
202 err=1
203 fi
204 done

As it doesnt actually echo any missing kernel config options so bit unsure as if restart is having an issue or not.

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: auditd and OpenVZ
Next Topic: lost messages
Goto Forum:
  


Current Time: Mon Aug 12 12:18:55 GMT 2024

Total time taken to generate the page: 0.02778 seconds