LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-27-2006, 04:17 PM   #1
chucker8
Member
 
Registered: Nov 2005
Posts: 52

Rep: Reputation: 15
starting Apache2


hi,
im new at this so please bear with me. Installed apache2 from Yast on SLES9. When going to start apache - I get output below. No error messages or anything - just that I've never seen this prefork thing. Should I be concerned? Is there a way I can test to see if Apache2 is really started?
thanks!


# /etc/init.d/apache2 start
Starting httpd2 (prefork)
#
 
Old 01-27-2006, 04:22 PM   #2
chucker8
Member
 
Registered: Nov 2005
Posts: 52

Original Poster
Rep: Reputation: 15
# ps -ef | grep apache2

root 4169 1 0 15:03 ? 00:00:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 4170 4169 0 15:03 ? 00:00:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 4171 4169 0 15:03 ? 00:00:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 4172 4169 0 15:03 ? 00:00:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 4173 4169 0 15:03 ? 00:00:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 4174 4169 0 15:03 ? 00:00:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 4211 4169 0 15:15 ? 00:00:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
root 4421 4329 0 17:08 pts/2 00:00:00 grep apache2
 
Old 01-27-2006, 04:46 PM   #3
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,694

Rep: Reputation: 45
http://httpd.apache.org/docs/2.2/mod/prefork.html

go to http:/localhost/, you should get the apache welcome screen, if not then it's not running
 
Old 01-29-2006, 03:44 PM   #4
chucker8
Member
 
Registered: Nov 2005
Posts: 52

Original Poster
Rep: Reputation: 15
thanks rshaw...

ok upon further review,

according to apache 2 doc, you should start apache2 by running apachectl "

however a search for this reveals nothing. why would I not have the executable to start apache2 ?

# find / -name 'apachectl'
find: /media/cdrom: No medium found
find: /media/floppy: No medium found
#
 
Old 01-29-2006, 04:02 PM   #5
egghead
LQ Newbie
 
Registered: Jan 2006
Distribution: Slackware 9.1
Posts: 23

Rep: Reputation: 15
Try apache2ctl
 
Old 01-29-2006, 05:03 PM   #6
chucker8
Member
 
Registered: Nov 2005
Posts: 52

Original Poster
Rep: Reputation: 15
Awesome, that was it. thanks eggy!
 
  


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
Cannot adjust 'apache2' service when starting Apache cbj4074 Linux - Software 7 11-18-2005 02:48 PM
Starting Apache2 WarlockofVirgo Linux - Software 11 08-13-2004 03:34 AM
Starting Apache2 using Service Command liaaam Linux - Software 2 06-14-2004 05:06 AM
starting apache2 on RH9 mjpuczko Red Hat 5 03-13-2004 02:45 AM
apache2 not starting :( jd121 Linux - Software 7 08-20-2003 12:37 AM


All times are GMT -5. The time now is 09:14 AM.

Main Menu
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