LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 10: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, 02: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, 02:06 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
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, 07: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, 03:01 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Maybe try recompiling?
 
Old 08-19-2003, 03: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, 08: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, 12: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 12:38 AM.
 
  


Reply



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
apache2 not working: Starting httpd2 (prefork) fails _ktx Linux - Networking 2 03-30-2005 12:15 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:17 AM.

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