Can't access phpMyAdmin after a fresh install of DirectAdmin

JimCoger

New member
Joined
Jan 2, 2012
Messages
3
Hi everybody,

It's weird, when i try to access phpMyAdmin from http://ip/phpMyAdmin after a fresh install of DirectAdmin, it just return 403 error.

And i have these in the error_log:

[Mon Jan 02 11:07:26 2012] [crit] [client xxx.xxx.xxx.xxx] (13)Permission denied: /var/www/html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Mon Jan 02 11:08:21 2012] [crit] [client xxx.xxx.xxx.xxx] (13)Permission denied: /var/www/html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Mon Jan 02 11:08:21 2012] [crit] [client xxx.xxx.xxx.xxx] (13)Permission denied: /var/www/html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Mon Jan 02 11:08:22 2012] [crit] [client xxx.xxx.xxx.xxx] (13)Permission denied: /var/www/html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Mon Jan 02 11:08:22 2012] [crit] [client xxx.xxx.xxx.xxx] (13)Permission denied: /var/www/html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Mon Jan 02 11:08:22 2012] [crit] [client xxx.xxx.xxx.xxx] (13)Permission denied: /var/www/html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Mon Jan 02 11:08:22 2012] [crit] [client xxx.xxx.xxx.xxx] (13)Permission denied: /var/www/html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Mon Jan 02 11:08:23 2012] [crit] [client xxx.xxx.xxx.xxx] (13)Permission denied: /var/www/html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Mon Jan 02 11:08:23 2012] [crit] [client xxx.xxx.xxx.xxx] (13)Permission denied: /var/www/html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Mon Jan 02 11:11:46 2012] [crit] [client xxx.xxx.xxx.xxx] (13)Permission denied: /var/www/html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Mon Jan 02 11:11:46 2012] [crit] [client xxx.xxx.xxx.xxx] (13)Permission denied: /var/www/html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

I think it's weird because i did a fresh install of DirectAdmin leaving anything untouched, is anything wrong with the latest DirectAdmin? or might be i missed something?

Please help!
 
cd /usr/local/directadmin/custombuild
./build update
./build clean
./build phpmyadmin d
 
cd /usr/local/directadmin/custombuild
./build update
./build clean
./build phpmyadmin d

Thank you.

I have tried this, but still not working. Nothing works with in /var/www/html, including:

roundcube
squirrelmail
phpMyAdmin

All return 403 error.

-rw-r--r-- 1 webapps webapps 33 01-02 09:34 .bash_logout
-rw-r--r-- 1 webapps webapps 176 01-02 09:34 .bash_profile
-rw-r--r-- 1 webapps webapps 124 01-02 09:34 .bashrc
-rw-r--r-- 1 root root 44 01-02 09:48 index.html
lrwxrwxrwx 1 webapps webapps 44 01-02 11:30 phpMyAdmin -> /var/www/html/phpMyAdmin-3.4.9-all-languages
drwxr-xr-x 10 webapps webapps 4096 01-02 11:30 phpMyAdmin-3.4.9-all-languages
-rwxr-xr-x 1 root root 68 01-02 09:46 redirect.php
lrwxrwxrwx 1 webapps webapps 17 01-02 09:58 roundcube -> roundcubemail-0.7
drwxr-xr-x 11 webapps webapps 4096 01-02 09:58 roundcubemail-0.7
lrwxrwxrwx 1 webapps webapps 19 01-02 09:58 squirrelmail -> squirrelmail-1.4.22
drwxr-xr-x 16 webapps webapps 4096 01-02 09:58 squirrelmail-1.4.22

And i modified nothing after a fresh install

Any ideas?

Thanks!
 
Check the parent folder permissions then.

/var/www
/var/www/html
 
Back
Top