Results 1 to 12 of 12
  1. #1
    Join Date
    Feb 2007
    Posts
    327

    Lightbulb error no_vzctl in openvz

    i Can't create VPS - error no_vzctl ()
    What should I do?
    Soon ...

  2. #2
    Join Date
    Feb 2007
    Posts
    327
    [root@localhost ~]# which vzctl
    /usr/bin/which: no vzctl in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/l ocal/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/ bin)
    Soon ...

  3. #3
    Join Date
    May 2001
    Location
    Mass.
    Posts
    56
    Have your tried a "yum install vzctl" ?

  4. #4
    Join Date
    Feb 2007
    Posts
    327
    [root@localhost /]# yum install vzctl
    Existing lock /var/run/yum.pid: another copy is running. Aborting.


    :-(
    Soon ...

  5. #5
    ps -aux | grep vzctl

  6. #6
    Join Date
    Apr 2004
    Location
    Singapore
    Posts
    1,522
    Quote Originally Posted by robocap View Post
    [root@localhost /]# yum install vzctl
    Existing lock /var/run/yum.pid: another copy is running. Aborting.


    :-(
    since you have another yum running, you should let it complete first. If not, you can force to kill the process

    ps aux | grep yum | grep -v grep
    Kill the process number

    kill -9 xxx
    Install vzctl from yum

    yum install vzctl
    If yum complains nothing is found, you can install directly using the rpm

    http://openvz.org/download/utils/vzctl/3.0.18-1

    Enjoy!
    tanfwc

  7. #7
    Join Date
    Feb 2007
    Posts
    327
    [root@localhost ~]# ps aux | grep yum | grep -v grep
    root 4251 0.4 0.0 0 0 pts/0 Z 02:34 0:00 [yum] <defunct>
    root 4272 0.1 0.0 0 0 pts/0 Z 02:35 0:00 [yum] <defunct>


    [root@localhost ~]# yum install vzctl Existing lock /var/run/yum.pid: another copy is running. Aborting.


    no again :-(
    Soon ...

  8. #8
    Join Date
    Feb 2006
    Location
    Pakistan/India/USA
    Posts
    322

    Re:

    Dear robocap,

    Use following command.

    killall -9 yum
    yum -y install vzctl


    Best Regards.
    Tom F - VCA-WM, VCA-Cloud, VCA-DCV, CISSO, CPTE, OSCP, RHCE, RHCT
    Maxim Support - Hosting Solutions & Server Management
    Email : tom@maximsupport.com
    Web : http://www.maximsupport.com

  9. #9
    Join Date
    Apr 2004
    Location
    Singapore
    Posts
    1,522
    try this

    kill -9 `cat /var/run/yum.pid`
    You got to start learning to get things right
    tanfwc

  10. #10
    Join Date
    Feb 2007
    Posts
    327
    Hello
    thank you very much
    i reboot my server
    i try run: http://lxlabs.com/software/hypervm/install/

    [root@localhost /]# setenforce 0
    setenforce: SELinux is disabled
    [root@localhost /]# wget http://download.lxlabs.com/download/...tall-master.sh
    --04:29:46-- http://download.lxlabs.com/download/...tall-master.sh
    => `hypervm-install-master.sh.2'
    Resolving download.lxlabs.com... 66.98.210.152
    Connecting to download.lxlabs.com|66.98.210.152|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 752 [application/octet-stream]

    100%[====================================>] 752 --.--K/s

    04:29:46 (71.72 MB/s) - `hypervm-install-master.sh.2' saved [752/752]


    and

    [root@localhost /]# sh ./hypervm-install-master.sh --virtualization-type=NONE Setting up Install Process
    Setting up repositories
    Reading repository metadata in from local files
    Parsing package install arguments
    Resolving Dependencies
    --> Populating transaction set with selected packages. Please wait.
    ---> Package php.i386 0:5.2.1-3 set to be updated
    --> Running transaction check
    --> Processing Dependency: httpd-mmn = 20020903 for package: php
    --> Processing Dependency: httpd for package: php
    --> Processing Dependency: php-common = 5.2.1-3 for package: php
    --> Processing Dependency: php = 4.3.9-3.22.5 for package: php-pear
    --> Processing Dependency: php-cli = 5.2.1-3 for package: php
    --> Restarting Dependency Resolution with new changes.
    --> Populating transaction set with selected packages. Please wait.
    ---> Package php-cli.i386 0:5.2.1-3 set to be updated
    ---> Package httpd.i386 0:2.0.52-32.3.ent.centos4 set to be updated
    ---> Package php-common.i386 0:5.2.1-3 set to be updated
    --> Running transaction check
    --> Processing Dependency: php = 4.3.9-3.22.5 for package: php-pear
    --> Finished Dependency Resolution
    Error: Missing Dependency: php = 4.3.9-3.22.5 is needed by package php-pear
    --04:30:17-- http://download.lxlabs.com/download/program-install.zip
    => `program-install.zip'
    Resolving download.lxlabs.com... 66.98.210.152
    Connecting to download.lxlabs.com|66.98.210.152|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 51,877 (51K) [application/zip]

    100%[====================================>] 51,877 --.--K/s

    04:30:17 (423.38 KB/s) - `program-install.zip' saved [51877/51877]

    groupadd: group lxlabs exists
    useradd: user lxlabs exists
    Content-type: text/html
    X-Powered-By: PHP/4.3.9

    Installing packages which lxlighttpd zip unzip lxphp lxzend curl mysql mysql-server mysqlclient10...
    Setting up Install Process
    Setting up repositories
    Reading repository metadata in from local files
    Parsing package install arguments
    Nothing to do
    Up2date Gave Error... Trying Again...
    Installing packages which lxlighttpd zip unzip lxphp lxzend curl mysql mysql-server mysqlclient10...
    Setting up Install Process
    Setting up repositories
    Reading repository metadata in from local files
    Parsing package install arguments
    Nothing to do
    Up2date Gave Error... Trying Again...
    Installing packages which lxlighttpd zip unzip lxphp lxzend curl mysql mysql-server mysqlclient10...

    [1]+ Stopped sh ./hypervm-install-master.sh --virtualization-type=NONE
    [root@localhost /]#


    problem is with this error
    Soon ...

  11. #11
    Join Date
    Feb 2007
    Posts
    327
    i run :
    [root@localhost ~]# pkill -9 -f yum
    [root@localhost ~]# ps aux | grep yum | grep -v grep
    root 4345 0.0 0.0 0 0 pts/0 Z 04:43 0:00 [yum] <defunct>
    root 4392 1.2 0.0 0 0 pts/0 Z 04:53 0:00 [yum] <defunct>


    and again run
    sh ./hypervm-install-master.sh --virtualization-type=NONE

    and again take this error

    and again i run :
    ps aux | grep yum | grep -v grep
    root 4345 0.0 0.0 0 0 pts/0 Z 04:43 0:00 [yum] <defunct>
    root 4392 0.1 0.0 0 0 pts/0 Z 04:53 0:00 [yum] <defunct>
    root 4445 0.0 0.2 7896 2500 pts/0 T 04:55 0:00 /usr/bin/python /usr/bin/yum -y install which lxlighttpd zip unzip lxphp lxzend curl mysql mysql-server mysqlclient10
    root 4476 0.0 0.2 9356 2776 pts/0 T 04:55 0:00 /usr/bin/python /usr/bin/yum -y install which lxlighttpd zip unzip lxphp lxzend curl mysql mysql-server mysqlclient10
    root 4492 1.9 0.9 18104 9676 pts/0 T 04:55 0:00 /usr/bin/python /usr/bin/yum -y install which lxlighttpd zip unzip lxphp lxzend curl mysql mysql-server mysqlclient10
    Soon ...

  12. #12
    Join Date
    Feb 2007
    Posts
    327
    Hello
    Thank you very very very much


    problem was of mysqlclient10-3.23.58-4.RHEL4.1
    i reinstall this rpm again

    Good luck to all
    your product is very powerful

    Bye now
    Soon ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •