403 Forbidden

Discussion in 'Installation/Configuration' started by gillesdevals, Dec 4, 2010.

  1. gillesdevals

    gillesdevals New Member

    Hello,

    I made a "do ISPConfig-Update" and since that, all my sites on all the domains are not accessible :

    How to repair ?

    Config :
    ISPConfig 3.0.3 on Debian on dedicated server hosted by OVH
     
  2. Stown

    Stown ISPConfig Developer

    Please do per site the web folder chmodden.
    Like this: chmod 775 /var/www/domain.com/web
     
  3. gillesdevals

    gillesdevals New Member

    I do that, but it's not better.
     
  4. till

    till Super Moderator

    Please undo what Stown suggested and restore the original permissions. Chowning to 755 is not nescessary and causes security problems.

    Instead, take a look at the error.log files from apache and the error logs of the websites and post the exact error messages that you get there.

    Are you able to access the ispconfig interface?
     
  5. gillesdevals

    gillesdevals New Member

    Yes i can access to ispconfig panel (port 8080)

    Where can I find the error.log file of apache2 ?
     
  6. till

    till Super Moderator

    /var/log/apache2/
     
  7. gillesdevals

    gillesdevals New Member

    error.log

    [Sun Nov 28 16:38:03 2010] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g configured -- resuming normal operations
    [Sun Nov 28 16:38:04 2010] [warn] long lost child came home! (pid 18852)
    [Mon Nov 29 09:07:46 2010] [error] [client 83.167.123.83] client denied by server configuration: /htdocs
    Argument "" isn't numeric in numeric gt (>) at /usr/local/ispconfig/server/scripts/vlogger line 463, <STDIN> line 1115.
    [Wed Dec 01 06:55:07 2010] [warn] child process 12130 still did not exit, sending a SIGTERM
    [Wed Dec 01 06:55:07 2010] [warn] child process 12131 still did not exit, sending a SIGTERM
    [Wed Dec 01 06:55:07 2010] [warn] child process 8583 still did not exit, sending a SIGTERM
    [Wed Dec 01 06:55:07 2010] [warn] child process 2316 still did not exit, sending a SIGTERM
    [Wed Dec 01 06:55:09 2010] [notice] caught SIGTERM, shutting down
    [Wed Dec 01 06:55:10 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    Use of uninitialized value $DBI_DUMP in alarm at /usr/local/ispconfig/server/scripts/vlogger line 538.
    [Wed Dec 01 06:55:11 2010] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g configured -- resuming normal operations
    [Wed Dec 01 11:11:27 2010] [error] [client 95.156.220.3] File does not exist: /usr/local/ispconfig/interface/web/fastenv
    [Wed Dec 01 13:25:41 2010] [error] [client 69.162.64.30] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
    [Wed Dec 01 13:38:33 2010] [error] [client 95.156.220.3] File does not exist: /usr/local/ispconfig/interface/web/fastenv
    [Wed Dec 01 14:52:28 2010] [error] [client 109.111.147.6] script '/usr/local/ispconfig/interface/web/azenv.php' not found or unable to stat
    [Fri Dec 03 08:17:39 2010] [warn] child process 7313 still did not exit, sending a SIGTERM
    [Fri Dec 03 08:17:39 2010] [warn] child process 7319 still did not exit, sending a SIGTERM
    [Fri Dec 03 08:17:41 2010] [notice] caught SIGTERM, shutting down
    [Fri Dec 03 08:20:05 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Fri Dec 03 08:20:11 2010] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g configured -- resuming normal operations
    [Fri Dec 03 10:27:40 2010] [error] [client 85.93.18.97] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
    [Fri Dec 03 12:20:54 2010] [notice] caught SIGTERM, shutting down
    [Fri Dec 03 12:20:55 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Fri Dec 03 12:20:56 2010] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g configured -- resuming normal operations
    [Sat Dec 04 01:09:43 2010] [notice] caught SIGTERM, shutting down
    [Sat Dec 04 01:11:36 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Sat Dec 04 01:11:38 2010] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g configured -- resuming normal operations
    [Sat Dec 04 13:49:03 2010] [notice] caught SIGTERM, shutting down
    [Sat Dec 04 13:49:06 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Sat Dec 04 13:49:06 2010] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g configured -- resuming normal operations
    [Sat Dec 04 13:57:38 2010] [error] [client 85.5.191.218] File does not exist: /usr/local/ispconfig/interface/web/favicon.ico
    [Sat Dec 04 20:06:20 2010] [error] [client 83.167.123.83] client denied by server configuration: /htdocs
    [Sun Dec 05 13:20:17 2010] [notice] caught SIGTERM, shutting down
    [Sun Dec 05 13:20:20 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
    [Sun Dec 05 13:20:20 2010] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g configured -- resuming normal operations
     
  8. gillesdevals

    gillesdevals New Member

    I tried to restart apache and i saw the following message :

    Restarting web server: apache2[Sun Dec 05 13:20:14 2010] [warn] VirtualHost 91.121.104.212:80 overlaps with VirtualHost 91.121.104.212:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Dec 05 13:20:14 2010] [warn] VirtualHost 91.121.104.212:80 overlaps with VirtualHost 91.121.104.212:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Dec 05 13:20:14 2010] [warn] VirtualHost 91.121.104.212:80 overlaps with VirtualHost 91.121.104.212:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Dec 05 13:20:14 2010] [warn] VirtualHost 91.121.104.212:80 overlaps with VirtualHost 91.121.104.212:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Dec 05 13:20:14 2010] [warn] VirtualHost 91.121.104.212:80 overlaps with VirtualHost 91.121.104.212:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Dec 05 13:20:14 2010] [warn] VirtualHost 91.121.104.212:80 overlaps with VirtualHost 91.121.104.212:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Dec 05 13:20:14 2010] [warn] VirtualHost 91.121.104.212:80 overlaps with VirtualHost 91.121.104.212:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Dec 05 13:20:14 2010] [warn] VirtualHost 91.121.104.212:80 overlaps with VirtualHost 91.121.104.212:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Dec 05 13:20:14 2010] [warn] VirtualHost 91.121.104.212:80 overlaps with VirtualHost 91.121.104.212:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Dec 05 13:20:14 2010] [warn] VirtualHost 91.121.104.212:80 overlaps with VirtualHost 91.121.104.212:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Dec 05 13:20:14 2010] [warn] VirtualHost 91.121.104.212:80 overlaps with VirtualHost 91.121.104.212:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Dec 05 13:20:14 2010] [warn] VirtualHost 91.121.104.212:80 overlaps with VirtualHost 91.121.104.212:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Dec 05 13:20:14 2010] [warn] VirtualHost 91.121.104.212:80 overlaps with VirtualHost 91.121.104.212:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Dec 05 13:20:14 2010] [warn] VirtualHost 91.121.104.212:80 overlaps with VirtualHost 91.121.104.212:80, the first has precedence, perhaps you need a NameVirtualHost directive
    ... waiting ....[Sun Dec 05 13:20:19 2010] [warn] VirtualHost 91.121.104.212:80 overlaps with VirtualHost 91.121.104.212:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Dec 05 13:20:19 2010] [warn] VirtualHost 91.121.104.212:80 overlaps with VirtualHost 91.121.104.212:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Dec 05 13:20:19 2010] [warn] VirtualHost 91.121.104.212:80 overlaps with VirtualHost 91.121.104.212:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Dec 05 13:20:19 2010] [warn] VirtualHost 91.121.104.212:80 overlaps with VirtualHost 91.121.104.212:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Dec 05 13:20:19 2010] [warn] VirtualHost 91.121.104.212:80 overlaps with VirtualHost 91.121.104.212:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Dec 05 13:20:19 2010] [warn] VirtualHost 91.121.104.212:80 overlaps with VirtualHost 91.121.104.212:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Dec 05 13:20:19 2010] [warn] VirtualHost 91.121.104.212:80 overlaps with VirtualHost 91.121.104.212:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Dec 05 13:20:19 2010] [warn] VirtualHost 91.121.104.212:80 overlaps with VirtualHost 91.121.104.212:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Dec 05 13:20:19 2010] [warn] VirtualHost 91.121.104.212:80 overlaps with VirtualHost 91.121.104.212:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Dec 05 13:20:19 2010] [warn] VirtualHost 91.121.104.212:80 overlaps with VirtualHost 91.121.104.212:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Dec 05 13:20:19 2010] [warn] VirtualHost 91.121.104.212:80 overlaps with VirtualHost 91.121.104.212:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Dec 05 13:20:19 2010] [warn] VirtualHost 91.121.104.212:80 overlaps with VirtualHost 91.121.104.212:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Dec 05 13:20:19 2010] [warn] VirtualHost 91.121.104.212:80 overlaps with VirtualHost 91.121.104.212:80, the first has precedence, perhaps you need a NameVirtualHost directive
    [Sun Dec 05 13:20:19 2010] [warn] VirtualHost 91.121.104.212:80 overlaps with VirtualHost 91.121.104.212:80, the first has precedence, perhaps you need a NameVirtualHost directive
     
  9. till

    till Super Moderator

    Login to ispconfig, go to system > server IP, edit one of the ip addresses and unselect the namevirtualhost checkbox and click save. Then do the same steps and enable namevirtualhost again. Wait a few minutes and try again.
     
  10. gillesdevals

    gillesdevals New Member

    I made the steps and it seems it doesn't work :confused:
     
  11. gillesdevals

    gillesdevals New Member

    Do you have an idea ?
     
  12. gillesdevals

    gillesdevals New Member

    Now if I restart apache2, I have only that :

    Restarting web server: apache2[Sun Dec 05 15:20:52 2010] [warn] NameVirtualHost 91.121.104.212:443 has no VirtualHosts
    ... waiting [Sun Dec 05 15:20:53 2010] [warn] NameVirtualHost 91.121.104.212:443 has no VirtualHosts
     
  13. gillesdevals

    gillesdevals New Member

    after a long time, the server work corretly.
    Thanks for your help.

    :)
     
  14. till

    till Super Moderator

    The most likely reason is a hanging update. Please open the ispconfig mysql database with phpmyadmin and delete all records that are in the table "sys_remoteaction".
     

Share This Page