LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  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
DavidPhillips
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

setup

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

WTF?

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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:48 AM.

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