HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   Error with apache and port 8081 (http://www.howtoforge.com/forums/showthread.php?t=46307)

joelszw 2nd June 2010 20:32

Error with apache and port 8081
 
After i installed ISPconfig 3 in Fedora 13, When i try the start of apache, it's failed, said

"httpd: (13)Permission denied: make_sock: could not bind to address [::]:8081
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:8081
no listening sockets available, shutting down
"

What is my error?

falko 3rd June 2010 15:35

What's the output of
Code:

netstat -tap
?

RvDam 5th June 2010 16:03

I'm experising the same problem. After installing ISPConfig 3 on a newly installed CentOS 5.4 server. I followed the The Perfect Server - CentOS 5.4 x86_64 [ISPConfig 3] tutorial step by step. I tested apache after the installation of squirrelmail and it worked fine. After the installation of ISPConfig 3 httpd did not startup anymore.

Here is my netstat -tab output:
Quote:

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost.localdomain:10025 *:* LISTEN 1756/master
tcp 0 0 *:mysql *:* LISTEN 1606/mysqld
tcp 0 0 *:5900 *:* LISTEN 1984/Xvnc
tcp 0 0 localhost.local:dyna-access *:* LISTEN 1525/clamd
tcp 0 0 *:xact-backup *:* LISTEN 1153/rpc.statd
tcp 0 0 *:sunrpc *:* LISTEN 1121/portmap
tcp 0 0 *:ftp *:* LISTEN 1809/pure-ftpd (SER
tcp 0 0 centos.rvdam.com:domain *:* LISTEN 1634/mydns
tcp 0 0 localhost.localdomai:domain *:* LISTEN 1634/mydns
tcp 0 0 localhost.localdomain:ipp *:* LISTEN 1502/cupsd
tcp 0 0 *:smtp *:* LISTEN 1756/master
tcp 0 0 centos.rvdam.com:5900 pc-00050.rvdam.com:49713 ESTABLISHED 1984/Xvnc
tcp 0 0 *:imaps *:* LISTEN 1692/couriertcpd
tcp 0 0 *:pop3s *:* LISTEN 1704/couriertcpd
tcp 0 0 *:pop3 *:* LISTEN 1698/couriertcpd
tcp 0 0 *:imap *:* LISTEN 1685/couriertcpd
tcp 0 0 *:ftp *:* LISTEN 1809/pure-ftpd (SER
tcp 0 0 localhost6.localdoma:domain *:* LISTEN 1634/mydns
tcp 0 0 2002:5355:4803:1234::domain *:* LISTEN 1634/mydns
tcp 0 0 *:ssh *:* LISTEN 1474/sshd
tcp 0 0 centos.rvdam.com:ssh pc-00050.rvdam.com:49729 ESTABLISHED 2143/0
netstat -tap --numeric-ports
Quote:

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost.localdomain:10025 *:* LISTEN 1756/master
tcp 0 0 *:3306 *:* LISTEN 1606/mysqld
tcp 0 0 *:5900 *:* LISTEN 1984/Xvnc
tcp 0 0 localhost.localdomain:3310 *:* LISTEN 1525/clamd
tcp 0 0 *:911 *:* LISTEN 1153/rpc.statd
tcp 0 0 *:111 *:* LISTEN 1121/portmap
tcp 0 0 *:21 *:* LISTEN 1809/pure-ftpd (SER
tcp 0 0 centos.rvdam.com:53 *:* LISTEN 1634/mydns
tcp 0 0 localhost.localdomain:53 *:* LISTEN 1634/mydns
tcp 0 0 localhost.localdomain:631 *:* LISTEN 1502/cupsd
tcp 0 0 *:25 *:* LISTEN 1756/master
tcp 0 0 localhost.localdomain:21 localhost.localdomain:44419 TIME_WAIT -
tcp 0 0 localhost.localdomain:42405 localhost.localdomain:53 TIME_WAIT -
tcp 0 0 centos.rvdam.com:5900 pc-00050.rvdam.com:49713 ESTABLISHED 1984/Xvnc
tcp 0 0 *:993 *:* LISTEN 1692/couriertcpd
tcp 0 0 *:995 *:* LISTEN 1704/couriertcpd
tcp 0 0 *:110 *:* LISTEN 1698/couriertcpd
tcp 0 0 *:143 *:* LISTEN 1685/couriertcpd
tcp 0 0 *:21 *:* LISTEN 1809/pure-ftpd (SER
tcp 0 0 localhost6.localdomain6:53 *:* LISTEN 1634/mydns
tcp 0 0 2002:5355:4803:1234:988d:53 *:* LISTEN 1634/mydns
tcp 0 0 *:22 *:* LISTEN 1474/sshd
tcp 0 148 centos.rvdam.com:22 pc-00050.rvdam.com:49729 ESTABLISHED 2143/0
The server is a virtual server buld in xenserver 5.6

RvDam 5th June 2010 17:02

It has nothing to do with ip ports in use. When I change the listen port in the app.vhost file to 8082 I get the same error, now on port 8082.

Here is the installation log when I install ISPConfig
Quote:

Configuring DBServer
Installing Crontab
Restarting services ...
Stopping MySQL: [ OK ]
Starting MySQL: [ OK ]
Shutting down postfix: [ OK ]
Starting postfix: [ OK ]
Stopping saslauthd: [ OK ]
Starting saslauthd: [ OK ]
Shutting down Mail Virus Scanner (amavisd): [FAILED]
Starting Mail Virus Scanner (amavisd): [ OK ]
Stopping Courier authentication services: authdaemond
Starting Courier authentication services: authdaemond
Stopping Courier-IMAP server: imap imap-ssl pop3 pop3-ssl
Starting Courier-IMAP server: imap imap-ssl pop3 pop3-ssl
Stopping Courier-IMAP server: imap imap-ssl pop3 pop3-ssl
Starting Courier-IMAP server: imap imap-ssl pop3 pop3-ssl
Stopping Courier-IMAP server: imap imap-ssl pop3 pop3-ssl
Starting Courier-IMAP server: imap imap-ssl pop3 pop3-ssl
Stopping Courier-IMAP server: imap imap-ssl pop3 pop3-ssl
Starting Courier-IMAP server: imap imap-ssl pop3 pop3-ssl
Stopping httpd: [ OK ]
[Sat Jun 05 17:13:43 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
(13)Permission denied: make_sock: could not bind to address [::]:8081
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:8081
no listening sockets available, shutting down
Unable to open logs
Starting httpd: [FAILED]
Stopping pure-ftpd: [ OK ]
Starting pure-ftpd: [ OK ]
Installation completed.

falko 6th June 2010 13:09

Have you tried to reboot?

RvDam 7th June 2010 11:51

I did several time. But I also notice thatsuPHP did not install. Is that a real problem?

falko 8th June 2010 15:36

I don't think so. What's the output of
Code:

getenforce
?


All times are GMT +2. The time now is 20:24.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.