Re: Install issue

"Ranck, Rick" <[email protected]>
Newsgroups gmane.network.opennms.install
Message-ID <[email protected]>
Ok, so running the hotfix got it installed properly. I didn’t run it initially because the tcpip6.sys file was a later version than indicated in the hotfix notes. Now, I am getting this when I try and run opennms.bat start:

Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.

C:\Documents and Settings\administrator.HP>e:

E:\>cd opennms/bin

E:\OpenNMS\bin>opennms.bat start

E:\OpenNMS\bin>"C:\Program Files\Java\jdk1.6.0_33\bin\java" -Xmx256m -XX:MaxPerm
Size=128m -Dopennms.home="e:/OpenNMS" -jar "e:/OpenNMS/lib/opennms_bootstrap.jar
" start
[DEBUG] System property 'opennms.library.jicmp' set to 'e:/OpenNMS/lib\jicmp.dll
.  Attempting to load jicmp library from this location.
[INFO] Successfully loaded jicmp library.
[DEBUG] System property 'opennms.library.jicmp6' set to 'e:/OpenNMS/lib\jicmp6.d
ll.  Attempting to load jicmp6 library from this location.
[INFO] Successfully loaded jicmp6 library.
Jun 20, 2012 9:53:19 AM com.noelios.restlet.http.StreamClientHelper start
INFO: Starting the HTTP client
Jun 20, 2012 9:53:21 AM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Scanning for root resource and provider classes in the packages:
  org.opennms.web.rest
Jun 20, 2012 9:53:21 AM com.sun.jersey.api.core.ScanningResourceConfig logClasse
s
INFO: Root resource classes found:
  class org.opennms.web.rest.AlarmStatsRestService
  class org.opennms.web.rest.ForeignSourceRestService
  class org.opennms.web.rest.UserRestService
  class org.opennms.web.rest.SnmpConfigRestService
  class org.opennms.web.rest.RemotePollerAvailabilityService
  class org.opennms.web.rest.OnmsCategoryResource
  class org.opennms.web.rest.AcknowledgmentRestService
  class org.opennms.web.rest.GroupRestService
  class org.opennms.web.rest.RequisitionRestService
  class org.opennms.web.rest.OnmsMapRestService
  class org.opennms.web.rest.NotificationRestService
  class org.opennms.web.rest.AlarmRestService
  class org.opennms.web.rest.ScheduledOutagesRestService
  class org.opennms.web.rest.KscRestService
  class org.opennms.web.rest.AssetRecordResource
  class org.opennms.web.rest.EventRestService
  class org.opennms.web.rest.NodeRestService
  class org.opennms.web.rest.OutageRestService
Jun 20, 2012 9:53:21 AM com.sun.jersey.api.core.ScanningResourceConfig logClasse
s
INFO: Provider classes found:
  class org.opennms.web.rest.FormPropertiesReader
  class org.opennms.web.rest.ValidatingMessageBodyReader
Jun 20, 2012 9:53:22 AM com.sun.jersey.spi.spring.container.servlet.SpringServle
t getContext
INFO: Using default applicationContext
Jun 20, 2012 9:53:22 AM com.sun.jersey.spi.spring.container.SpringComponentProvi
derFactory registerSpringBeans
INFO: Registering Spring bean, acknowledgmentRestService, of type org.opennms.we
b.rest.AcknowledgmentRestService as a root resource class
Jun 20, 2012 9:53:22 AM com.sun.jersey.spi.spring.container.SpringComponentProvi
derFactory registerSpringBeans
INFO: Registering Spring bean, kscRestService, of type org.opennms.web.rest.KscR
estService as a root resource class
Jun 20, 2012 9:53:22 AM com.sun.jersey.spi.spring.container.SpringComponentProvi
derFactory registerSpringBeans
INFO: Registering Spring bean, remotePollerAvailabilityService, of type org.open
nms.web.rest.RemotePollerAvailabilityService as a root resource class
Jun 20, 2012 9:53:22 AM com.sun.jersey.spi.spring.container.SpringComponentProvi
derFactory registerSpringBeans
INFO: Registering Spring bean, assetRecordResource, of type org.opennms.web.rest
.AssetRecordResource as a root resource class
Jun 20, 2012 9:53:22 AM com.sun.jersey.spi.spring.container.SpringComponentProvi
derFactory registerSpringBeans
INFO: Registering Spring bean, groupRestService, of type org.opennms.web.rest.Gr
oupRestService as a root resource class
Jun 20, 2012 9:53:22 AM com.sun.jersey.spi.spring.container.SpringComponentProvi
derFactory registerSpringBeans
INFO: Registering Spring bean, foreignSourceRestService, of type org.opennms.web
.rest.ForeignSourceRestService as a root resource class
Jun 20, 2012 9:53:22 AM com.sun.jersey.spi.spring.container.SpringComponentProvi
derFactory registerSpringBeans
INFO: Registering Spring bean, userRestService, of type org.opennms.web.rest.Use
rRestService as a root resource class
Jun 20, 2012 9:53:22 AM com.sun.jersey.spi.spring.container.SpringComponentProvi
derFactory registerSpringBeans
INFO: Registering Spring bean, notificationRestService, of type org.opennms.web.
rest.NotificationRestService as a root resource class
Jun 20, 2012 9:53:22 AM com.sun.jersey.spi.spring.container.SpringComponentProvi
derFactory registerSpringBeans
INFO: Registering Spring bean, onmsCategoryResource, of type org.opennms.web.res
t.OnmsCategoryResource as a root resource class
Jun 20, 2012 9:53:22 AM com.sun.jersey.spi.spring.container.SpringComponentProvi
derFactory registerSpringBeans
INFO: Registering Spring bean, scheduledOutagesRestService, of type org.opennms.
web.rest.ScheduledOutagesRestService as a root resource class
Jun 20, 2012 9:53:22 AM com.sun.jersey.spi.spring.container.SpringComponentProvi
derFactory registerSpringBeans
INFO: Registering Spring bean, requisitionRestService, of type org.opennms.web.r
est.RequisitionRestService as a root resource class
Jun 20, 2012 9:53:22 AM com.sun.jersey.spi.spring.container.SpringComponentProvi
derFactory registerSpringBeans
INFO: Registering Spring bean, snmpConfigRestService, of type org.opennms.web.re
st.SnmpConfigRestService as a root resource class
Jun 20, 2012 9:53:22 AM com.sun.jersey.spi.spring.container.SpringComponentProvi
derFactory registerSpringBeans
INFO: Registering Spring bean, alarmStatsRestService, of type org.opennms.web.re
st.AlarmStatsRestService as a root resource class
Jun 20, 2012 9:53:22 AM com.sun.jersey.spi.spring.container.SpringComponentProvi
derFactory registerSpringBeans
INFO: Registering Spring bean, eventRestService, of type org.opennms.web.rest.Ev
entRestService as a root resource class
Jun 20, 2012 9:53:22 AM com.sun.jersey.spi.spring.container.SpringComponentProvi
derFactory registerSpringBeans
INFO: Registering Spring bean, onmsMapRestService, of type org.opennms.web.rest.
OnmsMapRestService as a root resource class
Jun 20, 2012 9:53:22 AM com.sun.jersey.spi.spring.container.SpringComponentProvi
derFactory registerSpringBeans
INFO: Registering Spring bean, outageRestService, of type org.opennms.web.rest.O
utageRestService as a root resource class
Jun 20, 2012 9:53:22 AM com.sun.jersey.spi.spring.container.SpringComponentProvi
derFactory registerSpringBeans
INFO: Registering Spring bean, nodeRestService, of type org.opennms.web.rest.Nod
eRestService as a root resource class
Jun 20, 2012 9:53:22 AM com.sun.jersey.spi.spring.container.SpringComponentProvi
derFactory registerSpringBeans
INFO: Registering Spring bean, alarmRestService, of type org.opennms.web.rest.Al
armRestService as a root resource class
Jun 20, 2012 9:53:22 AM com.sun.jersey.server.impl.application.WebApplicationImp
l _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.10 11/02/2011 03:53 PM'
Jun 20, 2012 9:53:23 AM de.novanic.eventservice.logger.DefaultServerLogger log
INFO: Server: Configuration changed - EventServiceConfiguration (Default Configu
ration)
  Min.: 0ms; Max.: 20000ms; Timeout: 90000ms
WARNING: register() called but the service has already been m_registered!
WARNING: register() called but the service has already been m_registered!

It freezes at this point.





Rick Ranck

Senior Network Administrator

Information Technology
Home Paramount Pest Control

410-510-0700x8128

www.homeparamount.com



Disclaimer: This information is intended solely for the use of the individual to whom it is addressed. Any review, disclosure, copying, distribution or use of this e-mail communication by others is strictly prohibited.  If you are not the intended recipient, please notify us immediately by returning this message to the sender and delete all copies.


From: Subhro Sankha Kar [mailto:[email protected]]
Sent: Wednesday, June 20, 2012 3:15 AM
To: Installation questions and help
Subject: Re: [opennms-install] Install issue


On 20-Jun-2012, at 2:31 AM, Ranck, Rick wrote:



Where would I find this value?

It has been a long time since I have looked into Windows. But as far as I remember, you should be able to see the $PATH after right clicking "My computer" and selecting properties. It is probably somewhere in the Advanced Tab.




Also, I found in the logs this:

Configures PostgreSQL tables, users, and other miscellaneous settings.

DEBUG: Looks like we're on Windows...  Validating.
DEBUG: Found Service Pack 2
DEBUG: Found HotFix KB978338
Your OS does not support IPv6.
ERROR: OpenNMS requires HotFix KB947369 to be installed for IPv6 to function properly on Windows XP or Windows Server 2003.  To install it, see the following link:http://support.microsoft.com/?kbid=947369

I am not absolutely sure this is a blocking problem. But why don't you try to install the hot fix and see if that helps?


Thanks
Subhro

--
Subhro Sankha Kar
System Administrator
Working and Playing with FreeBSD since 2002




From: Subhro Sankha Kar [mailto:[email protected]]<mailto:[mailto:[email protected]]>
Sent: Tuesday, June 19, 2012 4:28 PM
To: Installation questions and help
Subject: Re: [opennms-install] Install issue



On 20-Jun-2012, at 1:00 AM, Ranck, Rick wrote:




Opennms installs correctly, but when I run opennms.bat start it fails with the following error:

C:\PROGRA~1\OpenNMS\bin>"C:\Program Files\Java\jdk1.7.0_05\bin\java" -Xmx256m -X
X:MaxPermSize=128m -Dopennms.home="C:/Program Files/OpenNMS" -jar "C:/Program Fi
les/OpenNMS/lib/opennms_bootstrap.jar" start
Exception in thread "main" java.lang.RuntimeException: Unable to load default pr
operties from $OPENNMS_HOME!
        at org.opennms.bootstrap.Bootstrap.loadDefaultProperties(Bootstrap.java:
382)
        at org.opennms.bootstrap.Bootstrap.main(Bootstrap.java:306)

What is the value of $PATH and $OPENNMS_HOME?


--
Subhro Sankha Kar
System Administrator
Working and Playing with FreeBSD since 2002


Any ideas? I am trying to install 1.10.3-1



Rick Ranck

Senior Network Administrator

Information Technology
Home Paramount Pest Control

410-510-0700x8128


www.homeparamount.com<http://www.homeparamount.com>


Disclaimer: This information is intended solely for the use of the individual to whom it is addressed. Any review, disclosure, copying, distribution or use of this e-mail communication by others is strictly prohibited.  If you are not the intended recipient, please notify us immediately by returning this message to the sender and delete all copies.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.