OpenVZ Forum


Home » General » Support » vztmpl-centos-5-2.0-3.i386.rpm
vztmpl-centos-5-2.0-3.i386.rpm [message #32657] Fri, 22 August 2008 12:25 Go to next message
johan_hammy is currently offline  johan_hammy
Messages: 99
Registered: December 2005
Member
Here is the end of my vzpkgcache:

Quote:

Complete!
sed: can't read /etc/init.d/syslog: No such file or directory
ERROR: Script install-post failed


What does that mean?
icon12.gif  Re: vztmpl-centos-5-2.0-3.i386.rpm [message #32840 is a reply to message #32657] Tue, 02 September 2008 02:47 Go to previous message
ft.linux is currently offline  ft.linux
Messages: 6
Registered: August 2008
Junior Member
Smile

vi /vz/template/centos/5/i386/config/install.post

The following is no longer required as there is no separate klogd daemon in rsyslog:

# Disable klogd
#$VZCTL exec2 $VEID \
# "sed -i -e 's/daemon\\ klogd/passed\\ klogd\\ skipped/' \
# -e 's/killproc\\ klogd/passed\\ klogd\\ skipped/' \
# /etc/init.d/syslog"
# FIXME: fix '/etc/init.d/syslog status' to return 0
# even if klogd is not running


Change the /etc/syslog.conf to /etc/rsyslog.conf in the following area of the file:

# Disable fsync() in syslog
$VZCTL exec2 $VEID \
'sed -i -e s@\\\([[:space:]]\\\)\\\(/var/log/\\\)@\\\1-\\\2@' \
/etc/rsyslog.conf


Now your templates should build perfectly.
Previous Topic: vzquota taking 1.2GB of actual memory upon startup
Next Topic: OpenVZ and Tyan Thunder n3600m s2932 motherboard
Goto Forum:
  


Current Time: Thu Aug 14 15:30:05 GMT 2025

Total time taken to generate the page: 0.39871 seconds