LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-30-2005, 02:10 PM   #1
einstien
Member
 
Registered: Sep 2004
Distribution: fedora
Posts: 98

Rep: Reputation: 15
how do i apache restart?


hallo
if i am runing apache on my linux server and suddenly everything is working accepts the website

and i think the apache is down
how do i restart the service?
 
Old 03-30-2005, 02:16 PM   #2
cereal83
Member
 
Registered: Feb 2004
Location: Canada
Distribution: Slackware
Posts: 479

Rep: Reputation: 30
If you can get apache working but dunno how to restart it, then you have some issues

/etc/rc.d/init.d/httpd restart

/etc/rc.d/init.d/apachectl restart

or

/etc/rc.d/init.d/apachectl stop
/etc/rc.d/init.d/apachectl start

or

/www/bin/apachectl stop
/www/bin/apachectl start

All found on google.com, if they don't work I dunno since I am not even close to good with apache.

Hopefully it works!
 
Old 03-30-2005, 02:21 PM   #3
einstien
Member
 
Registered: Sep 2004
Distribution: fedora
Posts: 98

Original Poster
Rep: Reputation: 15
thanks mate
 
Old 03-30-2005, 02:22 PM   #4
cereal83
Member
 
Registered: Feb 2004
Location: Canada
Distribution: Slackware
Posts: 479

Rep: Reputation: 30
No problem

Did one of them work?
 
  


Reply


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
apache fails to restart nde Linux - Newbie 7 09-13-2005 05:26 PM
Apache can't restart Serbulent Linux - Enterprise 2 03-16-2005 03:29 AM
using shell_exec to restart apache? fuelinjection Linux - General 1 07-08-2004 01:24 PM
Restart apache on crash brentos Linux - Software 8 06-07-2004 03:41 PM
How do I restart Apache? 360 Linux - Networking 2 08-25-2001 07:26 PM

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

All times are GMT -5. The time now is 08:31 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