MySQL Problem
I have a Virtual Private Server, and for some reason, something went wrong, and now mysqld refuses to start. Server info: CentOS x64
When I run this command: tail -f /var/log/mysqld.log I get this result: 110528 16:14:12 [ERROR] /usr/libexec/mysqld: unknown option '--skip-bdb' 110528 16:14:12 [ERROR] Aborting I have been working on this since about 6AM and it's now 2:30PM. This community has been really helpful as far as searching on Google for things, but now I need help. I don't know what to do. It all started after I tried a few times to upgrade PHP, which was successful after a few tries, but I think one of the RPMs had MySQL in it without me knowing. GRRRRRR When running this command: cat /var/log/mysqld.log I get this result: http://pastebin.com/bmJkpViS |
Hi
Did you uninistall the previous MySQL ? If you query the rpm database for MySQL / PHP what do you find? Code:
rpm -qa | grep mysql If you still have the previous versions installed, perhaps you could uninstall the rpms you installed for the upgrade?? Just a thought. |
Thank you for the quick reply! I did uninstall the upgrade RPMs, then tried to install MySQL by itself, it installed, but same problem.
BTW, I don't think PHP is the problem, just thought that would be worth mentioning. Running rpm -qa | grep mysql gave me this below: mysqlclient15-5.0.90-1.el5.art mysql-server-5.1.57-1.el5.art mysql-libs-5.1.57-1.el5.art mysql-server-5.1.57-1.el5.art ruby-mysql-2.7-200705221357 mysql-libs-5.1.57-1.el5.art mysql-5.1.57-1.el5.art mysql-connector-odbc-3.51.26r1127-1.el5 libdbi-dbd-mysql-0.8.1a-1.2.2 php-mysql-5.3.6-3.el5.art mysql-5.1.57-1.el5.art |
Edit: it looks like I was responding at the same time, with similar questions:
Quote:
Have you tried uninstalling and then re-installing or even reconfiguring the MySQL package? I would also take a look at any MySQL-PHP, or myadmin type packages that could have a dependency. You say you were successful upgrading your PHP, after a few tries. What do you mean by after a few tries, what happened that caused you to have to attempt it multiple times? Were you getting a particular error message that might be a clue to the current situation? |
Quote:
PHP: I didn't know how to upgrade PHP via SSH, so I tried a few different commands that I found on various websites, some didn't work, the last one did work. |
Can we see those command(s) for upgrading PHP?
|
Quote:
Here's some I believe. Thank GOODNESS I bookmarked the tutorials. https://community.openatrium.com/doc...n-en/node/2018 http://www.hosting.com/support/linux...a-linux-server |
Ok so you have used third party repositories? Or CentOS repositories?
What is the output of : Code:
ls /etc/yum.repos.d/ (Don't dump that in pastebin though) |
Quote:
atomic.repo CentOS-Debuginfo.repo CentOS-Vault.repo CentOS-Base.repo CentOS-Media.repo webtatic.repo CentOS-Base.repo.rpmnew CentOS-Testing.rep |
OH and I also ran this command:
yum groupinstall "MySQL Database" |
From the look of the RPMs you queried earlier you have Atomic Rocket Turtles RPMS hence the art in the package name(s)
Code:
mysql-5.1.57-1.el5.art Replace each version of rpm with .art in it with original. It might work, its what I would try next, if I was in your position. |
Quote:
|
I have to reimage my server :(!
|
Okay, basically, I jacked up Plesk control panel by trying to remove mysql which removed some Plesk dependencies. So now I am required to do a reimage of my server. Then this mysql error wont happen anymore.
Thanks for the help guys! /thread |
Sorry it didn't work out.
|
All times are GMT -5. The time now is 02:50 PM. |