Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd September 2012, 16:50
noaptus noaptus is offline
Junior Member
 
Join Date: Dec 2008
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
Default OpenVZ Error installing on Debian 6

Hi.

I'm following this How to install OpenVZ on debian 6 i'm not using AMD http://www.howtoforge.com/installing...-squeeze-amd64

And i'm getting error when i use this command

apt-get -y install linux-image-openvz-686 vzctl vzquota vzdump



Code:
root@Vps:~# apt-get -y install linux-image-openvz-686 vzctl vzquota vzdump
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-image-openvz-686 is already the newest version.
vzctl is already the newest version.
vzdump is already the newest version.
vzquota is already the newest version.
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.
Setting up vzctl (3.0.24-12) ...
Starting OpenVZ: failed to load module vzmon..failed
invoke-rc.d: initscript vz, action "start" failed.
dpkg: error processing vzctl (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-2.6.32-5-openvz-686:
 linux-image-2.6.32-5-openvz-686 depends on vzctl; however:
  Package vzctl is not configured yet.
dpkg: error processing linux-image-2.6.32-5-openvz-686 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-openvz-686:
 linux-image-openvz-686 depends on linux-image-2.6.32-5-openvz-686; however:
  Package linux-image-2.6.32-5-openvz-686 is not configured yet.
dpkg: error processing linux-image-openvz-686 (--configure):
 dependency problems - leaving unconfigured
configured to not write apport reports
                                      configured to not write apport reports
                                                                            configured to not write apport reports
                                                                                                                  configured to not write apport reports
                                                                                                                                                        dpkg: dependency problems prevent configuration of vzdump:
 vzdump depends on vzctl; however:
  Package vzctl is not configured yet.
dpkg: error processing vzdump (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 vzctl
 linux-image-2.6.32-5-openvz-686
 linux-image-openvz-686
 vzdump
E: Sub-process /usr/bin/dpkg returned an error code (1)
My debian is minimal install.


Can someone help me on this please.

Regards

Noaptus
Reply With Quote
Sponsored Links
  #2  
Old 23rd September 2012, 22:37
noaptus noaptus is offline
Junior Member
 
Join Date: Dec 2008
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
Default Help

Hi.

Can someone help me?
Reply With Quote
  #3  
Old 24th September 2012, 13:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,711
Thanks: 1,900
Thanked 2,702 Times in 2,545 Posts
Default

Can you try to install vzctl first...

Code:
apt-get install vzctl
... and then (in a second step) all other packages?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 24th September 2012, 20:11
noaptus noaptus is offline
Junior Member
 
Join Date: Dec 2008
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
Default No

Hi Falko.

Thanku for taking the time to replay my post.

I did as you told me to try and this is the result.

Code:
root@Vps:~# apt-get install vzctl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  vzctl
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 210 kB of archives.
After this operation, 1020 kB of additional disk space will be used.
Get:1 http://ftp.debian.org/debian/ squeeze/main vzctl i386 3.0.24-12 [210 kB]
Fetched 210 kB in 9s (21.1 kB/s)
Selecting previously deselected package vzctl.
(Reading database ... 17852 files and directories currently installed.)
Unpacking vzctl (from .../vzctl_3.0.24-12_i386.deb) ...
Processing triggers for man-db ...
Setting up vzctl (3.0.24-12) ...
Starting OpenVZ: failed to load module vzmon..failed
invoke-rc.d: initscript vz, action "start" failed.
dpkg: error processing vzctl (--configure):
 subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
                                      Errors were encountered while processing:
 vzctl
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@Vps:~#
I'm still getting the error installing VZCTL
Reply With Quote
  #5  
Old 25th September 2012, 20:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,711
Thanks: 1,900
Thanked 2,702 Times in 2,545 Posts
Default

Can you run
Code:
modprobe vzmon
and try again?

Can you post your /etc/apt/sources.list? I'm under the impression that you're using multiple repositories.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 1st October 2012, 22:16
MaddinXx MaddinXx is offline
Senior Member
 
Join Date: Jul 2011
Location: Switzerland
Posts: 192
Thanks: 25
Thanked 58 Times in 42 Posts
 
Default

A quick note aside.

I recommend you installing the official OpenVZ kernel/tools like described here:

http://wiki.openvz.org/Install_kerne..._on_Debian_6.0

Note that they missed ploop-lib and libcgroup (http://download.openvz.org/utils/libcgroup/) which you need to download/build the same way like the other packages.

Why?

Well, I can't tell you from a very technical view but:

- you'll get ploop support (container in a single file) (this has many benefits)
- latest versions of all packages needed for openvz
- I got better general performance (e.g. less resources idle on node)

However, keeping those packages up-to-date is more complicated as you have to rerun these steps every time a new package is released.

I'm currently checking if alien builds packages are "based on the current system" or if a .deb built with alien is valid on any other machine with the same architecture/system - in that case, I'm going to try to put a repo online.

Regards,
Michel
__________________
Rackster Internet Services's presences:
Official | Open Source | Github | Facebook | Twitter
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation just stops, and dies. cosmicsafari Installation/Configuration 3 19th July 2011 10:24
[debian 5 + ispconfig 3] Unable to send mail tanakskool HOWTO-Related Questions 6 4th November 2009 18:20
Bind Failed christoph2k HOWTO-Related Questions 4 28th April 2007 00:57
Pls Help - Problem installing OpenVZ with Debian Etch. joelee HOWTO-Related Questions 3 14th January 2007 18:37
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 14:42


All times are GMT +2. The time now is 21:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.