yum update psa failed!! 7.1.4 -> 7.1.6

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
silent_e

yum update psa failed!! 7.1.4 -> 7.1.6

Unread post by silent_e »

Aaiigh. Trying to update my PSA 7.1.4 to 7.1.6 using "yum update psa" gave me an error when it got around to restarting the MySql server. Then it aborted. but it continued doing things... Now psa is COMPLETELY unusable. Can't start. I'm on a 3ES install.

here's the update log and what it said...

Code: Select all

 Trying to define super-server internet daemon type... xinetd
 Trying to check if xinetd daemon is running... done


START LOGGING: Fri Jan 28 15:54:16 PST 2005
 Trying to stop MySQL server... Stopping MySQL:  [  OK  ]
done
 Making some checks before upgrading

 Now BIND server shutting down...

 Trying to stop BIND server... Stopping named: [  OK  ]
done
 Trying to start BIND server... Starting named: [  OK  ]
done

 BIND server starts Ok.

 Trying to start MySQL server... Starting MySQL:  [  OK  ]
done
mysqld (pid 5319) is running...
 Trying to stop MySQL server... Stopping MySQL:  [  OK  ]
done

===> Checking for the necessary system accounts
 Checking for the system groups and users necessary for Qmail...
 Checking for the group 'nofiles'...
 Group 'nofiles' already exists

 Checking for the user 'alias'...
 User 'alias' already exists

 Checking for the user 'qmaild'...
 User 'qmaild' already exists

 Checking for the user 'qmaill'...
 User 'qmaill' already exists

 Checking for the user 'qmailp'...
 User 'qmailp' already exists

 Checking for the group 'qmail'...
 Group 'qmail' already exists

 Checking for the user 'qmailq'...
 User 'qmailq' already exists

 Checking for the user 'qmailr'...
 User 'qmailr' already exists

 Checking for the user 'qmails'...
 User 'qmails' already exists

 Checking for the group 'popuser'...
 Group 'popuser' already exists

 Checking for the user 'popuser'...
 User 'popuser' already exists

 Checking for the system groups and users necessary for named (bind)...
 Checking for the group 'named'...
 Group 'named' already exists

 Checking for the user 'named'...
 User 'named' already exists

 Checking for the system groups and users necessary for MySQL...
 Checking for the group 'mysql'...
 Group 'mysql' already exists

 Checking for the user 'mysql'...
 User 'mysql' already exists

 Checking for the system groups and users necessary for admin server...
 Checking for the group 'psaadm'...
 Group 'psaadm' already exists

 Checking for the user 'psaadm'...
 User 'psaadm' already exists

 Checking for the system groups and users necessary for Apache...
 Checking for the group 'apache'...
 Group 'apache' already exists

 Checking for the user 'apache'...
 User 'apache' already exists

 Checking that /bin/false registered as login shell...
/bin/false
 /bin/false is already registered as login shell

/usr/local/psa/bin/chrootsh already registered as a login shell
 Checking for the group 'psaftp'...
 Group 'psaftp' already exists

 Checking for the user 'psaftp'...
 User 'psaftp' already exists

 Checking for ftp home directory for 'clients' group...
@psacln
 '@psacln' is already in the /etc/ftpchroot

 Checking for the group 'psaserv'...
 Group 'psaserv' already exists

 Checking for the group 'psaserv'...
 Trying to add supplementary group 'psaserv' for user 'apache'... done
 Checking for the group 'psaserv'...
 Trying to add supplementary group 'psaserv' for user 'psaftp'... done
 Checking for the group 'psaserv'...
 Trying to add supplementary group 'psaserv' for user 'psaadm'... done
 group psacln already exists
 Trying to start MySQL server... Starting MySQL:  [  OK  ]
done

ERROR while trying to start MySQL server

Aborting...

error: %pre(psa-7.1.6-rhel3.build71041118.17) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping psa-7.1.6-rhel3.build71041118.17
psa-agent 100 % done 2/6
db_connect: failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
db_connect: failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Key register failed
/var/tmp/rpm-tmp.1166: line 1:  5629 Terminated              /usr/local/psa/admin/bin/php /usr/local/psa/install/pleskagent/sql/install_db.php
error: %post(psa-agent-1.3.2-2_psa7.1) scriptlet failed, exit status 143
psa-bu 100 % done 3/6
Generate public/private keys pair for server ...
domain_bu: db_connect: failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
domain_bu: db_connect: failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Can't connect to MySQL database: No such file or directory
domain_bu: db_connect: failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
domain_bu: db_connect: failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Can't connect to MySQL database: No such file or directory
Server keys generating done
Completing update for psa-bu  - 4/6
===> Reading /etc/psa/psa.conf ...
/usr/local/psa/admin/bin/httpsdctl stop: httpd stopped
Stopping Plesk:  [  OK  ]
Completing update for psa  - 5/6
uninstall_post.sh
Updated:  psa 7.1.6-rhel3.build71041118.17.i586
Dep Installed:  psa-agent 1.3.2-2_psa7.1.i686 psa-bu 7.1.6-rhel3.build71041118.17.i586
Transaction(s) Complete
my web access to plesk doesn't work now! running a "service psa start" gives me this...

Code: Select all

service psa start
===> Reading /etc/psa/psa.conf ...
spamd: Unable to getpwnam for user psaadm
spammng: Unable to getpwnam for user psaadm
Starting psa-spamassassin service:                         [  OK  ]
PHP Warning:  Unable to define user id for "psaadm": Success in Unknown on line 0
PHP Fatal error:  Unable to start psasem module in Unknown on line 0
/usr/local/psa/admin/bin/httpsdctl start: httpd could not be started
Starting Plesk:                                            [FAILED]
HELP!!!! :( running a "yum update psa" to retry tells me

Code: Select all

Gathering header information file(s) from server(s)
Server: Atomic Rocket Turtle - 3ES - Atomic PSA-Compatible RPMS
Server: Atomic Rocket Turtle - 3ES - Base OS RPMS mirror
Server: Atomic Rocket Turtle - 3ES - SW-Soft PSA 7.1 RPMS
Server: Atomic Rocket Turtle - 3ES - OS Update RPMS mirror
Finding updated packages
Downloading needed headers
Cannot find any package matching psa available to be updated.
No actions to take
a rather distraught matte :(
silent_e

Unread post by silent_e »

quick update... running the autoinstaller. hoping this will rebuild my psa.

keeping my fingers crossed. would love to hear thoughts on whether this will help.

any help is appreciated.

umm. okay. that didn't work. Segmentation Fault. :( what the......!!..!!..

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

The PSA rpm is very reinstall unfriendly (which breaks all the RPM rules btw). Unfortunately its kind of a one shot affair. Fixing things when this happens can be a very ugly process.
Post Reply