Hello,
i've a strange error so that i can't perform upgrade from 7.x to 7.5
in etc/init.d i've mysql and mysqld that is a symlink to mysql
I've never had this problem during previous upgrade...
Any suggestion? Not that it successfully stops mysql but it's like it cant see that!
--
Trying to stop MySQL server... done
ERROR while trying to stop MySQL server
Check the error reason(see log file: /tmp/psa_7.5.1_RedHat_9_build75041216.14_upgrade.log), fix and try again
Aborting...
error: %pre(psa-7.5.1-rh9.build75041216.14) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping psa-7.5.1-rh9.build75041216.14
Updated: psa 7.5.1-rh9.build75041216.14.i586
Transaction(s) Complete
--
can't upgrade
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Yeah I see that one all the time, that part of the install is pretty delicate. Means mysql wasnt detected as being stopped. In reality it probably was, but the script cant tell, so it blows up. The good news is I believe it didnt hose your existing install, thats a pre-install check it does. So you *MAY* be able to --force the psa rpm to install.
At this time i've all the new rpms installed (psa7.5) but not the psa itself!scott wrote:Yeah I see that one all the time, that part of the install is pretty delicate. Means mysql wasnt detected as being stopped. In reality it probably was, but the script cant tell, so it blows up. The good news is I believe it didnt hose your existing install, thats a pre-install check it does. So you *MAY* be able to --force the psa rpm to install.
So you suggest to run rpm -Uvh psa-7-5.rpm --force or use yum?
Use yum ... how?
Thanks
solved !!
I looked into my mysql run script and deleted this piece of code; perfect!
Maybe it'll help someone else
**
#status(){
##service mysqld status
##RETVAL=$?
#echo "Checking to see if MySQL Server daemon is running:"
#echo "------------------------------------------------------"
#echo "Running processes:"
#ps auxww | grep mysqld | grep -v grep | grep -v status
#echo "------------------------------------------------------"
**
Maybe it'll help someone else
**
#status(){
##service mysqld status
##RETVAL=$?
#echo "Checking to see if MySQL Server daemon is running:"
#echo "------------------------------------------------------"
#echo "Running processes:"
#ps auxww | grep mysqld | grep -v grep | grep -v status
#echo "------------------------------------------------------"
**