Can't call method "accept" on an undefined value at /sbin/init line 62.

jmartin

Member
Mar 17, 2009
40
0
6
Hi,

I keep running into the error message mentioned in the subject.

Here's my dab.conf:
Code:
Suite: lenny
CacheDir: /root/dab/cache
Source: http://ftp.debian.org/debian SUITE main contrib
Source: http://security.debian.org SUITE/updates main contrib
Source: http://www.backports.org/debian SUITE-backports main contrib
Architecture: amd64
Name: my-debian-5.0-minimal
Version: 1.0
Section: system
...
The error happens when I

  • try to install emacs (dab install emacs), or
  • update locales (run a script using dab exec that modifies /etc/locale.gen and then runs locale-gen)
If I finalize the appliance first and then install emacs or update the locales, everything runs fine.

When this happens, I cannot restart the VE created by dab. init.log shows the error message mentioned above.

Any hints?
 
I just found out: the error happens in DAB's init.pl which is installed as a fake init by DAB. And it happens whenever you try to restart a DAB ve.

So the problem can be reproduced by:
Code:
dab init
dab bootstrap
vzctl stop `dab veid`  # simulate a crash
vzctl start `dab veid`
init.pl tries to open /dev/log and read from it, but for some reason this fails.

If I replace the fake init by the real distrib's init, the container starts again.
 
Just tested, and everything works perfectly here.

I just tested this on a different server (shares /var/lib/vz with the other server via drbd and ocfs2) and it works perfectly for me, too...

Problem server is HP DL385 (AMD Opteron(tm) Processor 280), good server is HP DL380 G5 (Intel(R) Xeon(R) CPU E5410 @ 2.33GHz). Memory, hard drive and OS level is pretty much identical on both systems...
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!