LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-06-2001, 08:12 PM   #1
Xiled
LQ Newbie
 
Registered: Oct 2001
Location: seattle
Distribution: redhat 7
Posts: 2

Rep: Reputation: 0
restarting Apache


How do you restart the Apache httpd services ?
Xiled
 
Old 10-06-2001, 09:58 PM   #2
atari303
Member
 
Registered: May 2001
Posts: 34

Rep: Reputation: 15
not sure what distro you're using, but in Slackware I go to the the /var/lib/apache/sbin directory and issue the following command:

./apachectl start

hope that helps.

</nicholas>
 
Old 10-06-2001, 11:44 PM   #3
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
./apachectl restart
 
Old 10-07-2001, 01:17 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
if its already running you can also issue apachectl stop
then apachectl start but usually restart after the command will do the trick...
 
Old 10-08-2001, 02:23 PM   #5
dilberim82
Member
 
Registered: Apr 2001
Location: NY
Distribution: used to be Redhat, now Debian Sarge
Posts: 291

Rep: Reputation: 30
RH 7.1

If you have RH 7.1 and if you have the apache the system installed for you, You have to use

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

that to start, stop, restart, and lookup the status of the apache.
 
Old 10-08-2001, 11:03 PM   #6
Xiled
LQ Newbie
 
Registered: Oct 2001
Location: seattle
Distribution: redhat 7
Posts: 2

Original Poster
Rep: Reputation: 0
Restarting

Thank you , dilberim82

That was what I needed.

/etc/rc.d/init.d/httpd start
works fine
 
Old 10-09-2001, 11:24 AM   #7
dilberim82
Member
 
Registered: Apr 2001
Location: NY
Distribution: used to be Redhat, now Debian Sarge
Posts: 291

Rep: Reputation: 30
linux rules

 
Old 10-09-2001, 11:24 AM   #8
dilberim82
Member
 
Registered: Apr 2001
Location: NY
Distribution: used to be Redhat, now Debian Sarge
Posts: 291

Rep: Reputation: 30
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache keeps restarting with DaemonTools humbletech99 Linux - Networking 4 11-14-2005 11:51 AM
how to make a simple code for just restarting Apache via a Cron job hsa Programming 1 08-22-2005 05:15 AM
Restarting Apache Virtual Hosts Individually libsys Linux - Software 1 04-12-2005 05:46 AM
running httpd.conf without restarting apache mpower Linux - Newbie 3 03-16-2005 06:20 PM
Starting and Restarting the Apache service. johann519 Fedora 6 02-06-2004 12:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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