LinuxQuestions.org
Help answer threads with 0 replies.
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 07-27-2003, 01:46 PM   #1
freenet
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


hello,

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 127.0.0.1 for ServerName
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

what this means ?

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

Rep: Reputation: 232Reputation: 232Reputation: 232
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
megaspaz
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
OceanSurf
Member
 
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
e1000
Member
 
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
nodger
Member
 
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 0.0.0.0 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 "127.0.0.1 localhost"
 
Old 05-03-2004, 05:46 PM   #7
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
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'.
 
  


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
Starting httpd: /usr/sbin/httpd: symbol lookup error: /usr/local/lib/libaprutil-0.so. 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

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

All times are GMT -5. The time now is 06:08 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
Open Source Consulting | Domain Registration