LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-24-2007, 02:49 PM   #1
LinuxCrazy
Member
 
Registered: May 2007
Posts: 48

Rep: Reputation: 15
Question I have an apache problem Starting httpd: (13)Permission denied: make_sock: could not


I am running Centos 4.5 and Apache 2.0
I want my apache to Listen to port 5631 instead of 80
I changed httpd.conf to Listen to port 80
Now I get this error

[root@localhost logs]# service httpd restart Stopping httpd: [FAILED]
Starting httpd: (13)Permission denied: make_sock: could not bind to address [::]:5631
no listening sockets available, shutting down
Unable to open logs
[FAILED]


Does anyone know what this can be?
 
Old 06-24-2007, 05:24 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Permission denied: make_sock: could not bind to address (..)
no listening sockets available, shutting down
Unable to open logs

If you're using SELinux and you get AVC errors in your log apparently you need to run "semanage port -a -t http_port_t -p tcp 5631" before restarting Apache.

Last edited by unSpawn; 06-24-2007 at 05:32 PM.
 
  


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
Permission denied in apache packets Linux - Newbie 2 05-20-2007 06:15 PM
Starting Tomcat from Eclipse - Permission denied robbbert Programming 1 06-30-2006 04:23 AM
Permission denied on Apache after install riluve Linux - Software 2 05-13-2006 10:44 PM
permission denied on .htaccess files in Apache scott.anderson Linux - Software 3 12-16-2005 12:19 PM
apache: make_sock!?! eee Linux - Software 0 01-27-2002 01:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:20 AM.

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