View Full Version : cant log into ispconfig
kwickcut
25th December 2009, 05:29
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
till
25th December 2009, 12:52
run:
/etc/init.d/ispconfig_server restart
on the shell and try again.
kwickcut
26th December 2009, 03:11
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
falko
26th December 2009, 10:25
What are the outputs of netstat -tap and iptables -L?
kwickcut
26th December 2009, 19:36
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
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
falko
27th December 2009, 14:50
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?
kwickcut
28th December 2009, 05:20
well this is in the error log
[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
falko
28th December 2009, 16:25
[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!?]
Have you tried HTTP or HTTPS on port 81?
kwickcut
29th December 2009, 06:27
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
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.