OneCMDB – notes for improvment

These are my notes on attempting to setup OneCMBD. Some of these items would be added directly to their wiki, if I they give me access.

At http://www.onecmdb.org/wiki/index.php/Get_Started_V2.0#On_Linux_platforms_2:

  1. bin/onemdb.sh start should be bin/onecmdb.sh start (missing a ‘c’)

    Same for the stop command.

    Same error occurs in the README.

  2. bin/onecmdb.sh contains #!/bin/bash. Why bash? Why not /bin/sh?
  3. ELF binary type “0” not known – you need to load linux compatibility: kldload linux. This needs to be done in the host system, not the jail.

[root@onecmdb /usr/local/onecmdb]# bash ./bin/onecmdb.sh stop
Lokomo OneCMDB
==============

Copyright (C) Lokomo Systems AB
Lokomo OneCMDB comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions; for
details see `LICENSE’ in the installation folder.

———————————————————————-
———————————————————————-

Lokomo OneCMDB is now stopping.

Using CATALINA_BASE: /usr/local/onecmdb/tomcat
Using CATALINA_HOME: /usr/local/onecmdb/tomcat
Using CATALINA_TMPDIR: /usr/local/onecmdb/tomcat/temp
Using JRE_HOME: /usr/local/onecmdb/jre
Java HotSpot(TM) Client VM warning: Can’t detect initial thread stack location – find_vma failed
Apr 13, 2009 8:58:23 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.(Unknown Source)
at java.net.Socket.
(Unknown Source)
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:394)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:343)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:434)
Java HotSpot(TM) Client VM warning: Can’t detect initial thread stack location – find_vma failed
[root@onecmdb /usr/local/onecmdb]#

Website Pin Facebook Twitter Myspace Friendfeed Technorati del.icio.us Digg Google StumbleUpon Premium Responsive

Leave a Comment

Scroll to Top