cannot login after installation of ISPconfig

Discussion in 'Installation/Configuration' started by brody182, Oct 18, 2015.

  1. brody182

    brody182 Member

    cannot open page on Port 8080

    server: centos 7
    the server is setup with visualization systems openvz containers

    I used the tutorial ( The Perfect Server – CentOS 7.1 with Apache2, Postfix, Dovecot, Pure-FTPD, BIND and ISPConfig 3 )

    it looks like webcache is port 8080 (ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:webcache)

    iptables -L

    Chain INPUT (policy ACCEPT)
    target prot opt source destination
    f2b-postfix-sasl tcp -- anywhere anywhere multiport dports smtp,urd,submission
    f2b-dovecot tcp -- anywhere anywhere multiport dports pop3,pop3s,imap,imaps
    f2b-FTP tcp -- anywhere anywhere tcp dpt:ftp
    f2b-sshd tcp -- anywhere anywhere tcp dpt:ssh
    ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
    ACCEPT icmp -- anywhere anywhere
    ACCEPT all -- anywhere anywhere
    ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
    ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:http
    ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:https
    ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:webcache
    REJECT all -- anywhere anywhere reject-with icmp-host-prohibited

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination
    REJECT all -- anywhere anywhere 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 anywhere

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

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

    Chain f2b-sshd (1 references)
    target prot opt source destination
    RETURN all -- anywhere anywhere
     
    Last edited: Oct 19, 2015
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    httpd (apache) seems not to be started. start it on the shell.
     
  3. brody182

    brody182 Member

    I updated above (iptables -L) after installing (The Perfect Server – CentOS 7.1 with Apache2, Postfix, Dovecot, Pure-FTPD, BIND and ISPConfig 3 )

    it looks like port 8080 is (dpt:webcache)

    my webserver is set up with openvz containers
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    You mix up the firewall and the actual service. You altered the output above and removed the relevant information, the firewall and iptables output was fine from the beginning, the relevant output was the netsat output which showed that you had not started apache.
     
  5. brody182

    brody182 Member

    port 8080 is now open after I added (Listen 8080) in Apache conf

    now there is a new problem, cannot login @ https://184.75.255.126:8080/

    I cannot find the virtualhost file... do i need to add (listen 443) in there?

    I am hosting at (intovps.com), is that a bad host?

    netstat

    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 455/pure-ftpd (SERV
    tcp 0 0 184.75.255.126:53 0.0.0.0:* LISTEN 387/named
    tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 387/named
    tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 360/sshd
    tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 723/master
    tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 387/named
    tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 1488/httpd
    tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 398/dovecot
    tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 398/dovecot
    tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 355/php-fpm: master
    tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN 723/master
    tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 659/mysqld
    tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 398/dovecot
    tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 398/dovecot
    tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 1488/httpd
    tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1488/httpd
    tcp6 0 0 :::21 :::* LISTEN 455/pure-ftpd (SERV
    tcp6 0 0 :::53 :::* LISTEN 387/named
    tcp6 0 0 :::22 :::* LISTEN 360/sshd
    tcp6 0 0 :::25 :::* LISTEN 723/master
    tcp6 0 0 ::1:953 :::* LISTEN 387/named
    tcp6 0 0 :::993 :::* LISTEN 398/dovecot
    tcp6 0 0 :::995 :::* LISTEN 398/dovecot
    tcp6 0 0 :::110 :::* LISTEN 398/dovecot
    tcp6 0 0 :::143 :::* LISTEN
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    This may not be added in the apache configuration as it is configured in its own ispconfig.conf file and when you add it manually a second time then apache will fail. The file where the port and vhost is configured is:

    /etc/httpd/conf/sites-available/ispconfig.vhost

    If this file is missing then ispconfig is not fully installed.
     
  7. brody182

    brody182 Member

    The file is missing........ /etc/httpd/conf/sites-available/ispconfig.vhost


    cat htf_report.txt | more

    ##### 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.0.5.4p8


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

    [INFO] php (cli) version is 5.4.16

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

    [WARN] Port 8081 (ISPConfig Apps) seems NOT to be listening
    [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 ena
    ble 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 t
    o enable this.

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

    [INFO] I found the following web server(s):
    Unknown process (httpd) (PID 1488)
    [INFO] I found the following mail server(s):
    Postfix (PID 723)
    [INFO] I found the following pop3 server(s):
    Dovecot (PID 398)
    [INFO] I found the following imap server(s):
    Dovecot (PID 398)
    [INFO] I found the following ftp server(s):
    PureFTP (PID 455)

    ##### LISTENING PORTS #####
    (only ()
    Local (Address)
    [anywhere]:21 (455/pure-ftpd)
    ***.***.***.***:53 (387/named)
    [localhost]:53 (387/named)
    [anywhere]:22 (360/sshd)
    [anywhere]:25 (723/master)
    [localhost]:953 (387/named)
    [anywhere]:443 (1488/httpd)
    [anywhere]:993 (398/dovecot)
    [anywhere]:995 (398/dovecot)
    [localhost]:9000 (355/php-fpm:)
    [localhost]:10025 (723/master)
    [anywhere]:3306 (659/mysqld)
    [anywhere]:110 (398/dovecot)
    [anywhere]:143 (398/dovecot)
    [anywhere]:8080 (1488/httpd)
    [anywhere]:80 (1488/httpd)
    *:*:*:*::*:21 (455/pure-ftpd)
    *:*:*:*::*:53 (387/named)
    *:*:*:*::*:22 (360/sshd)
    *:*:*:*::*:25 (723/master)
    *:*:*:*::*:953 (387/named)
    *:*:*:*::*:993 (398/dovecot)
    *:*:*:*::*:995 (398/dovecot)
    [localhost]10 (398/dovecot)
    [localhost]43 (398/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
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 state NEW tcp dpt:80
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 state NEW tcp dpt:443
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 state NEW tcp dpt:8080
    REJECT all -- [anywhere]/0 [anywhere]/0 reject-with icmp-host-prohibite
    d

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

    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
     
  8. brody182

    brody182 Member

    Its Not Creating Apache Virtual Hosts
     
  9. brody182

    brody182 Member

    I installed ISPconfig Two times, same problem. what do you recommend?
     
  10. brody182

    brody182 Member

    der Server ist Scheiße ?
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    Any errors during install?
    How much RAM does the server has?
    Does your ISP provides other IS Like Debian or Ubuntu as well?
     
  12. brody182

    brody182 Member

    1024 ram , When installing ISPconfig my sever only used 500mb of ram, so I had plenty of ram to install Ispconfig... ISP? do you mean VPS? ISP is the internet provider.. my VPS provides debian, centos 7, ubuntu

    ISPconfig installs well on digitalOcean and Linode, but not on intoVps.com.. maybe when they launch http://fleio.com/ it will be a different story.
     
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    1GB RAM is fine. Some providers indeed have so crippled base images that it needs some tweaking to get a normal OS image back. If they provide Debian and Ubuntu as well then you should consider to try one of these OS as they are easier to install then CentOS and you can use the auto installer:

    https://www.howtoforge.com/tutorial/ispconfig-install-script-debian/
     
  14. concept21

    concept21 Member

    Install ispconfig3 on a Ubuntu 14.04 OS to enjoy native support.
    It is the reason why I deploy Ubuntu rather than RHEL for hosting. :D
     

Share This Page