OpenVZ Forum


Home » General » Support » vzctl returns non-option ARGV-elements error (unexpected behaviour of vzctl command)
vzctl returns non-option ARGV-elements error [message #39916] Wed, 23 June 2010 13:35 Go to next message
steveh is currently offline  steveh
Messages: 6
Registered: June 2010
Location: Atlanta, GA USA
Junior Member

Hello,

I have a 2.6.18-194.3.1.el5.028stab069.6 system on Centos 5 and the vzctl command (run on the HN) is returning an error as follows:

# vzctl set 101 -onboot no --save
non-option ARGV-elements: -onboot no

or

# vzctl set 104 -devnodes random:rw -save
non-option ARGV-elements: -devnodes random:rw -save

The containers exist and can be entered. The error occurs both if the container is running and stopped.

I have tried recompiling vzctl from source with "./configure --enable-bashcomp --enable-logrotate" and it did not resolve the problem.

Any hints or suggestions?

Stuck Until Then,

Steve H
Re: vzctl returns non-option ARGV-elements error [message #39917 is a reply to message #39916] Wed, 23 June 2010 14:14 Go to previous messageGo to next message
steveh is currently offline  steveh
Messages: 6
Registered: June 2010
Location: Atlanta, GA USA
Junior Member

Those examples are:

"vzctl set 101 --onboot no --save"

and

"vzctl set 104 --devnodes random:rw --save"

I noticed that without the quotes some of the dashes disappeared.

- SteveH
Re: vzctl returns non-option ARGV-elements error [message #39919 is a reply to message #39917] Wed, 23 June 2010 15:06 Go to previous message
steveh is currently offline  steveh
Messages: 6
Registered: June 2010
Location: Atlanta, GA USA
Junior Member

Resolved. Re-entered the commands character by character instead of cut and paste to putty from a Win document and they worked.
Previous Topic: No kernel logs with OpenVZ?
Next Topic: How to let CT's(public IP) out ip show it's own
Goto Forum:
  


Current Time: Tue Nov 05 23:23:15 GMT 2024

Total time taken to generate the page: 0.03543 seconds