Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: WEBlance on September 25, 2006, 03:27:17 PM

Title: Can't access webmail after upgrading...
Post by: WEBlance on September 25, 2006, 03:27:17 PM
Iv'e just upgraded to SME 7 from 6.01 and now I can't access the webmail. All I get is this error message:

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

What can I do to fix this problem?

/Carl
Title: Can't access webmail after upgrading...
Post by: bosco555 on September 26, 2006, 02:39:40 PM
Hi there,

sorry, i might be on the wrong track, but, are you trying with https??
Title: Can't access webmail after upgrading...
Post by: william_syd on September 26, 2006, 02:57:14 PM
http should redirect to https

Did you have any contribs installed on the SME6 machine ?
Title: Can't access webmail after upgrading...
Post by: bosco555 on September 26, 2006, 03:00:16 PM
Hi William,

I have noticed that on some systems it does and on some others is refuses to redirect to https...

best regards

gb
Title: Can't access webmail after upgrading...
Post by: william_syd on September 26, 2006, 03:07:03 PM
Quote from: "bosco555"
Hi William,

I have noticed that on some systems it does and on some others is refuses to redirect to https...

best regards

gb


Interesting.

Out of the box I would say SME 7 should redirect.

I just pulled my webmail apart just a little to see how it works..
http://forums.contribs.org/index.php?topic=32920.msg145173#msg145173
only to be told someone else had done it already.  :D  :oops:
Title: Can't access webmail after upgrading...
Post by: WEBlance on September 26, 2006, 03:08:14 PM
Quote from: "william_syd"
http should redirect to https

Did you have any contribs installed on the SME6 machine ?


I have dungog.net's "Chroot FTP users", "FTP management", "EZMLM" that doesn't work anymore after the upgrade and "System Monitor".

The HTTP redirect to HTTPS works fine!
Title: Can't access webmail after upgrading...
Post by: bosco555 on September 26, 2006, 03:14:30 PM
Hehe, it's OK.

It is peculiar, the behavior...I have 6/7 SME servers around and only a few behave consistently (in the same manner), an issue I discovered is with whitelisting (globally), some servers will act upon it and don't let in any or hardly any spam, and with others is just like there is no whitelist at all, but this is another story altogether...digressing here...

regards again

Gianni
Title: Can't access webmail after upgrading...
Post by: william_syd on September 26, 2006, 03:16:53 PM
Quote from: "WEBlance"
Quote from: "william_syd"
http should redirect to https

Did you have any contribs installed on the SME6 machine ?


I have dungog.net's "Chroot FTP users", "FTP management", "EZMLM" that doesn't work anymore after the upgrade and "System Monitor".

The HTTP redirect to HTTPS works fine!


MySQL may of failed to start.

Type mysql at root login.

What do you get ?
Title: Can't access webmail after upgrading...
Post by: bosco555 on September 26, 2006, 03:19:39 PM
William, here it is:

mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 708 to server version: 4.1.20

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>
Title: Can't access webmail after upgrading...
Post by: william_syd on September 26, 2006, 03:22:06 PM
To whom am I speaking.... lol

I'm sure yours is working bosco555.

I'm not to sure about WEBlance.
Title: Can't access webmail after upgrading...
Post by: bosco555 on September 26, 2006, 03:24:04 PM
sorry got confuzzled
Title: Can't access webmail after upgrading...
Post by: william_syd on September 26, 2006, 03:28:09 PM
If WEBlance has an error like
Code: [Select]
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

he maybe wants to try
Code: [Select]
service mysqld start

I'm off to bed.
Title: Can't access webmail after upgrading...
Post by: WEBlance on September 26, 2006, 03:33:24 PM
I get this error message:

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Title: Can't access webmail after upgrading...
Post by: WEBlance on September 26, 2006, 03:35:07 PM
And when I use

mysql -p

and enter my password - the mysql works fine!
Title: Can't access webmail after upgrading...
Post by: bosco555 on September 26, 2006, 03:41:36 PM
WEBlance,

try this:

http://forums.contribs.org/index.php?topic=33695.0

hope it helps

gb
Title: Can't access webmail after upgrading...
Post by: william_syd on September 26, 2006, 03:46:37 PM
Yes.. your MySQL root user password appears to have been altered.


Typing mysql should work without you entering a password.
Title: Hi
Post by: cristi3k on October 13, 2006, 10:54:29 AM
If U didn`t resolved the problem here is a solutiont that worked for me:

cd /var/lib
chown mysql.root mysql
chmod 755 mysql


Hope this will help.
For more information I am available.
Title: Can't access webmail after upgrading...
Post by: WEBlance on October 14, 2006, 09:23:39 AM
Quote from: "bosco555"
WEBlance,

try this:

http://forums.contribs.org/index.php?topic=33695.0

hope it helps

gb


Tried this - and it fixed the mysql password issue . . . but not the webmail problem :(
Title: Re: Hi
Post by: WEBlance on October 14, 2006, 09:24:12 AM
Quote from: "cristi3k"
If U didn`t resolved the problem here is a solutiont that worked for me:

cd /var/lib
chown mysql.root mysql
chmod 755 mysql


Hope this will help.
For more information I am available.


Sorry - doesn't make any difference...
Title: Can't access webmail after upgrading...
Post by: william_syd on October 14, 2006, 09:40:00 AM
http://forums.contribs.org/index.php?topic=33596.msg146262#msg146262

Horde password preoblem maybe ?
Title: Can't access webmail after upgrading...
Post by: WEBlance on October 16, 2006, 12:03:58 PM
Quote from: "william_syd"
http://forums.contribs.org/index.php?topic=33596.msg146262#msg146262

Horde password preoblem maybe ?


Sorry - no password problem...