Koozali.org: home of the SME Server

Pb connection database and Webmail with SME 6.0

giganoob

Pb connection database and Webmail with SME 6.0
« 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 :)

Quail_Linux

Pb connection database and Webmail with SME 6.0
« Reply #1 on: March 30, 2005, 10:26:14 PM »
Hi giganoob,

this link you might find of use:
http://forums.contribs.org/index.php?topic=26652.0

HTH

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Pb connection database and Webmail with SME 6.0
« Reply #2 on: March 31, 2005, 05:21:37 AM »
Quote from: "giganoob"
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.

giganoob

Pb connection database and Webmail with SME 6.0
« Reply #3 on: April 03, 2005, 12:14:11 AM »
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 ?

 :-?

Offline edb

  • *
  • 548
  • +0/-0
Pb connection database and Webmail with SME 6.0
« Reply #4 on: June 23, 2005, 04:57:22 PM »
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?
......

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Pb connection database and Webmail with SME 6.0
« Reply #5 on: June 23, 2005, 05:14:39 PM »
Quote from: "edb"
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.

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Pb connection database and Webmail with SME 6.0
« Reply #6 on: June 24, 2005, 02:43:49 PM »
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
...

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Pb connection database and Webmail with SME 6.0
« Reply #7 on: June 24, 2005, 04:16:49 PM »
Quote from: "RayMitchell"

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?

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Pb connection database and Webmail with SME 6.0
« Reply #8 on: June 24, 2005, 04:52:49 PM »
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 ?
...

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Pb connection database and Webmail with SME 6.0
« Reply #9 on: June 24, 2005, 05:46:19 PM »
Quote from: "RayMitchell"

--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.

Quote

--nodeps for SMEServer-6.0_Update6-11.noarch.rpm


I think that one can be left out - it contains no files IIRC.

Quote

--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

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Pb connection database and Webmail with SME 6.0
« Reply #10 on: June 24, 2005, 06:08:48 PM »
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
...

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Pb connection database and Webmail with SME 6.0
« Reply #11 on: June 24, 2005, 06:23:05 PM »
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
...

Offline edb

  • *
  • 548
  • +0/-0
Pb connection database and Webmail with SME 6.0
« Reply #12 on: June 24, 2005, 07:07:09 PM »
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
......