Updating 5 packages on debian.bislinks.com ..
Updating apache2 to version 2.2.9-10+lenny11 .. .. update failed : Installing package(s) with command apt-get -y install apache2 apache2-mpm-prefork ..
Setting up locales (2.7-18lenny7) ... Generating locales (this might take a while)... aa_DJ.UTF-8... done aa_DJ.ISO-8859-1... done aa_ER.UTF-8... done aa_ER.UTF-8@saaho... done aa_ET.UTF-8... done af_ZA.UTF-8... done af_ZA.ISO-8859-1... done am_ET.UTF-8... done an_ES.UTF-8... done an_ES.ISO-8859-15... done ar_AE.UTF-8... done ar_AE.ISO-8859-6... done ar_BH.UTF-8... done ar_BH.ISO-8859-6... done ar_DZ.UTF-8... done ar_DZ.ISO-8859-6... done ar_EG.UTF-8... done ar_EG.ISO-8859-6... done ar_IN.UTF-8... done ar_IQ.UTF-8... done ar_IQ.ISO-8859-6... done ar_JO.UTF-8... done ar_JO.ISO-8859-6... done ar_KW.UTF-8... done ar_KW.ISO-8859-6... done ar_LB.UTF-8... done ar_LB.ISO-8859-6... done ar_LY.UTF-8... done ar_LY.ISO-8859-6... done ar_MA.UTF-8... done ar_MA.ISO-8859-6...E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
.. install failed!
Updating apache2-doc to version 2.2.9-10+lenny11 .. .. update failed : Error reading response length from fastrpc.cgi :
Updating apache2-mpm-prefork to version 2.2.9-10+lenny11 .. .. update failed : Error reading response length from fastrpc.cgi :
Updating apache2-utils to version 2.2.9-10+lenny11 ..
Comments
Submitted by JamieCameron on Tue, 09/06/2011 - 23:12 Comment #1
If you SSH into the system and try an update with a command like
apt-get install apache2
, does that work OK?no, that fails too.
Submitted by andreychek on Tue, 09/06/2011 - 23:47 Comment #3
What error do you see when running that manually, does it fail generating the locales? Or is it a different error?
output of above command:
apt-get install apache2 E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. debian:~# dpkg --configure -a Setting up locales (2.7-18lenny7) ... Generating locales (this might take a while)... aa_DJ.UTF-8... done aa_DJ.ISO-8859-1... done aa_ER.UTF-8... done aa_ER.UTF-8@saaho... done aa_ET.UTF-8... done af_ZA.UTF-8... done af_ZA.ISO-8859-1... done am_ET.UTF-8... done an_ES.UTF-8... done an_ES.ISO-8859-15... done ar_AE.UTF-8... done ar_AE.ISO-8859-6... done ar_BH.UTF-8... Broadcast message from root@debian.bislinks.com (Wed Sep 7 04:49:26 2011): The system is going down for system halt NOW! done ar_BH.ISO-8859-6... done ar_DZ.UTF-8...
yes, i think it fails to generate locales.
AND SHUTS DOWN??
Submitted by andreychek on Tue, 09/06/2011 - 23:52 Comment #6
You may want to try running this command:
dpkg --configure -a
It looks like something is in an unusual state, and running that command should cause dpkg to configure whatever it is that's awry.
nope. the command fails by system halt/restart
Submitted by andreychek on Wed, 09/07/2011 - 00:00 Comment #8
I was wondering if that was just a copy/paste error of some sort... did your system actually shut down there? That's quite unusual!
Are you seeing any unusual output towards the end of "dmesg", or perhaps in /var/log/kern.log?
No package update should ever cause a system shutdown, that makes me wonder if something else is going on...
it does restart the xen instance though whenever I get the system halt message when dpkg command is run.
I also note that mysqld never stays started. i have to start the mysqld again and again. i dont know if that is related.
dmesg:
ADDRCONF(NETDEV_UP): vif3238.0: link is not ready blkback: ring-ref 8, event-channel 8, protocol 2 (x86_32-abi) ADDRCONF(NETDEV_CHANGE): vif3238.0: link becomes ready xenbr0: port 3(vif3238.0) entering forwarding state xenbr0: port 3(vif3238.0) entering disabled state device vif3238.0 left promiscuous mode xenbr0: port 3(vif3238.0) entering disabled state device vif3239.0 entered promiscuous mode ADDRCONF(NETDEV_UP): vif3239.0: link is not ready blkback: ring-ref 8, event-channel 8, protocol 2 (x86_32-abi) ADDRCONF(NETDEV_CHANGE): vif3239.0: link becomes ready xenbr0: port 3(vif3239.0) entering forwarding state xenbr0: port 3(vif3239.0) entering disabled state device vif3239.0 left promiscuous mode xenbr0: port 3(vif3239.0) entering disabled state device vif3240.0 entered promiscuous mode ADDRCONF(NETDEV_UP): vif3240.0: link is not ready blkback: ring-ref 8, event-channel 8, protocol 2 (x86_32-abi) ADDRCONF(NETDEV_CHANGE): vif3240.0: link becomes ready xenbr0: port 3(vif3240.0) entering forwarding state
Submitted by JamieCameron on Wed, 09/07/2011 - 00:18 Comment #11
This seems outside the scope of Cloudmin if Debian packages are triggering a reboot!
How was this VM created exactly? From our images, or some other method?
from virtualmin images
Submitted by JamieCameron on Wed, 09/07/2011 - 12:54 Comment #13
Was it the image "Debian Lenny Xen instance with base OS" ?
Submitted by JamieCameron on Wed, 09/07/2011 - 18:34 Comment #14
I just tested creating a VM using the Cloudmin-provided lenny image, and then updating packages .. and it worked fine. The
locales
package took a long time as it seems to re-generate a lot of language files, but at no time did the VM reboot.it was Debian lenny xen instance with virtualmin gpl.
But i had the same problem with apache2 as before while updating packages for debian.bislinks.com
Here is the error report:
Updating 5 packages on debian.bislinks.com ..
Updating apache2 to version 2.2.9-10+lenny11 .. .. update failed : Installing package(s) with command apt-get -y install apache2 apache2-mpm-prefork ..
Setting up locales (2.7-18lenny7) ... Generating locales (this might take a while)... aa_DJ.UTF-8... done aa_DJ.ISO-8859-1... done aa_ER.UTF-8... done aa_ER.UTF-8@saaho... done aa_ET.UTF-8... done af_ZA.UTF-8... done af_ZA.ISO-8859-1... done am_ET.UTF-8... done an_ES.UTF-8... done an_ES.ISO-8859-15... done ar_AE.UTF-8... done ar_AE.ISO-8859-6... done ar_BH.UTF-8... done ar_BH.ISO-8859-6... done ar_DZ.UTF-8... done ar_DZ.ISO-8859-6... done ar_EG.UTF-8... done ar_EG.ISO-8859-6... done ar_IN.UTF-8... done ar_IQ.UTF-8... done ar_IQ.ISO-8859-6... done ar_JO.UTF-8...E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
.. install failed!
Updating apache2-doc to version 2.2.9-10+lenny11 .. .. update failed : Error reading response length from fastrpc.cgi :
Updating apache2-mpm-prefork to version 2.2.9-10+lenny11 ..
Submitted by JamieCameron on Fri, 09/09/2011 - 19:01 Comment #17
I just created a test VM from that image and then updated all packages on it, and it didn't reboot ..