HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   ISPConfig 3.0.5.2 - no login, just fedora test page (http://www.howtoforge.com/forums/showthread.php?t=61848)

zazuleac 15th May 2013 10:46

ISPConfig 3.0.5.2 - no login, just fedora test page
 
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?

tahunasky 15th May 2013 10:58

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

zazuleac 15th May 2013 11:09

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]

tahunasky 15th May 2013 11:37

Has SELinux been disabled ?

zazuleac 15th May 2013 11:44

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

zazuleac 15th May 2013 14:23

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.

zazuleac 15th May 2013 16:30

Problem SOLVED.

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

Now, I got my login page :)

tahunasky 16th May 2013 00:36

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


All times are GMT +2. The time now is 16:56.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.