Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

phpmyadmin 403 error and webmail not working

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
strato
Posts: 15
Joined: Tue Aug 25, 2015 9:44 pm

phpmyadmin 403 error and webmail not working
  • Quote

Post by strato » Wed Aug 26, 2015 3:49 pm

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.
Top

strato
Posts: 15
Joined: Tue Aug 25, 2015 9:44 pm

Re: phpmyadmin 403 error and webmail not working
  • Quote

Post by strato » Wed Aug 26, 2015 4:08 pm

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/
Top

strato
Posts: 15
Joined: Tue Aug 25, 2015 9:44 pm

Re: phpmyadmin 403 error and webmail not working
  • Quote

Post by strato » Wed Aug 26, 2015 7:22 pm

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.
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password