Unable to start OpUtils in Linux
Greetings!
I have installed OpUtils on CentOS 6.3 following the instructions available here for the bin file and the missing libraries. When I try to run ./startOpUtils.sh I get the error below. I have attached a system profile.
Thanks for your help in advance.
System:
[root@hoover bin]# lsb_release -a
LSB Version: :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 6.3 (Final)
Release: 6.3
Codename: Final
Error:
[root@hoover bin]# ./startOpUtils.sh
./startOpUtils.sh: line 1: cd: dirname $0: No such file or directory
JAVA_HOME : ../jre
SERVER_HOME : /root/ManageEngine/OpUtils/bin/..
DATE : Tue Mar 5 18:37:20 EST 2013
OpUtils : originalLocaleStr is en_US
OpUtils : System.setProperty -> IS_NATIVE_PING is ==>>false
Exception Thrown in OpUtils Server Starter.
java.lang.RuntimeException: java.lang.NullPointerException
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at com.adventnet.netutils.fw.start.ConnectionThread.run(ConnectionThread.java:46)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at sun.net.www.ParseUtil.toURI(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
... 3 more
OpUtils : Trying to start OpUtils Server.
Exception Thrown in OpUtils Server Starter.
java.lang.RuntimeException: java.lang.NullPointerException
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at com.adventnet.netutils.fw.start.ConnectionThread.run(ConnectionThread.java:46)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at sun.net.www.ParseUtil.toURI(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
... 3 more
Starting Server from location: /root/ManageEngine/OpUtils
This evaluation copy is valid for 14 days
Problem while Starting Server
System halted
New to ADSelfService Plus?