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

Notices


Reply
  Search this Thread
Old 03-28-2005, 07:19 PM   #1
Thaidog
Member
 
Registered: Sep 2002
Location: Hilton Head, SC
Distribution: Gentoo
Posts: 637

Rep: Reputation: 32
Question What is the command to start/kill/recycle apache?


What is the command to start/kill/recycle apache on Red Hat?
 
Old 03-28-2005, 07:21 PM   #2
spoody_goon
Member
 
Registered: Sep 2003
Location: Michigan USA
Distribution: Mandrake, DamnSmallLinux, VectorLinux
Posts: 416

Rep: Reputation: 30
try
service restart httpd
 
Old 03-28-2005, 08:09 PM   #3
GUIPenguin
Member
 
Registered: Aug 2004
Location: Maine
Distribution: Gentoo Linux
Posts: 239

Rep: Reputation: 30
Actualy it would probably be /sbin/service httpd restart
 
Old 03-28-2005, 08:23 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
That's correct if you installed Apache from RPM or put an init script into /etc/rc.d/init.d. If you compile Apache from source, it will put a script called apachectl in Apache's bin directory, and you can use apachectk graceful to restart the server.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about Kill command bjdea1 Linux - General 2 11-07-2005 10:28 AM
Kill command could not kill Kanaflloric Linux - General 11 08-22-2005 07:18 AM
kill command question chunlee Linux - Newbie 5 10-18-2004 12:45 PM
The kill command tearinox Linux - Newbie 2 08-15-2003 04:40 PM
kill command... Sonny Linux - Newbie 2 01-28-2002 03:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:00 PM.

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