Probleme installation opennms

Fermé
abdeltakam Messages postés 6 Date d'inscription lundi 17 mars 2014 Statut Membre Dernière intervention 18 mars 2014 - 17 mars 2014 à 22:41
zipe31 Messages postés 36402 Date d'inscription dimanche 7 novembre 2010 Statut Contributeur Dernière intervention 27 janvier 2021 - 18 mars 2014 à 13:33
bonjour a tous s'il vous plait je suis entrain d'installer opennms sur ma machine ubuntu 13.04 mais a chaque fois que je lance l'install j'ai l'erreur suivante s'il vous plait j'ai besoin d'aide c'est pour un devoir urgent. en copie voila mon terminal

abdel@ubuntu:~$ sudo /usr/share/opennms/bin/install -dis
==============================================================================
OpenNMS Installer
==============================================================================

Configures PostgreSQL tables, users, and other miscellaneous settings.

- searching for libjicmp.so:
- trying to load /usr/lib/jni/libjicmp.so: OK
- searching for libjicmp6.so:
- trying to load /usr/lib/jni/libjicmp6.so: OK
- searching for libjrrd.so:
- trying to load /usr/lib/jni/libjrrd.so: NO
- trying to load /usr/lib/jni/libjrrd.so: NO
- trying to load /libjrrd.so: NO
- trying to load /usr/share/opennms/lib/libjrrd.so: NO
- trying to load /usr/share/opennms/lib/linux32/libjrrd.so: NO
- trying to load /usr/java/packages/lib/i386/libjrrd.so: NO
- trying to load /usr/lib/jni/libjrrd.so: NO
- trying to load /lib/libjrrd.so: NO
- trying to load /usr/lib/libjrrd.so: NO
- trying to load /usr/lib/jni/libjrrd.so: NO
- trying to load /usr/lib/libjrrd.so: NO
- trying to load /usr/local/lib/libjrrd.so: NO
- trying to load /opt/NMSjicmp/lib/32/libjrrd.so: NO
- trying to load /opt/NMSjicmp/lib/64/libjrrd.so: NO
- trying to load /opt/NMSjicmp6/lib/32/libjrrd.so: NO
- trying to load /opt/NMSjicmp6/lib/64/libjrrd.so: NO
- Failed to load the optional jrrd library.
- This error is not fatal, since jrrd is only required for optional features.
- For more information, see http://www.opennms.org/index.php/jrrd
- using SQL directory... /usr/share/opennms/etc
- using create.sql... /usr/share/opennms/etc/create.sql
Exception in thread "main" org.opennms.core.schema.MigrationException: an error occurred getting the version from the database
at org.opennms.core.schema.Migrator.getDatabaseVersion(Migrator.java:179)
at org.opennms.core.schema.Migrator.validateDatabaseVersion(Migrator.java:207)
at org.opennms.install.Installer.install(Installer.java:227)
at org.opennms.install.Installer.main(Installer.java:960)
Caused by: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "postgres"
at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:291)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:108)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:125)
at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)
at org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:22)
at org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:30)
at org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24)
at org.postgresql.Driver.makeConnection(Driver.java:393)
at org.postgresql.Driver.connect(Driver.java:267)
at java.sql.DriverManager.getConnection(DriverManager.java:571)
at java.sql.DriverManager.getConnection(DriverManager.java:187)
at org.opennms.core.db.install.SimpleDataSource.getConnection(SimpleDataSource.java:92)
at org.opennms.core.schema.Migrator.getDatabaseVersion(Migrator.java:167)
... 3 more
abdel@ubuntu:~$
A voir également:

3 réponses

abdeltakam Messages postés 6 Date d'inscription lundi 17 mars 2014 Statut Membre Dernière intervention 18 mars 2014
18 mars 2014 à 11:07
coucou les gar s'il vous plait si quelqu'un a deja rencontré cette erreur priere de m'aider s'il vous plait
0
zipe31 Messages postés 36402 Date d'inscription dimanche 7 novembre 2010 Statut Contributeur Dernière intervention 27 janvier 2021 6 415
18 mars 2014 à 11:33
Salut,

Caused by: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "postgres"

A tout hasard, as-tu exploré cette piste ?
0
abdeltakam Messages postés 6 Date d'inscription lundi 17 mars 2014 Statut Membre Dernière intervention 18 mars 2014
18 mars 2014 à 12:08
en fait je ne comprend pas pourquoi il y a erreur avec postgres. je ne sais pas si c'est un probleme de version car sur le site de opennmm il n'y a de tuto que pour la version 12.04 d'ubuntu
0
zipe31 Messages postés 36402 Date d'inscription dimanche 7 novembre 2010 Statut Contributeur Dernière intervention 27 janvier 2021 6 415
18 mars 2014 à 12:12
As-tu fait ce qui est préconisé ici ?
0
zipe31 Messages postés 36402 Date d'inscription dimanche 7 novembre 2010 Statut Contributeur Dernière intervention 27 janvier 2021 6 415
18 mars 2014 à 12:13
Voir aussi ceci...
0
abdeltakam Messages postés 6 Date d'inscription lundi 17 mars 2014 Statut Membre Dernière intervention 18 mars 2014
18 mars 2014 à 13:06
voila l'erreur que j'ai en créant la base de donnée


abdel@ubuntu:~$ sudo -u postgres createdb -U postgres -E UNICODE opennms
createdb: could not connect to database postgres: could not connect to server: Aucun fichier ou dossier de ce type
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5433"?
abdel@ubuntu:~$
0
abdeltakam Messages postés 6 Date d'inscription lundi 17 mars 2014 Statut Membre Dernière intervention 18 mars 2014
18 mars 2014 à 13:09
apres avoir suivi tout le tuto je me retrouve avec une erreur du genre:

abdel@ubuntu:~$ sudo opennms start
/usr/sbin/opennms: OpenNMS not configured.
/usr/share/opennms/etc/configured does not exist.

You need to run the installer to set up the database. In most
cases, it is enough to run:

/usr/share/opennms/bin/install -dis

For details, see the install guide at:

http://www.opennms.org/index.php/QuickStart#Initialize_OpenNMS_and_the_Database

abdel@ubuntu:~$
0
zipe31 Messages postés 36402 Date d'inscription dimanche 7 novembre 2010 Statut Contributeur Dernière intervention 27 janvier 2021 6 415
18 mars 2014 à 13:22
You need to run the installer to set up the database. In most
cases, it is enough to run:
/usr/share/opennms/bin/install -dis
L'as-tu fait ?

C'est d'ailleurs ce qui est dit dans la FAQ ;-\
0