The Perfect Server - Ubuntu 14.04 (Apache2, PHP, MySQL, PureFTPD, BIND, Dovecot, ISPC

Discussion in 'Installation/Configuration' started by marcz, Jun 23, 2014.

  1. marcz

    marcz New Member

    In previous installation tutorial especially for Apache2.
    apache2-mpm-prefork is included in the process.
    My question is why this time around this is not included?
    Is MPM Worker the preferred way for Apache 2 in Ubuntu 14.04 this time around and not MPM Prefork?

    Again, thanks a lot for this tutorials, a definite guide for every developer and system administrator.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Ubuntu 14.04 comes with apache 2.4, not 2.2 and the default MPM for this apache version is MPM worker, as far as I know.
     
  3. mraheel83

    mraheel83 New Member

    I'm unable to access IspConfig from url.

    Hi,

    I followed your complete tutorial without any error But when I'm accessing ispconfig as http://domain.com:8080 or https://domain.com:8080 then nothing works.

    Can you please guide me how can I fix it? I'm stuck not to trace it. I follow your steps under Windows Azure Virtual Machine.


    # netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 *:imaps *:* LISTEN 2535/dovecot
    tcp 0 0 100.92.200.54:16001 *:* LISTEN 903/python
    tcp 0 0 *:pop3s *:* LISTEN 2535/dovecot
    tcp 0 0 localhost:10024 *:* LISTEN 1641/amavisd-new (m
    tcp 0 0 localhost:10025 *:* LISTEN 1513/master
    tcp 0 0 *:mysql *:* LISTEN 1060/mysqld
    tcp 0 0 *:submission *:* LISTEN 1513/master
    tcp 0 0 localhost:11211 *:* LISTEN 42954/memcached
    tcp 0 0 *:pop3 *:* LISTEN 2535/dovecot
    tcp 0 0 *:imap2 *:* LISTEN 2535/dovecot
    tcp 0 0 *:urd *:* LISTEN 1513/master
    tcp 0 0 100.92.200.54:domain *:* LISTEN 2642/named
    tcp 0 0 localhost:domain *:* LISTEN 2642/named
    tcp 0 0 *:ftp *:* LISTEN 2611/pure-ftpd (SER
    tcp 0 0 *:ssh *:* LISTEN 1605/sshd
    tcp 0 0 localhost:953 *:* LISTEN 2642/named
    tcp 0 0 *:smtp *:* LISTEN 1513/master
    tcp 53 0 localhost:58507 localhost:10025 CLOSE_WAIT 2228/amavisd-new (c
    tcp 0 0 localhost:mysql localhost:37449 ESTABLISHED 1060/mysqld
    tcp 0 0 100.92.200.54:49358 100.92.200.20:http TIME_WAIT -
    tcp 0 0 localhost:37449 localhost:mysql ESTABLISHED 2228/amavisd-new (c
    tcp 0 0 100.92.200.54:49357 100.92.200.20:http TIME_WAIT -
    tcp 0 464 100.92.200.54:ssh 5.108.98.150:26603 ESTABLISHED 47897/sshd: azureus
    tcp6 0 0 [::]:imaps [::]:* LISTEN 2535/dovecot
    tcp6 0 0 [::]:pop3s [::]:* LISTEN 2535/dovecot
    tcp6 0 0 [::]:submission [::]:* LISTEN 1513/master
    tcp6 0 0 [::]:pop3 [::]:* LISTEN 2535/dovecot
    tcp6 0 0 [::]:imap2 [::]:* LISTEN 2535/dovecot
    tcp6 0 0 [::]:http-alt [::]:* LISTEN 44641/apache2
    tcp6 0 0 [::]:http [::]:* LISTEN 44641/apache2
    tcp6 0 0 [::]:tproxy [::]:* LISTEN 44641/apache2
    tcp6 0 0 [::]:urd [::]:* LISTEN 1513/master
    tcp6 0 0 [::]:domain [::]:* LISTEN 2642/named
    tcp6 0 0 [::]:ftp [::]:* LISTEN 2611/pure-ftpd (SER
    tcp6 0 0 [::]:ssh [::]:* LISTEN 1605/sshd
    tcp6 0 0 ip6-localhost:953 [::]:* LISTEN 2642/named
    tcp6 0 0 [::]:smtp [::]:* LISTEN 1513/master
    tcp6 0 0 [::]:https [::]:* LISTEN 44641/apache2
    tcp6 0 0 100.92.200.54:http 162.253.66.77:52663 TIME_WAIT -

    Thanks
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you try to use the server IP instead of the domain? Did you check that port 8080 is not blocked by a fireawll on the server or in front of the server?
     
  5. mraheel83

    mraheel83 New Member

    Hi

    Yes I tried with server IP and it's not working. Can you please check the processes which I mentioned in my last post.

    I read on one post that it can be a problem of SSL certificate so can please also guide me how can I check that and create proper certificate for ISPCONFIG?

    Thanks in advance for your support and efforts.
     
  6. mraheel83

    mraheel83 New Member

    Dear Till

    If you need any other information or log regarding this problem then please mention in your reply. I'll provide you.
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Which exact error does your browser show?

    and please post the output of:

    iptables -L
     
  8. mraheel83

    mraheel83 New Member

    I execute this command to add rule to allow firewall to unblock 8080 port:
    iptables -I INPUT 1 -i eth0 -p tcp --dport 8080 -j ACCEPT

    Server ports information:
    =========================
    # netstat -ntlp | grep :80
    tcp6 0 0 :::8080 :::* LISTEN 34899/apache2
    tcp6 0 0 :::80 :::* LISTEN 34899/apache2
    tcp6 0 0 :::8081 :::* LISTEN 34899/apache2

    # iptables -L
    Chain INPUT (policy ACCEPT)
    target prot opt source destination
    ACCEPT tcp -- anywhere anywhere tcp dpt:http-alt
    fail2ban-postfix-sasl tcp -- anywhere anywhere multiport dports smtp
    fail2ban-dovecot-pop3imap tcp -- anywhere anywhere multiport dports pop3,pop3s,imap2,imaps
    fail2ban-pureftpd tcp -- anywhere anywhere multiport dports ftp
    fail2ban-ssh tcp -- anywhere anywhere multiport dports ssh
    ACCEPT udp -- anywhere anywhere udp dpt:bootpc

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination

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

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

    Chain fail2ban-pureftpd (1 references)
    target prot opt source destination
    RETURN all -- anywhere anywhere

    Chain fail2ban-ssh (1 references)
    target prot opt source destination
    RETURN all -- anywhere anywhere

    Browser Error:
    This webpage is not available. Web server looks like it didn't process my request. May be it's a blocking case.
     

Share This Page