From: Thomas S. <tsc...@fi...> - 2002-12-24 21:45:56
|
Hi! > Thomas Schweikle said: > >> Error found: >> Respons time data awaited by OpenNMS 1.1.0 at path: "/var/OpenNMS". >> Gathered data stored at path: "/opt/OpenNMS/share/rrd/response". > > So everything is working now? Let me know if it isn't. Yes it is, but I had to ln -s /opt/opennms/share /var/opennms to make it work. I've searched for "/var/opennms" within the sources and found it at various places: xcnlm02s:~/cvs/opennms-1.1.0-1/source # \ find . -type f -exec grep -H '/var/opennms' {} \; ./docs/install/chap1.xml:\ debugging enabled, 8 MB per SNMP device in /var/opennms</entry> ./tools/packages/opennms/opennms.spec.in:\ %{!?sharedir:%define sharedir /var/opennms} ./etc/response-graph.properties:\ command.input.dir=/var/opennms/rrd/response ./etc/response-adhoc-graph.properties:\ command.input.dir=/var/opennms/rrd/response/ ./debian/postrm:\ rmdir /var/opennms/rrd > /dev/null 2>&1 ./debian/rules:\ export BUILDDEFINES=\ -Droot.install=/opt/OpenNMS\ -Droot.install.initdir=/etc/init.d -Droot.install.servlets=/var/tomcat4/webapps/opennms -Droot.install.share=/var/opennms -Droot.install.rrdtool=/usr/lib -Droot.install.postgresql=/usr/lib/postgresql/opennms -Droot.install.logs=/var/log/opennms ./work/opennms/configfiles/response-adhoc-graph.properties:\ command.input.dir=/var/opennms/rrd/response/ ./work/opennms/configfiles/response-graph.properties:\ command.input.dir=/var/opennms/rrd/response ./work/etc/response-adhoc-graph.properties:\ command.input.dir=/var/opennms/rrd/response/ ./work/etc/response-graph.properties:\ command.input.dir=/var/opennms/rrd/response Since I wasn't sure where to change it, I decided to take the simplest possible solution (not removing the bug this way --- just going around it). I've set "root.install.share" in "~/.opennms-global.properties" to "/opt/opennms/share". Looks like this not being honoured everywhere. -- Thomas |