cant log into ispconfig

Discussion in 'General' started by kwickcut, Dec 25, 2009.

  1. kwickcut

    kwickcut Member

    i have installed ububtu 9.10 according to this link
    http://www.howtoforge.com/perfect-server-ubuntu-9.10-karmic-koala-ispconfig-2

    now the server has been running for about 2 weeks with no problems until today. i was at work and went to log into my server https://www.myserver.com:81 and i get this Unable to connect http://www.jetscreenshot.com/demo/20091224-95x-36kb.jpg

    now i know that https is good because i can goto https://www.myserver.com:1000 and log into webmin.

    now the server is still active and you can goto the 3 sites i am hosting with no troubles. you just cant goto the page to log into ispconfig. i have done no updates and changed nothing on the server other then adding the sites.

    what can be dont to stop this problem do i need to add something i really need help thanks



    kwick
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    run:

    /etc/init.d/ispconfig_server restart

    on the shell and try again.
     
  3. kwickcut

    kwickcut Member

    i understand how to restart ispconfig i was just trying to find out why it was not allowing me to reach the log in screen. i am not to worried about me its the clients that are using the server...


    thanks for the reply



    kwick
     
    Last edited: Dec 26, 2009
  4. falko

    falko Super Moderator ISPConfig Developer

    What are the outputs of
    Code:
    netstat -tap
    and
    Code:
    iptables -L
    ?
     
  5. kwickcut

    kwickcut Member

    Code:
     netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 server1.example.:domain *:*                     LISTEN      6969/named
    tcp        0      0 localhost.locald:domain *:*                     LISTEN      6969/named
    tcp        0      0 *:ftp                   *:*                     LISTEN      2949/vsftpd
    tcp        0      0 *:ssh                   *:*                     LISTEN      1192/sshd
    tcp        0      0 *:smtp                  *:*                     LISTEN      8632/master
    tcp        0      0 localhost.localdoma:953 *:*                     LISTEN      6969/named
    tcp        0      0 *:mysql                 *:*                     LISTEN      1274/mysqld
    tcp        0      0 *:webmin                *:*                     LISTEN      3170/perl
    tcp        0      0 *:81                    *:*                     LISTEN      1612/ispconfig_http
    tcp        0      0 localhost.localdo:57522 localhost.localdo:mysql TIME_WAIT   -
    tcp        0      0 localhost.localdo:mysql localhost.localdo:57523 ESTABLISHED 1274/mysqld
    tcp        0      1 server1.example.c:52850 omta.westchester.p:smtp SYN_SENT    22148/smtp
    tcp        0      0 localhost.localdo:57523 localhost.localdo:mysql ESTABLISHED 22145/proxymap
    tcp        0     52 server1.example.com:ssh 192.168.1.112:3420      ESTABLISHED 22150/sshd: kwick [
    tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      1192/sshd
    tcp6       0      0 [::]:smtp               [::]:*                  LISTEN      8632/master
    tcp6       0      0 localhost:953           [::]:*                  LISTEN      6969/named
    tcp6       0      0 [::]:https              [::]:*                  LISTEN      2009/apache2
    tcp6       0      0 [::]:www                [::]:*                  LISTEN      2009/apache2
    
    Code:
    iptables -L
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    


    thanks for the reply



    kwick
     
  6. falko

    falko Super Moderator ISPConfig Developer

    There's no firewall, and ISPConfig is listening on port 81, so it should work.
    Is your server behind a router?

    Are there any errors in the error log in /root/ispconfig/httpd/logs?
     
  7. kwickcut

    kwickcut Member

    well this is in the error log

    Code:
    [Thu Dec 24 09:31:24 2009] [notice] Accept mutex: sysvsem (Default: sysvsem)
    [Fri Dec 25 21:08:08 2009] [warn] pid file /root/ispconfig/httpd/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    [Fri Dec 25 21:08:08 2009] [notice] Apache configured -- resuming normal operations
    [Fri Dec 25 21:08:08 2009] [notice] Accept mutex: sysvsem (Default: sysvsem)
    [Fri Dec 25 22:58:32 2009] [warn] pid file /root/ispconfig/httpd/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    [Fri Dec 25 22:58:32 2009] [notice] Apache configured -- resuming normal operations
    [Fri Dec 25 22:58:32 2009] [notice] Accept mutex: sysvsem (Default: sysvsem)
    [Sat Dec 26 01:36:44 2009] [warn] pid file /root/ispconfig/httpd/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    [Sat Dec 26 01:36:44 2009] [notice] Apache configured -- resuming normal operations
    [Sat Dec 26 01:36:44 2009] [notice] Accept mutex: sysvsem (Default: sysvsem)
    [Sat Dec 26 01:50:25 2009] [error] mod_ssl: SSL handshake failed: HTTP spoken on HTTPS port; trying to send HTML error page (OpenSSL library error follows)
    [Sat Dec 26 01:50:25 2009] [error] OpenSSL: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request [Hint: speaking HTTP to HTTPS port!?]
    [Sat Dec 26 01:50:25 2009] [error] mod_ssl: SSL handshake failed: HTTP spoken on HTTPS port; trying to send HTML error page (OpenSSL library error follows)
    [Sat Dec 26 01:50:25 2009] [error] OpenSSL: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request [Hint: speaking HTTP to HTTPS port!?]
    [Sat Dec 26 01:50:28 2009] [error] mod_ssl: SSL handshake failed: HTTP spoken on HTTPS port; trying to send HTML error page (OpenSSL library error follows)
    [Sat Dec 26 01:50:28 2009] [error] OpenSSL: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request [Hint: speaking HTTP to HTTPS port!?]
    [Sat Dec 26 10:16:58 2009] [error] mod_ssl: SSL handshake failed: HTTP spoken on HTTPS port; trying to send HTML error page (OpenSSL library error follows)
    [Sat Dec 26 10:16:58 2009] [error] OpenSSL: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request [Hint: speaking HTTP to HTTPS port!?]
    [Sat Dec 26 10:16:58 2009] [error] mod_ssl: SSL handshake failed: HTTP spoken on HTTPS port; trying to send HTML error page (OpenSSL library error follows)
    [Sat Dec 26 10:16:58 2009] [error] OpenSSL: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request [Hint: speaking HTTP to HTTPS port!?]
    [Sat Dec 26 10:17:01 2009] [error] mod_ssl: SSL handshake failed: HTTP spoken on HTTPS port; trying to send HTML error page (OpenSSL library error follows)
    [Sat Dec 26 10:17:01 2009] [error] OpenSSL: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request [Hint: speaking HTTP to HTTPS port!?]
    du: cannot read directory `/var/www/web19/user/admin/Maildir': Permission denied
    du: cannot read directory `/var/www/web19/user/admin/.spamassassin': Permission denied
    du: cannot read directory `/var/www/web19/user/admin/Maildir': Permission denied
    du: cannot read directory `/var/www/web19/user/admin/.spamassassin': Permission denied
     
  8. falko

    falko Super Moderator ISPConfig Developer

    Have you tried HTTP or HTTPS on port 81?
     
  9. kwickcut

    kwickcut Member

    yes i have had no problem with port 81 and https . when you went to https://mysite.com:81 there was no log in box ispconfig had stopped running. when i ran /etc/init.d/ispconfig_server restart then hit F5 the log in box appeared. so i know it was not a problem with port 81 just with ispconfig. now this problem has not happened from the start of this thread but i did happen 4 times before i started this thread. ispconfig has been running for 4days 22 hours but i am afraid it will start acting up again.


    thanks for all the help



    kwick
     
    Last edited: Dec 29, 2009

Share This Page