Re: Another opennms wont start...
Daniel Lacey <[email protected]> Sun, 14 Sep 2014 13:05:37 -0600
| Newsgroups | gmane.network.opennms.install |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
I believe that I should have posted this on the install list... Sorry
for the double post.
I re-installed from Test-Stable and again from the stable release with
the same error.
To follow up on the problem below, I believe the error is the result of
a missing apache component: *org.apache.commons.io
*Am I getting this correct?**(I don't know what
"osgi.wiring.package=org.apache.commons.io" means)*
*I cannot find a jar file on the system that matches
"org.apache.commons.io"*.
*# find / -name '*.jar' | grep apache | grep common
/usr/java/jdk1.7.0_67/lib/missioncontrol/plugins/org.apache.commons.codec_1.3.0.v201101211617.jar
/usr/java/jdk1.7.0_67/lib/missioncontrol/plugins/org.apache.commons.httpclient_3.1.0.v201012070820.jar
/usr/java/jdk1.7.0_67/lib/missioncontrol/plugins/org.apache.commons.logging_1.0.4.v201101211617.jar
/opt/opennms/system/org/apache/commons/commons-jexl/2.0.1/commons-jexl-2.0.1.jar
/opt/opennms/system/org/apache/karaf/diagnostic/org.apache.karaf.diagnostic.common/2.3.1/org.apache.karaf.diagnostic.common-2.3.1.jar
/opt/opennms/system/org/apache/servicemix/bundles/org.apache.servicemix.bundles.commons-codec/1.3_3/org.apache.servicemix.bundles.commons-codec-1.3_3.jar
/opt/opennms/system/org/apache/servicemix/bundles/org.apache.servicemix.bundles.commons-lang/2.4_4/org.apache.servicemix.bundles.commons-lang-2.4_4.jar
*
***
This is something that I have not run into before... (Not a Java guy ;-)
Can someone give me some hints on what I should do?
I do not need exact instructions, just the keywords/concepts that I need
to investigate. (I enjoy "learning to fish" !)
Do I just find the jar file (e.g.
http://commons.apache.org/proper/commons-io/download_io.cgi) and stick
it in the java plugins folder?
Is there something I missed during the install that would cause this?
Thanks in advance,
Dan
On 9/12/14, 8:28 AM, Seth Leger wrote:
> Hi Daniel,
>
> It looks like you may have something wrong with your
> /opt/opennms/system or /opt/opennms/lib directories. OpenNMS should
> normally start without any "Unresolved constraint in bundle" problems.
> These failures can possibly prevent a portion of the web UI from
> initializing correctly (the topology maps and several other
> OSGi-driven features) and that will stop the UI from launching
> successfully.
>
> If this is a fresh installation, I would move the two system and lib
> directories to another location and then reinstall the opennms-core
> RPM so that all of the required JAR files are installed into those two
> directories.
>
> Seth Leger
> The OpenNMS Group
>
>
> *
> *
> On 9/11/14, 7:18 PM, Daniel Lacey wrote:
>> Dear Sirs,
>>
>> I am building a new NOC server using OpenNMS. (I have 1.8 running, so
>> I thought I could solve this myself :-(
>> Ran into a problem.
>> Can someone clue me in as to where to look for the problem?
>> Lot's of greps on the logs and config files did not leave me the wiser...
>>
>> Thanks in advance!
>> Details follow.
>>
>> Using:
>> CentOS 7, latest updates
>> OpenNMS 1.12.9-2
>> iplike.x86_64 2.0.6-1.el7.centos @opennms-stable-rhel7
>> jicmp.x86_64 1.4.3-1 @opennms-stable-rhel7
>> jicmp6.x86_64 1.2.3-1 @opennms-stable-rhel7
>> opennms.noarch 1.12.9-2 @opennms-stable-common
>> opennms-core.noarch 1.12.9-2 @opennms-stable-common
>> opennms-repo-stable.noarch 1.0-19 installed
>> opennms-webapp-jetty.noarch 1.12.9-2
>> @opennms-stable-common
>>
>>
>> From the output log:
>> ------------------------------------------------------------------------------
>> Tue Sep 9 09:21:35 PDT 2014
>> begin ulimit settings:
>> core file size (blocks, -c) 0
>> data seg size (kbytes, -d) unlimited
>> scheduling priority (-e) 0
>> file size (blocks, -f) unlimited
>> pending signals (-i) 126912
>> max locked memory (kbytes, -l) 64
>> max memory size (kbytes, -m) unlimited
>> open files (-n) 20480
>> pipe size (512 bytes, -p) 8
>> POSIX message queues (bytes, -q) 819200
>> real-time priority (-r) 0
>> stack size (kbytes, -s) 8192
>> cpu time (seconds, -t) unlimited
>> max user processes (-u) 126912
>> virtual memory (kbytes, -v) unlimited
>> file locks (-x) unlimited
>> end ulimit settings
>> Executing command: /opt/opennms/bin/runjava -r --
>> -Djava.endorsed.dirs=/opt/opennms/lib/endorsed
>> -Dopennms.home=/opt/opennms -Dcom.sun.management.jmxremote.port=18980
>> -Dcom.sun.management.jmxremote.ssl=false
>> -Dcom.sun.management.jmxremote.authenticate=false -Xmx512m
>> -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m
>> -Djava.io.tmpdir=/opt/opennms/data/tmp -jar
>> /opt/opennms/lib/opennms_bootstrap.jar start
>> [DEBUG] System property 'opennms.library.jicmp' set to
>> '/usr/lib64/libjicmp.so. Attempting to load jicmp library from this
>> location.
>> [INFO] Successfully loaded jicmp library.
>> [DEBUG] System property 'opennms.library.jicmp6' set to
>> '/usr/lib64/libjicmp6.so. Attempting to load jicmp6 library from
>> this location.
>> [INFO] Successfully loaded jicmp6 library.
>> Sep 09, 2014 9:22:26 AM com.noelios.restlet.http.StreamClientHelper start
>> *INFO: Starting the HTTP client**
>> **ERROR: Bundle org.opennms.features.geocoder.nominatim [74] Error
>> starting
>> mvn:org.opennms.features.geocoder/org.opennms.features.geocoder.nominatim/1.12.9
>> (org.osgi.framework.BundleException: Unresolved constraint in bundle
>> org.opennms.features.geocoder.nominatim [74]: Unable to resolve 74.0:
>> missing requirement [74.0] osgi.wiring.package;
>> (&(osgi.wiring.package=org.apache.commons.io)(version>=1.4.0)(!(version>=2.0.0))))**
>> **org.osgi.framework.BundleException: Unresolved constraint in bundle
>> org.opennms.features.geocoder.nominatim [74]: Unable to resolve 74.0:
>> missing requirement [74.0] osgi.wiring.package;
>> (&(osgi.wiring.package=org.apache.commons.io)(version>=1.4.0)(!(version>=2.0.0)))**
>> ** at
>> org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826)**
>> ** at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)**
>> ** at
>> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)**
>> ** at
>> org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)**
>> ** at java.lang.Thread.run(Thread.java:745)**
>> *No host systems with defined VMware assets fields found!
>> No virtual machines with defined VMware assets fields found!
>> OnmsOSGiBridgeActivator: registering...
>> OnmsOSGiBridgeActivator: registry =
>> org.opennms.core.soa.support.DefaultServiceRegistry@e5fbd27
>> OnmsOSGiBridgeActivator: registered provider
>> NodeMapNavEntry[url=node-maps#search/nodeId=%nodeid%,name=View in
>> Geographical Map] for interfaces: [interface
>> org.opennms.web.navigate.ConditionalPageNavEntry] with properties:
>> {objectClass=org.opennms.web.navigate.ConditionalPageNavEntry,
>> osgi.service.blueprint.compname=nodeMapsLink, Page=node,
>> registration.export=true, service.id=354, registration.source=osgi}
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Want excitement?
>> Manually upgrade your production database.
>> When you want reliability, choose Perforce
>> Perforce version control. Predictably reliable.
>> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
>>
>>
>> _______________________________________________
>> Please read the OpenNMS Mailing List FAQ:
>> http://www.opennms.org/index.php/Mailing_List_FAQ
>>
>> opennms-discuss mailing list
>>
>> To *unsubscribe* or change your subscription options, see the bottom of this page:
>> https://lists.sourceforge.net/lists/listinfo/opennms-discuss
>
>
>
> ------------------------------------------------------------------------------
> Want excitement?
> Manually upgrade your production database.
> When you want reliability, choose Perforce
> Perforce version control. Predictably reliable.
> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
>
>
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> http://www.opennms.org/index.php/Mailing_List_FAQ
>
> opennms-discuss mailing list
>
> To *unsubscribe* or change your subscription options, see the bottom of this page:
> https://lists.sourceforge.net/lists/listinfo/opennms-discuss
------------------------------------------------------------------------------
Slashdot TV. Video for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
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