ISPConfig 3.0.5.2 - no login, just fedora test page

Discussion in 'General' started by zazuleac, May 15, 2013.

  1. zazuleac

    zazuleac New Member

    Hi,

    I've just setup a fresh install of fedora 15x64 + ISPConfig 3.0.5.2.

    When I try entering admin interface of ispconfig (http(s)://<ip_address>:8080/) I get "fedora test page".

    The only error I got on ISPConfig setup was:

    "postalias: fatal: open /var/lib/mailman/data/aliases: No such file or directory"

    the output of netstat -tap is:

    Code:
    [root@ns install]# netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
    tcp        0      0 *:pop3                      *:*                         LISTEN      25235/dovecot
    tcp        0      0 *:imap                      *:*                         LISTEN      25235/dovecot
    tcp        0      0 *:sunrpc                    *:*                         LISTEN      938/rpcbind
    tcp        0      0 *:42707                     *:*                         LISTEN      1032/rpc.statd
    tcp        0      0 *:ssh                       *:*                         LISTEN      1102/sshd
    tcp        0      0 *:smtp                      *:*                         LISTEN      25194/master
    tcp        0      0 *:imaps                     *:*                         LISTEN      25235/dovecot
    tcp        0      0 *:pop3s                     *:*                         LISTEN      25235/dovecot
    tcp        0      0 localhost:10025             *:*                         LISTEN      25194/master
    tcp        0      0 *:mysql                     *:*                         LISTEN      25061/mysqld
    tcp        0      0 ns.unifast.ro:ssh           86.105.16.10:49911          ESTABLISHED 26253/sshd: root@no
    tcp        0      0 ns.unifast.ro:ssh           86.105.16.10:64988          ESTABLISHED 22440/sshd: root@no
    tcp        0      0 ns.unifast.ro:ssh           86.105.16.10:64978          ESTABLISHED 22417/sshd: root@no
    tcp        0      0 ns.unifast.ro:ssh           86.105.16.10:64966          ESTABLISHED 22399/sshd: root@pt
    tcp        0      0 *:pop3                      *:*                         LISTEN      25235/dovecot
    tcp        0      0 *:imap                      *:*                         LISTEN      25235/dovecot
    tcp        0      0 *:sunrpc                    *:*                         LISTEN      938/rpcbind
    tcp        0      0 *:http                      *:*                         LISTEN      26166/httpd
    tcp        0      0 *:ftp                       *:*                         LISTEN      1558/proftpd: (acce
    tcp        0      0 *:ssh                       *:*                         LISTEN      1102/sshd
    tcp        0      0 *:46840                     *:*                         LISTEN      1032/rpc.statd
    tcp        0      0 *:smtp                      *:*                         LISTEN      25194/master
    tcp        0      0 *:https                     *:*                         LISTEN      26166/httpd
    tcp        0      0 *:imaps                     *:*                         LISTEN      25235/dovecot
    tcp        0      0 *:pop3s                     *:*                         LISTEN      25235/dovecot
    
    What am I doing wrong?
     
  2. tahunasky

    tahunasky New Member

    As you can see from the netstat output nothing is listening on port 8080.

    So check that /etc/apache2/sites-available/ispconfig.vhost (probably /etc/httpd/... on fedora) exits and that there is a line saying to listen on port 8080 (or what every you use). It should look something like this:

    Listen 8080
    NameVirtualHost *:8080

    <VirtualHost _default_:8080>

    Also check that there is a link to the above file in /etc/apache2/sites-enabled/000-ispconfig.vhost (probably /etc/httpd/... on fedora).

    Manually stop and start apache and see if there is any errors and check the apache log file.

    /etc/init.d/httpd stop
    /etc/init.d/httpd start
     
    Last edited: May 15, 2013
  3. zazuleac

    zazuleac New Member

    yes, the file (ispconfig.vhost) exists, it's located in /etc/httpd/conf/sites-available/, and it contains:

    Code:
     Listen 8080
    NameVirtualHost *:8080
    
    <VirtualHost _default_:8080>
      ServerAdmin webmaster@localhost
    ......................
    also manually stoped / started apache and still nothing happens.

    LE:

    the include line exists in httpd.conf :
    Code:
    Include /etc/httpd/conf/sites-enabled/[CODE]
     
  4. tahunasky

    tahunasky New Member

    Has SELinux been disabled ?
     
  5. zazuleac

    zazuleac New Member

    yes, is disabled:

    /etc/selinux/config:

    Code:
    # This file controls the state of SELinux on the system.
    # SELINUX= can take one of these three values:
    #     enforcing - SELinux security policy is enforced.
    #     permissive - SELinux prints warnings instead of enforcing.
    #     disabled - No SELinux policy is loaded.
    SELINUX=disabled
    # SELINUXTYPE= can take one of these two values:
    #     targeted - Targeted processes are protected,
    #     mls - Multi Level Security protection.
    SELINUXTYPE=targeted

    [root@ns install]# iptables -L
    Chain INPUT (policy ACCEPT)
    target prot opt source destination

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination


    LE:

    I've checked apache's error log and found this:

    [Wed May 15 14:25:45 2013] [error] [client 86.105.16.10] Directory index forbidden by Options directive: /var/www/html/

    maybe it has something to do with that ...
     
    Last edited: May 15, 2013
  6. zazuleac

    zazuleac New Member

    the error above, regarding "Directory index forbidden by Options directive: /var/www/html/" was because of the fresh install ... after i created a blank index.html, the error dissapeared.

    Still not being able to login to ISPConfig admin. Now all I get is that blank page.

    I've checked all the logs I can think of and no error.
     
  7. zazuleac

    zazuleac New Member

    Problem SOLVED.

    The mod_fcgid module was missing. Had to install it and reinstall ISPConfig.

    Now, I got my login page :)
     
  8. tahunasky

    tahunasky New Member

    Thanks for letting us know how you fixed it... for others who in future may have same problem..
     
  9. postcd

    postcd New Member

    I have installed mod_fcgid before ISPConfig, but im experiencing same issue :( please how to fix?
     

Share This Page