We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on Vesta 2.0 and expect to release it by the end of 2024. Read more about it: https://vestacp.com/docs/vesta-2-development
phpmyadmin 403 error and webmail not working
phpmyadmin 403 error and webmail not working
Team, I have a new installation of VestaCP installed on centos 6.6 (yum updated to 6.7) I followed the instructions on your page on installation. The centos machine was a new VM installed with 6.6 and vmware tools installed. The first things I did after VestaCP installation is follow your guides to change to Percona and ProFTP. I did not check webmail or phpmyadmin until after I setup my whmcs module and tested the creation of a user and website via automation.
When I first tested phpmyadmin I had a blank page so I found some of your posts about maybe it was uninstalled. I also decided to run the below
Please note that you might also need to update php-mysqlnd package if you are using remi
yum install php-mysqlnd phpmyadmin --enablerepo=remi
mv /etc/httpd/conf.d/phpMyAdmin.conf.rpmsave /etc/httpd/conf.d
service httpd restart
Now when I click on db in VestaCP and then phpmyadmin I get a 403 forbidden error. I can not seem to find any posts on your site that explains how to fix this. I am gussing this is the first hurdle I need to fix before I can further troubleshoot why webmail link is not working and just giving me a blank page.
When I first tested phpmyadmin I had a blank page so I found some of your posts about maybe it was uninstalled. I also decided to run the below
Please note that you might also need to update php-mysqlnd package if you are using remi
yum install php-mysqlnd phpmyadmin --enablerepo=remi
mv /etc/httpd/conf.d/phpMyAdmin.conf.rpmsave /etc/httpd/conf.d
service httpd restart
Now when I click on db in VestaCP and then phpmyadmin I get a 403 forbidden error. I can not seem to find any posts on your site that explains how to fix this. I am gussing this is the first hurdle I need to fix before I can further troubleshoot why webmail link is not working and just giving me a blank page.
Re: phpmyadmin 403 error and webmail not working
Ok so a few updates, apparently roundcube is working now. I was able to login as client and try to send a test mail but in the log file I get
PHP Warning: Error writing to log file /var/log/roundcubemail/sendmail; Please check permissions in /usr/share/roundcubemail/program/lib/Roundcube/rcube.php on line 1335, referer: http://ws3.xxxxxxx.us/webmail/?_task=ma ... de384435ba
I have also tested sending and recieving. I was able to send fine to gmail but in reply back nothing has shown up yet but when i click on the mail icon to check in roundcube, I see this error in the log file
PHP Warning: config.inc.php was not found. Please migrate your config by running bin/update.sh in /usr/share/roundcubemail/program/lib/Roundcube/rcube_config.php on line 214, referer: http://ws3.xxxxxxx.us/webmail/?_task=mail&_mbox=INBOX
Also looking at the phpmyadmin issue i found the error but I am unsure how to fix it
client denied by server configuration: /usr/share/phpMyAdmin/
PHP Warning: Error writing to log file /var/log/roundcubemail/sendmail; Please check permissions in /usr/share/roundcubemail/program/lib/Roundcube/rcube.php on line 1335, referer: http://ws3.xxxxxxx.us/webmail/?_task=ma ... de384435ba
I have also tested sending and recieving. I was able to send fine to gmail but in reply back nothing has shown up yet but when i click on the mail icon to check in roundcube, I see this error in the log file
PHP Warning: config.inc.php was not found. Please migrate your config by running bin/update.sh in /usr/share/roundcubemail/program/lib/Roundcube/rcube_config.php on line 214, referer: http://ws3.xxxxxxx.us/webmail/?_task=mail&_mbox=INBOX
Also looking at the phpmyadmin issue i found the error but I am unsure how to fix it
client denied by server configuration: /usr/share/phpMyAdmin/
Re: phpmyadmin 403 error and webmail not working
Update
So after toying around with config files, I went in and set Allow from all in /etc/httpd/conf.d/phpMyAdmin.conf
<IfModule mod_authz_core.c>
# Apache 2.4
Require local
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
#Deny from all
Allow from all
</IfModule>
</Directory>
I wasnt sure how secure this is so I followed these steps viewtopic.php?f=10&t=5264 ro change the alias
I can click on phpmyadmin link in VestaCP and I get access. Now my only issue is how do customers log in. I use the App Installer to run the wordpress installation and it all works fine, but how does a user log into phpmyadmin to see all db's just they have access to.
So after toying around with config files, I went in and set Allow from all in /etc/httpd/conf.d/phpMyAdmin.conf
<IfModule mod_authz_core.c>
# Apache 2.4
Require local
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
#Deny from all
Allow from all
</IfModule>
</Directory>
I wasnt sure how secure this is so I followed these steps viewtopic.php?f=10&t=5264 ro change the alias
I can click on phpmyadmin link in VestaCP and I get access. Now my only issue is how do customers log in. I use the App Installer to run the wordpress installation and it all works fine, but how does a user log into phpmyadmin to see all db's just they have access to.