OpenVZ Forum


Home » General » Support » kernel Problem
Re: kernel Problem [message #33770 is a reply to message #33769] Sun, 09 November 2008 03:12 Go to previous messageGo to previous message
aoscentral is currently offline  aoscentral
Messages: 29
Registered: November 2008
Junior Member
HI , ( : command not foundne errors ) solved ! Very Happy


[root@serverd608 ~]# cat /etc/vz/vz.conf | tr -d '\r' > vz.conf.new && mv vz.conf.new /etc/vz/vz.conf
mv: overwrite `/etc/vz/vz.conf'? y

[root@serverd608 ~]# /etc/init.d/vz restart
Shutting down VE 110
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
/etc/init.d/vz: line 200: echo: write error: Broken pipe
/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 110: [ OK ]
[root@serverd608 ~]#

### /etc/vz/vz.conf Attached ###

Thanks


kir wrote on Sat, 08 November 2008 21:42

Thanks. It looks like you were editing /etc/vz/vz.conf with some Windoze text editor. Don't do that since it inserts extra characters ("\r").

For now, try this to fix the file:

cat /etc/vz/vz.conf | tr -d '\r' > vz.conf.new && mv vz.conf.new /etc/vz/vz.conf


Then rerun /etc/init.d/vz restart and see if the above fix helped. If not, attach your /etc/vz/vz.conf here.

  • Attachment: vz.txt.txt
    (Size: 1.03KB, Downloaded 392 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Performance problems on heavily-loaded VE
Next Topic: vzyum database recovery -- was vzpkgcache fail
Goto Forum:
  


Current Time: Mon Sep 15 05:35:06 GMT 2025

Total time taken to generate the page: 0.80563 seconds