We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
phpMyAdmin error on login screen - cannot login
phpMyAdmin error on login screen - cannot login
Using a clean, new install of Vesta CP on Centos 6, after I create a new DB and user, I go to phpMyAdmin and am presented with this error:
Warning in ./libraries/session.inc.php#101
session_start(): open(/var/lib/php/session/sess_281cetphm911n7edbnnrt2oa12t3esvi, O_RDWR) failed: Permission denied (13)
Backtrace
./libraries/session.inc.php#101: session_start()
./libraries/common.inc.php#349: require(./libraries/session.inc.php)
./index.php#12: require_once(./libraries/common.inc.php)
Automatically send report next tim
I cannot login using the new credentials.
Any suggestions?
Warning in ./libraries/session.inc.php#101
session_start(): open(/var/lib/php/session/sess_281cetphm911n7edbnnrt2oa12t3esvi, O_RDWR) failed: Permission denied (13)
Backtrace
./libraries/session.inc.php#101: session_start()
./libraries/common.inc.php#349: require(./libraries/session.inc.php)
./index.php#12: require_once(./libraries/common.inc.php)
Automatically send report next tim
I cannot login using the new credentials.
Any suggestions?
Re: phpMyAdmin error on login screen - cannot login
How you try to login in phpmyadmin: domain name / ip ?
What's permission/owner on those files?
PS: I don't see that problem on CentOS 6. Sad, but this is local, sorry.
What's permission/owner on those files?
PS: I don't see that problem on CentOS 6. Sad, but this is local, sorry.
Re: phpMyAdmin error on login screen - cannot login
I login to Vesta CP using internal IP and port 8083. When I visit the DB tab, I click the link to open that "DB" in phpMyAdmin. This opens phpMyAdmin using the internal IP running on port 80. I use the username "admin_<dbuser>".
Re: phpMyAdmin error on login screen - cannot login
Ok this gets even weirder.
I decided to start over from scratch.
1. Create new VM for CentOS 6
2. Install VMware Tools
3. Install Vesta CP
4. Login and go directly to phpMyAdmin - same exact error
5. Some online searching indicated that I should uncomment "session.save.path" from php.ini - I did that and rebooted - still same error
6. New discovery, when visiting https://vestacpIPaddress:8083 - pages loges fine. When visiting http://vestaIPaddress/phpMyAdmin - page returns HTTP 500 Internal Server error. When I visit http://publicVestaIPaddress/phpMyAdmin - Page load correctly and I'm presented with the error I described at the beginning of this ticket.
Seriously, WTF is going on?? I'm driving myself crazy. I've installed Vesta CP many times now and never once presented with this error.
I decided to start over from scratch.
1. Create new VM for CentOS 6
2. Install VMware Tools
3. Install Vesta CP
4. Login and go directly to phpMyAdmin - same exact error
5. Some online searching indicated that I should uncomment "session.save.path" from php.ini - I did that and rebooted - still same error
6. New discovery, when visiting https://vestacpIPaddress:8083 - pages loges fine. When visiting http://vestaIPaddress/phpMyAdmin - page returns HTTP 500 Internal Server error. When I visit http://publicVestaIPaddress/phpMyAdmin - Page load correctly and I'm presented with the error I described at the beginning of this ticket.
Seriously, WTF is going on?? I'm driving myself crazy. I've installed Vesta CP many times now and never once presented with this error.
Re: phpMyAdmin error on login screen - cannot login
Yep, I don't see this error too. Do you installed apc or xcache may be?umuzidan wrote:Seriously, WTF is going on?? I'm driving myself crazy. I've installed Vesta CP many times now and never once presented with this error.
What's you mean publicvestaip / vestaipaddress - it's somehow diffetent?
Re: phpMyAdmin error on login screen - cannot login
Public Vesta IP is the NATed IP, accessible by the public. Internal Vesta IP is the internal LAN IP of the server itself. No, I don't have those installed.
Re: phpMyAdmin error on login screen - cannot login
What's about your ip-listen settings in your httpd?
Re: phpMyAdmin error on login screen - cannot login
My listen IPs are only the internal LAN IP. I left the NAT blank. I'm trying to access it directly on the internal LAN. I have been unsuccessful in loading phpMyAdmin from localhost and other clients on the same LAN. I have created additional website and can successfully visit their webpages on port 80, but when I add phpmyadmin after the website name, it already returns blanks. I have checked the IPs listed at these locations. viewtopic.php?f=11&t=7013skurudo wrote:What's about your ip-listen settings in your httpd?
Again:
1. When visiting "http://<internalip>/phpmyadmin" from the localhost, the page ALWAYS returns blank
2. When visiting "http://<internalip>/phpmyadmin" from another client on the same LAN, the page loads but phpMyAdmin presents the error pasted in the original post.
Either way, I can't access phpMyAdmin. I have rebuilt this OS and re-installed VCP about 10 times now with all different configurations.
Re: phpMyAdmin error on login screen - cannot login
Please help. I'm completely stumped.
Re: phpMyAdmin error on login screen - cannot login
This is happening to me as well when it has worked before. Completely wiped the OS, reinstalled CentOS6, same error with phpmyadmin.
Edit: looks like chmod 777 to /var/lib/php/session may have done the trick. phpMyAdmin now opens, appears there is another error inside: The configuration file now needs a secret passphrase (blowfish_secret).
Looks like something must have changed along the line, never got these errors before.
Edit: looks like chmod 777 to /var/lib/php/session may have done the trick. phpMyAdmin now opens, appears there is another error inside: The configuration file now needs a secret passphrase (blowfish_secret).
Looks like something must have changed along the line, never got these errors before.