Go Back   The UNIX and Linux Forums > Special Forums > Web Programming, Web 2.0 and Mashups
.
google site



Web Programming, Web 2.0 and Mashups Discuss Web Programming and Web Server Administration, including LAMP, Apache, MySQL, Flash, HTML, SEO, Mashups and other Web APIs and topics.

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-14-2009
Registered User
 

Join Date: Nov 2007
Posts: 229
Problems starting Apache 2.0.54

Hi,

I just installed Apache 2.0.54 and when I try and start httpd I get

mohit@mohit-desktop:/sw/pkg/apache/bin$ ./httpd -k start
httpd: Could not determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
(13): make_sock: could not bind to address [::]:80
no listening sockets available, shutting down
Unable to open logs

So I then went to httpd conf and set:

ServerName "my machine's IP address"

I then tried to restart httpd and got"

(13): make_sock: could not bind to address [::]:80
no listening sockets available, shutting down
Unable to open logs

I checked my process list but I do not see anything taking port 80 but I am new to linux/unix.

Could someone tell me how I can go about troubleshooting this problem.....?
Sponsored Links
  #2 (permalink)  
Old 01-14-2009
Advisor
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,623
You should start httpd as root if you want to bind to port 80. For Unix, if you would like to listen on port numbers < 1024, the process needs to be started by root.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Error about SSLProtocol when starting Apache moe2266 UNIX for Dummies Questions & Answers 3 11-03-2007 03:25 AM
Problems starting apache 1.3 with mysql godspunk32 Solaris 1 08-25-2006 10:56 AM
starting with APR (Apache Portable Runtime) sumsin Programming 0 01-12-2006 08:29 AM
Starting Apache cstovall UNIX for Dummies Questions & Answers 4 12-04-2002 10:18 AM
starting Apache on Solaris 8 jskillet UNIX for Dummies Questions & Answers 5 07-20-2001 11:06 AM



All times are GMT -4. The time now is 05:01 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2010. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0