OpenVZ Forum


Home » General » Support » service vz start, command not found centOS 5.5 (CnetOS 5.5 startinf vz service)
service vz start, command not found centOS 5.5 [message #41096] Tue, 16 November 2010 15:13 Go to next message
steeleweb is currently offline  steeleweb
Messages: 22
Registered: February 2009
Location: Kansas City
Junior Member
I have installed openvz and tools, trying to start service as next step but it is bringing back that there is no command.

service vz start
bash: service: command not found

suggestions?

Re: service vz start, command not found centOS 5.5 [message #41103 is a reply to message #41096] Thu, 18 November 2010 19:28 Go to previous messageGo to next message
unliketea is currently offline  unliketea
Messages: 4
Registered: November 2010
Location: US
Junior Member
try as root!
Re: service vz start, command not found centOS 5.5 [message #41107 is a reply to message #41103] Fri, 19 November 2010 16:53 Go to previous messageGo to next message
steeleweb is currently offline  steeleweb
Messages: 22
Registered: February 2009
Location: Kansas City
Junior Member
already tried that.

Re: service vz start, command not found centOS 5.5 [message #41109 is a reply to message #41107] Fri, 19 November 2010 17:43 Go to previous messageGo to next message
unliketea is currently offline  unliketea
Messages: 4
Registered: November 2010
Location: US
Junior Member
when you su to root, ensure you use the command:
# su -

the dash indicates you want to configure your environment for root (and thus its search paths), otherwise, you keep your user account environment configuration, which does not include /sbin.

Another option would be to point to the service executable directory with:

# /sbin/service
Re: service vz start, command not found centOS 5.5 [message #42466 is a reply to message #41096] Wed, 20 April 2011 10:13 Go to previous message
Kristian0911 is currently offline  Kristian0911
Messages: 9
Registered: April 2011
Junior Member
steeleweb wrote on Tue, 16 November 2010 15:13
I have installed openvz and tools, trying to start service as next step but it is bringing back that there is no command.

service vz start
bash: service: command not found

suggestions?



Tyr to start the service with the command as :

/etc/init.d/vz start


Thanks.
Previous Topic: /etc/resolv.conf reverts on reboot
Next Topic: vzctl set cpuunits and vzcpucheck strange behaviour
Goto Forum:
  


Current Time: Sat Oct 19 09:31:11 GMT 2024

Total time taken to generate the page: 0.05007 seconds