Web-Server: Offline

Discussion in 'Installation/Configuration' started by smsalbania, Sep 5, 2010.

  1. smsalbania

    smsalbania New Member

    Hello!

    In Monitor I have> Web-Server: Offline
    What is wrong?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    netstat -tap | grep www
     
  3. smsalbania

    smsalbania New Member

    Hi Till!

    1) netstat -tap | grep www
    2) /etc/init.d/httpd restart
    3) reboot

    It is again offline :mad:

     

    Attached Files:

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Was it online after you restartet httpd?
     
  5. smsalbania

    smsalbania New Member

    Now it is offline again and Imap + Smtp, like in print screen.

     

    Attached Files:

  6. falko

    falko Super Moderator ISPConfig Developer

    Can you post the output of
    Code:
    netstat -tap
    ?
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    And please answer my question from post #4: was the web server shown as online after you started it manually?
     
  8. smsalbania

    smsalbania New Member

    Code:
    [[email protected] ~]# netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
    tcp        0      0 *:imaps                     *:*                         LISTEN      2317/dovecot
    tcp        0      0 *:pop3s                     *:*                         LISTEN      2317/dovecot
    tcp        0      0 *:805                       *:*                         LISTEN      1895/rpc.statd
    tcp        0      0 localhost.localdomain:10024 *:*                         LISTEN      2362/amavisd (maste
    tcp        0      0 localhost.localdomain:10025 *:*                         LISTEN      2419/master
    tcp        0      0 *:mysql                     *:*                         LISTEN      2289/mysqld
    tcp        0      0 *:pop3                      *:*                         LISTEN      2317/dovecot
    tcp        0      0 localhost.local:dyna-access *:*                         LISTEN      2201/clamd
    tcp        0      0 *:imap                      *:*                         LISTEN      2317/dovecot
    tcp        0      0 *:sunrpc                    *:*                         LISTEN      1859/portmap
    tcp        0      0 server1.elbasani.biz:http   *:*                         LISTEN      9272/httpd
    tcp        0      0 *:ftp                       *:*                         LISTEN      2498/pure-ftpd (SER
    tcp        0      0 localhost.localdomai:domain *:*                         LISTEN      1802/named
    tcp        0      0 localhost.localdomain:ipp   *:*                         LISTEN      2171/cupsd
    tcp        0      0 *:smtp                      *:*                         LISTEN      2419/master
    tcp        0      0 localhost.localdomain:rndc  *:*                         LISTEN      1802/named
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:52640 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:56001 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:34209 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:37697 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:55426 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:56418 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:57090 CLOSE_WAIT  -
    tcp       22      0 server1.elbasani.biz:smtp   server1.elbasani.biz:35108  CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:45668 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:33029 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:56613 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:47590 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:60582 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:49094 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:47878 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:57862 CLOSE_WAIT  -
    tcp        0      0 localhost.localdomain:imap  localhost.localdomain:55143 TIME_WAIT   -
    tcp        0      0 server1.example.biz:http   192.168.1.33:51010          TIME_WAIT   -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:37256 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:47593 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:59082 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:58026 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:33034 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:47787 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:49643 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:58027 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:37708 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:47885 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:40111 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:58031 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:51248 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:37265 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:56018 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:37554 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:55026 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:58515 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:55029 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:40118 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:54038 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:33687 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:37977 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:56282 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:48796 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:51004 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:32990 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:49087 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:60575 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:60223 CLOSE_WAIT  -
    tcp        0      0 *:imaps                     *:*                         LISTEN      2317/dovecot
    tcp        0      0 *:pop3s                     *:*                         LISTEN      2317/dovecot
    tcp        0      0 *:pop3                      *:*                         LISTEN      2317/dovecot
    tcp        0      0 *:imap                      *:*                         LISTEN      2317/dovecot
    tcp        0      0 *:webcache                  *:*                         LISTEN      9272/httpd
    tcp        0      0 *:tproxy                    *:*                         LISTEN      9272/httpd
    tcp        0      0 *:ftp                       *:*                         LISTEN      2498/pure-ftpd (SER
    tcp        0      0 localhost6.localdoma:domain *:*                         LISTEN      1802/named
    tcp        0      0 *:ssh                       *:*                         LISTEN      2158/sshd
    tcp        0      0 localhost6.localdomain:rndc *:*                         LISTEN      1802/named
    tcp        0      0 *:https                     *:*                         LISTEN      9272/httpd
    tcp        0    148 server1.example.biz:ssh    ::ffff:192.168.1.33:51014   ESTABLISHED 11126/0
    [[email protected] ~]#
    
     
    Last edited: Sep 6, 2010
  9. smsalbania

    smsalbania New Member

    Hello Till!

    NO, is offline again.

    Thank you for the response!


     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    My question is not if it is offline again. The question is if it was online after you restarted it or not. This is essential to know as this either means that there is a general configuration error of the apache server or a problem with the start script at boot time. So please try to answer my question.
     
  11. smsalbania

    smsalbania New Member

    Forgive me for misunderstanding.

    After the command netstat-tap | grep www and restart, there was still offline.
    After posting # 1 is always offline.


     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok. Then take a look at the error.log of the apache server and post the errors that you find there.
     
  13. smsalbania

    smsalbania New Member

    The error_log si in attachment file. (/var/loghttpd/error_log)

     

    Attached Files:

  14. till

    till Super Moderator Staff Member ISPConfig Developer

    According to the log file, apache was started without errors. Please post the output of:

    httpd -t

    and then execute the command:

    netstat -tap > /tmp/netstat.txt

    and then post the content of the file /tmp/netstat.txt too.
     
  15. smsalbania

    smsalbania New Member

    Hello Till!
    Code:
    [[email protected] ~]# vim /etc/httpd/conf/httpd.conf
    [[email protected] ~]# httpd -t
    Syntax OK
    
    Code:
    [[email protected] ~]# netstat -tap > /tmp/netstat.txt
    [[email protected] ~]#
    
     
    Last edited: Sep 7, 2010
  16. smsalbania

    smsalbania New Member

    Here is a error on installation of ISPConfig 3.0.3:
    Code:
    Configuring Jailkit
    Configuring Dovecot
    Configuring Spamassassin
    Configuring Amavisd
    PHP Warning:  copy(/etc/authlib/amavisd.conf~): failed to open stream: No such file or directory in /root/ispconfig3_install/install/dist/lib/fedora.lib.php on line 348
    Configuring Getmail
    Configuring Pureftpd
    Configuring BIND
    Configuring Apache
    Configuring vlogger
    Configuring Apps vhost
    Configuring Firewall
    Installing ISPConfig
    ISPConfig Port [8080]:
    
    Configuring DBServer
    Installing Crontab
    Restarting services ...
    Stopping MySQL:                                            [  OK  ]
    Starting MySQL:                                            [  OK  ]
    Shutting down postfix:                                     [  OK  ]
    Starting postfix:                                          [  OK  ]
    Stopping saslauthd:                                        [FAILED]
    Starting saslauthd:                                        [  OK  ]
    Shutting down Mail Virus Scanner (amavisd):                [  OK  ]
    Starting Mail Virus Scanner (amavisd):                     [  OK  ]
    Stopping Dovecot Imap:                                     [  OK  ]
    Starting Dovecot Imap:                                     [  OK  ]
    Stopping httpd:                                            [  OK  ]
    [Thu Sep 09 00:34:40 2010] [warn] VirtualHost 192.168.1.100:80 overlaps with VirtualHost 192.168.1.100:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Thu Sep 09 00:34:40 2010] [warn] VirtualHost 192.168.1.100:80 overlaps with VirtualHost 192.168.1.100:80, the first has precedence, perhaps you need a NameVirtualHost directive
    Starting httpd:                                            [  OK  ]
    Stopping pure-ftpd:                                        [  OK  ]
    Starting pure-ftpd:                                        [  OK  ]
    Installation completed.
    
     
    Last edited: Sep 9, 2010
  17. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the content of the file /tmp/netstat.txt taht you created in #15.
     
  18. smsalbania

    smsalbania New Member

    Code:
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
    tcp        0      0 *:imaps                     *:*                         LISTEN      877/dovecot
    tcp        0      0 *:pop3s                     *:*                         LISTEN      877/dovecot
    tcp        0      0 *:806                       *:*                         LISTEN      1896/rpc.statd
    tcp        0      0 localhost.localdomain:10024 *:*                         LISTEN      865/amavisd (master
    tcp        0      0 localhost.localdomain:10025 *:*                         LISTEN      810/master
    tcp        0      0 *:mysql                     *:*                         LISTEN      739/mysqld
    tcp        0      0 *:pop3                      *:*                         LISTEN      877/dovecot
    tcp        0      0 localhost.local:dyna-access *:*                         LISTEN      2200/clamd
    tcp        0      0 *:imap                      *:*                         LISTEN      877/dovecot
    tcp        0      0 *:sunrpc                    *:*                         LISTEN      1860/portmap
    tcp        0      0 server1.elbasani.biz:http   *:*                         LISTEN      1130/httpd
    tcp        0      0 localhost.localdomai:domain *:*                         LISTEN      969/named
    tcp        0      0 *:ftp                       *:*                         LISTEN      914/pure-ftpd (SERV
    tcp        0      0 localhost.localdomain:ipp   *:*                         LISTEN      2170/cupsd
    tcp        0      0 localhost.localdomain:rndc  *:*                         LISTEN      969/named
    tcp        0      0 *:smtp                      *:*                         LISTEN      810/master
    tcp        0      0 localhost.localdomain:smtp  localhost.localdomain:32976 SYN_RECV    -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:50880 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:39904 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:33760 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:35169 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:56258 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:47234 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:37538 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:50402 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:42722 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:60930 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:44515 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.local:filenet-rmi CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:45764 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:35812 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:59492 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:34308 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:54020 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:38500 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:48037 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:51653 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:36261 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:35845 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:37957 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:41638 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:33510 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:40742 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:47911 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:37895 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:37479 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:35431 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:35464 CLOSE_WAIT  -
    tcp        0      0 localhost.localdomain:ftp   localhost.localdomain:48008 TIME_WAIT   -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:49896 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:42697 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:50761 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:60587 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:53931 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:43820 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:60748 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:57388 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:37228 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:52941 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:59629 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:40909 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:34637 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:36014 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:52206 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:36942 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:60879 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:48111 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:39663 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:38511 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:59600 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:58097 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:35761 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:36017 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:37073 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:60049 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:36113 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:56337 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:49906 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:39666 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:51986 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:35475 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:41395 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:51635 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:38419 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:59475 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:46355 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:35764 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:41236 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:41236 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:60341 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:39893 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:32789 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:56278 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:50198 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:55606 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:37527 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:58135 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:57976 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:60024 CLOSE_WAIT  -
    tcp        0      0 localhost.localdomain:36132 localhost.localdomai:domain TIME_WAIT   -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:59641 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:41369 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:59577 CLOSE_WAIT  -
    tcp        0      1 localhost.localdomain:32976 localhost.localdomain:smtp  FIN_WAIT1   -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:54681 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:36250 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:60890 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:55322 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:51675 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:53979 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:33019 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:37627 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:56316 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:60700 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:57277 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:41918 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:56062 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:37342 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:49502 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:56350 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:50750 CLOSE_WAIT  -
    tcp        1      0 localhost.localdomain:smtp  localhost.localdomain:57407 CLOSE_WAIT  -
    tcp        0      0 *:imaps                     *:*                         LISTEN      877/dovecot
    tcp        0      0 *:pop3s                     *:*                         LISTEN      877/dovecot
    tcp        0      0 *:pop3                      *:*                         LISTEN      877/dovecot
    tcp        0      0 *:imap                      *:*                         LISTEN      877/dovecot
    tcp        0      0 *:webcache                  *:*                         LISTEN      1130/httpd
    tcp        0      0 *:tproxy                    *:*                         LISTEN      1130/httpd
    tcp        0      0 localhost6.localdoma:domain *:*                         LISTEN      969/named
    tcp        0      0 *:ftp                       *:*                         LISTEN      914/pure-ftpd (SERV
    tcp        0      0 *:ssh                       *:*                         LISTEN      2157/sshd
    tcp        0      0 localhost6.localdomain:rndc *:*                         LISTEN      969/named
    tcp        0      0 *:https                     *:*                         LISTEN      1130/httpd
    tcp        0      0 server1.elbasani.biz:ssh    ::ffff:192.168.1.33:49351   ESTABLISHED 1143/0
    
     
  19. till

    till Super Moderator Staff Member ISPConfig Developer

    The webserver is working accordinf´g to the netstat output. So maybe there is a prblem with the hosts file. Please post the output of the command:

    ifconfig

    and the content of the /etc/hosts file.
     
  20. smsalbania

    smsalbania New Member

    Code:
    [[email protected] ~]#  ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:0D:87:07:DE:A7
              inet addr:192.168.1.100  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::20d:87ff:fe07:dea7/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:28511 errors:0 dropped:0 overruns:0 frame:0
              TX packets:32470 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:9442684 (9.0 MiB)  TX bytes:9499368 (9.0 MiB)
              Interrupt:11 Base address:0xd400
    
    eth0:0    Link encap:Ethernet  HWaddr 00:0D:87:07:DE:A7
              inet addr:192.168.1.101  Bcast:192.168.1.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              Interrupt:11 Base address:0xd400
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:29842 errors:0 dropped:0 overruns:0 frame:0
              TX packets:29842 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:1969352 (1.8 MiB)  TX bytes:1969352 (1.8 MiB)
    Code:
    [[email protected] ~]# httpd -t
    [Thu Sep 09 16:01:02 2010] [warn] VirtualHost 192.168.1.100:80 overlaps with VirtualHost 192.168.1.100:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Thu Sep 09 16:01:02 2010] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
    Syntax OK
    
    Code:
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1               localhost.localdomain localhost
    192.168.1.100            server1.elbasani.biz server1
    ::1             localhost6.localdomain6 localhost6
    
     
    Last edited: Sep 9, 2010

Share This Page