LinuxQuestions.org
Visit Jeremy's Blog.
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 08-17-2003, 11:14 PM   #1
jd121
Member
 
Registered: Jul 2003
Distribution: FreeBSD 5.1, Debian 3.0, Damn Small 0.4.2
Posts: 46

Rep: Reputation: 15
apache2 not starting :(


I just installed apache 2 here on one of my machines. I'm a faithful 1.3 user but decided to try version 2. Anyways, I cannot get it to start. I run the apachectl script as root, it seems like i has started ok, but it doesnt actually start. Running apachectl start followed immediately by apachectl stop gives the output 'httpd (no pid file) not running'. Any ideas whats happening here?
 
Old 08-18-2003, 03:02 PM   #2
jd121
Member
 
Registered: Jul 2003
Distribution: FreeBSD 5.1, Debian 3.0, Damn Small 0.4.2
Posts: 46

Original Poster
Rep: Reputation: 15
nobody ???
 
Old 08-18-2003, 03:06 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
Try running the httpd binary with the -X flag this will keep it attached to the console (Ctrl+C to kill) See if it starts or if it gives errors - post the output if there is any.
 
Old 08-18-2003, 08:36 PM   #4
jd121
Member
 
Registered: Jul 2003
Distribution: FreeBSD 5.1, Debian 3.0, Damn Small 0.4.2
Posts: 46

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by david_ross
Try running the httpd binary with the -X flag this will keep it attached to the console (Ctrl+C to kill) See if it starts or if it gives errors - post the output if there is any.
Running it with the -X flag gives no output. It simply looks the same (runs the command for a second, returns command prompt).

I'm completely stumped here
 
Old 08-19-2003, 04:01 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
Maybe try recompiling?
 
Old 08-19-2003, 04:34 PM   #6
solspin
Member
 
Registered: Apr 2003
Location: California, USA
Distribution: What works
Posts: 97

Rep: Reputation: 15
Make sure in the httpd.conf file that you have the lines under
the section:
### Section 2: 'Main' server configuration

User nobody
Group nobody

Don't know if you already did this.
 
Old 08-19-2003, 09:22 PM   #7
jd121
Member
 
Registered: Jul 2003
Distribution: FreeBSD 5.1, Debian 3.0, Damn Small 0.4.2
Posts: 46

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by solspin
Make sure in the httpd.conf file that you have the lines under
the section:
### Section 2: 'Main' server configuration

User nobody
Group nobody

Don't know if you already did this.
the httpd.conf currently says

User nobody
Group nogroup

I don't think that is the problem. If I tell it to run as root (I know it can't), It does give me an error message, meaning it gets at least this far when processing the .conf file. I still don't know where the problem is though.....
 
Old 08-20-2003, 01:37 AM   #8
Misteree
Member
 
Registered: Jan 2003
Posts: 74

Rep: Reputation: 15
This won't be of much use for your problem, but I once had the same situation with Apache 2, and did enough forum searches and readings about this to convince me to go back to 1.3.xx

It's been some time ago, so I can't recall exactly what was said about it other than it seems Apache 2 has serious differences from the 1.3.xx

Sorry... wish I could be of more help.

Last edited by Misteree; 08-20-2003 at 01:38 AM.
 
  


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 03:48 PM
apache2 not working: Starting httpd2 (prefork) fails _ktx Linux - Networking 2 03-30-2005 01:15 PM
Starting Apache2 WarlockofVirgo Linux - Software 11 08-13-2004 04:34 AM
Starting Apache2 using Service Command liaaam Linux - Software 2 06-14-2004 06:06 AM
starting apache2 on RH9 mjpuczko Red Hat 5 03-13-2004 03:45 AM


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