PDA

View Full Version : /sbin/service vz start -- problem starting


miltongoh
17th June 2006, 19:53
Hi,

I have some problem while issuing the command. "/sbin/service vz start"

Some information

Server Type: i386

Server files downloaded from OpenVZ

ovzkernel-2.6.8-022stab077.1.i686.rpm
vzctl-lib-3.0.10-1.i386.rpm
vzquota-3.0.8-1.i386.rpm

================================================== =====

ERROR

[root@halo ~]# /sbin/service vz start
vz: unrecognized service
[root@halo ~]#

================================================== =====

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title OpenVZ (2.6.8-022stab077.1)
root (hd0,0)
kernel /vmlinuz-2.6.8-022stab077.1 ro root=/dev/VolGroup00/LogVol00
initrd /initrd-2.6.8-022stab077.1.img
title CentOS-4 i386 (2.6.9-34.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-34.EL ro root=/dev/VolGroup00/LogVol00
initrd /initrd-2.6.9-34.EL.img

"/boot/grub/grub.conf" 21L, 748C

================================================== =====

# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.

# Controls IP packet forwarding
net.ipv4.ip_forward = 1
net.ipv4.conf.default.proxy_arp = 0

# Controls source route verification
net.ipv4.conf.default.rp_filter = 1

# Do not accept source routing
#net.ipv4.conf.default.accept_source_route = 0

# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 1

# Controls whether core dumps will append the PID to the core filename.
# Useful for debugging multi-threaded applications.
kernel.core_uses_pid = 1

net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0

"/etc/sysctl.conf" 24L, 720C

================================================== =====

Any kind soul out there please assist me. Thank you!

falko
18th June 2006, 13:42
Which distribution do you use?
Did you have a look here?
What's the output of which vz and
updatedb
locate vz?