Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Debian, Ubuntu, Fedora, CentOS, and anything other than KDE.
Posts: 38
Rep:
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
Edit: it looks like I was responding at the same time, with similar questions:
Quote:
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.
It looks to me like you have at least an error, but more likely an incompatible version type conflict. The log file is saying that you have an unknown option and you are getting lots of warnings about deprecated commands. I agree that something getting partially installed, probably at a different rev level, is a distinct possibility.
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?
Distribution: Debian, Ubuntu, Fedora, CentOS, and anything other than KDE.
Posts: 38
Original Poster
Rep:
Quote:
Originally Posted by Noway2
Edit: it looks like I was responding at the same time, with similar questions:
It looks to me like you have at least an error, but more likely an incompatible version type conflict. The log file is saying that you have an unknown option and you are getting lots of warnings about deprecated commands. I agree that something getting partially installed, probably at a different rev level, is a distinct possibility.
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?
I did try to reinstall the MySQL package, but still the same problem.
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.
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
The next thing I would try is to restore the versions originally on the distribution, so thats the default packages that came with your version of CentOS.
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.
Distribution: Debian, Ubuntu, Fedora, CentOS, and anything other than KDE.
Posts: 38
Original Poster
Rep:
Quote:
Originally Posted by hyperhead
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
The next thing I would try is to restore the versions originally on the distribution, so thats the default packages that came with your version of CentOS.
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.
Distribution: Debian, Ubuntu, Fedora, CentOS, and anything other than KDE.
Posts: 38
Original Poster
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.