OpenVZ Forum


Home » General » Support » service vz start, command not found centOS 5.5 (CnetOS 5.5 startinf vz service)
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 previous 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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: /etc/resolv.conf reverts on reboot
Next Topic: vzctl set cpuunits and vzcpucheck strange behaviour
Goto Forum:
  


Current Time: Tue Aug 05 16:33:30 GMT 2025

Total time taken to generate the page: 1.50646 seconds