[openvps-dev] error in openvps customize

Gregory (Grisha) Trubetskoy grisha at ispol.com
Thu May 5 14:16:01 EDT 2005



Hmmm... Your reference server _should_ have a /usr/libexec/oh - this is 
where the real traceroute should live. Perhaps it did not get copied 
correctly when you did "openvps clone"? Did you get any errors/warning 
when cloning?

Grisha


On Thu, 5 May 2005, Penelope DEVEREUX wrote:

> Hi,
>
> Another problem, this time with openvps customize... trace below:
>
> This time in file
>
> /usr/lib/python2.3/site-packages/openvps/host/vds.py
>
> around line 838 where it reads:
>
> path = os.path.join(root, 'usr/libexec/oh/', file)
>
> but there is nothing inside usr/libexec/oh i think perhaps what was meant was
>
> path = os.path.join(root, 'bin/', file)
>
> where is where the traceroute bin is located.  That seemed to get rid
> of the error.
>
> peace!
>
> ---
> Setting flags in usr/libexec/oh
> Traceback (most recent call last):
>  File "/usr/sbin/openvps", line 258, in ?
>    main()
>  File "/usr/sbin/openvps", line 254, in main
>    cmd_func()
>  File "/usr/sbin/openvps", line 94, in cmd_customize
>    vds.customize(name, xid, ip, userid, passwd, disklim)
>  File "/usr/lib/python2.3/site-packages/openvps/host/vds.py", line
> 933, in customize
>    vserver_fixup_libexec_oh(root)
>  File "/usr/lib/python2.3/site-packages/openvps/host/vds.py", line
> 839, in vserver_fixup_libexec_oh
>    vsutil.set_file_immutable_unlink(path)
>  File "/usr/lib/python2.3/site-packages/openvps/host/vsutil.py", line
> 258, in set_file_immutable_unlink
>    return vserver.set_file_attr(path, {'immutable':True, 'iunlink':True})
>  File "/usr/lib/python2.3/site-packages/vserver.py", line 167, in set_file_attr
>    return _vserver.vc_set_iattr(name, _xid, _flags, _mask)
> IOError: [Errno 2] No such file or directory:
> '/vserver/widgets/usr/libexec/oh/traceroute'
>
> _______________________________________________
> dev mailing list
> dev at openvps.org
> http://dev.openhosting.com/mailman/listinfo/dev
>


More information about the dev mailing list