OpenVZ Forum


Home » Mailing lists » Users » How-to upgrade a Ubuntu-8.04 LTS VE to a 10.04 VE?
Re: How-to upgrade a Ubuntu-8.04 LTS VE to a 10.04 VE? [message #41626 is a reply to message #41610] Thu, 10 February 2011 19:36 Go to previous messageGo to previous message
Josip Rodin is currently offline  Josip Rodin
Messages: 14
Registered: November 2007
Junior Member
On Wed, Feb 09, 2011 at 08:34:03PM -0800, Michael Chinn wrote:
> The upgrade process produced some error such as:
>
> Setting up makedev (2.3.1-89ubuntu1) ...
> /sbin/MAKEDEV: warning: can't read /proc/devices
> /sbin/MAKEDEV: warning: can't read /proc/devices
> /sbin/MAKEDEV: warning: can't read /proc/devices

This stuff may be inconsequential... Did dpkg abort here or was this just
stderr output you noticed?

> Setting up klogd (1.5-5ubuntu4) ...
> Installing new version of config file /etc/init.d/klogd ...
> * Stopping kernel log daemon...
> * Starting kernel log daemon...
> [ fail]

What does this machine's syslog say about klogd failing?
Read it through /var/lib/vz/root/1041/var/log/syslog or similar.

> Unable to open pty: No such file or directory
>
> And from: http://forum.openvz.org/index.php?t=msg&goto=34305
>
> I tried this fix:
> #vzctl exec 1041 'dpkg --force-depends --purge udev'
> #vzctl exec 1041 update-rc.d -f udev remove
> #vzctl restart 1041
> #vzctl enter 1041
> enter into VE 1041 failed
> Unable to open pty: No such file or directory

You removed udev, which controls /dev entries (wrongly in a VE, I guess),
but once you get rid of it, we're still not sure if the static /dev entries
got back in place, esp. if it's not working.

The linked bug report indicates that vzctl enter needs /dev/ptyp0. Can you
list the contents of the /var/lib/vz/root/1041/dev directory and see if it's
there now? If not, run "vzctl exec 1041 /sbin/MAKEDEV ptyp" and see if that
creates it?

--
2. That which causes joy or happiness.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Where to upload Squeeze templates?
Next Topic: bind mounts and quota
Goto Forum:
  


Current Time: Tue Jul 29 13:56:56 GMT 2025

Total time taken to generate the page: 0.18719 seconds