Koozali.org: home of the SME Server

Upgrade to Horde 3.0

Offline robin_wangaz

  • **
  • 26
  • +0/-0
Upgrade to Horde 3.0
« on: December 03, 2005, 10:28:09 AM »
Hey all, was wondering if anyone can help me with an access problem into horde. Have upgraded on an SME6.0 box using the jbennett install_30.sh downloaded from the following
http://mirror.contribs.org/smeserver/contribs/jbennett/
Everything ran like a charm until I web browsed to http://myserver.com/horde which diplayed the following

A fatal error has occurred
DB Error: connect failed
Details have been logged for the administrator.

I can access mysql via command line using users "root" and "horde". I can access the horde database using the following command -
mysql -u horde -p
Enter password:********
Welcome to the MySQL Monitor..........


My logs say this - Dec  3 21:45:00 myserver HORDE[3553]: [horde] DB Error: connect failed:  [nativecode=Access denied for user: 'horde@localhost' (Using password: YES)] ** Array [on line 1330 of "/home/httpd/html/horde/lib/Horde/DataTree/sql.php"]

Can anyone help me with this?? Please Rob

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Upgrade to Horde 3.0
« Reply #1 on: December 03, 2005, 11:20:56 PM »
The password in this file - /home/httpd/html/horde/config/conf.php - should match the output of - /sbin/e-smith/config show horde

I suspect they don't.  Do you have any other custom-templates that may have overridden the horde/config/conf.php section?

JB
......

Offline p-jones

  • *
  • 594
  • +0/-0
Upgrade to Horde 3.0
« Reply #2 on: December 04, 2005, 03:44:43 AM »
Have you had a look at the document "how to recover from a failed upgrade" ??

http://mirror.contribs.org/smeserver/contribs/jbennett/howto/Horde-SME-Recover.htm

It may have some assistance or relevance to your predicament.
...

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Upgrade to Horde 3.0
« Reply #3 on: December 04, 2005, 06:19:53 AM »
Quote from: "p-jones"
Have you had a look at the document "how to recover from a failed upgrade" ??

http://mirror.contribs.org/smeserver/contribs/jbennett/howto/Horde-SME-Recover.htm

It may have some assistance or relevance to your predicament.


I need to really remove that doc as this functionality has been integrated within the script.  There is a /root/horde20-restore directory that does all of those steps for you.  

JB
......

Offline robin_wangaz

  • **
  • 26
  • +0/-0
Upgrade to Horde 3.0
« Reply #4 on: December 04, 2005, 11:29:32 AM »
Hey Guys thanks a lot for your replies - I'm actually half way through rebuilding this server now. I went beyond the point of no return.
I did read the how to recover..... sorry don't remember what the output was now, but it wasn't favourable.
Hey mhjrb3, I still have the oold HDD, Im curious to take alook at the conf.php and I think you might be right in thinking that it may have been overwritten - wil post to let you know after I've finished the rebuild.
Just a note, I tested the script on a freshly installed SME box and everything went without a hitch!! Some COOL features in Horde3.
Hey thanks alot Rob