Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 31st January 2006, 10:20
gimhan90 gimhan90 is offline
Senior Member
 
Join Date: Jan 2006
Posts: 139
Thanks: 2
Thanked 0 Times in 0 Posts
Default Apache/PHP5 configuration error

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
Reply With Quote
Sponsored Links
  #2  
Old 31st January 2006, 11:16
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,499 Times in 4,328 Posts
Default

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
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 31st January 2006, 11:40
gimhan90 gimhan90 is offline
Senior Member
 
Join Date: Jan 2006
Posts: 139
Thanks: 2
Thanked 0 Times in 0 Posts
Default netstat -tap

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.aspadmiop3 *:* 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.1spserver 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
Reply With Quote
  #4  
Old 31st January 2006, 12:52
gimhan90 gimhan90 is offline
Senior Member
 
Join Date: Jan 2006
Posts: 139
Thanks: 2
Thanked 0 Times in 0 Posts
Default

su93254144:/etc/init.d # /etc/init.d/apache2 status
Checking for httpd2: unused


Appreciate any kind of help .
Reply With Quote
  #5  
Old 31st January 2006, 20:00
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,499 Times in 4,328 Posts
Default

Which software is "appserv"? A java apllication server? This software is listening on port 80 and prevents apache from starting.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 1st February 2006, 04:58
gimhan90 gimhan90 is offline
Senior Member
 
Join Date: Jan 2006
Posts: 139
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till
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 .
Reply With Quote
  #7  
Old 1st February 2006, 10:46
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,499 Times in 4,328 Posts
 
Default

Quote:
Originally Posted by gimhan90
It is a Sun java app server . It seems 80 port is being used by the app server , Isn't it ?
yes.

Quote:
I need to change the port of either one .
I dont know suns app server, so i can not be of much help
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
site configuration and wrong error page jeanjacquesjeanjacques Installation/Configuration 3 16th January 2006 19:41
Installation Fails... :( cyberstorm Installation/Configuration 1 15th January 2006 18:07
PHP configuration error meander Installation/Configuration 3 8th December 2005 16:24
Could not make OpenSSL yontengyatso Installation/Configuration 3 3rd November 2005 10:50
Install stop at uuwish, UUDeview SeaWolf Installation/Configuration 6 4th October 2005 23:53


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


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