LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 10-02-2004, 01:26 AM   #1
babyboss
Member
 
Registered: Sep 2004
Posts: 124

Rep: Reputation: 15
how do I shutdown httpd after i started it? under slackware


anyone now what is the input?
i read on apache.org
it says i have to
kill -TERM cat /usr/log/httpd.pid
but i can't find httpd.pid under log, but i can find it under /var/run
so what can I do to kill everything relate to httpd
 
Old 10-02-2004, 01:31 AM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 47
you can

killall httpd

OR

/path/to/httpd stop.
 
Old 10-02-2004, 01:32 AM   #3
sh1ft
Member
 
Registered: Feb 2004
Location: Ottawa, Ontario, Can
Distribution: Slackware, ubuntu
Posts: 391

Rep: Reputation: 31
type this in the terminal

Code:
sh /etc/rc.d/rc.httpd stop
Now here I'm assuming you don't have slack set up to start apache at boot. If you did, you would not need the sh as the script would be executable.
 
Old 10-02-2004, 02:42 AM   #4
nightoil
LQ Newbie
 
Registered: Oct 2003
Location: Thailand
Distribution: Slackware 10.0
Posts: 29

Rep: Reputation: 15
I use the command(as root):-
# apachectl stop

to stop httpd

and to start it again

# apachectl start
 
  


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
httpd could not be started lord-fu *BSD 7 10-06-2005 06:46 PM
httpd: Unclean shutdown of previous Apache run mfitzpat Linux - Software 1 04-14-2004 03:08 PM
Getting started on Slackware for newbies JulianS Slackware 6 03-06-2004 01:07 AM
Httpd Could Not Be Started Tanc Linux - Networking 1 01-08-2004 06:09 PM
Getting Started with Slackware (Please Help!) jstef Slackware 20 02-01-2003 10:46 AM


All times are GMT -5. The time now is 06:57 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration