OVH Community, your new community space.

udev requires hotplug support, not started


SrvGuy
01-12-2014, 03:29
Quote Originally Posted by puchal
This is not a solution. 14.04 is LTS release, 14.10 will be outdated within a year.
100% Agreed. Distribution upgrade is messy, horrible and dangerous with KVM / Physical servers. But it's especially dangerous when using OpenVZ hosts . I've messed up things very seriously several times attempting it. So using LTS versions only makes perfect sense. I really don't recommend it, if you're not quite familiar with Linux / Ubuntu, because otherwise you could be easily meeting downtime for a week and lot of headache while looking for 1001 different how to fix that random problem. After fixing it, you'll notice that it wasn't the only problem and show goes on.

As well as fixing different kind of setup & configure scripts is real fun when those won't work due to udev problem. Anyway, tried the last fix mentioned here. Seems to be working, even if it's quite a hack. I'm happy now with it.

arbayong
29-11-2014, 12:01
Quote Originally Posted by uberguru
ah ok its seems to be some ubuntu thing, when i installed centos 7 that works fine, but of course if you need 14.04 here is the fix.

Ugly Temporary fix:

After getting this error:

nano /etc/init.d/udev

After the ### END INIT INFO add:

exit 0

Save and exit.

dpkg --configure -a
apt-get upgrade

Edit the file again, and remove the exit 0, save & exit

then installing subsequent packages work correctly and the system seems fine after reboots, without that awful error message ever appearing.

now have a working 14.04 vps.

there is a launchpad bug for it

https://bugs.launchpad.net/ubuntu/+s...d/+bug/1377624
this worked for me. i actually used filezilla to and my normal text editor to add the exit 0 (exit zero) line. everything is working fine so far.

uberguru
27-11-2014, 19:26
ah ok its seems to be some ubuntu thing, when i installed centos 7 that works fine, but of course if you need 14.04 here is the fix.

Ugly Temporary fix:

After getting this error:

nano /etc/init.d/udev

After the ### END INIT INFO add:

exit 0

Save and exit.

dpkg --configure -a
apt-get upgrade

Edit the file again, and remove the exit 0, save & exit

then installing subsequent packages work correctly and the system seems fine after reboots, without that awful error message ever appearing.

now have a working 14.04 vps.

there is a launchpad bug for it

https://bugs.launchpad.net/ubuntu/+s...d/+bug/1377624

uberguru
27-11-2014, 18:45
if you get a reply to your ticket update the thread. exactly the same thing makes 14.04 unusable, i believe this has to be fixed at the host level so not anything that can be done in the VM itself

SBRL
26-11-2014, 17:51
Quote Originally Posted by puchal
This is not a solution. 14.04 is LTS release, 14.10 will be outdated within a year. I just bought first VPS on OVH and seems it was a mistake. Support ticket was created in the morning and nobody even acknowledged it yet...
I know that it isn't a proper solution - that is why I put quotes around the word 'solve'.

puchal
25-11-2014, 21:27
This is not a solution. 14.04 is LTS release, 14.10 will be outdated within a year. I just bought first VPS on OVH and seems it was a mistake. Support ticket was created in the morning and nobody even acknowledged it yet...

SBRL
20-11-2014, 19:30
Quote Originally Posted by Neil
Hi

It is a VPS issue and the simple thing to do is remove udec and libudev as it is not needed on an OpenVZ VPS.
This Results on the removal of cron for some reason.

I have managed to 'solve' the problem accidentally by upgrading to Ubuntu 14.10 - I no longer get the warning. udev is still not started, but the system doesn't seem to notice

By doing some digging, I have also found out that the problem is rooted in the fact that the kernel that the VPS is provided with is outdated (version: 2.6, latest is ~3.something) - and this old version does not have hotplug support. In addition, I discovered that you must have a dedicated server in order to change your own kernel due to the underlying system that runs the virtual private servers.

Neil
20-11-2014, 15:26
Hi

It is a VPS issue and the simple thing to do is remove udec and libudev as it is not needed on an OpenVZ VPS.

zoubayoucef
19-11-2014, 20:40
Same issue here with brand new VPS. Can't install packages. !!!!!!!!!!! NEED SOLUTION !!

SrvGuy
17-11-2014, 19:00
Same issue here with brand new VPS. Can't install packages. It seems that Digital Oceaan is calling.

domarmstrong
15-11-2014, 09:45
Is there any solution to this yet, I have almost the exact same problem.. udev is failing and so other packages are failing.

thejeed
16-10-2014, 10:02
I've to the same problem since weeks. And would be thankful for help. Ubuntu 14.04

NomOm
06-10-2014, 17:04
Same here, any solutions?
Using Ubuntu 14.04

maxelton
20-09-2014, 02:39
Quote Originally Posted by SBRL
I am fairly new to OVH and linux - I have had an ubuntu server VPS for a month or two now.

When I run sudo apt-get dist-upgrade, a package called udev fails to configure. Here is a copy of what appears in my terminal:

$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up udev (204-5ubuntu20.3) ...
* udev requires hotplug support, not started
...fail!
invoke-rc.d: initscript udev, action "restart" failed.
dpkg: error processing package udev (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of initramfs-tools:
initramfs-tools depends on udev (>= 147~-5); however:
Package udev is not configured yet.

dpkg: error processing package initramfs-tools (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of plymouth:
plymouth depends on initramfs-tools; however:
Package initramfs-tools is not configured yet.
plymouth depends on udev (>= 166-0ubuntu4); however:
Package udev is not configured yet.

dpkg: error processing package plymouth (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of plymouth-theme-ubuntu-text:
plymouth-theme-ubuntu-text depends on plymouth; however:
Package plymouth is not configured yet.

dpkg: error processing package plymouth-theme-ubuntu-text (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
udev
initramfs-tools
plymouth
plymouth-theme-ubuntu-text
E: Sub-process /usr/bin/dpkg returned an error code (1)


Is this something I need to worry about, and how do I correctly configure udev?

Thanks in advance for any assistance.
I am getting the same error, and wondering the same thing. Anyone have an answer?

SBRL
07-08-2014, 10:59
I am fairly new to OVH and linux - I have had an ubuntu server VPS for a month or two now.

When I run sudo apt-get dist-upgrade, a package called udev fails to configure. Here is a copy of what appears in my terminal:

$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up udev (204-5ubuntu20.3) ...
* udev requires hotplug support, not started
...fail!
invoke-rc.d: initscript udev, action "restart" failed.
dpkg: error processing package udev (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of initramfs-tools:
initramfs-tools depends on udev (>= 147~-5); however:
Package udev is not configured yet.

dpkg: error processing package initramfs-tools (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of plymouth:
plymouth depends on initramfs-tools; however:
Package initramfs-tools is not configured yet.
plymouth depends on udev (>= 166-0ubuntu4); however:
Package udev is not configured yet.

dpkg: error processing package plymouth (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of plymouth-theme-ubuntu-text:
plymouth-theme-ubuntu-text depends on plymouth; however:
Package plymouth is not configured yet.

dpkg: error processing package plymouth-theme-ubuntu-text (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
udev
initramfs-tools
plymouth
plymouth-theme-ubuntu-text
E: Sub-process /usr/bin/dpkg returned an error code (1)


Is this something I need to worry about, and how do I correctly configure udev?

Thanks in advance for any assistance.