service command
Hi, I have installed Fedora 7. I trying to use the service command. It is it is not recognize. I know you can reset services other ways. I just wanted to know how to enable it?
Thanks |
why have you installed fedora 7?? it's real old now, and obsolete. Install something newer. As for the service command, it's there, I'd bet your're either not root, or you've not su'd to root correctly. run "su -" and then you'll have the right environment path set to get it. Pointless command IMO. just run /etc/init.d/<service name> instead. The service command adds nothing at all.
|
Thanks. I will just get an update version of fedora
|
yea the service command only works with root or su access. If you are user or $ level then you will need to use something like
Code:
$ /etc/init.d/httpd status | restart | stop | start |
You need to be root to start the service, no matter how you do it.
|
All times are GMT -5. The time now is 10:33 PM. |