Can't access to ISPConfig (Apache Default Page instead)

Discussion in 'Installation/Configuration' started by mattheoh, Oct 26, 2015.

  1. mattheoh

    mattheoh New Member

    Hi,
    Yesterday, I installed ISP Config on a fresh Debian Jessie 8.2 installation (VPS)
    I used the tutorial "Automated installation on Debian" (which is really fantastic to do it faster !)
    Everything seemed to be ok during the process...
    but unfortunately, when I want to access to ISP Config with https MYIP:8080 , I have only the Apache Default Page.
    I restarted apache, and also the server.
    I check and isp.config.conf et ispconfig.vhost do exist.
    If someone would have an idea, I'd appreciate that !
    Thanks per advance.

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

    ##### ISPCONFIG #####
    ISPConfig version is 3.0.5.4p8


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

    [INFO] php (cli) version is 5.6.13-0+deb8u1
    [INFO] php-cgi (used for cgi php in default vhost!) is version 5.6.13-0+deb8u1

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


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


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

    [INFO] I found the following web server(s):
    Apache 2 (PID 2644)
    [INFO] I found the following mail server(s):
    Postfix (PID 3122)
    [INFO] I found the following pop3 server(s):
    Dovecot (PID 2420)
    [INFO] I found the following imap server(s):
    Unknown process (init) (PID 1)
    [INFO] I found the following ftp server(s):
    PureFTP (PID 2929)

    ##### LISTENING PORTS #####
    (only ()
    Local (Address)
    [anywhere]:21 (2929/pure-ftpd)
    ***.***.***.***:53 (2403/named)
    [localhost]:53 (2403/named)
    [anywhere]:22 (2882/sshd)
    [anywhere]:25 (3122/master)
    [localhost]:953 (2403/named)
    [anywhere]:993 (1/init)
    [anywhere]:995 (2420/dovecot)
    [localhost]:10025 (3122/master)
    [anywhere]:587 (3122/master)
    [localhost]:11211 (2401/memcached)
    [anywhere]:110 (2420/dovecot)
    [anywhere]:143 (1/init)
    [anywhere]:465 (3122/master)
    *:*:*:*::*:21 (2929/pure-ftpd)
    *:*:*:*::*:53 (2403/named)
    *:*:*:*::*:22 (2882/sshd)
    *:*:*:*::*:25 (3122/master)
    *:*:*:*::*:953 (2403/named)
    *:*:*:*::*:443 (2644/apache2)
    *:*:*:*::*:993 (1/init)
    *:*:*:*::*:995 (2420/dovecot)
    *:*:*:*::*:3306 (2787/mysqld)
    *:*:*:*::*:587 (3122/master)
    [localhost]10 (2420/dovecot)
    [localhost]43 (1/init)
    *:*:*:*::*:8080 (2644/apache2)
    *:*:*:*::*:80 (2644/apache2)
    *:*:*:*::*:465 (3122/master)
    *:*:*:*::*:8081 (2644/apache2)




    ##### IPTABLES #####
    Chain INPUT (policy ACCEPT)
    target prot opt source destination
    fail2ban-postfix-sasl tcp -- [anywhere]/0 [anywhere]/0 multiport dports 25
    fail2ban-pureftpd tcp -- [anywhere]/0 [anywhere]/0 multiport dports 21
    fail2ban-dovecot-pop3imap tcp -- [anywhere]/0 [anywhere]/0 multiport dport
    s 110,995,143,993
    fail2ban-ssh tcp -- [anywhere]/0 [anywhere]/0 multiport dports 22

    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]/0 [anywhere]/0

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

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

    Chain fail2ban-ssh (1 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0
     
    Last edited: Oct 26, 2015
  2. Luis Urbina G.

    Luis Urbina G. New Member

    Hi,
    In many cases I preffer do a clean installation.

    I used this tutorial:
    ISPConfig 3: Automated installation on Debian
    https://www.howtoforge.com/tutorial/ispconfig-install-script-debian/

    But I used the expert install because I don't want use the default port 8080 for ISPconfig, I used other ones.
    And finally I use this other tutorial to install roundcube
    RoundCube webmail installation on Debian 8 (Jessie)
    https://www.howtoforge.com/tutorial/roundcube-installation-on-debian-8-jessie/

    I hope that be usefull for you.
    bye
     
    mattheoh likes this.
  3. mattheoh

    mattheoh New Member

    Thanks for your answer.
    I tried an instalation of ISPConfig (starting from Step 20)
    I made an update in fact cause it was already installed. Same result.
    I used standard mode because I had some errors with expert mode (amavis service and others)
    I m going to try again step by step. I will keep you in touch.
     
  4. mattheoh

    mattheoh New Member

    too many errors with expert mode... maybe cause I am on Jessie 8.2
    -------
    Creating/updating amavis user account...
    Job for amavis.service failed. See 'systemctl status amavis.service' and 'journalctl -xn' for details.
    invoke-rc.d: initscript amavis, action "start" failed.
    dpkg: error processing package amavisd-new (--configure):
    subprocess installed post-installation script returned error exit status 1
    Errors were encountered while processing:
    amavisd-new
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    -------
    Package libapache2-mod-fastcgi is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package 'libapache2-mod-fastcgi' has no installation candidate
    --------
    Don't know what to do...
     
  5. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

  6. mattheoh

    mattheoh New Member

    Thanks for your answer.
    unfortunately I think my sources are good.

    I tried with :
    #deb cdrom:[Debian GNU/Linux 8.0.0 _Jessie_ - Official amd64 NETINST Binary-1 20150425-12:50]/ jessie main
    deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
    deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free
    deb http://security.debian.org/ jessie/updates main contrib non-free
    deb-src http://security.debian.org/ jessie/updates main contrib non-free

    and also :

    deb http://ftp.fr.debian.org/debian/ jessie main contrib non-free
    deb-src http://ftp.fr.debian.org/debian/ jessie main contrib non-free
    # Security
    deb http://security.debian.org/ jessie/updates main contrib non-free
    deb-src http://security.debian.org/ jessie/updates main contrib non-free
    # Backports
    deb http://ftp.debian.org/debian/ jessie-backports main contrib non-free

    But failed for both, still the same message :
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

  8. mattheoh

    mattheoh New Member

    Thanks till...
    I tried 8 times
    apt-get update
    and then
    apt-get install libapache2-mod-fastcgi php5-fpm
    with no success...
    I noticed that I have an error running
    apt-get upgrade
    Can it be related ?
    Thanks again for your help.
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    This can be related. Check the /var/log/mail.log for the exact error message why amavisd fails. The most common reason is a wrong or non fqdn hostname of the server.
     
  10. mattheoh

    mattheoh New Member

    I have no specific error when I run apt-get-upgrade in var/log/mail.log

    I have other errors but It's not at the moment I run the command apt-get-upgrade :
    Concerning hosts, the fact to edit host file, doesn't change the hostname.
    If I edit host file like that (I replaced my IP with XXX):
    I always have "scw-mattheoh" if I run hostname or hostname -f
    Indeed, the host name of my VPS server is defined in a panel from my provider.

    I thought to try with an ubuntu environment, but I would have prefered sucess with Debian ! :-/
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    Amavisd needs a fully qualified hostname. Change to something like server1.yourdomain.com in the controlpanel of your ISP so that "hostname -f" returns thsi full hostname.
     
  12. mattheoh

    mattheoh New Member

    Hi till,
    I managed to modify correctly my hostname. No more errors on amavis when I run apt-get update / upgrade...
    unfortuntely it didn't solve the problem for libapache2-mod-fastcgi :(
    very strange...

    Edit : I made a ticket to my hosting provider. He's going to watch... Wait and see
     
    Last edited: Nov 7, 2015
  13. mattheoh

    mattheoh New Member

    Here's his answer :
    So I have an incompatibility with the CPU type of my server... Don't know what to do.
    I have several solutions :
    - Change server
    - Use another linux distribution
    - Compile this libapache2-mod-fastcgi package by myself (but I really don't know how to do that !)
    Would you have an advice ?
    Thanks again for your help.
     

Share This Page