HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   403 Forbidden (http://www.howtoforge.com/forums/showthread.php?t=50362)

gillesdevals 4th December 2010 14:01

403 Forbidden
 
Hello,

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

Quote:

Forbidden

You don't have permission to access /webmail/ on this server.
Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g Server at www.devals.net Port 80
How to repair ?

Config :
ISPConfig 3.0.3 on Debian on dedicated server hosted by OVH

Stown 4th December 2010 19:42

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

gillesdevals 5th December 2010 13:17

I do that, but it's not better.

till 5th December 2010 14:22

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?

gillesdevals 5th December 2010 14:33

Yes i can access to ispconfig panel (port 8080)

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

till 5th December 2010 14:34

/var/log/apache2/

gillesdevals 5th December 2010 14:44

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

gillesdevals 5th December 2010 14:46

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

till 5th December 2010 14:52

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.

gillesdevals 5th December 2010 14:58

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


All times are GMT +2. The time now is 19:14.

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