[Bug 483410] Re: package drbd8-source failed to install/upgrade: linux headers missing

2010-05-14 Thread Neale Rudd
Hi,

I've had this same problem on a Lucid Lynx upgrade on all of our
servers.

It tried to upgrade 8.3.4 to 8.3.7

Version: 2.6.32-22-generic-pae
Upgraded from 2.6.31-19-generic-pae using do-release-upgrade
Server: PowerEdge 2650

After install, DRBD does not start:

* Starting DRBD resources 
Can not load the drbd module.

modprobe drbd
FATAL: Module drbd not found.

To rebuild it and get it working, I performed these steps.  It seems the 
headers were missing, or the new version didn't build properly due to 
dependancy errors (I'm afraid I didn't keep them, but it was listing 2.6.28-?? 
headers and saying it depended on them, even though those packages don't exist 
on our server.
# Check module versions
dkms status

drbd8, 8.3.7, 2.6.32-22-generic, i686: installed
drbd8, 8.3.7, 2.6.31-19-generic-pae, i686: installed

# Manual rebuild (remove old ones first that appear in dkms status)
dkms remove -m drbd8 -v 8.3.7 -k 2.6.32-22-generic
dkms remove -m drbd8 -v 8.3.7 -k 2.6.31-19-generic-pae

# Check module versions
dkms status
(nothing shows)

# Try to clean up and re-install
apt-get remove drbd8-utils
apt-get autoremove
apt-get clean
apt-get install drbd8-utils
/etc/init.d/drbd start

* Starting DRBD resources 
Can not load the drbd module.

# However, same problem, so tried to rebuild as follows:
dkms add -m drbd8 -v 8.3.7
apt-get install linux-headers-2.6.32-22-generic-pae
dkms build -m drbd8 -v 8.3.7 -a 2.6.32-22-generic-pae
dkms install -m drbd8 -v 8.3.7 -a 2.6.32-22-generic-pae

# On version warning error:
dkms uninstall -m drbd8 -v 8.3.7 -a 2.6.32-22-generic
dkms uninstall -m drbd8 -v 8.3.7 -a 2.6.32-22-generic-pae
dkms install -m drbd8 -v 8.3.7 -a 2.6.32-22-generic-pae --force

# Check module versions
dkms status
drbd8, 8.3.7, 2.6.32-22-generic, i686: installed
drbd8, 8.3.7, 2.6.32-22-generic-pae, 2.6.32-20-generic: installed
drbd8, 8.3.7, 2.6.31-20-generic-pae, i686: installed

# Start it up
/etc/init.d/drbd start

I'm worried it won't automatically upgrade now that I've messed with the
builds in this way though.

Neale

-- 
package drbd8-source failed to install/upgrade: linux headers missing
https://bugs.launchpad.net/bugs/483410
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to drbd8 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 580416] [NEW] Services not starting after reboot, due to hung rc script S90console-screen.sh

2010-05-14 Thread Neale Rudd
Public bug reported:

Binary package hint: sysvinit

Hi Guys,

I have a problem with Lucid Lynx after upgrading one of our servers
today.

Other servers have had a couple of problems, but unrelated to this one.

The server boots fine and starts SSH, but various services are not
started (sysklogd, cron, heartbeat, DRBD, our startup scripts at various
rc run-levels).

After some review, I found that /etc/init.d/rc S is running, and that it
is stuck on /etc/rcS.d/S90console-screen.sh

I have been able to reproduce the problem on every reboot.

This is a server, so there is no graphical interface involved, and we
connect over SSH exclusively.

If I kill the rc process, most of the services start up (run-level 2
processes at least).

As a workaround, I've added exit at the top of the S90console-
screen.sh script, and now after a reboot everything completes correctly.

Unfortunately, if I run that script myself, it completes without
hanging, so I can't track down where the problem is occurring manually.
Also, since sysklogd is either not started, or gets killed at some
point, I can't get any useful logs from syslog.

Version: 2.6.32-22-generic-pae
Upgraded from 2.6.31-19-generic-pae using do-release-upgrade
Server: PowerEdge 2650

Sorry if this is being reported in the wrong package.  It seemed to be
related to initscripts, and LaunchPad has filed that under sysvinit.
Hopefully that's correct.

Best Regards,
Neale

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: initscripts 2.87dsf-4ubuntu17
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic-pae 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic-pae i686
Architecture: i386
Date: Fri May 14 19:28:24 2010
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: sysvinit

** Affects: sysvinit (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apport-bug i386 lucid

-- 
Services not starting after reboot, due to hung rc script S90console-screen.sh
https://bugs.launchpad.net/bugs/580416
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 580416] Re: Services not starting after reboot, due to hung rc script S90console-screen.sh

2010-05-14 Thread Neale Rudd

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/48435301/Dependencies.txt

-- 
Services not starting after reboot, due to hung rc script S90console-screen.sh
https://bugs.launchpad.net/bugs/580416
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 483410] Re: package drbd8-source failed to install/upgrade: linux headers missing

2010-05-14 Thread Neale Rudd
Hi,

I've had this same problem on a Lucid Lynx upgrade on all of our
servers.

It tried to upgrade 8.3.4 to 8.3.7

Version: 2.6.32-22-generic-pae
Upgraded from 2.6.31-19-generic-pae using do-release-upgrade
Server: PowerEdge 2650

After install, DRBD does not start:

* Starting DRBD resources 
Can not load the drbd module.

modprobe drbd
FATAL: Module drbd not found.

To rebuild it and get it working, I performed these steps.  It seems the 
headers were missing, or the new version didn't build properly due to 
dependancy errors (I'm afraid I didn't keep them, but it was listing 2.6.28-?? 
headers and saying it depended on them, even though those packages don't exist 
on our server.
# Check module versions
dkms status

drbd8, 8.3.7, 2.6.32-22-generic, i686: installed
drbd8, 8.3.7, 2.6.31-19-generic-pae, i686: installed

# Manual rebuild (remove old ones first that appear in dkms status)
dkms remove -m drbd8 -v 8.3.7 -k 2.6.32-22-generic
dkms remove -m drbd8 -v 8.3.7 -k 2.6.31-19-generic-pae

# Check module versions
dkms status
(nothing shows)

# Try to clean up and re-install
apt-get remove drbd8-utils
apt-get autoremove
apt-get clean
apt-get install drbd8-utils
/etc/init.d/drbd start

* Starting DRBD resources 
Can not load the drbd module.

# However, same problem, so tried to rebuild as follows:
dkms add -m drbd8 -v 8.3.7
apt-get install linux-headers-2.6.32-22-generic-pae
dkms build -m drbd8 -v 8.3.7 -a 2.6.32-22-generic-pae
dkms install -m drbd8 -v 8.3.7 -a 2.6.32-22-generic-pae

# On version warning error:
dkms uninstall -m drbd8 -v 8.3.7 -a 2.6.32-22-generic
dkms uninstall -m drbd8 -v 8.3.7 -a 2.6.32-22-generic-pae
dkms install -m drbd8 -v 8.3.7 -a 2.6.32-22-generic-pae --force

# Check module versions
dkms status
drbd8, 8.3.7, 2.6.32-22-generic, i686: installed
drbd8, 8.3.7, 2.6.32-22-generic-pae, 2.6.32-20-generic: installed
drbd8, 8.3.7, 2.6.31-20-generic-pae, i686: installed

# Start it up
/etc/init.d/drbd start

I'm worried it won't automatically upgrade now that I've messed with the
builds in this way though.

Neale

-- 
package drbd8-source failed to install/upgrade: linux headers missing
https://bugs.launchpad.net/bugs/483410
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs