LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 10-15-2014, 04:04 AM   #1
TheGoatreich
LQ Newbie
 
Registered: Aug 2013
Posts: 6

Rep: Reputation: Disabled
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.
 
Old 10-15-2014, 05:04 AM   #2
TheGoatreich
LQ Newbie
 
Registered: Aug 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
PHEW! I've temporarily resolved this by booting into an older kernel version.
 
Old 10-17-2014, 10:40 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,242

Rep: Reputation: 8077Reputation: 8077Reputation: 8077Reputation: 8077Reputation: 8077Reputation: 8077Reputation: 8077Reputation: 8077Reputation: 8077Reputation: 8077Reputation: 8077
Quote:
Originally Posted by TheGoatreich View Post
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.
 
Old 10-17-2014, 11:13 AM   #4
TheGoatreich
LQ Newbie
 
Registered: Aug 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
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 ).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
anyone seen a DRBD + Heartbeat + Nfs + Centos Updated howto? szboardstretcher Linux - Software 1 09-08-2011 12:19 PM
Virtualbox kernel modules won't load after updating kernel in openSUSE 11.0 JamesHall SUSE / openSUSE 6 02-03-2009 05:36 PM
GTK+ Related I *think* GNOME won't load, no graphical element to RedHat 9... nutnut Linux - Software 2 02-26-2005 08:33 AM
updated Kernel via Redhat's up2date; now X won't start Daninchina Linux - Newbie 9 02-01-2005 01:52 AM
Can't load modules because I'm using an old kernel with everything else updated... leeman_s Slackware 1 05-22-2004 04:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration