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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-17-2003, 10:14 PM
|
#1
|
Member
Registered: Jul 2003
Distribution: FreeBSD 5.1, Debian 3.0, Damn Small 0.4.2
Posts: 46
Rep:
|
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?
|
|
|
08-18-2003, 02:02 PM
|
#2
|
Member
Registered: Jul 2003
Distribution: FreeBSD 5.1, Debian 3.0, Damn Small 0.4.2
Posts: 46
Original Poster
Rep:
|
nobody ??? 
|
|
|
08-18-2003, 02:06 PM
|
#3
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
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.
|
|
|
08-18-2003, 07:36 PM
|
#4
|
Member
Registered: Jul 2003
Distribution: FreeBSD 5.1, Debian 3.0, Damn Small 0.4.2
Posts: 46
Original Poster
Rep:
|
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 
|
|
|
08-19-2003, 03:01 PM
|
#5
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Maybe try recompiling?
|
|
|
08-19-2003, 03:34 PM
|
#6
|
Member
Registered: Apr 2003
Location: California, USA
Distribution: What works
Posts: 97
Rep:
|
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.
|
|
|
08-19-2003, 08:22 PM
|
#7
|
Member
Registered: Jul 2003
Distribution: FreeBSD 5.1, Debian 3.0, Damn Small 0.4.2
Posts: 46
Original Poster
Rep:
|
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.....
|
|
|
08-20-2003, 12:37 AM
|
#8
|
Member
Registered: Jan 2003
Posts: 74
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 04:50 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|