PDA

View Full Version : Apache/PHP5 configuration error


gimhan90
31st January 2006, 10:20
Hi folks,

Please look at this error . This was reported when i was trying to configure "Apache/PHP5" by using the "The Perfect Setup - SUSE 9.3 - Page 5".


/etc/init.d/apache2 start

Starting httpd2 (prefork) Creating new config (0x5bcd18) for (null)
(98)Address already in use: make_sock: could not bind to address [::]:80
no listening sockets available, shutting down
Unable to open logs
Destroying config 0x5bcd18
startproc: exit status of parent of /usr/sbin/httpd2-prefork: 1

failed


Thx in advance,
gimhan

till
31st January 2006, 11:16
Either you apache webserver is running already or you have another apache listening on port 80. Please try:

/etc/init.d/apache2 restart

If this wont help, please post the output of:

netstat -tap

gimhan90
31st January 2006, 11:40
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
PID/Program name
tcp 0 0 *:smux *:* LISTEN
14602/snmpd
tcp 0 0 *:mysql *:* LISTEN
2966/mysqld
tcp 0 0 su93254144.aspadmi:pop3 *:* LISTEN
31806/couriertcpd
tcp 0 0 su93254144.aspadmi:imap *:* LISTEN
31789/couriertcpd
tcp 0 0 *:ndmp *:* LISTEN
30075/perl
tcp 0 0 *:ftp *:* LISTEN
27564/xinetd
tcp 0 0 *:smtp *:* LISTEN
27856/master
tcp 0 0 localhost:36194 *:* LISTEN
28169/appserv
tcp 0 0 *:36202 *:* LISTEN
28198/java
tcp 0 0 *:36203 *:* LISTEN
28198/java
tcp 0 0 *:scp *:* LISTEN
28169/appserv
tcp 0 0 *:8686 *:* LISTEN
28169/appserv
tcp 0 0 *:36208 *:* LISTEN
28169/appserv
tcp 0 0 *:exasoftport1 *:* LISTEN
28169/appserv
tcp 0 0 *:appserv-http *:* LISTEN
28169/appserv
tcp 0 0 *:www-http *:* LISTEN
28169/appserv
tcp 0 0 *:lrs-paging *:* LISTEN
28169/appserv
tcp 0 0 *:8181 *:* LISTEN
28169/appserv
tcp 0 0 *:ssh *:* LISTEN
5442/sshd
tcp 0 0 *:imqbrokerd *:* LISTEN
28198/java
tcp 0 2816 su93254144.aspadmin:ssh 222.165.157.2%720:42056 ESTABLISHED
32615/1
tcp 0 0 su93254144.aspadmin:ssh 220.247.234.1:pspserver ESTABLISHED
2824/0
tcp 0 0 su93254144.aspadm:36208 su93254144.aspadm:40463 ESTABLISHED
28169/appserv
tcp 0 0 localhost:36194 localhost:40462 ESTABLISHED
28169/appserv
tcp 0 0 su93254144.aspadm:40463 su93254144.aspadm:36208 ESTABLISHED
28169/appserv
tcp 0 0 localhost:40462 localhost:36194 ESTABLISHED

gimhan90
31st January 2006, 12:52
su93254144:/etc/init.d # /etc/init.d/apache2 status
Checking for httpd2: unused


:( Appreciate any kind of help .

till
31st January 2006, 20:00
Which software is "appserv"? A java apllication server? This software is listening on port 80 and prevents apache from starting.

gimhan90
1st February 2006, 04:58
Which software is "appserv"? A java apllication server? This software is listening on port 80 and prevents apache from starting.

It is a Sun java app server . It seems 80 port is being used by the app server , Isn't it ?

I need to change the port of either one .

till
1st February 2006, 10:46
It is a Sun java app server . It seems 80 port is being used by the app server , Isn't it ?

yes.

I need to change the port of either one .

I dont know suns app server, so i can not be of much help :)