Problems installing opennms on ubuntu
Kari Laakkonen <[email protected]>
| Newsgroups | gmane.network.opennms.install |
|---|---|
| Message-ID | <[email protected]> |
Hi, Ive ran a opennms 1.7 in this server beforehand without any significant problems. Then i decided to upgrade to the newest 1.8.10 version. ubuntu 9.10 Postgresql 8.4 is used. java 6 jdk I started out clean, so that opennms databases are empty (created them accordingly) , configurations etc are empty. All is fine (according the debian installation guide) until its time to install the software. I cant get past the installers because opennms.properties (and all other .xml files) are missing from the /etc/openms directory.. How is this possible that after installation there are files missing? Ive attached the installation procedure logs to the message (logs.txt) Feel free to ask questions etc ill try to provide more facts as this gets along. sudo /usr/share/opennms/bin/install -dis ============================================================================== OpenNMS Installer ============================================================================== Configures PostgreSQL tables, users, and other miscellaneous settings. WARNING: unable to load /usr/share/opennms/etc/opennms.properties Exception in thread "main" java.lang.Exception: property "importer.requisition.dir" not set from bundled installer.properties file at org.opennms.install.Installer.fetchProperty(Installer.java:420) at org.opennms.install.Installer.loadProperties(Installer.java:396) at org.opennms.install.Installer.install(Installer.java:164) at org.opennms.install.Installer.main(Installer.java:932) ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ 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
logs.txt
(text/plain, 5.8 KB)
sudo apt-get install opennms Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: bsd-mailx jicmp libgetopt-mixed-perl libopennms-java libopennmsdeps-java libpg-java mailx opennms-common opennms-db opennms-server opennms-webapp-jetty Suggested packages: opennms-doc The following NEW packages will be installed: bsd-mailx jicmp libgetopt-mixed-perl libopennms-java libopennmsdeps-java libpg-java mailx opennms opennms-common opennms-db opennms-server opennms-webapp-jetty 0 upgraded, 12 newly installed, 0 to remove and 358 not upgraded. Need to get 0B/147MB of archives. After this operation, 231MB of additional disk space will be used. Do you want to continue [Y/n]? y Preconfiguring packages ... Selecting previously deselected package bsd-mailx. (Reading database ... 222468 files and directories currently installed.) Unpacking bsd-mailx (from .../bsd-mailx_8.1.2-0.20081101cvs-2ubuntu1_i386.deb) ... Selecting previously deselected package libgetopt-mixed-perl. Unpacking libgetopt-mixed-perl (from .../libgetopt-mixed-perl_1.008-10_all.deb) ... Selecting previously deselected package libpg-java. Unpacking libpg-java (from .../libpg-java_8.2-504-2ubuntu1_all.deb) ... Selecting previously deselected package jicmp. Unpacking jicmp (from .../jicmp_1.0.8-1_i386.deb) ... Selecting previously deselected package libopennms-java. Unpacking libopennms-java (from .../libopennms-java_1.8.10-1_all.deb) ... Selecting previously deselected package libopennmsdeps-java. Unpacking libopennmsdeps-java (from .../libopennmsdeps-java_1.8.10-1_all.deb) ... Selecting previously deselected package mailx. Unpacking mailx (from .../mailx_1%3a20081101-2ubuntu1_all.deb) ... Selecting previously deselected package opennms-db. Unpacking opennms-db (from .../opennms-db_1.8.10-1_all.deb) ... Selecting previously deselected package opennms-common. Unpacking opennms-common (from .../opennms-common_1.8.10-1_all.deb) ... Selecting previously deselected package opennms-server. Unpacking opennms-server (from .../opennms-server_1.8.10-1_all.deb) ... Selecting previously deselected package opennms-webapp-jetty. Unpacking opennms-webapp-jetty (from .../opennms-webapp-jetty_1.8.10-1_all.deb) ... Selecting previously deselected package opennms. Unpacking opennms (from .../opennms_1.8.10-1_all.deb) ... Processing triggers for man-db ... Processing triggers for doc-base ... Processing 1 added doc-base file(s)... Registering documents with scrollkeeper... Processing triggers for ureadahead ... Setting up bsd-mailx (8.1.2-0.20081101cvs-2ubuntu1) ... update-alternatives: using /usr/bin/bsd-mailx to provide /usr/bin/mailx (mailx) in auto mode. Setting up libgetopt-mixed-perl (1.008-10) ... Setting up libpg-java (8.2-504-2ubuntu1) ... Setting up jicmp (1.0.8-1) ... Setting up libopennms-java (1.8.10-1) ... Setting up libopennmsdeps-java (1.8.10-1) ... Setting up mailx (1:20081101-2ubuntu1) ... Setting up opennms-db (1.8.10-1) ... Setting up opennms-common (1.8.10-1) ... Setting up opennms-server (1.8.10-1) ... grep: /etc/default/opennms: No such file or directory *** Installation complete. You must still run the installer at *** $OPENNMS_HOME/bin/install to be sure your database is up *** to date before you start OpenNMS. See the install guide at *** http://www.opennms.org/wiki/Installation:Debian and the *** release notes for details. Setting up opennms-webapp-jetty (1.8.10-1) ... Setting up opennms (1.8.10-1) ... sudo -u postgres createdb -U postgres -E UNICODE opennms createdb: database creation failed: ERROR: database "opennms" already exists ksshpadmin@ksshp-network-monitor:~$ psql -U postgres --host=localhost opennms psql (8.4.1) SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256) Type "help" for help. opennms=# \ Invalid command \. Try \? for help. opennms=# \q sudo apt-get install iplike-pgsql84 Reading package lists... Done Building dependency tree Reading state information... Done iplike-pgsql84 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 358 not upgraded. sudo /usr/share/opennms/bin/runjava -s runjava: Looking for an appropriate JRE... runjava: Checking for an appropriate JRE in JAVA_HOME... runjava: skipping... JAVA_HOME not set runjava: Checking JRE in user's path: "/usr/bin/java"... runjava: found an appropriate JRE in user's path: "/usr/bin/java" runjava: value of "/usr/bin/java" stored in configuration file sudo /usr/share/opennms/bin/install -dis ============================================================================== OpenNMS Installer ============================================================================== Configures PostgreSQL tables, users, and other miscellaneous settings. WARNING: unable to load /usr/share/opennms/etc/opennms.properties Exception in thread "main" java.lang.Exception: property "importer.requisition.dir" not set from bundled installer.properties file at org.opennms.install.Installer.fetchProperty(Installer.java:420) at org.opennms.install.Installer.loadProperties(Installer.java:396) at org.opennms.install.Installer.install(Installer.java:164) at org.opennms.install.Installer.main(Installer.java:932) ls -lap /usr/share/opennms/ total 24 drwxr-xr-x 4 root root 4096 2011-02-28 15:17 ./ drwxr-xr-x 332 root root 12288 2011-02-28 15:17 ../ drwxr-xr-x 2 root root 4096 2011-02-28 15:17 bin/ lrwxrwxrwx 1 root root 12 2011-02-28 15:17 etc -> /etc/opennms/ drwxr-xr-x 4 root root 4096 2011-02-28 15:17 jetty-webapps/ lrwxrwxrwx 1 root root 15 2011-02-28 15:17 lib -> ../java/opennms/ lrwxrwxrwx 1 root root 16 2011-02-28 15:17 logs -> /var/log/opennms/ lrwxrwxrwx 1 root root 16 2011-02-28 15:17 share -> /var/lib/opennms/