Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 07-27-2003, 01:46 PM   #1
LQ Newbie
Registered: Jun 2003
Location: France
Distribution: CRUX 1.1 essential then Conectiva 9.0
Posts: 18

Rep: Reputation: 0
error while starting httpd


I installed apache and when I launch it :

sh-2.05a$ /usr/sbin/apachectl start
httpd: Could not determine the server's fully qualified domain name, using for ServerName
(13)Permission denied: make_sock: could not bind to address
no listening sockets available, shutting down
Unable to open logs

what this means ?

Old 07-27-2003, 02:08 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,545

Rep: Reputation: 160Reputation: 160
What user are you when you try to run Apache? Try as root, should be better.

Error about fully qualified domain name means you've not configured Apache properly. Find 'Server Name' line in httpd.conf and insert the proper name.
Old 07-27-2003, 02:10 PM   #3
Senior Member
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
as far as the first part with the httpd: line, it looks like you need to make some modifications of the httpd.conf file. it's in your /"apache install directory"/conf/ directory.

apache also needs to be run as root. if invoking apache manually.

edit: mara types too damn fast!

Last edited by megaspaz; 07-27-2003 at 02:12 PM.
Old 08-16-2003, 10:59 AM   #4
Registered: Aug 2003
Location: Si
Distribution: SuSE, Slackware
Posts: 37

Rep: Reputation: 15
just cd .. up a level and run

#> bin/apachectl start

you must not be in the same dir as the apachectl!!!
Old 05-02-2004, 06:44 PM   #5
Registered: Oct 2003
Location: California
Distribution: Ubuntu
Posts: 582

Rep: Reputation: 30
isnt it suposed to be bad to run apache as root? I mean people complain about logging in as root to much, but screw that tiny infraction if you have a public service running with root privs, right?

is there any way to run apache on port 80 w/o having root privs?
Old 05-03-2004, 12:29 AM   #6
Registered: Oct 2003
Location: Ireland
Distribution: Slackware 9.1, Ubuntu
Posts: 192

Rep: Reputation: 30
i never work in anything BUT root mode.

as for your original question, freeNet, you can`t bind to because thats an invalid IP. probably have to edit your httpd.conf and change the servername to localhost then edit your etc/hosts and add " localhost"
Old 05-03-2004, 05:46 PM   #7
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,545

Rep: Reputation: 160Reputation: 160
Usually you're not able to use port 80 without beeing root. Apache tries to change the user it runs as and it usually runs as user 'apache'.


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
Starting httpd: /usr/sbin/httpd: symbol lookup error: /usr/local/lib/ bijuhpd Linux - Newbie 1 10-30-2005 05:07 PM
error on starting httpd, just appeared! mindfestival Linux - Newbie 3 08-11-2004 02:52 AM
starting httpd hrishikesh Linux - Software 4 08-29-2003 09:45 PM
Error Starting httpd Service - Please Help Speednow Linux - Networking 3 05-24-2003 02:10 PM
Error Starting httpd Service - Please Help Speednow Linux - Newbie 0 05-24-2003 01:16 PM

All times are GMT -5. The time now is 12:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration