[CentOS] phpmyadmin issue

Wed Jan 4 03:57:18 UTC 2012
Rajagopal Swaminathan <raju.rajsand at gmail.com>

Greetings,

On Tue, Jan 3, 2012 at 4:40 PM, John R Pierce <pierce at hogranch.com> wrote:
> On 01/03/12 1:55 AM, Rajagopal Swaminathan wrote:
>> When I try to access it throughhttp://localhost/phpmyadmin  it is
>> giving me a 403 forbidden error
>
> I'd look in /var/log/httpd/{access,error}_log
>
> maybe `tail -f /var/log/httpd/*_log`  in a shell window, then hit the
> webpage and see what new errors are barfed out a few seconds later...
>

[root at centos ~]# tail /var/log/httpd/access_log

:1 - - [04/Jan/2012:09:21:52 +0530] "GET /phpmyadmin HTTP/1.1" 403 287
"-" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24)
Gecko/20111109 CentOS/3.6.24-3.el6.centos Firefox/3.6.24"
::1 - - [04/Jan/2012:09:21:55 +0530] "GET /favicon.ico HTTP/1.1" 404
284 "-" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24)
Gecko/20111109 CentOS/3.6.24-3.el6.centos Firefox/3.6.24"

[root at centos ~]# tail /var/log/httpd/error_log
[Wed Jan 04 09:04:23 2012] [error] python_init: Python version
mismatch, expected '2.6.5', found '2.6.6'.
[Wed Jan 04 09:04:23 2012] [error] python_init: Python executable
found '/usr/bin/python'.
[Wed Jan 04 09:04:23 2012] [error] python_init: Python path being used
'/usr/lib64/python26.zip:/usr/lib64/python2.6/:/usr/lib64/python2.6/plat-linux2:/usr/lib64/python2.6/lib-tk:/usr/lib64/python2.6/lib-old:/usr/lib64/python2.6/lib-dynload'.
[Wed Jan 04 09:04:23 2012] [notice] mod_python: Creating 4 session
mutexes based on 256 max processes and 0 max threads.
[Wed Jan 04 09:04:23 2012] [notice] mod_python: using mutex_directory /tmp
[Wed Jan 04 09:04:25 2012] [warn] mod_wsgi: Compiled for Python/2.6.2.
[Wed Jan 04 09:04:25 2012] [warn] mod_wsgi: Runtime using Python/2.6.6.
[Wed Jan 04 09:04:25 2012] [notice] Apache/2.2.15 (Unix) DAV/2
mod_auth_kerb/5.4 mod_auth_pgsql/2.0.3 mod_nss/2.2.15 NSS/3.12.10.0
PHP/5.3.8 mod_python/3.3.1 Python/2.6.6 mod_ssl/2.2.15
OpenSSL/1.0.0-fips SVN/1.6.11 mod_wsgi/3.2 mod_perl/2.0.4 Perl/v5.10.1
configured -- resuming normal operations
[Wed Jan 04 09:21:52 2012] [error] [client ::1] client denied by
server configuration: /usr/share/phpmyadmin
[Wed Jan 04 09:21:55 2012] [error] [client ::1] File does not exist:
/var/www/html/favicon.ico
[root at centos ~]#

-- 
Regards,

Rajagopal