OpenVZ Forum


Home » General » Support » vzyum not found => disappeared?
icon9.gif  vzyum not found => disappeared? [message #38510] Mon, 28 December 2009 18:58 Go to next message
michaelk is currently offline  michaelk
Messages: 8
Registered: November 2009
Junior Member
Hi Everyone!

I don't know if I've played with my system to much or if this disappeared during an update....

Anyhow I'm missing the vzyum command Sad

# vzyum
-bash: vzyum: command not found

# uname -r
2.6.18-164.2.1.el5.028stab066.10

# cat /etc/redhat-release 
CentOS release 5.4 (Final)

# rpm -q vzyum
vzyum-2.4.0-11

# vzlist 
      CTID      NPROC STATUS    IP_ADDR         HOSTNAME                        
       101          2 running   192.168.2.171   openvz                          
       102          2 running   -               vz102    

# rpm -ql vzyum | grep bin
/usr/share/vzyum/bin/yum

# /usr/share/vzyum/bin/yum -c /vz/template/centos/5/i386/config/yum.conf --installroot=/vz/root/101 --vps=101  list
Traceback (most recent call last):
  File "/usr/share/vzyum/bin/yum", line 28, in ?
    yummain.main(sys.argv[1:])
  File "/usr/share/vzyum/yum-cli/yummain.py", line 92, in main
    result, resultmsgs = do()
  File "/usr/share/vzyum/yum-cli/cli.py", line 459, in doCommands
    self.doTsSetup()
  File "/usr/share/vzyum/lib/yum/__init__.py", line 182, in doTsSetup
    self.initActionTs()
  File "/usr/share/vzyum/lib/yum/depsolve.py", line 56, in initActionTs
    self.ts.setVPS(self.conf.vps)
  File "/usr/share/vzyum/lib/rpmUtils/transaction.py", line 48, in __getattr__
    return self.getMethod(attr)
  File "/usr/share/vzyum/lib/rpmUtils/transaction.py", line 58, in getMethod
    return getattr(self.ts, method)
AttributeError: 'rpm.ts' object has no attribute 'setVPS'



Any hints what happened with my vzyum command?

Thanks in advance & Happy new year!

Michael
Re: vzyum not found => disappeared? [message #38545 is a reply to message #38510] Wed, 30 December 2009 00:38 Go to previous message
michaelk is currently offline  michaelk
Messages: 8
Registered: November 2009
Junior Member
managed to solve this...I was missing the vzpkg rpm....
Previous Topic: can not compile openfabrics on centos 5.4 kernel 2.6.18-164
Next Topic: See connections from other VE's in netstat
Goto Forum:
  


Current Time: Thu Apr 25 04:47:09 GMT 2024

Total time taken to generate the page: 0.01904 seconds