Talk:Old Debian 4 Installation Instructions
From OpenNMS
Contents |
Clarification of step
The step where it has you add two lines to the etc/profile file needs clarification. Do these just get added to the end? I've added these lines and restarted and JAVA_HOME is not showing as set via the env command.--Crossmr 12:55, 20 January 2007 (EST)
JICMP
I am using Debian 4.0 (Etch). How can I install jicmp? Thevoyager43 12:55, 20 January 2007 (EST)
Getting OpenNMS ready for installation -> Compile the beast
i can't compile OpenNMS.
nms@monitor:/tmp/opennms/opennms/trunk$ ./build.sh -Dopennms.home=/opt/OpenNMS install assembly:attached -e + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] OpenNMS [INFO] OpenNMS Complex Dependencies [INFO] OpenNMS Drools [INFO] OpenNMS Utilities [INFO] OpenNMS Test Components [INFO] Mock SNMP Agent [INFO] OpenNMS Launcher [INFO] OpenNMS JoeSNMP library [INFO] OpenNMS Configuration [INFO] OpenNMS Config Utilities [INFO] OpenNMS SNMP [INFO] OpenNMS SNMP API [INFO] OpenNMS Data Model Components [INFO] OpenNMS RRD Module [INFO] OpenNMS RRD Interface [INFO] OpenNMS JRobin RRD Implementation [INFO] OpenNMS Persistence Layer [INFO] OpenNMS ICMP Library [INFO] OpenNMS ICMP Interface [INFO] OpenNMS Installation Utilities [INFO] OpenNMS RRDTool RRD Implementation [INFO] OpenNMS RRDTool RRD Interface [INFO] OpenNMS JoeSNMP SNMP Implementation [INFO] OpenNMS SNMP4J SNMP Implementation [INFO] OpenNMS Snmp Tests [INFO] OpenNMS Services [INFO] OpenNMS Model Importer [INFO] OpenNMS Jetty Integration [INFO] OpenNMS Correlation Engines [INFO] OpenNMS Correlator [INFO] Drools Correlation Engine [INFO] OpenNMS Reporting [INFO] OpenNMS OSS/J interface [INFO] OpenNMS WebStart Remote Poller [INFO] OpenNMS Remote Poller [INFO] OpenNMS Web Application [INFO] OpenNMS Daemon Application [INFO] OpenNMS Documentation [INFO] Searching repository for plugin with prefix: 'assembly'. [INFO] org.codehaus.mojo: checking for updates from opennms-repo [WARNING] repository metadata for: 'org.codehaus.mojo' could not be retrieved from repository: opennms-repo due to an error: Error transferring file [INFO] Repository 'opennms-repo' will be blacklisted [INFO] org.codehaus.mojo: checking for updates from opennms-snapshots [WARNING] repository metadata for: 'org.codehaus.mojo' could not be retrieved from repository: opennms-snapshots due to an error: Error transferring file [INFO] Repository 'opennms-snapshots' will be blacklisted [INFO] org.codehaus.mojo: checking for updates from codehaus-snapshots [WARNING] repository metadata for: 'org.codehaus.mojo' could not be retrieved from repository: codehaus-snapshots due to an error: Error transferring file [INFO] Repository 'codehaus-snapshots' will be blacklisted [INFO] org.codehaus.mojo: checking for updates from central [WARNING] repository metadata for: 'org.codehaus.mojo' could not be retrieved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] The plugin 'org.apache.maven.plugins:maven-release-plugin' does not exist or no valid version could be found [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.maven.plugins:maven-release-plugin' does not exist or no valid version could be found
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1286)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1469)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:386)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:138)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: The plugin 'org.apache.maven.plugins:maven-release-plugin' does not exist or no valid version could be found
at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:228)
at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:90)
at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:166)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1257)
... 14 more
[INFO] ------------------------------------------------------------------------ [INFO] Total time: 4 seconds [INFO] Finished at: Tue Aug 14 11:06:53 CEST 2007 [INFO] Final Memory: 7M/12M [INFO] ------------------------------------------------------------------------
Doesn't really work - jicmp problem
On Debian 4, it bails out here:
# /opt/OpenNMS/bin/install -disU
==============================================================================
OpenNMS Installer Version $Id: Installer.java 6856 2007-07-25 22:10:54Z rangerrick $
==============================================================================
Configures PostgreSQL tables, users, and other miscellaneous settings.
Exception in thread "main" java.lang.Exception: Unable to load the jicmp
library. Make sure you have it installed, and use the -l option to set the path to locate it, if necessary.
at org.opennms.install.Installer.install(Installer.java:157)
at org.opennms.install.Installer.main(Installer.java:758)
To get around this issue, install jicmp, and start the installer:
/opt/OpenNMS/bin/install -disU -l /usr/local/lib
You can get jicmp from the download section of OpenNMS: http://sourceforge.net/projects/opennms/









New Pages