Starting Services
When I'm in terminal it doesnt reconize service so I can start a service. I remember do it that way about a month ago. What am I doing wrong...I've installed all the packages help please!
|
i don't understand what you mean "recognise service"? what are you actually doing??
|
On some distributions you can start services like:
service portmap start service httpd start (for example) |
Sorry didnt explain very well. Bash is what I get when I type in service. And Im using Redhat 9.0
|
It's telling me it cant find the command...
|
This might be a stupid question, but are you logged in as root? I experienced the same problem, even after I "su"ed to super user, it still didn't find the command until I typed /sbin/service
|
........... and in general - to run any command on the command line it needs to be in your PATH - to check your PATH
echo $PATH for Red Hat su - (su dash) gives you a typical Root users PATH |
Hmmmm... clever... I learn something new everyday, wether it be a question I posted or not.
How would you set the path, or at least add something to the path? |
....... for example
PATH=$PATH:/home/john/programs export PATH |
Ok, so while we're on the topic about services, could you shed some light on my issue in the Newbie Forum with regards to managing services? I am still due to get a proper answer, and have been waiting for more than a day.... :o)
|
All times are GMT -5. The time now is 12:42 PM. |