Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
10-15-2014, 04:04 AM
|
#1
|
LQ Newbie
Registered: Aug 2013
Posts: 6
Rep:
|
Redhat 6 kernel updated and now DRBD won't load
Hi,
I'm running RedHat Enterprise 6 and DRBD on a pair of servers in order to sync a partition containing a mysql database. Yesterday the kernel on the primary server got updated to 2.6.32-504, and after a reboot (for a different reason) I noticed that my usual drbd check of
cat /proc/drbd
resulted in a "No such file or directory" output.
The secondary box is still running the kernel version 2.6.32-431.17.1.
The database is running ok on my secondary server, but as these are production servers I really need to get this back to an available HA state.
I originally installed the drbd84-utils kmod-drbd84 using yum from elrepo. After doing a bit of googling I found that these were likely now out of sync with the new kernel, so I ran yum update drbd84-utils kmod-drbd84 --enablerepo=elrepo to bring the installed version up to the current for that repo. However I'm still seeing this issue. The currently installed versions are:
drbd84-utils-8.9.1-1.el6.elrepo.x86_64
kmod-drbd84-8.4.5-1.el6.elrepo.x86_64
What do I need to do to get drbd up and running again on my primary server? The DRBD documentation mentions recompiling the rpms from the source, but I'm not sure I'm confident enough to do that.
|
|
|
10-15-2014, 05:04 AM
|
#2
|
LQ Newbie
Registered: Aug 2013
Posts: 6
Original Poster
Rep:
|
PHEW! I've temporarily resolved this by booting into an older kernel version.
|
|
|
10-17-2014, 10:40 AM
|
#3
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,242
|
Quote:
Originally Posted by TheGoatreich
Hi,
I'm running RedHat Enterprise 6 and DRBD on a pair of servers in order to sync a partition containing a mysql database. Yesterday the kernel on the primary server got updated to 2.6.32-504, and after a reboot (for a different reason) I noticed that my usual drbd check of
cat /proc/drbd
resulted in a "No such file or directory" output. The secondary box is still running the kernel version 2.6.32-431.17.1. The database is running ok on my secondary server, but as these are production servers I really need to get this back to an available HA state.
I originally installed the drbd84-utils kmod-drbd84 using yum from elrepo. After doing a bit of googling I found that these were likely now out of sync with the new kernel, so I ran yum update drbd84-utils kmod-drbd84 --enablerepo=elrepo to bring the installed version up to the current for that repo. However I'm still seeing this issue. The currently installed versions are:
drbd84-utils-8.9.1-1.el6.elrepo.x86_64
kmod-drbd84-8.4.5-1.el6.elrepo.x86_64
What do I need to do to get drbd up and running again on my primary server? The DRBD documentation mentions recompiling the rpms from the source, but I'm not sure I'm confident enough to do that.
|
You probably don't want to hear this answer, but if you're not confident enough to compile a source package, you REALLY need to be paying for support from Red Hat. Chances are, you need to upgrade the DRDB package and the other dependencies. Have the updates/patches/bugfixes all been applied to the server in question?
Give Red Hat a call, and tell them what you're seeing. They can help you analyze a system trace, and figure out what's up.
|
|
|
10-17-2014, 11:13 AM
|
#4
|
LQ Newbie
Registered: Aug 2013
Posts: 6
Original Poster
Rep:
|
Cheers, and you're absolutely right. I am confident enough to compile a source package generally, however I am getting confused specifically with the DRBD instructions to be honest as they refer to kernel files and sym links that don't appear to be there on my system.
Thankfully however I have my dev box now mirroring the problem I had on the live so I can use that as a test bed for the source package compilation (and also rectify how a live server got patches ahead of a dev server ).
|
|
|
All times are GMT -5. The time now is 06:38 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|