Horde not working after database change

a1isp

Registered
Sep 28, 2006
3
0
151
Hi all, I hope someone can help?

I was looking through the panel in WHM/Cpanel last nightand saw the external database addition button. as my secondary name server has a 300gig drive spare, I thought i'd try connecting it. everything worksfine after the successful transfer except Horde.

I have tried a full reset via command /scripts/fullhordereset However, I get thsi error:


Restoring Horde data
Resyncing Horde database items
DBI connect('horde:"82.138.240.9"','root',...) failed: Unknown MySQL server host '"82.138.240.9"' (1) at /usr/local/cpanel/bin/horde_update_usernames line 51
Cannot Connect! at /usr/local/cpanel/bin/horde_update_usernames line 54.
Done. Horde updated to 3.1.3

Your horde password is above. Horde has been reset

I wouldlike to know how to fix this but also, how to go backto the internal database if I so wish. PLEASE HELP!!

Justin
 

TSRobG

Member
PartnerNOC
Mar 1, 2005
5
0
151
Hello,

This can be a little complicated to fix. I have it working on a similar setup, but I don't know at exactly what step I fixed it. You basically need to modify the /usr/local/cpanel/base/horde/config/conf.php file to contain the correct password. When you do a /scripts/fullhordereset this is generated at random, but isn't correctly set everywhere. You must make sure that this config file has the correct connection information and that you can login as the horde user with this password on the remote server.

Regards,
Rob