Page 1 of 1

cannot log into horde

Posted: 17 Feb 2010, 19:09
by zander
hi,

i am setting up wordpress on my b2 at http://alonzofretwell.com i have moved everything except apache2-default from /home/web/ subsequently i am not able to log into horde http://alonzofretwell.com/mail as i used to be able to do. i get this error...

A fatal error has occurred

DB Error: connect failed

Details have been logged for the administrator.


please advise.

thank you.

Re: cannot log into horde

Posted: 17 Feb 2010, 20:15
by zander
i think that i may have deleted the horde database when i was managing mysql using phpmyadmin to setup wordpress.

i do have external storage for the purpose of backup that i have tried to configure to make complete backups of my primary storage (and system) using the bubba admin gui interface.

perhaps i can recover the database from the backups?

please advise.

Re: cannot log into horde

Posted: 17 Feb 2010, 20:30
by zander
i think this is related also...

while trying to run an update it got this error...

Failed to access MySQL with default root login, unable to continue with upgrade.
DBI connect('mysql','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at /usr/share/perl5

i think the problem is related to accidentally deleting some mysql stuff when trying to set it up for wordpress.

also in Settings->Backup and Restore it says no backup media found but the b2 external storage is attached.

as i said i think this is all related.

Re: cannot log into horde

Posted: 18 Feb 2010, 03:06
by Binkem
Did you try the upgrade before of after your horde stopped working? It may be that Horde stopped working because of a failed upgrade. Especially if you changed the MySQL root-password.

Re: cannot log into horde

Posted: 18 Feb 2010, 03:12
by zander
horde stopped working before the failed update.

i have changed some passwords using myphpadmin.

and i have the passwords written down :)

Re: cannot log into horde

Posted: 18 Feb 2010, 04:16
by Kiff
Try to set the mysql root password to blank while performing the upgrade.

Re: cannot log into horde

Posted: 18 Feb 2010, 22:52
by zander
Kiff wrote:Try to set the mysql root password to blank while performing the upgrade.
i am reading the mysql tutorial on http://dev.mysql.com/doc/refman/5.0/en/tutorial.html i am new with it. this seems to be causing allot of other admin problems with the bubba2.

Re: cannot log into horde

Posted: 19 Feb 2010, 02:37
by Kiff
Use the following command at the shell to set the password to empty (note the double ' at the end)

Code: Select all

mysqladmin -u root -p'oldpassword' password ''

Re: cannot log into horde

Posted: 19 Feb 2010, 03:07
by zander
hi,

heres what i get...

bubba:/home/af# mysqladmin -u root -p'oldpassword' password ''
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'
bubba:/home/af#


please advise.

Re: cannot log into horde

Posted: 19 Feb 2010, 03:08
by zander
oh, i have to put the old password in...

Re: cannot log into horde

Posted: 19 Feb 2010, 03:14
by zander
okay i got a clean return.

bubba:/home/af# mysqladmin -u root -p'oldpassword' password ''
bubba:/home/af#

was successfully returned. :)

i hope this will fix the problems.

Re: cannot log into horde

Posted: 19 Feb 2010, 03:49
by zander
the update is running now but it seems to be taking too long.

its been running over 1/2hr now...

i switched to a different page in the bubba admin. then switched back to the update page to try the update again and got this error...

Failures found in package (dpkg) database, unable to continue with upgrade.
iF bubba-horde 3.3.5ex3 Horde installation for the bubba platform


i am still getting the error message when i try to log into http://alonzofretwell.com/mail (hosted on the bubba2)

please advise.

Re: cannot log into horde

Posted: 19 Feb 2010, 04:29
by zander
i can see Source/Destination of /dev/sdb1 in the backup and restore settings page.

should i try to run a restore?

Re: cannot log into horde

Posted: 23 Feb 2010, 02:21
by pa
Something has gone wrong with the update of Horde.

Please try to remove Horde and then install again by:

Code: Select all

dpkg --purge --force-depends bubba-horde
apt-get -f install
These two commands will uninstall horde, thus removing all settings made in the webmail client such as identities, but not any user accounts or email, that is not related to the client itself.
The last command will then reinstall and upgrade the rest of the system.

/PA