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 Database Server
  • Search

phpMyAdmin error on login screen - cannot login

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Post Reply
  • Print view
Advanced search
30 posts
  • 1
  • 2
  • 3
  • Next
umuzidan
Posts: 19
Joined: Wed Jan 21, 2015 9:53 pm

phpMyAdmin error on login screen - cannot login
  • Quote

Post by umuzidan » Tue Apr 07, 2015 11:07 am

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

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: phpMyAdmin error on login screen - cannot login
  • Quote

Post by skurudo » Tue Apr 07, 2015 12:57 pm

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

umuzidan
Posts: 19
Joined: Wed Jan 21, 2015 9:53 pm

Re: phpMyAdmin error on login screen - cannot login
  • Quote

Post by umuzidan » Tue Apr 07, 2015 5:43 pm

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

umuzidan
Posts: 19
Joined: Wed Jan 21, 2015 9:53 pm

Re: phpMyAdmin error on login screen - cannot login
  • Quote

Post by umuzidan » Tue Apr 07, 2015 6:57 pm

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

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: phpMyAdmin error on login screen - cannot login
  • Quote

Post by skurudo » Wed Apr 08, 2015 4:40 am

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.
Yep, I don't see this error too. Do you installed apc or xcache may be?
What's you mean publicvestaip / vestaipaddress - it's somehow diffetent?
Top

umuzidan
Posts: 19
Joined: Wed Jan 21, 2015 9:53 pm

Re: phpMyAdmin error on login screen - cannot login
  • Quote

Post by umuzidan » Wed Apr 08, 2015 4:42 am

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

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: phpMyAdmin error on login screen - cannot login
  • Quote

Post by skurudo » Wed Apr 08, 2015 5:20 am

What's about your ip-listen settings in your httpd?
Top

umuzidan
Posts: 19
Joined: Wed Jan 21, 2015 9:53 pm

Re: phpMyAdmin error on login screen - cannot login
  • Quote

Post by umuzidan » Wed Apr 08, 2015 5:39 am

skurudo wrote:What's about your ip-listen settings in your httpd?
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=7013

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

umuzidan
Posts: 19
Joined: Wed Jan 21, 2015 9:53 pm

Re: phpMyAdmin error on login screen - cannot login
  • Quote

Post by umuzidan » Thu Apr 09, 2015 2:50 am

Please help. I'm completely stumped.
Top

poxin
Posts: 6
Joined: Thu Apr 09, 2015 11:46 pm

Re: phpMyAdmin error on login screen - cannot login
  • Quote

Post by poxin » Thu Apr 09, 2015 11:48 pm

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


Post Reply
  • Print view

30 posts
  • 1
  • 2
  • 3
  • Next

Return to “Database 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