OpenVZ Forum



Members   Search      Help    Register    Login    Home
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 10:13 Go to next message
steeleweb is currently offline steeleweb
Messages: 22
Registered: February 2009
Location: Kansas City
Junior Member
From: 206.57.124*
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 14:28 Go to previous messageGo to next message
unliketea is currently offline unliketea
Messages: 4
Registered: November 2010
Location: US
Junior Member
From: *ndc.nasa.gov
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 11:53 Go to previous messageGo to next message
steeleweb is currently offline steeleweb
Messages: 22
Registered: February 2009
Location: Kansas City
Junior Member
From: 206.57.124*
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 12:43 Go to previous messageGo to next message
unliketea is currently offline unliketea
Messages: 4
Registered: November 2010
Location: US
Junior Member
From: *ndc.nasa.gov
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 06:13 Go to previous message
Kristian0911 is currently offline Kristian0911
Messages: 9
Registered: April 2011
Junior Member
From: *supportdepartment.net
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: Sun May 19 17:36:31 EDT 2013
Powered by FUDforum Powered by Parallels Virtuozzo Containers