20070218 opennms install 5
http://www.yippeesoft.com

直接运行 RRDTOOL
/usr/local/rrdtool/bin/rrdtool
RRDtool 1.2.15  Copyright 1997-2006 by Tobias Oetiker <tobi@oetiker.ch>
               Compiled Dec 25 2006 16:31:36

Usage: rrdtool [options] command command_options

Valid commands: create, update, updatev, graph, dump, restore,
                last, first, info, fetch, tune, resize, xport

RRDtool is distributed under the Terms of the GNU General
Public License Version 2. (www.gnu.org/copyleft/gpl.html)

For more information read the RRD manpages

[root@mobile mrtg]# /usr/local/rrdtool/bin/rrdtool
RRDtool 1.2.15  Copyright 1997-2006 by Tobias Oetiker <tobi@oetiker.ch>
               Compiled Dec 25 2006 16:31:36

Usage: rrdtool [options] command command_options

Valid commands: create, update, updatev, graph, dump, restore,
                last, first, info, fetch, tune, resize, xport

RRDtool is distributed under the Terms of the GNU General
Public License Version 2. (www.gnu.org/copyleft/gpl.html)

For more information read the RRD manpages

现在:
./opennms.sh start
Starting OpenNMS: /usr/bin/curl: error while loading shared libraries: libgssapi_krb5.so.2: cannot open shared object file: No such file or directory
/usr/bin/curl: error while loading shared libraries: libgssapi_krb5.so.2: cannot open shared object file: No such file or directory
/usr/bin/curl: error while loading shared libraries: libgssapi_krb5.so.2: cannot open shared object file: No such file or directory
Started OpenNMS, but it stopped running: check output.log

运行
ldconfig

Could not initialize RrdUtils: /opt/OpenNMS/lib/libjrrd.so: librrd.so.0: cannot open shared object file: No such file or directory
java.lang.UnsatisfiedLinkError: /opt/OpenNMS/lib/libjrrd.so: librrd.so.0: cannot open shared object file: No such file or directory

运行
lib]# ln -s librrd.so librrd.so.0

现在
./bin/opennms.sh start
Starting OpenNMS:                                          [  确定  ]

资料
man ldconfig

ldconfig creates the necessary links and cache to the most recent shared libraries found in the directories specified on the command line, in the file /etc/ld.so.conf, and in the trusted directories (/lib and /usr/lib).

终于搞定
Categories   Outages   24hr Avail
Network Interfaces  0 of 0  100.000%
Web Servers  0 of 0  100.000%
Email Servers  0 of 0  100.000%
DNS & DHCP Servers  0 of 0  100.000%
Database Servers  0 of 0  100.000%
Other Servers  0 of 0  100.000%
Total  Outages  24hr Avail
Overall Service Availability  0 of 0  100.000%

历史博文

标签:, ,
七月 22, 2007 at 5:55 下午 by yippee 1,024 次
Category: RAN乱
Tags: , ,