Koozali.org: home of the SME Server

Horde access problem

Offline edform

  • *
  • 178
  • +0/-0
    • http://www.workgroupsolutions.co.uk
Horde access problem
« on: January 29, 2006, 02:48:08 PM »
I've kept this out of the big thread that's running at the moment on Horde updates because this is a bit of a self-inflicted wound.

I managed to mess up a 6.0.10 production server very badly by accidentally loading Version 7 components during an install of open xchange, so I had to do a complete reinstall and restore the data and MySQL tables from the previous night's backup.

I then upgraded MySQL from 3.23 to 4.1.8-0 using the howto published by Greg Swallow in the thread 'MySQL 4.1.8 installation howto' and the upgrade completed perfectly. At this point all the functions of my server were running perfectly - in particular the Mambo and Joomla websites.

I then ran John Bennett's Horde 3 update script which completed without hiccoughs but found that I am locked out of Webmail/Horde - All I get is...

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

Everyting else remains fine.

When I look in the messages log I find this happening...

Jan 29 13:24:33 ml350 HORDE[2067]: PHP Notice:  Use of undefined constant  - assumed '' in /usr/share/pear/Log/syslog.php on line 150
Jan 29 13:24:33 ml350 HORDE[2067]: PHP Notice:  Use of undefined constant ^H - assumed '^H' in /usr/share/pear/Log/syslog.php on line 150
Jan 29 13:24:33 ml350 HORDE[2067]: PHP Notice:  Use of undefined constant  - assumed '' in /usr/share/pear/Log/syslog.php on line 150
Jan 29 13:24:33 ml350 HORDE[2067]: PHP Notice:  Use of undefined constant ^D - assumed '^D' in /usr/share/pear/Log/syslog.php on line 150
Jan 29 13:24:33 ml350 HORDE[2067]: PHP Notice:  Use of undefined constant ^B - assumed '^B' in /usr/share/pear/Log/syslog.php on line 150
Jan 29 13:24:33 ml350 HORDE[2067]: PHP Notice:  Use of undefined constant  - assumed '' in /usr/share/pear/Log/syslog.php on line 150
Jan 29 13:24:33 ml350 HORDE[2067]: PHP Notice:  Use of undefined constant ^D - assumed '^D' in /usr/share/pear/Log/syslog.php on line 150
Jan 29 13:24:33 ml350 HORDE[2067]: PHP Notice:  Use of undefined constant  - assumed '' in /usr/share/pear/Log/syslog.php on line 150
Jan 29 13:24:33 ml350 HORDE[2067]: PHP Warning:  syslog() expects parameter 1 to be long, string given in /usr/share/pear/Log/syslog.php on line 116
Jan 29 13:25:01 ml350 HORDE[2682]: [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"]

Anyone got any suggestions before I shoot myself? (':-(')

Ed Form

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Horde access problem
« Reply #1 on: January 29, 2006, 06:51:55 PM »
Ed,

Did you use the latest version of the script?  What version of php are you running?  The script will attempt to install php-4.3.10-3eo.  Are you sure the script ran without error?  I used to mask the pear install pieces and if the pear site was down, this could cause issues.

>>?Jan 29 13:25:01 ml350 HORDE[2682]: [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"]

This seems to say to me that the script may have add some issues and the horde password did not get saved.  Do/did you have any horde custom-templates that could be overridding anything?  If you do a
/sbin/e-smith/config show horde, the dbpassword should match what is in horde/config/conf.php.

Lastly, you could download the latest version of the script and run it again and see if that corrects your problem.

JB
......

Offline Smitro

  • *
  • 350
  • +0/-0
Horde access problem
« Reply #2 on: April 29, 2006, 12:07:43 AM »
Was there any update to this as I have the same problem now. Except I don't have the DB error, just the syslog.php errors
.........