On Sun, 15 Oct 2006 01:30:24 +0200, Ola wrote in message <[EMAIL PROTECTED]>:
> Hi > > I think I need some help from you. I have not seen this problem > with vz so I need help in order to determine what the problem is. ..the problem I see, is vzctl is failing to start up on installing and upgrading. Does it at all _need_ to start up to install correctly??? ..if not, it shouldn't try, the installer should check first, before deciding to start up. ..on upgrading a box with vz running, you can assume vz is expected to run on the box after the upgrade is done. Set a flag file in /vaƄr/tmp or somewhere from /var/lib/dpkg/info/vzctl.prerm. ..if vz isn't running, like on my box, that fact is not neccessarily a problem, I install a _lot_ of junk to help spot conflicts and RTFM's, and I like to keep all services "as is" on upgrades, rather than keep mowing links outta /etc/rc2.d/. ..that too can be checked; dpkg -L vzctl or somesuch against whatever you have in your vzctl*.deb. > Do you have any clue? ..only fragmentary. ;o) > Do you have a openvz enabled kernel? ..dunno, how do I find out? > Regards, > > // Ola > > On Sun, Oct 15, 2006 at 12:19:17AM +0200, Arnt Karlsen wrote: > > Package: vzctl > > Version: 3.0.11-4 > > Followup-For: Bug #378045 > > > > > > ...term output > > Setting up vzctl (3.0.11-4) ... > > Starting OpenVZ: ..failed > > invoke-rc.d: initscript vz, action "start" failed. > > dpkg: error processing vzctl (--configure): > > subprocess post-installation script returned error exit status 1 > > Setting up wims (3.56-7) ... > > Rendering fonts, sizes 63 to 173: > > > > dpkg: error processing wims (--configure): > > subprocess post-installation script returned error exit status 1 > > Errors were encountered while processing: > > vzctl > > wims > > Updating Debian Packages of System Configurations (dpsyco). > > sync: invalid option -- c > > Try `sync --help' for more information. > > This account is currently not available. > > E: Sub-process /usr/bin/dpkg returned an error code (1) > > A package failed to install. Trying to recover: > > Setting up vzctl (3.0.11-4) ... > > Starting OpenVZ: ..failed > > invoke-rc.d: initscript vz, action "start" failed. > > dpkg: error processing vzctl (--configure): > > subprocess post-installation script returned error exit status 1 > > Setting up wims (3.56-7) ... > > Rendering fonts, sizes 63 to 173: > > > > dpkg: error processing wims (--configure): > > subprocess post-installation script returned error exit status 1 > > Errors were encountered while processing: > > vzctl > > wims > > a45:~# history |grep mcedit > > 110 history |grep mcedit > > 111 mcedit /var/lib/dpkg/info/apache2-mpm-prefork.postinst > > 112 mcedit /var/lib/dpkg/info/apache2-common.postinst > > 115 mcedit /etc/default/apache2 > > 118 mcedit /var/lib/dpkg/info/apache2-common.prerm > > 119 mcedit /var/lib/dpkg/info/vzctl.postinst > > 120 mcedit /var/lib/dpkg/info/multipath-tools.postinst > > 121 mcedit /var/lib/dpkg/info/vzctl.postinst > > 479 mcedit /usr/lib/emacsen-common/emacs-package-install > > 491 mcedit /var/lib/dpkg/info/nginx.postrm > > 492 mcedit /var/lib/dpkg/info/nginx.prerm > > 504 mcedit /var/lib/dpkg/info/wims.postinst > > 528 history |grep mcedit > > a45:~# !121 > > mcedit /var/lib/dpkg/info/vzctl.postinst > > (I just added " ||exit 0" to the start-up lines. > > These should also chk if I wanna keep it running > > after I'm done aptitude upgrading, I simply weed > > "academic interest" stuff outta /etc/rc2.d/ , so > > one way could be chk /etc/inittab for my default > > runlevel and chk the relevant /etc/rc*.d/ to see > > if it should be stopped after the install, or if > > it needs to be started at all for the install.) > > > > a45:~# aptitude upgrade > > Reading package lists... Done > > Building dependency tree... Done > > Reading extended state information > > Initializing package states... Done > > Reading task descriptions... Done > > Building tag database... Done > > The following packages have been kept back: > > tulip > > The following packages will be upgraded: > > gtk2-engines-pixbuf gtk2.0-examples libgtk2.0-0 libgtk2.0-bin > > libgtk2.0-common libgtk2.0-dev > > 6 packages upgraded, 0 newly installed, 0 to remove and 1 not > > upgraded. Need to get 3754kB/8089kB of archives. After unpacking > > 4096B will be used. Do you want to continue? [Y/n/?] > > Get:1 http://192.168.1.90 unstable/main libgtk2.0-common 2.8.20-2 > > [3754kB] Fetched 3754kB in 1s (1971kB/s) > > Setting up vzctl (3.0.11-4) ... > > Starting OpenVZ: ..failed > > invoke-rc.d: initscript vz, action "start" failed. > > > > > > ...but mcedit /var/lib/dpkg/info/vzctl.postinst "fixed" my install. > > (I just added " ||exit 0" to the start-up lines. > > These should also chk if I wanna keep it running > > after I'm done aptitude upgrading, I simply weed > > "academic interest" stuff outta /etc/rc2.d/ , so > > one way could be chk /etc/inittab for my default > > runlevel and chk the relevant /etc/rc*.d/ to see > > if it should be stopped after the install, or if > > it needs to be started at all for the install.) > > > > > > -- System Information: > > Debian Release: testing/unstable > > APT prefers unstable > > APT policy: (500, 'unstable') > > Architecture: i386 (i586) > > Shell: /bin/sh linked to /bin/bash > > Kernel: Linux 2.6.18-1-486 > > Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) > > > > Versions of packages vzctl depends on: > > ii iproute 20060323-1 Professional tools to > > control the ii libc6 2.3.6.ds1-6 GNU C > > Library: Shared libraries > > > > vzctl recommends no packages. > > > > -- no debconf information > > > > > > > -- ..med vennlig hilsen = with Kind Regards from Arnt... ;o) ...with a number of polar bear hunters in his ancestry... Scenarios always come in sets of three: best case, worst case, and just in case. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]