ispCP - Board - Support
[solved] Password inconstancy - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Update/Upgrade (/forum-44.html)
+--- Thread: [solved] Password inconstancy (/thread-11325.html)



[solved] Password inconstancy - MattKeating - 08-06-2010 08:42 PM

Hi,

I upgraded to 1.0.6 and now I have a problem.

I have to swap between two different DATABASE_PASSWORDs in my ispcp.conf file. One will only work when i try access the web interface.
ispcp-rqst-mngr will only run if I have a different password in my ispcp.conf file.

If i try use the web interface with the other password, i get the error:
Connection failed: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: YES)

This is obviously a big problem, as I can not really use the system like this. Any passwords generated seem to be incorrect too.

DATABASE_PASSWORD = u+EouykA6rdUUycqBECZYA==
#DATABASE_PASSWORD = hYRNO3HxE+WmVrpCB+eFRg==

Any ideas how to fix this? I need the same password throughout the application.

Thanks,
Matt


RE: Password inconstancy - joximu - 08-06-2010 11:58 PM

check the 3 key files if they have the same values... (of course php and pl have different syntax..)

/var/www/ispcp/gui/include/ispcp-db-keys.php
/var/www/ispcp/engine/ispcp-db-keys.pl
/var/www/ispcp/engine/messager/ispcp-db-keys.pl


/J


RE: Password inconstancy - MattKeating - 08-09-2010 07:42 AM

(08-06-2010 11:58 PM)joximu Wrote:  check the 3 key files if they have the same values... (of course php and pl have different syntax..)

/var/www/ispcp/gui/include/ispcp-db-keys.php
/var/www/ispcp/engine/ispcp-db-keys.pl
/var/www/ispcp/engine/messager/ispcp-db-keys.pl


/J

Brilliant thanks. One file was different. I changed them all do be the same and everything seems good now.
You're a life saver.

Thanks,
Matt


RE: Password inconstancy - joximu - 08-09-2010 04:22 PM

here's the bill Smile
http://isp-control.net/forum/reputation.php?uid=89

Cheers
Joxi <closing here>