(Dec 29) New version 0.9.8-18 has been released. More you can find here

PhpMyAdmin BlowFish

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Forum rules
Before creating a new topic or reply on the forum you should fill out additional fields "Os" and "Web" in your profile section.
In case of violation, the topic can be closed or response from the support will not be received.
pandabb
Posts: 192
Joined: Sat Aug 08, 2015 3:03 am

PhpMyAdmin BlowFish

Postby pandabb » Sat Aug 08, 2015 9:48 am

Problem: When i log into PhpMyadmin it throws me the error below.

Code: Select all

 The configuration file now needs a secret passphrase (blowfish_secret).


1. I already checked other threads suggesting to chmod 777 to /var/lib/php/session it's already chmod to 777.
2. I also verfied that blowfish secret key is present , yes there are random numbers in the config files.

What else can i do to fix this problem?

OS: Centos 6.7 fresh install vesta cp.

Thank You

skurudo
VestaCP Team
Posts: 7808
Joined: Fri Dec 26, 2014 2:23 pm
Contact:

Re: PhpMyAdmin BlowFish

Postby skurudo » Tue Aug 11, 2015 9:06 am

pandabb wrote:What else can i do to fix this problem?


Like this for example:
https://wiki.archlinux.org/index.php/Ph ... passphrase

arafatx
Posts: 23
Joined: Tue Aug 11, 2015 4:51 pm

Re: PhpMyAdmin BlowFish

Postby arafatx » Tue Aug 11, 2015 5:54 pm

skurudo wrote:
pandabb wrote:What else can i do to fix this problem?


Like this for example:
https://wiki.archlinux.org/index.php/Ph ... passphrase


The VestaCP PhpMyAdmin doesn't include the file config.inc.php. Even the sample file does not exist. How do I create one?

pandabb
Posts: 192
Joined: Sat Aug 08, 2015 3:03 am

Re: PhpMyAdmin BlowFish

Postby pandabb » Tue Aug 11, 2015 10:10 pm

i think it does exisit but just different location?

skurudo
VestaCP Team
Posts: 7808
Joined: Fri Dec 26, 2014 2:23 pm
Contact:

Re: PhpMyAdmin BlowFish

Postby skurudo » Tue Aug 11, 2015 10:37 pm

arafatx wrote:The VestaCP PhpMyAdmin doesn't include the file config.inc.php. Even the sample file does not exist. How do I create one?


Config exist, it's no miracle like moses in desert ;-)
Links below show, where config files are - for phpmyadmin too.

https://vestacp.com/docs/#config-log-lo ... ian-ubuntu
https://vestacp.com/docs/#config-log-lo ... hel-centos

skurudo
VestaCP Team
Posts: 7808
Joined: Fri Dec 26, 2014 2:23 pm
Contact:

Re: PhpMyAdmin BlowFish

Postby skurudo » Tue Aug 11, 2015 10:39 pm

pandabb wrote:i think it does exisit but just different location?

Yep, links in https://vestacp.com/docs/ or in post above.

arafatx
Posts: 23
Joined: Tue Aug 11, 2015 4:51 pm

Re: PhpMyAdmin BlowFish

Postby arafatx » Wed Aug 12, 2015 3:55 am

skurudo wrote:
pandabb wrote:i think it does exisit but just different location?

Yep, links in https://vestacp.com/docs/ or in post above.


Ok I found it. The owner of the phpmyadmin is root. I try to fix the blowfish part, but it failed to remove the message:

"The configuration file now needs a secret passphrase (blowfish_secret)."

What I did is, I change the owner of the PhpMyAdmin to the 'admin' username at /etc/phpMyAdmin/config.inc.php. Then the message dissapear. I guess I need to change everything to 'admin' ..

Thanks.

skurudo
VestaCP Team
Posts: 7808
Joined: Fri Dec 26, 2014 2:23 pm
Contact:

Re: PhpMyAdmin BlowFish

Postby skurudo » Wed Aug 12, 2015 6:47 am

arafatx wrote:Ok I found it. The owner of the phpmyadmin is root. I try to fix the blowfish part, but it failed to remove the message:
"The configuration file now needs a secret passphrase (blowfish_secret)."


https://wiki.archlinux.org/index.php/Ph ... passphrase

pandabb
Posts: 192
Joined: Sat Aug 08, 2015 3:03 am

Re: PhpMyAdmin BlowFish

Postby pandabb » Wed Aug 12, 2015 7:11 am

I still have the same arror after putting a key, do i also need to chown my phpmyadmin confg? Right now it says its root/apache the owner and group.

skurudo
VestaCP Team
Posts: 7808
Joined: Fri Dec 26, 2014 2:23 pm
Contact:

Re: PhpMyAdmin BlowFish

Postby skurudo » Wed Aug 12, 2015 7:50 am

pandabb wrote:I still have the same arror after putting a key, do i also need to chown my phpmyadmin confg? Right now it says its root/apache the owner and group.


You use generator for key? - http://www.question-defense.com/tools/p ... -generator

Code: Select all

ls -la /etc/phpmyadmin/config.inc.php
-rw-r--r-- 1 root root 5156 Apr 24  2013 /etc/phpmyadmin/config.inc.php


Return to “Database Server”



Who is online

Users browsing this forum: No registered users and 2 guests