perfect server centos 7.2

Discussion in 'HOWTO-Related Questions' started by peter klinser, Oct 3, 2016.

  1. peter klinser

    peter klinser New Member

    hello
    have installed the perfect server centos 7.2 with ispconfig.
    but if i want to see the webinterface there is no connection.
    apache is running, have firewall and NAT to the internal ip, all ports are forwarding.

    have installed the vmware image ( OVA )

    what can i do?

    thanks a lot
     
    Last edited: Oct 3, 2016
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. JorgenB

    JorgenB New Member

    Hi there,
    i have also installed the ova file recently and cant connect to ISPConfig (out of the box).
    I havent changed anything, are you supposed to do some changes to get it working?
    My router and internal IP matches your default IP on the server (192.168.1.x/24 GW:192.168.1.1)
    The server answers to ping and SSH but not http and DNS.
    The testscript answers this:

    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] ISPConfig is installed.

    ##### ISPCONFIG #####
    ISPConfig version is 3.1dev


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

    [INFO] php (cli) version is 5.4.16

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

    [WARN] Port 465 (SMTP server SSL) seems NOT to be listening

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

    [WARN] I found no "submission" entry in your postfix master.cf
    [INFO] this is not critical, but if you want to offer port 587 for smtp connections you have to enable this.
    [WARN] I found no "smtps" entry in your postfix master.cf
    [INFO] this is not critical, but if you want to offer SSL for smtp (not TLS) connections you have to enable this.

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

    [INFO] I found the following web server(s):
    Unknown process (httpd) (PID 2080)
    [INFO] I found the following mail server(s):
    Postfix (PID 2258)
    [INFO] I found the following pop3 server(s):
    Dovecot (PID 1461)
    [INFO] I found the following imap server(s):
    Dovecot (PID 1461)
    [INFO] I found the following ftp server(s):
    PureFTP (PID 2078)

    ##### LISTENING PORTS #####
    (only ()
    Local (Address)
    [localhost]:10024 (2448/amavisd)
    [localhost]:9000 (944/php-fpm:)
    [localhost]:10025 (2258/master)
    [localhost]:10026 (2448/amavisd)
    [anywhere]:3306 (2288/mysqld)
    [localhost]:10027 (2258/master)
    [anywhere]:110 (1461/dovecot)
    [anywhere]:143 (1461/dovecot)
    [anywhere]:21 (2078/pure-ftpd)
    ***.***.***.***:53 (2024/named)
    [localhost]:53 (2024/named)
    [anywhere]:22 (969/sshd)
    [anywhere]:25 (2258/master)
    [localhost]:953 (2024/named)
    [anywhere]:993 (1461/dovecot)
    [anywhere]:995 (1461/dovecot)
    *:*:*:*::*:10024 (2448/amavisd)
    *:*:*:*::*:10026 (2448/amavisd)
    [localhost]10 (1461/dovecot)
    [localhost]43 (1461/dovecot)
    *:*:*:*::*:8080 (2080/httpd)
    *:*:*:*::*:80 (2080/httpd)
    *:*:*:*::*:8081 (2080/httpd)
    *:*:*:*::*:21 (2078/pure-ftpd)
    *:*:*:*::*:53 (2024/named)
    *:*:*:*::*:22 (969/sshd)
    *:*:*:*::*:25 (2258/master)
    *:*:*:*::*:953 (2024/named)
    *:*:*:*::*:443 (2080/httpd)
    *:*:*:*::*:993 (1461/dovecot)
    *:*:*:*::*:995 (1461/dovecot)




    ##### IPTABLES #####
    Chain INPUT (policy ACCEPT)
    target prot opt source destination
    f2b-postfix-sasl tcp -- [anywhere]/0 [anywhere]/0 multiport dports 25,465,587
    f2b-dovecot tcp -- [anywhere]/0 [anywhere]/0 multiport dports 110,995,143,993
    f2b-FTP tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:21
    f2b-sshd tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:22
    ACCEPT all -- [anywhere]/0 [anywhere]/0 state RELATED,ESTABLISHED
    ACCEPT icmp -- [anywhere]/0 [anywhere]/0
    ACCEPT all -- [anywhere]/0 [anywhere]/0
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 state NEW tcp dpt:22
    REJECT all -- [anywhere]/0 [anywhere]/0 reject-with icmp-host-prohibited

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination
    REJECT all -- [anywhere]/0 [anywhere]/0 reject-with icmp-host-prohibited

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination

    Chain f2b-FTP (1 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0

    Chain f2b-dovecot (1 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0

    Chain f2b-postfix-sasl (1 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0

    Chain f2b-sshd (1 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0


    I have also tried to follow the tutorial of the same Perfect Server CentOS 7.2 and everything worked fine untill I restarted the server, then I couldnt connect anymore. Just like the ova machine.

    thanks
    Jörgen
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The debug output above shows that ispconfig interface is running:

    *:*:*:*::*:8080 (2080/httpd)

    try to run:

    iptables --flush

    on the shell to see if you can connect then.
     
  5. JorgenB

    JorgenB New Member

    Perfect, that did it.
    Both with the ova installation and my own installed machine.

    Thanks alot.
     

Share This Page