Forbidden

Discussion in 'Installation/Configuration' started by moshion, Feb 9, 2011.

  1. moshion

    moshion New Member

    Hi,
    I''ve installed ISPConfig 3 and when I try to access it, http://192.168.0.101:8080/, it shows me "Forbidden -You don't have permission to access / on this server."
    What am I doing wrong or whah should I do to solve this?
    I've followed every step and bought the Manual and still I couldn't get any help.
    Another question, can I have install lighttpd?
    Thank you.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Which tutorial did you use to install the server?

    No, Lighttpd is not supported.
     
  3. moshion

    moshion New Member

    This one:
    http://www.howtoforge.com/perfect-server-ubuntu-10.04-lucid-lynx-ispconfig-3

    and the Manual I bought was:

    ISPConfig 3 Manual

    Version 1.1 for ISPConfig 3.0.3
    Author: Falko Timme <[email protected]>
    Last edited 12/12/2010
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please execute the following command on the server and post the output:

    netstat -tap

    additionally, please post the output of:

    ls -la /var/www/
     
  5. moshion

    moshion New Member

    [email protected]:/var/www# netstat -tap
    Ligações de Internet Activas (servidores e estabelecidos)
    Proto Recv-Q Send-Q Endereço Local Endereço Remoto Estado PID/Program name
    tcp 0 0 localdomain.local:10025 *:* ESCUTA 987/master
    tcp 0 0 *:mysql *:* ESCUTA 816/mysqld
    tcp 0 0 *:http-alt *:* ESCUTA 13468/apache2
    tcp 0 0 *:www *:* ESCUTA 13468/apache2
    tcp 0 0 *:tproxy *:* ESCUTA 13468/apache2
    tcp 0 0 *:ftp *:* ESCUTA 1009/pure-ftpd (SER
    tcp 0 0 *:ssh *:* ESCUTA 717/sshd
    tcp 0 0 *:smtp *:* ESCUTA 987/master
    tcp 0 0 *:https *:* ESCUTA 13468/apache2
    tcp 0 0 localdomain.local:54101 localdomain.local:mysql TIME_WAIT -
    tcp 0 0 localdomain.local:54094 localdomain.local:mysql TIME_WAIT -
    tcp 0 0 localdomain.local:54097 localdomain.local:mysql TIME_WAIT -
    tcp 0 0 localdomain.local:54100 localdomain.local:mysql TIME_WAIT -
    tcp 0 0 localdomain.local:54102 localdomain.local:mysql TIME_WAIT -
    tcp 0 0 localdomain.local:54098 localdomain.local:mysql TIME_WAIT -
    tcp 0 0 localdomain.local:54096 localdomain.local:mysql TIME_WAIT -
    tcp 0 0 localdomain.local:54092 localdomain.local:mysql TIME_WAIT -
    tcp 0 0 localdomain.local:54099 localdomain.local:mysql TIME_WAIT -
    tcp 0 0 localdomain.local:54114 localdomain.local:mysql TIME_WAIT -
    tcp 0 52 bserver.sojor.shoes:ssh Bruno-PC:31098 ESTABELECIDO 12935/0
    tcp6 0 0 [::]:imaps [::]:* ESCUTA 840/couriertcpd
    tcp6 0 0 [::]:pop3s [::]:* ESCUTA 885/couriertcpd
    tcp6 0 0 [::]:pop3 [::]:* ESCUTA 863/couriertcpd
    tcp6 0 0 [::]:imap2 [::]:* ESCUTA 808/couriertcpd
    tcp6 0 0 [::]:ftp [::]:* ESCUTA 1009/pure-ftpd (SER
    tcp6 0 0 [::]:ssh [::]:* ESCUTA 717/sshd
     
  6. moshion

    moshion New Member

    ls -la /var/www/

    drwxr-xr-x 5 root root 4096 2011-02-09 09:35 .
    drwxr-xr-x 16 root root 4096 2011-02-09 00:30 ..
    drwxr-xr-x 2 ispapps ispapps 4096 2011-02-08 18:46 apps
    -rw-r--r-- 1 root root 177 2011-02-08 18:27 index.html
    lrwxrwxrwx 1 root root 34 2011-02-08 18:46 ispconfig -> /usr/local/ispconfig/interface/web
    drwxr-xr-x 4 root root 4096 2011-02-08 18:46 php-fcgi-scripts
    drwxr-xr-x 2 root root 4096 2011-02-08 18:36 webalizer
    lrwxrwxrwx 1 root root 24 2011-02-08 18:40 webmail -> /usr/share/squirrelmail/
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    This looks fine so far. Please take a look into the error.log file in /var/log/apache2/ directory and post the error message that you get there whyn you try to access the ispconfig interface.
     
  8. moshion

    moshion New Member

    [Wed Feb 09 08:58:52 2011] [error] [client 192.168.0.16] File does not exist: /var/www/favicon.ico
    [Wed Feb 09 08:58:57 2011] [error] [client 192.168.0.16] File does not exist: /var/www/favicon.ico
    [Wed Feb 09 08:59:00 2011] [error] [client 192.168.0.16] Directory index forbidden by Options directive: /usr/local/ispconfig/interface/web/
    [Wed Feb 09 08:59:00 2011] [error] [client 192.168.0.16] File does not exist: /usr/local/ispconfig/interface/web/favicon.ico
    [Wed Feb 09 09:09:01 2011] [error] [client 192.168.0.16] Directory index forbidden by Options directive: /usr/local/ispconfig/interface/web/
    [Wed Feb 09 09:09:01 2011] [error] [client 192.168.0.16] File does not exist: /usr/local/ispconfig/interface/web/favicon.ico
    [Wed Feb 09 09:14:48 2011] [error] [client 192.168.0.16] Directory index forbidden by Options directive: /usr/local/ispconfig/interface/web/
    [Wed Feb 09 09:14:48 2011] [error] [client 192.168.0.16] File does not exist: /usr/local/ispconfig/interface/web/favicon.ico
    [Wed Feb 09 09:14:55 2011] [error] [client 192.168.0.16] Invalid method in request \x16\x03\x01
    [Wed Feb 09 09:14:55 2011] [error] [client 192.168.0.16] Invalid method in request \x16\x03\x01
    [Wed Feb 09 09:14:55 2011] [error] [client 192.168.0.16] Invalid method in request \x16\x03
    [Wed Feb 09 09:15:03 2011] [error] [client 192.168.0.16] Invalid method in request \x16\x03\x01
    [Wed Feb 09 09:15:03 2011] [error] [client 192.168.0.16] Invalid method in request \x16\x03
    [Wed Feb 09 09:19:18 2011] [notice] caught SIGTERM, shutting down
    [Wed Feb 09 09:19:19 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Wed Feb 09 09:19:19 2011] [notice] Apache/2.2.16 (Ubuntu) mod_fcgid/2.3.5 PHP/5.3.3-1ubuntu9.3 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-06-23) mod_ssl/2.2.16 OpenSSL/0.9.8o configured -- resuming normal operations
    [Wed Feb 09 09:35:42 2011] [error] [client 192.168.0.16] Invalid method in request \x16\x03
    [Wed Feb 09 09:35:42 2011] [error] [client 192.168.0.16] Invalid method in request \x16\x03\x01
    [Wed Feb 09 09:35:46 2011] [error] [client 192.168.0.16] Invalid method in request \x16\x03\x01
    [Wed Feb 09 09:35:46 2011] [error] [client 192.168.0.16] Invalid method in request \x16\x03
    [Wed Feb 09 09:35:50 2011] [error] [client 192.168.0.16] Directory index forbidden by Options directive: /usr/local/ispconfig/interface/web/
    [Wed Feb 09 09:35:50 2011] [error] [client 192.168.0.16] File does not exist: /usr/local/ispconfig/interface/web/favicon.ico

    this is my log from today.
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    ls -la /usr/local/ispconfig/interface/web/
     
  10. moshion

    moshion New Member

    [email protected]:/# ls -la /usr/local/ispconfig/interface/web/
    total 16
    drwxr-x--- 3 ispconfig ispconfig 4096 2011-02-08 18:46 .
    drwxr-x--- 5 ispconfig ispconfig 4096 2011-02-08 18:46 ..
    -rwxr-x--- 1 ispconfig ispconfig 2977 2011-02-08 18:54 content.php
    drwxr-x--- 5 ispconfig ispconfig 4096 2011-02-08 18:46 themes
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig is not completely installed on your server. Which ispconfig package did you download and did you got any errors during installation?
     
  12. moshion

    moshion New Member

  13. till

    till Super Moderator Staff Member ISPConfig Developer

    Please run these commands to reinstall ispconfig:

    Code:
    cd /tmp
    rm -rf /tmp/spconfig3_install
    wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz
    tar xfz ISPConfig-3-stable.tar.gz
    cd ispconfig3_install/install/
    php uninstall.php
    php install.php
    
     

Share This Page