Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-07-2002, 10:48 PM   #1
prism ra
LQ Newbie
Registered: Oct 2002
Distribution: Redhat 8.0
Posts: 9

Rep: Reputation: 0
Question about 'services' (httpd) in redhat 8.0

Hey Guys and Gals (mostly guys im sure.)

I was looking in the Redhat documentation and it said in order to start the httpd daemon i had to type:

service httpd start

I tried this and got 'bad command' error.

So i tried to type: 'locate service'

It found nothing. So I eventually found (in Gnome) a program called redhat-services-config which is a graphical applet for Xwindows that allows me to start, stop and restart daemons. So thats great, however, the reason i am using linux is to teach myself how to administer a linux box so i feel using xwindows is really cheating myself.

So heres my question. what command do i use to start and stop services. and if service is it, where is it on my box and how would i install it? (you'd think it was in by default.)
Old 10-07-2002, 11:15 PM   #2
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
I don't have 8.0 yet but it should be in init.d

/etc/rc.d/init.d/httpd start

to start at boot run this command


then goto ...

system services

select httpd

save and quit

Last edited by DavidPhillips; 10-07-2002 at 11:17 PM.
Old 10-07-2002, 11:45 PM   #3
prism ra
LQ Newbie
Registered: Oct 2002
Distribution: Redhat 8.0
Posts: 9

Original Poster
Rep: Reputation: 0
Quote from the redhat documentation:

The the httpd RPM installs the /etc/rc.d/init.d/httpd Bourne script, which is accessed using the /sbin/service command.

To start your server, as root type:

/sbin/service httpd start

This, to my understanding, is the way you can manipulate running processes on the system (not just httpd).

I have no 'service' program installed in /sbin


Any ideas?
Old 10-08-2002, 02:10 AM   #4
prism ra
LQ Newbie
Registered: Oct 2002
Distribution: Redhat 8.0
Posts: 9

Original Poster
Rep: Reputation: 0
nevermind, i'm a dumb@ss.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question regarding stopping services in RedHat 9 tuxfood Red Hat 1 05-09-2005 04:29 PM
Can we handle the signals for Services like httpd ,mysql vass Programming 3 08-20-2004 05:43 PM
Start services automatically (httpd & SMB) krazyglue Linux - Newbie 8 07-11-2004 03:48 AM
Redhat 9, Httpd Problems Help Help Help metal_monster Linux - Networking 14 09-28-2003 07:35 PM
RedHat 9.0 httpd can't start tuteke Linux - Software 2 05-22-2003 11:42 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:21 AM.

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