Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: giganoob on March 30, 2005, 10:10:09 PM
-
i m a newbie on SME but i wan t to test Webmail.
a got these message after to login the webmail :
DB Error: connect failed
[ligne 108 de /home/httpd/html/horde/lib/Prefs/sql.php]
Les détails ont été consignés pour l'administrateur.
How must i do to resolve the problem ?
Thanks to all :)
-
Hi giganoob,
this link you might find of use:
http://forums.contribs.org/index.php?topic=26652.0
HTH
-
i m a newbie on SME but i wan t to test Webmail.
a got these message after to login the webmail :
DB Error: connect failed
[ligne 108 de /home/httpd/html/horde/lib/Prefs/sql.php]
Les détails ont été consignés pour l'administrateur.
I see you are using SME 6.0. I believe that this bug was found and fixed long ago. You should apply all update RPMs, then do:
/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot
All should then work nicely - if not, report any problems on the bug tracker.
-
thx to all
but it doesn t work.
it s a new install of SME, what s the best solution ? re install ou try to understand ?
:-?
-
Just had the same issue happen to me.
I tried the following commands as well but no go.
Code:
/sbin/e-smith/config setprop horde DbPassword horde
Code:
/sbin/e-smith/signal-event post-upgrade
Code:
/sbin/e-smith/signal-event reboot
Still comes up with the same error message but interestingly enough if I click the refresh button in my browser it then takes me right to my inbox.
Anyone seen this before?
-
Just had the same issue happen to me.
I tried the following commands as well but no go.
Code:
/sbin/e-smith/config setprop horde DbPassword horde
...
This should have been fixed long ago. Please post to the bug tracker, including what version, what updates, etc.
-
giganoob
Charlie wrote:
> You should apply all update RPMs...
See
ftp://ftp.ibiblio.org/pub/linux/distributions/e-smith/updates/6.0/RPMS/i386/
and
ftp://ftp.ibiblio.org/pub/linux/distributions/e-smith/updates/6.0/RPMS/noarch/
Do
rpm -Uvh --oldpackage --replacepkgs --nodeps *.rpm
/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot
-
Do
rpm -Uvh --oldpackage --replacepkgs --nodeps *.rpm
"--oldpackage --replacepkgs --nodeps" should be used as rarely and for as few packages as possible. Which package or packages require(s) those arguments, and why?
-
Charlie
>..Which package or packages require(s) those arguments, and why?
I'm aware about the --nodeps, as you have told us before use it only when necessary and when you know why your are using it, better to sort out the dependencies where possible.
--oldpackage, as recommended in upgrade instructions and particularly for dovecot-0.99.10-01es2.i386.rpm
--nodeps for SMEServer-6.0_Update6-11.noarch.rpm
--replacepkgs, for all the other packages that don't strictly need updating ie same rpm version as originally installed (refer recent confusion about a few of those on the ruffdogs list)
Does that sound OK ?
-
--oldpackage, as recommended in upgrade instructions and particularly for dovecot-0.99.10-01es2.i386.rpm
If so, then you should use it only for dovecot.
Why are we using it for dovecot? We already have dovecot-0.99.10-01es4.i386.rpm in 6.0 - are you suggesting someone would downgrade to dovecot-0.99.10-01es2.i386.rpm? I can't see why.
I think an upgrade to dovecot-0.99.14-01nx1.i386.rpm would be a better idea.
--nodeps for SMEServer-6.0_Update6-11.noarch.rpm
I think that one can be left out - it contains no files IIRC.
--replacepkgs, for all the other packages that don't strictly need updating ie same rpm version as originally installed (refer recent confusion about a few of those on the ruffdogs list)
OK
-
Charlie
Thanks for your feedback re the upgrades.
> Why are we using it for dovecot? We already have
> dovecot-0.99.10-01es4.i386.rpm in 6.0 - are you
> suggesting someone would downgrade to dovecot-
> 0.99.10-01es2.i386.rpm? I can't see why.
Not suggesting as such, but I think it was a case of the es2 version being in the upgrades folder and therefore implying a downgrade was required.
> I think an upgrade to dovecot-0.99.14-
> 01nx1.i386.rpm would be a better idea.
I take it then that the es4 should be the currently installed version and as you say above an upgrade to a newer version would be recommended.
Thanks
Ray
-
Charlie
> I think an upgrade to dovecot-0.99.14-
> 01nx1.i386.rpm would be a better idea.
A little search suggests that was in sme7alpha5.
I also found dovecot-0.99.14-1.0.rh7.rf.i386.rpm at the dovecot downloads site, would it be OK or is the nx1 version more appropriate.
Thanks
Ray
-
Great dialogue guys.
Thanks for all the input. I will go ahead and update as directed but I gather then that these additions are not part of the usual "plus script" which I have kept current with.
BTW: I am currently running dovecot-0.99.10-01es4.i386.rpm
Is this maybe just a matter of reinstalling horde?
FYI: All was working fine until now when I recently installed the perl-File-RsyncP-0.52-8.i386.rpm for BackupPC that I'm running on another server and sme-6.0-masq-manager-0.1-3.noarch.rpm (port opening panel) which required a reboot after the install and since then I've developed the webmail issue.
Thanks
Ed