Last few weeks I’ve been experimenting with OpenQRM (http://www.openqrm.org). The initial installation did not cause any big problems. After logging in to the interface and trying to enable plugins, this just timed-out. I tried to manually start the plugins on the console (eg. /usr/lib/openqrm/plugins/dns/etc/init.d/openqrm-plugin-dns  start). This command started the plugin without any problem. Next I tried to configure select a volume group in the Plugin section (Storage -> LVM-storage-> Volume Groups). This also timed out with the error below in the http errorlog:

This error was caused by SElinux. After I disabled SElinux and rebooted the server, all functions of the OpenQRM interface worked fine, including enabling plugins and displaying volumegroups.


[Wed Jul 15 14:35:26 2009] [error] [client 192.168.42.235] PHP Warning:  fopen(/usr/lib/openqrm/web/action/cloud-conf/cloud-monitor.lock) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in /usr/lib/openqrm/plugins/cloud/web/openqrm-cloud-monitor-hook.php on line 103

[Wed Jul 15 14:35:26 2009] [error] [client 192.168.42.235] PHP Warning:  fwrite(): supplied argument is not a valid stream resource in /usr/lib/openqrm/plugins/cloud/web/openqrm-cloud-monitor-hook.php on line 104

[Wed Jul 15 14:35:26 2009] [error] [client 192.168.42.235] PHP Warning:  fclose(): supplied argument is not a valid stream resource in /usr/lib/openqrm/plugins/cloud/web/openqrm-cloud-monitor-hook.php on line 105

[Wed Jul 15 14:35:26 2009] [error] [client 192.168.42.235] PHP Warning:  unlink(/usr/lib/openqrm/web/action/cloud-conf/cloud-monitor.lock) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /usr/lib/openqrm/plugins/cloud/web/openqrm-cloud-monitor-hook.php on line 1547

[Wed Jul 15 14:35:26 2009] [error] [client 192.168.42.235] PHP Warning:  fopen(/usr/lib/openqrm/web/action/cloud-conf/cloud-monitor.lock) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in /usr/lib/openqrm/plugins/cloud/web/openqrm-cloud-monitor-hook.php on line 103
[Wed Jul 15 14:35:26 2009] [error] [client 192.168.42.235] PHP Warning:  fwrite(): supplied argument is not a valid stream resource in /usr/lib/openqrm/plugins/cloud/web/openqrm-cloud-monitor-hook.php on line 104
[Wed Jul 15 14:35:26 2009] [error] [client 192.168.42.235] PHP Warning:  fclose(): supplied argument is not a valid stream resource in /usr/lib/openqrm/plugins/cloud/web/openqrm-cloud-monitor-hook.php on line 105
[Wed Jul 15 14:35:26 2009] [error] [client 192.168.42.235] PHP Warning:  unlink(/usr/lib/openqrm/web/action/cloud-conf/cloud-monitor.lock) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /usr/lib/openqrm/plugins/cloud/web/openqrm-cloud-monitor-hook.php on line 1547

Leave a reply