Page 1 of 1

help help help. I screwed something up bad...

Posted: Sat Sep 10, 2005 7:20 pm
by bisc0tti
I upgraded my psa to 7.5.4 and was unhappy with the default spamassassin results so I have been trying to to upgrade via art yums. but i have seriously messed something up. going to the control panel webpage I get:

ERROR: Unable to connect to database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) 0: /usr/local/psa/admin/auto_prepend/auth.php3:81 psaerror(string "Unable to connect to database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)")

accessing qmail on port 25 gives:

relaylock: db_connect: failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

and trying to run /usr/local/psa/admin/sbin/mchk -v

chokes with:

mchk: db_connect: failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
mchk: db_connect: failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
mchk: Unable to connect to the mysql database
mchk: Unable to connect to the mysql database

can someone help me get back to a stable state, so mail is routing. hell, I'll deal with the extra spam.

Thanks,

Scott

Posted: Sat Sep 10, 2005 8:27 pm
by bisc0tti
ok, I got yum to upgrade all the packages, but now nobody can login. I can reset the password in the control panel and it doesn't make any difference. webmail logfile errors with:

HORDE [error] [imp] FAILED LOGIN 70.191.211.194 to localhost:143[imap/notls] as email@user.com [on line 247 of "/usr/share/psa-horde/imp/lib/Auth/imp.php"]

if I telnet and issue pop3 commands manually it just errors with:

-ERR Login failed.
quit
+OK Better luck next time.

Has anyone ran into this?

Scott

Posted: Sat Sep 10, 2005 8:36 pm
by bisc0tti
the upgrade seemed to wipeout my /var/qmail/control/virtualdomains and rcpthosts files. They are empty. crap.

scott

Posted: Tue Sep 20, 2005 7:48 am
by scott
That sounds like a psa bug to me