Ranck, Rick | 19 Jun 2012 21:30

Install issue

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)

 

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

 

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
Subhro Sankha Kar | 19 Jun 2012 22:28
Gravatar

Re: 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

 

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
Ranck, Rick | 19 Jun 2012 23:01

Re: Install issue

Where would I find this value?

 

Also, I found in the logs this:

 

 

C:\Documents and Settings\administrator.HP\Desktop\standalone-opennms-installer-1.10.3-1\opennms-installer>SET OPENNMS_HOME=C:/Program Files/OpenNMS

 

C:\Documents and Settings\administrator.HP\Desktop\standalone-opennms-installer-1.10.3-1\opennms-installer>SET DBNAME=opennms

 

C:\Documents and Settings\administrator.HP\Desktop\standalone-opennms-installer-1.10.3-1\opennms-installer>SET DBURL=jdbc:postgresql://localhost:5432/

 

C:\Documents and Settings\administrator.HP\Desktop\standalone-opennms-installer-1.10.3-1\opennms-installer>SET ETCDIR=C:/Program Files/OpenNMS/etc

 

C:\Documents and Settings\administrator.HP\Desktop\standalone-opennms-installer-1.10.3-1\opennms-installer>SET SERVLETDIR=C:/Program Files/OpenNMS/webapps/opennms

 

C:\Documents and Settings\administrator.HP\Desktop\standalone-opennms-installer-1.10.3-1\opennms-installer>"C:\Program Files\Java\jdk1.6.0_33\bin\java" -Xmx512m "-Dopennms.home=C:/Program Files/OpenNMS" "-Dinstall.dir=C:/Program Files/OpenNMS" "-Dinstall.database.name=opennms" "-Dinstall.database.url=jdbc:postgresql://localhost:5432/" "-Dinstall.etc.dir=C:/Program Files/OpenNMS/etc" "-Dinstall.servlet.dir=C:/Program Files/OpenNMS/webapps/opennms" -classpath "C:/Program Files/OpenNMS/lib/opennms_bootstrap.jar;C:/Program Files/OpenNMS/lib/opennms_install.jar" org.opennms.install.Installer -dis -l "C:/Program Files/OpenNMS/lib"

==============================================================================

OpenNMS Installer

==============================================================================

 

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

ERROR: One or more HotFixes was not found.  Please install them and try again.

 

It looks like the install may have failed?

 

 

 


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:subhro <at> 80386.org]
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

 

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
Subhro Sankha Kar | 20 Jun 2012 09:14
Gravatar

Re: 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:subhro <at> 80386.org] 
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

 

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
Ranck, Rick | 20 Jun 2012 16:03

Re: Install issue

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:subhro <at> 80386.org]
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:subhro <at> 80386.org] 
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

 

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
Dumisani Lobese | 21 Jun 2012 09:05
Picon

Install issue

Hi there.
 
Try MS10-029: Vulnerability in Windows ISATAP Component.
Neighbour Unreachability Detection.
 
Thanks.

On Wed, Jun 20, 2012 at 4:03 PM, <opennms-install-request <at> lists.sourceforge.net> wrote:
Send opennms-install mailing list submissions to
       opennms-install <at> lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
       https://lists.sourceforge.net/lists/listinfo/opennms-install
or, via email, send a message with subject or body 'help' to
       opennms-install-request <at> lists.sourceforge.net

You can reach the person managing the list at
       opennms-install-owner <at> lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of opennms-install digest..."


Today's Topics:

  1. Re: Install issue (Subhro Sankha Kar)
  2. Re: Install issue (Ranck, Rick)


----------------------------------------------------------------------

Message: 1
Date: Wed, 20 Jun 2012 12:44:38 +0530
From: Subhro Sankha Kar <subhro <at> 80386.org>
Subject: Re: [opennms-install] Install issue
To: Installation questions and help
       <opennms-install <at> lists.sourceforge.net>
Message-ID: <784A6FCA-2147-4414-8C08-8C7860D15B1A <at> 80386.org>
Content-Type: text/plain; charset="us-ascii"


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:subhro <at> 80386.org]
> 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
>
>
> 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

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 2
Date: Wed, 20 Jun 2012 14:03:04 +0000
From: "Ranck, Rick" <rranck <at> homeparamount.com>
Subject: Re: [opennms-install] Install issue
To: 'Installation questions and help'
       <opennms-install <at> lists.sourceforge.net>,        'Subhro Sankha Kar'
       <subhro <at> 80386.org>
Message-ID:
       <0032F20D016B9844ABD37F1F3378C33F139238 <at> hpmail1.home.paramount>
Content-Type: text/plain; charset="utf-8"

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:subhro <at> 80386.org]
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:subhro <at> 80386.org]<mailto:[mailto:subhro <at> 80386.org]>
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

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

------------------------------------------------------------------------------
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/

------------------------------

_______________________________________________
opennms-install mailing list
opennms-install <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opennms-install


End of opennms-install Digest, Vol 72, Issue 6
**********************************************

------------------------------------------------------------------------------
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

Gmane