Apache/PHP5 configuration error

Discussion in 'Server Operation' started by gimhan90, Jan 31, 2006.

  1. gimhan90

    gimhan90 New Member

    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
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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
     
  3. gimhan90

    gimhan90 New Member

    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.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
     
  4. gimhan90

    gimhan90 New Member

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


    :( Appreciate any kind of help .
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Which software is "appserv"? A java apllication server? This software is listening on port 80 and prevents apache from starting.
     
  6. gimhan90

    gimhan90 New Member

    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 .
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    yes.

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

Share This Page