[openvps-dev] problem with openvps control panel

Penelope DEVEREUX penelope.devereux at gmail.com
Tue May 10 00:56:00 EDT 2005


Hi,

I think I may have found another problem.  In the Control Panel for a
particular vserver, the "Bandwidth" link works, but "Disk", "CPU" and
"Memory" do not.  I get a 500 Internal Server Error from apache.  The
error log says the following:

[Mon May 09 23:06:14 2005] [error] [client 192.168.0.3] PythonHandler
openvps.www.panel: ValueError: opening
'/var/db/openvps/vsmon/widgets.rrd': No such file or directory,
referer: https://192.168.0.6/admin/widgets/stats

I have found the widgets.rrd file in /var/db/oh/.  Also, in

openvps/www/panel.py

around line 690 you see:

rrd = os.path.join(cfg.VAR_DB_OPENVPS, 'vsmon/%s.rrd' % name)

but I cannot see VAR_DB_OPENVPS in the /etc/openvps.conf file. But,
there is a VAR_DB_OH.

So I guess I'm wondering which way it is supposed to be because I
could fix the paths either way.  I would guess that /var/db/oh/ is the
bad path and /var/db/openvps/vsmon/ is the good path?  Then I also
guess that VAR_DB_OH is bad and a VAR_DB_OPENVPS is needed in the
config file?  I added VAR_DB_OPENVPS but it seemed to have no effect.

Any advice?

thanks!
penelope



More information about the dev mailing list