LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 11-01-2004, 11:18 PM   #1
MercuryRaz0r
LQ Newbie
 
Registered: Oct 2004
Distribution: Mandrake Linux 10.1 Community
Posts: 17

Rep: Reputation: 0
Apache will not start.


Hello, all. I would like some help regarding my web server. When i click for apache to start (Start Apache), it gives me this error message back:

Failed to start apache :

Starting httpd2: [ OK ]

And thats it. Nothing seems to happen. I've tried reinstalling apache, but that hasnt worked.

Any ideas?

ps. im using Mandrake Linux 10.1, KDE. Webmin, too.
 
Old 11-02-2004, 12:32 AM   #2
m4dj4ck
Member
 
Registered: Aug 2004
Location: the coven
Distribution: slackies
Posts: 55

Rep: Reputation: 15
try to be more verbose. which version of apache2 did you install? did you install it from .rpm format or source package? We cant help you much if you didnt provide us more information. Cheers!
 
Old 11-02-2004, 08:45 AM   #3
MercuryRaz0r
LQ Newbie
 
Registered: Oct 2004
Distribution: Mandrake Linux 10.1 Community
Posts: 17

Original Poster
Rep: Reputation: 0
It is Apache version 1.3.31, it came with Mandrake Linux 10.1. I'm a Linux noob, so I dont know how to install a source copy, i only know how to install RPM packages. It seemed to be working until I changed a setting incorrectly. What I think that setting was Networking and Addresses. The Apache server was up, and I clicked the wrong option (of the three options None, All, [blank text box]) in the Address/Port Table. I think I clicked the blank text box option, and for port it was already set for port 80. I saved. Then I clicked "apply changes" thats when i got an error message that basically said "you jackass, you didnt type anything in the text box." I selected the "All" option still using port 80, then saved. When it went back to apache's page, I noticed that it said "start Apache" instead of "Apply Changes" So I clicked Start Apache and It's given me this error message since.

I've tried shutting down httpd and reloading it, shutting it down and then trying apache, restarting the computer, reinstalling apache, and I've found that nothing seems to work. My next course of action will have to be uninstalling apache completely and reinstalling it, instead of installing a copy over the existing one.
 
Old 11-02-2004, 01:37 PM   #4
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
look in the log files in /var/log/httpd for some error that says what's wrong.
 
Old 11-02-2004, 03:58 PM   #5
MercuryRaz0r
LQ Newbie
 
Registered: Oct 2004
Distribution: Mandrake Linux 10.1 Community
Posts: 17

Original Poster
Rep: Reputation: 0
It says a lot of things, but what appears to mainly be wrong is an error message that repeats itself a couple times each time I try to start the apache server.

[Tue Nov 02 00:55:51 2004] [alert] (2)No such file or directory: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive

What/where is the User directive? I found a "Directives" section in Apache, but couldn't find what it was talking about.
 
Old 11-03-2004, 06:19 AM   #6
DertyolBA$HTARD
Member
 
Registered: Sep 2004
Location: USA
Distribution: Slackware 10
Posts: 86

Rep: Reputation: 15
I think that defines which user the httpd daemon runs as/is owned by.

use less httpd.conf
and then the functionality of less (/string search forward), to find user
 
Old 11-03-2004, 10:09 AM   #7
MercuryRaz0r
LQ Newbie
 
Registered: Oct 2004
Distribution: Mandrake Linux 10.1 Community
Posts: 17

Original Poster
Rep: Reputation: 0
i have no idea what any of that means.
 
Old 11-04-2004, 08:10 AM   #8
DertyolBA$HTARD
Member
 
Registered: Sep 2004
Location: USA
Distribution: Slackware 10
Posts: 86

Rep: Reputation: 15
You don't know what what means?

how to use less?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to start apache : Apache does not appear to be running : number11 Slackware 9 02-11-2005 09:51 AM
apache can't start akbar_nasr Linux - Software 2 07-13-2004 03:29 PM
can't get SSLl working on Apache. Apache won't start bentman78 Linux - Software 1 08-10-2003 06:17 PM
Apache won't start FNC Linux - Software 9 06-25-2003 02:50 AM
apache won't start at all... ctzimmerman Linux - Networking 3 06-01-2001 09:04 AM


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