can't upgrade

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
marcos
Forum User
Forum User
Posts: 59
Joined: Wed Dec 22, 2004 4:23 am

can't upgrade

Unread post by marcos »

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

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.
marcos
Forum User
Forum User
Posts: 59
Joined: Wed Dec 22, 2004 4:23 am

Unread post by marcos »

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.
At this time i've all the new rpms installed (psa7.5) but not the psa itself!

So you suggest to run rpm -Uvh psa-7-5.rpm --force or use yum?

Use yum ... how?

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

you'll have to do it manually with rpm
marcos
Forum User
Forum User
Posts: 59
Joined: Wed Dec 22, 2004 4:23 am

Unread post by marcos »

Scott, do you think downgrade to mysql 3x could be a solutions?

Which is the best way to downgrade mysql?

I don't know what will happen after a rpm --force :-(

Thank
marcos
Forum User
Forum User
Posts: 59
Joined: Wed Dec 22, 2004 4:23 am

solved !!

Unread post by marcos »

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 "------------------------------------------------------"
**
Post Reply