Page 1 of 3

PhpMyAdmin BlowFish

Posted: Sat Aug 08, 2015 9:48 am
by pandabb
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

Re: PhpMyAdmin BlowFish

Posted: Tue Aug 11, 2015 9:06 am
by skurudo
pandabb wrote: What else can i do to fix this problem?
Like this for example:
https://wiki.archlinux.org/index.php/Ph ... passphrase

Re: PhpMyAdmin BlowFish

Posted: Tue Aug 11, 2015 5:54 pm
by arafatx
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?

Re: PhpMyAdmin BlowFish

Posted: Tue Aug 11, 2015 10:10 pm
by pandabb
i think it does exisit but just different location?

Re: PhpMyAdmin BlowFish

Posted: Tue Aug 11, 2015 10:37 pm
by skurudo
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

Re: PhpMyAdmin BlowFish

Posted: Tue Aug 11, 2015 10:39 pm
by skurudo
pandabb wrote:i think it does exisit but just different location?
Yep, links in https://vestacp.com/docs/ or in post above.

Re: PhpMyAdmin BlowFish

Posted: Wed Aug 12, 2015 3:55 am
by arafatx
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.

Re: PhpMyAdmin BlowFish

Posted: Wed Aug 12, 2015 6:47 am
by skurudo
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

Re: PhpMyAdmin BlowFish

Posted: Wed Aug 12, 2015 7:11 am
by pandabb
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.

Re: PhpMyAdmin BlowFish

Posted: Wed Aug 12, 2015 7:50 am
by skurudo
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