Current time: 11-15-2024, 03:42 AM Hello There, Guest! (LoginRegister)


Post Reply 
RC7 + ubuntu 8.04 + 403 forbidden when access anything, including control panel
Author Message
pongraczi Offline
Junior Member
*

Posts: 80
Joined: Jul 2008
Reputation: 2
Post: #1
RC7 + ubuntu 8.04 + 403 forbidden when access anything, including control panel
Hi ,

I run into a problem after I installed RC7 into an updated ubuntu 8.04 openvz container.
RC7 installed without serious problem (/dev/console access denied happend, but I did not see any relevant error), compared to my previous experiences with debian etch/lenny.
After I installed successfully, I tried to login into the control panel using web interface.
Unfortunately I got 403 Forbidden error page when I try to access to anything:
http://admin.mysite.hu
http://admin.mysite.hu/webmail
http://admin.mysite.hu/ftp

I did not find any useful notes in the logs.
I disabled/enabled open_basedir, but this is not relevant to this behaviour. (apache restarted, of course).

When I invoke the index.php as root using the php5-cgi from the server,
Code:
php5-cgi -f /var/www/ispcp/gui/index.php
,
it runs normally and I get the normal page as html. This is a snippet from the response of the server:
Code:
......
             <td align="center" valign="middle" bgcolor="#FFFFFF"><strong><span class="message">We are sorry, but the system is currently under maintenance.<br />
Please try again later.</span></strong></td>
            </tr>
            <tr>
             <td align="right"><a class="login" href="index.php?admin=1" target="_self">Administrator login</a></td>
......

In the logs I only find this:
Code:
91.82.140.116 - - [21/Dec/2008:18:35:29 +0000] "GET / HTTP/1.1" 403 1136 "-" "Mozilla/5.0 (X11; U; Linux i686; hu-HU; rv:1.9.0.5) Gecko/2008121815 Gentoo Firefox/3.0.5"
91.82.140.116 - - [21/Dec/2008:18:35:29 +0000] "GET /errors/inc/errordocs.js HTTP/1.1" 200 260 "http://admin.mysite.hu/" "Mozilla/5.0 (X11; U; Linux i686; hu-HU; rv:1.9.0.5) Gecko/2008121815 Gentoo Firefox/3.0.5"
91.82.140.116 - - [21/Dec/2008:18:35:29 +0000] "GET /errors/inc/errordocs.css HTTP/1.1" 200 1039 "http://admin.mysite.hu/" "Mozilla/5.0 (X11; U; Linux i686; hu-HU; rv:1.9.0.5) Gecko/2008121815 Gentoo Firefox/3.0.5"
91.82.140.116 - - [21/Dec/2008:18:35:29 +0000] "GET /errors/inc/error_top.jpg HTTP/1.1" 200 6244 "http://admin.mysite.hu/errors/inc/errordocs.css" "Mozilla/5.0 (X11; U; Linux i686; hu-HU; rv:1.9.0.5) Gecko/2008121815 Gentoo Firefox/3.0.5"
91.82.140.116 - - [21/Dec/2008:18:35:29 +0000] "GET /errors/inc/valid_css.jpg HTTP/1.1" 200 1754 "http://admin.mysite.hu/" "Mozilla/5.0 (X11; U; Linux i686; hu-HU; rv:1.9.0.5) Gecko/2008121815 Gentoo Firefox/3.0.5"
91.82.140.116 - - [21/Dec/2008:18:35:29 +0000] "GET /errors/inc/valid_xhtml.jpg HTTP/1.1" 200 1783 "http://admin.mysite.hu/" "Mozilla/5.0 (X11; U; Linux i686; hu-HU; rv:1.9.0.5) Gecko/2008121815 Gentoo Firefox/3.0.5"

Do you have any idea, what to do now? Where to find the problem?
I know the standard answer: use debian 4.0, but this is not really good for me. That is why I tried Omega with several OSs: etch, lenny, gentoo, ubuntu.

Thank you for your attention.

Kind regards,
István
12-23-2008 04:02 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: RC7 + ubuntu 8.04 + 403 forbidden when access anything, including control panel
is there no error.log?
12-23-2008 08:13 AM
Visit this user's website Find all posts by this user Quote this message in a reply
pongraczi Offline
Junior Member
*

Posts: 80
Joined: Jul 2008
Reputation: 2
Post: #3
RE: RC7 + ubuntu 8.04 + 403 forbidden when access anything, including control panel
(12-23-2008 08:13 AM)joximu Wrote:  is there no error.log?

The users/default-error.log seems normal, only the restart process logged.
Code:
[Sat Dec 20 20:25:07 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sat Dec 20 20:25:07 2008] [notice] Apache/2.2.8 (Ubuntu) configured -- resuming normal operations
[Sat Dec 20 20:30:42 2008] [notice] caught SIGTERM, shutting down
[Sat Dec 20 20:30:47 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sat Dec 20 20:30:47 2008] [notice] Apache/2.2.8 (Ubuntu) configured -- resuming normal operations
[Sat Dec 20 22:24:57 2008] [notice] caught SIGWINCH, shutting down gracefully
[Sat Dec 20 22:25:07 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sat Dec 20 22:25:07 2008] [notice] Apache/2.2.8 (Ubuntu) configured -- resuming normal operations
[Sat Dec 20 22:46:18 2008] [notice] caught SIGWINCH, shutting down gracefully
[Sat Dec 20 22:46:28 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sat Dec 20 22:46:29 2008] [notice] Apache/2.2.8 (Ubuntu) configured -- resuming normal operations
[Sat Dec 20 22:48:10 2008] [notice] caught SIGWINCH, shutting down gracefully
[Sat Dec 20 22:48:20 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sat Dec 20 22:48:21 2008] [notice] Apache/2.2.8 (Ubuntu) configured -- resuming normal operations
[Sun Dec 21 18:08:28 2008] [notice] caught SIGWINCH, shutting down gracefully
[Sun Dec 21 18:08:39 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Dec 21 18:08:39 2008] [notice] Apache/2.2.8 (Ubuntu) configured -- resuming normal operations
[Sun Dec 21 18:13:40 2008] [notice] caught SIGWINCH, shutting down gracefully
[Sun Dec 21 18:13:51 2008] [notice] Apache/2.2.8 (Ubuntu) configured -- resuming normal operations
[Sun Dec 21 18:13:50 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Dec 22 13:52:45 2008] [error] [client 66.78.250.22] File does not exist: /var/www/ispcp/gui/user
[Mon Dec 22 18:29:01 2008] [notice] caught SIGWINCH, shutting down gracefully
[Mon Dec 22 18:29:11 2008] [notice] Apache/2.2.8 (Ubuntu) configured -- resuming normal operations
[Mon Dec 22 18:29:11 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)

The apache2/error.log is:
Code:
[Sat Dec 20 13:02:17 2008] [notice] Apache/2.2.8 (Ubuntu) configured -- resuming normal operations
[Sat Dec 20 16:12:32 2008] [error] [client 66.249.70.249] File does not exist: /var/www/robots.txt
[Sat Dec 20 20:25:03 2008] [notice] caught SIGTERM, shutting down

Anyway, I have not suexec.log, even, suexec module is enabled.
12-23-2008 06:17 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: RC7 + ubuntu 8.04 + 403 forbidden when access anything, including control panel
/var/log/apache2/users/admin.*-error.log
12-23-2008 06:49 PM
Visit this user's website Find all posts by this user Quote this message in a reply
pongraczi Offline
Junior Member
*

Posts: 80
Joined: Jul 2008
Reputation: 2
Post: #5
RE: RC7 + ubuntu 8.04 + 403 forbidden when access anything, including control panel
(12-23-2008 06:49 PM)joximu Wrote:  /var/log/apache2/users/admin.*-error.log

Thank you for your help Smile
Unfortunately, there is no such a file.
Code:
root@omega:/var/log/apache2/users# pwd                                                                                              
/var/log/apache2/users
root@omega:/var/log/apache2/users# ls -al
total 52
drwxr-xr-x 2 www-data www-data  4096 Dec 20 20:26 .
drwxr-x--- 4 root     adm       4096 Dec 20 20:26 ..
-rw-r--r-- 1 root     root     39036 Dec 23 08:27 admin.omega.mysite.hu-access.log
-rw-r--r-- 1 root     root      2196 Dec 22 18:29 default-error.log
root@omega:/var/log/apache2# cd ..; ls -al
total 68
drwxr-x--- 4 root     adm       4096 Dec 20 20:26 .
drwxr-xr-x 9 root     root      4096 Dec 20 20:31 ..
-rw-r----- 1 root     adm        311 Dec 20 16:12 access.log
-rw-r--r-- 1 root     root     39036 Dec 23 08:27 admin.omega.mysite.hu-combined.log
-rw-r--r-- 1 root     root       603 Dec 23 08:27 admin.omega.mysite.hu-traf.log
drwxr-xr-x 2 root     root      4096 Dec 20 20:06 backup
-rw-r----- 1 root     adm        264 Dec 20 20:25 error.log
drwxr-xr-x 2 www-data www-data  4096 Dec 20 20:26 users

Is that possible, the installation process failed by some reasons?
I only expected the /dev/console access denied message during the install process (ispcp-setup).
(This post was last modified: 12-23-2008 06:57 PM by pongraczi.)
12-23-2008 06:57 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #6
RE: RC7 + ubuntu 8.04 + 403 forbidden when access anything, including control panel
I don't know the dev/console error...

Hm - I don't know the new logging feature yet...

But I have the impression, that your system is not configured correctly - at least not what I see when browsing to "admin.omega.mysite.hu" or /webmail

/J
12-23-2008 07:43 PM
Visit this user's website Find all posts by this user Quote this message in a reply
pongraczi Offline
Junior Member
*

Posts: 80
Joined: Jul 2008
Reputation: 2
Post: #7
RE: RC7 + ubuntu 8.04 + 403 forbidden when access anything, including control panel
Sure, I change the real name to an invalid one.
But here is the correct path to the problematic site:
http://admin.omega.startit.hu

István
(This post was last modified: 12-23-2008 10:18 PM by pongraczi.)
12-23-2008 08:52 PM
Visit this user's website Find all posts by this user Quote this message in a reply
pongraczi Offline
Junior Member
*

Posts: 80
Joined: Jul 2008
Reputation: 2
Post: #8
RE: RC7 + ubuntu 8.04 + 403 forbidden when access anything, including control panel
Hi,

Joximu helped me a lot and he discovered, with fastcgi it is working, but fcgid doesn't.

Now I am upgrade my ubuntu 8.04 openvz template to 8.10 to test its "compatibility".

Thank you Joximu!

István
12-24-2008 07:10 AM
Visit this user's website Find all posts by this user Quote this message in a reply
pongraczi Offline
Junior Member
*

Posts: 80
Joined: Jul 2008
Reputation: 2
Post: #9
RE: RC7 + ubuntu 8.04 + 403 forbidden when access anything, including control panel
8.10 produced the same "problem".
Interesting, but if I create a new domain under the virtual directory, using fastcgi and the control panel, it will work with fcgid too. Even, the control panel will not work with fcgid.

Merry Christmas!
István
12-25-2008 08:39 AM
Visit this user's website Find all posts by this user Quote this message in a reply
eugenesan Offline


Posts: 4
Joined: Apr 2007
Reputation: 0
Post: #10
RE: RC7 + ubuntu 8.04 + 403 forbidden when access anything, including control panel
Hi,

RC7 down't seems o be working here also, right after install finished.

Tried:
*) Several fresh machines.
*) Ubuntu 8.10 and 8.04.
*) Both flavors of fastcgi.
*) Different flavors of apache.
*) No error messages noticed during install

There is always 403 or similar error.
Got it working only once, when apache was installed manually before applying ISP-CP packages selection, but was not able to reconstruct it again :-(
(This post was last modified: 12-27-2008 01:52 AM by eugenesan.)
12-27-2008 01:52 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)