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

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
bisc0tti
Forum User
Forum User
Posts: 5
Joined: Tue Feb 08, 2005 5:12 pm
Location: Pensacola, FL

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

Unread post 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
bisc0tti
Forum User
Forum User
Posts: 5
Joined: Tue Feb 08, 2005 5:12 pm
Location: Pensacola, FL

Unread post 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
bisc0tti
Forum User
Forum User
Posts: 5
Joined: Tue Feb 08, 2005 5:12 pm
Location: Pensacola, FL

Unread post by bisc0tti »

the upgrade seemed to wipeout my /var/qmail/control/virtualdomains and rcpthosts files. They are empty. crap.

scott
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

That sounds like a psa bug to me
Post Reply