Cannot connect to web interface

Discussion in 'Installation/Configuration' started by Brent, Sep 15, 2005.

  1. Brent

    Brent New Member

    Please help.

    I have followed the "Perfect Suse 9.3" setup to the letter and all goes well. However I get an error when trying to connect to the web interface from the local machine or any other machine on the lan.

    "Bad Request
    Your browser sent a request that this server could not understand.
    Reason: You're speaking plain HTTP to an SSL-enabled server port.
    Instead use the HTTPS scheme to access this URL, please."

    I have tried both https and http. I have done a complete reinstall i.e from formatted drive. I have even selected http during the install. I have been through this process three times over a two day period.

    Firefox gives an error that the certificate is corrupted.

    Please help.

    Thanks

    :)
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Use https instead of http.

    What is the exact error message you got from Firefox? Is the SSL-Cert corrupted or is this a warning that you use a self signed certificate?
     
  3. falko

    falko Super Moderator Howtoforge Staff

    Can you post the output of
    Code:
    netstat -tap
    here?
     
  4. Brent

    Brent New Member

    Since rebooting, I get the following error on both http and https "the connection was refused when attempting to contact mydomain:81"
     
  5. Brent

    Brent New Member

    doa:~ # netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 *:5801 *:* LISTEN 6086/xinetd
    tcp 0 0 *:mysql *:* LISTEN 5793/mysqld
    tcp 0 0 *:5901 *:* LISTEN 6086/xinetd
    tcp 0 0 *:sunrpc *:* LISTEN 4939/portmap
    tcp 0 0 *:6001 *:* LISTEN 6352/Xvnc
    tcp 0 0 *:ftp *:* LISTEN 5886/proftpd: (acce
    tcp 0 0 192.168.0.101:domain *:* LISTEN 5772/named
    tcp 0 0 ********:domain *:* LISTEN 5772/named
    tcp 0 0 localhost:domain *:* LISTEN 5772/named
    tcp 0 0 *:smtp *:* LISTEN 6016/master
    tcp 0 0 localhost:953 *:* LISTEN 5772/named
    tcp 0 0 ********:6001 ********:33680 ESTABLISHED 6352/Xvnc
    tcp 0 0 ********:6001 ********:33690 ESTABLISHED 6352/Xvnc
    tcp 0 0 ********:6001 ********:33689 ESTABLISHED 6352/Xvnc
    tcp 32 0 ********:33680 ********:6001 ESTABLISHED 6359/-za.dnsalias.c
    tcp 0 0 ********:33689 ********:6001 ESTABLISHED 6374/twm
    tcp 0 0 ********:33690 ********:6001 ESTABLISHED 6416/xterm
    tcp 0 0 ********:5901 crash.mshome.net:stvp ESTABLISHED 6352/Xvnc
    tcp 0 0 *:imaps *:* LISTEN 5411/couriertcpd
    tcp 0 0 *:filenet-nch *:* LISTEN 6145/xdm
    tcp 0 0 *:pop3s *:* LISTEN 5488/couriertcpd
    tcp 0 0 *:pop3 *:* LISTEN 5474/couriertcpd
    tcp 0 0 *:imap *:* LISTEN 5413/couriertcpd
    tcp 0 0 *:www-http *:* LISTEN 6059/httpd2-prefork
    tcp 0 0 *:6001 *:* LISTEN 6352/Xvnc
    tcp 0 0 *:domain *:* LISTEN 5772/named
    tcp 0 0 *:ssh *:* LISTEN 5700/sshd
    tcp 0 0 *:smtp *:* LISTEN 6016/master
    tcp 0 0 localhost:953 *:* LISTEN 5772/named
    tcp 0 0 *:https *:* LISTEN 6059/httpd2-prefork
    tcp 52 0 ********:ssh crash.mshome.ne:res-sap ESTABLISHED 6449/1
    tcp 0 0 ********:ssh crash.mshome.net:sflm ESTABLISHED 6441/sshd: root@not
    doa:~ # :eek:
     
  6. falko

    falko Super Moderator Howtoforge Staff

    ISPConfig isn't running. Start it with
    Code:
    /etc/init.d/ispconfig_server start
    and try again.
     
  7. Brent

    Brent New Member

    :eek: :eek:

    DUH !

    Thanks that was easy enough.

    How do I get ISPConfig to autostart?
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Normally the ISPConfig installer should have configured your system to do so. Apparently he has not. :D

    Try
    Code:
    chkconfig --add ispconfig_server
    or
    Code:
    chkconfig --levels 235 ispconfig_server on
    
     
  9. Brent

    Brent New Member

    Thank You

    All is 100% now ;)
     
  10. rupurt

    rupurt New Member

    i get the exact same problem.

    here is what the error message is:

    <code>Could not establish and encrypted connection because certificate presented by 10.1.1.5 is invalid or corrupted. Error Code: -8182</code>

    i ran all the things you said and it appears ISPconfig is running?
     

Share This Page