Problems with install of ispconfig3

Discussion in 'Installation/Configuration' started by jojoking, Aug 15, 2014.

  1. jojoking

    jojoking New Member

    First of all, I'm a newbie to Ubuntu server configuration.

    I'm having problems getting ispconfig to work.

    I've installed it as per http://www.howtoforge.com/perfect-server-ubuntu-12.04-lts-apache2-bind-dovecot-ispconfig-3 tutorial.

    I've installed all the required packages and the output during the install was pretty much the same as the tutorial.

    My problem is that on entering the webpage for the ispconfig page, i.e.
    https://server109-228-8-148.live-servers.net:8080

    I'm getting a "The requested URL / was not found on this server" message.

    Don't know what to do next!

    Here's the output from running the ispconfig common issues test:

    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    IP-address(es) (as per ifconfig): ***.***.***.***
    [INFO] ISPConfig is installed.

    ##### ISPCONFIG #####
    ISPConfig version is 3.0.5.4p2


    ##### VERSION CHECK #####

    [INFO] php (cli) version is 5.3.10-1ubuntu3.13

    ##### PORT CHECK #####


    ##### MAIL SERVER CHECK #####


    ##### RUNNING SERVER PROCESSES #####

    [INFO] I found the following web server(s):
    Apache 2 (PID 8072)
    [INFO] I found the following mail server(s):
    Postfix (PID 3563)
    [INFO] I found the following pop3 server(s):
    Dovecot (PID 4667)
    [INFO] I found the following imap server(s):
    Dovecot (PID 4667)
    [INFO] I found the following ftp server(s):
    PureFTP (PID 4753)

    ##### LISTENING PORTS #####
    (only ()
    Local (Address)
    [anywhere]:993 (4667/dovecot)
    [anywhere]:995 (4667/dovecot)
    [anywhere]:58659 (725/rpc.statd)
    [localhost]:10024 (3633/amavisd)
    [localhost]:9000 (1769/php-fpm.conf))
    [localhost]:10025 (3563/master)
    [anywhere]:3306 (3165/mysqld)
    [anywhere]:587 (3563/master)
    [anywhere]:110 (4667/dovecot)
    [anywhere]:143 (4667/dovecot)
    [anywhere]:111 (540/rpcbind)
    [anywhere]:8080 (8072/apache2)
    [anywhere]:80 (8072/apache2)
    [anywhere]:8081 (8072/apache2)
    [anywhere]:465 (3563/master)
    ***.***.***.***:53 (4783/named)
    [localhost]:53 (4783/named)
    [anywhere]:21 (4753/pure-ftpd)
    [anywhere]:22 (700/sshd)
    [localhost]:953 (4783/named)
    [anywhere]:25 (3563/master)
    [anywhere]:443 (8072/apache2)
    *:*:*:*::*:993 (4667/dovecot)
    *:*:*:*::*:995 (4667/dovecot)
    *:*:*:*::*:33543 (725/rpc.statd)
    *:*:*:*::*:587 (3563/master)
    [localhost]10 (4667/dovecot)
    [localhost]43 (4667/dovecot)
    [localhost]11 (540/rpcbind)
    [anywhere]:8080 (8072/apache2)
    [anywhere]:80 (8072/apache2)
    [anywhere]:8081 (8072/apache2)
    [anywhere]:465 (3563/master)
    ***.***.***.***:53 (4783/named)
    [localhost]:53 (4783/named)
    [anywhere]:21 (4753/pure-ftpd)
    [anywhere]:22 (700/sshd)
    [localhost]:953 (4783/named)
    [anywhere]:25 (3563/master)
    [anywhere]:443 (8072/apache2)
    *:*:*:*::*:993 (4667/dovecot)
    *:*:*:*::*:995 (4667/dovecot)
    *:*:*:*::*:33543 (725/rpc.statd)
    *:*:*:*::*:587 (3563/master)
    [localhost]10 (4667/dovecot)
    [localhost]43 (4667/dovecot)
    [localhost]11 (540/rpcbind)
    *:*:*:*::*:465 (3563/master)
    *:*:*:*::*:53 (4783/named)
    *:*:*:*::*:21 (4753/pure-ftpd)
    *:*:*:*::*:22 (700/sshd)
    *:*:*:*::*:953 (4783/named)
    *:*:*:*::*:25 (3563/master)




    ##### IPTABLES #####
    Chain INPUT (policy DROP)
    target prot opt source destination
    ACCEPT all -- [anywhere]/0 [anywhere]/0
    ACCEPT all -- [anywhere]/0 [anywhere]/0 state RELATED,ESTABLISHED
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:22 state NEW
    ACCEPT udp -- ***.***.***.*** [anywhere]/0 udp dpt:161 state NEW
    ACCEPT udp -- ***.***.***.*** [anywhere]/0 udp dpt:161 state NEW
    ACCEPT udp -- ***.***.***.*** [anywhere]/0 udp dpt:161 state NEW
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:80 state NEW
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:443 state NEW
    ACCEPT udp -- [anywhere]/0 [anywhere]/0 udp dpt:53 state NEW
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:53 state NEW
    ACCEPT udp -- [anywhere]/0 [anywhere]/0 udp dpt:69 state NEW
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:69 state NEW
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:25 state NEW
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:110 state NEW
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:143 state NEW
    ACCEPT udp -- [anywhere]/0 [anywhere]/0 udp dpt:123 state NEW
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:20 state NEW
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:21 state NEW
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:3306 state NEW
    ACCEPT udp -- [anywhere]/0 [anywhere]/0 udp dpt:3306 state NEW
    DROP all -- [anywhere]/0 [anywhere]/0

    Chain FORWARD (policy DROP)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination
    ACCEPT all -- [anywhere]/0 [anywhere]/0
    ACCEPT all -- [anywhere]/0 [anywhere]/0 state NEW,RELATED,ESTABLISHED
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Seems as if you run a firewall which böocks ispconfig. Run:

    iptables --flush

    And try to access ispconfig again.
     
  3. jojoking

    jojoking New Member

    Thanks for your response.

    I tried iptables --flush but all it seemed to do was crash the server and I had to reboot...

    Anyway to be absolutely sure I've installed as per the instructions, I started with a fresh install of Ubuntu 12.04 on my virtual private server: this is supplied by the Fasthosts hosting service. This install does start with LAMP already installed. So essentially I've followed the instructions from step 7 of http://www.howtoforge.com/perfect-server-ubuntu-12.04-lts-apache2-bind-dovecot-ispconfig-3-p3 onwards. Clearly as I went through, some packages were already installed.

    I found I also had to install courier-imap-ssl and courier-pop3-ssl after getting
    this message during the install

    courier-imap-ssl: unrecognized service
    courier-pop-ssl: unrecognized service

    I've attached the the output from running the ispconfig common issues test (ispconfig.txt) and the ssh terminal output from the ISPConfig3 install (terminaloutput.txt).

    I hope you can shed some light. I'm tearing my hair out here.

    What I did find was that using lynx in the ssh terminal itself does let me access the ISPConfig front page - so it does seem to be something to do with coming in from the internet. I've also tried a number of other ports instead of 8080 and can't get in on any of them.

    How can I tell which ports are blocked to internet access?
     

    Attached Files:

  4. ArrChi

    ArrChi New Member

    As till said it could be a firewall problem.

    If you have ssh root access try:

    iptables -I INPUT -p tcp --dport 8080 -j ACCEPT

    You have to use I parameter cause you have DROP default policy in INPUT chain and end rule is block all if not accept.

    If you want to accept only specified IP for IspConfig acces you can modify rule sth like this:

    iptables -I INPUT -s ALLOWED_IP -p tcp --dport 8080 -j ACCEPT
     
  5. jojoking

    jojoking New Member

    Indeed, it was a firewall problem. I've now installed APF-Firewall - it's a lot easier to deal with than trying to understand the syntax of iptables!

    So now I've managed to configure exactly the ports I want to be open and everything is hunky-dory and I'm in a position to start configuring my website!

    Thanks to all for their help!:D
     
  6. ArrChi

    ArrChi New Member

    No problem :)

    PS: iptables is easy to learn :)
     

Share This Page