ISPConfig installation sucess but cannot login to CP

Discussion in 'Installation/Configuration' started by halim, Feb 25, 2007.

  1. halim

    halim New Member

    Hi

    I'm new to ispconfig,
    This the mesage from Debian Sarge 3.1, installation console:

    1) HTTPS
    2) HTTP
    Your Choice: 1

    Connected successfully to MySQL server
    Restarting some services...
    Stopping mail transport agent: Postfix.
    Starting mail transport agent: Postfix.
    Restarting ProFTPD ftp daemon.proftpd.
    ..proftpd.
    done.
    Starting ISPConfig system...
    /root/ispconfig/httpd/bin/apachectl startssl: httpd started
    Can't change dir to /home/admispconfig/ispconfig/tools/clamav/share/clamav
    ISPConfig system is now up and running!
    Congratulations! Your ISPConfig system is now installed. If you had to install quota, please take the steps described in the installation manual. Otherwise your system is now available without reboot.
    Please direct your browser to

    https://xxx.xxxxxfx.com:81

    and log in:
    Username: admin
    Password: admin

    When i try to got to CP, i got this error:

    Forbidden
    You don't have permission to access / on this server.

    Apache/1.3.37 Server at xxx.xxxxxx.com Port 81

    This message i got from error_log files:

    [Sun Feb 25 19:48:36 2007] [notice] Apache/1.3.37 (Unix) PHP/5.2.1 mod_ssl/2.8.28 OpenSSL/0.9.8d configured -- resuming normal operations
    [Sun Feb 25 19:48:36 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
    [Sun Feb 25 19:49:11 2007] [error] [client 218.208.251.45] (13)Permission denied: access to / failed because search permissions are missing on a component of the path
    [Sun Feb 25 19:49:12 2007] [error] [client 218.208.251.45] (13)Permission denied: access to /favicon.ico failed because search permissions are missing on a component of the path
    [Sun Feb 25 20:24:55 2007] [notice] caught SIGTERM, shutting down
    [Sun Feb 25 20:25:19 2007] [notice] Apache/1.3.37 (Unix) PHP/5.2.1 mod_ssl/2.8.28 OpenSSL/0.9.8d configured -- resuming normal operations
    [Sun Feb 25 20:25:19 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)


    My other server in virtual PC working fine no error at all.

    Thanks in advance
     
    Last edited: Feb 25, 2007
  2. till

    till Super Moderator

    Please post the output of:

    ls -la /home/admispconfig/ispconfig/web/
     
  3. halim

    halim New Member

    beta:~# ls -la /home/admispconfig/ispconfig/web/
    insgesamt 112
    drwxr-xr-x 15 admispconfig admispconfig 4096 2007-02-25 19:48 .
    drwxr-xr-x 8 admispconfig admispconfig 4096 2007-02-25 19:48 ..
    drwxr-xr-x 5 admispconfig admispconfig 4096 2007-02-25 19:48 admin
    -rwxr-xr-x 1 admispconfig admispconfig 2777 2007-02-25 19:48 capp.php
    drwxr-xr-x 5 admispconfig admispconfig 4096 2007-02-25 19:48 design
    -rwxr-xr-x 1 admispconfig admispconfig 3638 2007-02-25 19:48 favicon.ico
    drwxr-xr-x 8 admispconfig admispconfig 4096 2007-02-25 19:48 help
    -rwxr-xr-x 1 admispconfig admispconfig 232 2007-02-25 19:48 index.html
    -rwxr-xr-x 1 admispconfig admispconfig 3878 2007-02-25 19:48 index.php
    drwxr-xr-x 6 admispconfig admispconfig 4096 2007-02-25 19:48 isp_dns
    drwxr-xr-x 9 admispconfig admispconfig 4096 2007-02-25 19:48 isp_fakt
    drwxr-xr-x 6 admispconfig admispconfig 4096 2007-02-25 19:48 isp_file
    drwxr-xr-x 6 admispconfig admispconfig 4096 2007-02-25 19:48 isp_kunde
    drwxr-xr-x 6 admispconfig admispconfig 4096 2007-02-25 19:48 isp_manager
    drwxr-xr-x 3 admispconfig admispconfig 4096 2007-02-25 19:48 login
    -rwxr-xr-x 1 admispconfig admispconfig 5187 2007-02-25 19:48 login.php
    -rwxr-xr-x 1 admispconfig admispconfig 1974 2007-02-25 19:48 logoff.php
    -rwxr-xr-x 1 admispconfig admispconfig 210 2007-02-25 19:48 logout_fehler.htm
    drwxr-xr-x 7 admispconfig admispconfig 4096 2007-02-25 19:48 mailuser
    drwxr-xr-x 12 admispconfig admispconfig 4096 2007-02-25 19:48 multidoc
    -rwxr-xr-x 1 admispconfig admispconfig 72 2007-02-25 19:48 mybookmark.css
    -rwxr-xr-x 1 admispconfig admispconfig 197 2007-02-25 19:48 placeholder.htm
    -rwxr-xr-x 1 admispconfig admispconfig 1858 2007-02-25 19:48 placeholder.php
    -rwxr-xr-x 1 admispconfig admispconfig 1626 2007-02-25 19:48 start.php
    -rwxr-xr-x 1 admispconfig admispconfig 72 2007-02-25 19:48 style.css
    drwxr-xr-x 2 admispconfig admispconfig 4096 2007-02-25 19:48 templates
    drwxr-xr-x 5 admispconfig admispconfig 4096 2007-02-25 19:48 tools

    Its look like the same on my other working server.
    Thanks
     
    Last edited: Feb 26, 2007
  4. falko

    falko Super Moderator

    What's the output of
    Code:
    ls -la /home
    ?

    Does https://xxx.xxxxxfx.com:81/ work?
     
  5. halim

    halim New Member

    beta:~# ls -la /home
    insgesamt 16
    drwxrwx--T 4 nobody ftpgroup 4096 2007-02-25 19:37 .
    drwxr-xr-x 21 root root 4096 2007-02-25 17:06 ..
    drwxr-xr-x 4 admispconfig admispconfig 4096 2007-02-25 19:48 admispconfig
    drwxr-xr-x 2 ftp nogroup 4096 2007-02-24 15:50 ftp

    https://beta.ceriafx.com:81 doesn't work - its says :-

    Forbidden
    You don't have permission to access / on this server.

    Apache/1.3.37 Server at beta.ceriafx.com Port 81



    Thx
     
    Last edited: Feb 26, 2007
  6. falko

    falko Super Moderator

    What are the outputs of
    Code:
    netstat -tap
    and
    Code:
    ifconfig
    ? What's in /root/ispconfig/httpd/conf/httpd.conf?
     
  7. halim

    halim New Member

    beta:~# netstat -tap
    Aktive Internetverbindungen (Server und stehende Verbindungen)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 localhost.localdo:mysql *:* LISTEN 19099/mysqld
    tcp 0 0 *:10000 *:* LISTEN 2051/perl
    tcp 0 0 *:81 *:* LISTEN 23984/ispconfig_htt
    tcp 0 0 *:ftp *:* LISTEN 24158/proftpd: (acc
    tcp 0 0 w211.beta.ceriaf:domain *:* LISTEN 24145/named
    tcp 0 0 localhost.locald:domain *:* LISTEN 24145/named
    tcp 0 0 *:smtp *:* LISTEN 14852/master
    tcp 0 0 localhost.localdoma:953 *:* LISTEN 24145/named
    tcp6 0 0 *:imaps *:* LISTEN 1779/couriertcpd
    tcp6 0 0 *:pop3s *:* LISTEN 1801/couriertcpd
    tcp6 0 0 *:pop3 *:* LISTEN 1788/couriertcpd
    tcp6 0 0 *:imap2 *:* LISTEN 1766/couriertcpd
    tcp6 0 0 *:www *:* LISTEN 24018/apache2
    tcp6 0 0 *:ssh *:* LISTEN 2014/sshd
    tcp6 0 0 *:smtp *:* LISTEN 14852/master
    tcp6 0 0 ::1:953 *:* LISTEN 24145/named
    tcp6 0 0 *:https *:* LISTEN 24018/apache2
    tcp6 0 2112 w211.white.fastwebs:ssh tm.net.my:55411 VERBUNDEN 31542/0


    beta:~# ifconfig
    eth0 Protokoll:Ethernet Hardware Adresse 00:01:02:B7:BF:BC
    inet Adresse:85.114.129.211 Bcast:85.114.129.255 Maske:255.255.255.0
    inet6 Adresse: fe80::201:2ff:feb7:bfbc/64 Gьltigkeitsbereich:Verbindung
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:11252941 errors:0 dropped:0 overruns:1 frame:0
    TX packets:31220 errors:0 dropped:0 overruns:0 carrier:0
    Kollisionen:0 Sendewarteschlangenlдnge:1000
    RX bytes:704725490 (672.0 MiB) TX bytes:8472483 (8.0 MiB)
    Interrupt:169 Basisadresse:0x7880

    lo Protokoll:Lokale Schleife
    inet Adresse:127.0.0.1 Maske:255.0.0.0
    inet6 Adresse: ::1/128 Gьltigkeitsbereich:Maschine
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:2461 errors:0 dropped:0 overruns:0 frame:0
    TX packets:2461 errors:0 dropped:0 overruns:0 carrier:0
    Kollisionen:0 Sendewarteschlangenlдnge:0
    RX bytes:147944 (144.4 KiB) TX bytes:147944 (144.4 KiB)

    And my httpd.conf is here http://www.ceriafx.com/httpd.conf.txt

    I did the installation for 3 times with the same problem.. Debian default language is German

    Thanks
     
    Last edited: Feb 27, 2007
  8. kcackler

    kcackler New Member

    Might want to remove your domain name from your httpd.conf example :)
     
  9. halim

    halim New Member

    Already try... no luck

    Another problem is

    beta:~# /etc/init.d/ispconfig_server start
    Starting ISPConfig system...
    /root/ispconfig/httpd/bin/apachectl startssl: httpd started
    Can't change dir to /home/admispconfig/ispconfig/tools/clamav/share/clamav
    ISPConfig system is now up and running!
     
  10. falko

    falko Super Moderator

    Something's wrong with the /home directory and its subdirectories. Did you accidentally change permissions/owners recursively?
    What's the output of
    Code:
    df -h
    ?
     
  11. halim

    halim New Member

    This is df -h output
    beta:~# df -h
    Dateisystem GrцЯe Benut Verf Ben% Eingehдngt auf
    /dev/hda2 19G 1.1G 17G 6% /
    tmpfs 126M 0 126M 0% /dev/shm

    And didn't change anything on /home directory

    and here is the picture of my home directory
    http://www.ceriafx.com/home1.jpg
     

Share This Page