Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 11-20-2002, 02:25 PM   #1
Registered: Nov 2002
Distribution: Slackware
Posts: 37

Rep: Reputation: 15
Question Red Hat 7.2 command

Greetings, I have used Linux for some time and I have a problem with my newest install.
I purchased a book for Red Hat and it had 7.2 CD's (2) so I installed it and used it instead of mandrake or RH6 I am trying to set up sendmail and was instructed to preform the "service" command (service sendmail restart) and when I did this it says "command not found".
I have tried to be in various directory's and still get the same reply. i have searched for this command and cannot find it. I thought it did not get installed with the "default" install.
so..... I reinstalled it with everything I could put in it. after all that when i got to the same point (reconfigure and restart sendmail) i have the same problem.
Red Hat is not too willing to help because I did not "purchase" the package from them and the support that comes with it. this is perfectly fine with me, I cant blame them at all.
any thats my story and problem. I hope this is something that cant be figured out.
thank you for your time.
I love this board!!!!
Old 11-20-2002, 03:00 PM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
service should be in the /sbin directory, make usre you are root when you use it.

alternatively you can equally just run the commands directly: "/etc/init.d/service-you-want-to-fiddle-with restart"
Old 11-21-2002, 12:18 PM   #3
Registered: Nov 2002
Distribution: Slackware
Posts: 37

Original Poster
Rep: Reputation: 15
Thank you very much.
so you dont have to type the word service? just the service you want to restart?
thank you it worked great


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
what command to install red hat? aoeshang Linux - Newbie 19 07-09-2005 11:35 AM
Red Hat 8.0 equivalent command photowriters Linux - Networking 2 12-29-2003 09:11 AM
question about rm command on Red Hat 9 rharvey@cox Red Hat 16 10-20-2003 08:21 AM
debian and red hat equivalent command x2000koh Debian 5 08-21-2003 10:36 AM
Red Hat 7.0 problem with ps command fweaver Linux - Software 15 02-27-2003 02:29 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration