[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opennms-install
Subject:    RE : [opennms-install] $OPENNMS_HOME/bin/install  - disU  problem
From:       "JEGHAM, Nizar" <nizar.jegham () astrium ! eads ! net>
Date:       2005-10-24 17:28:20
Message-ID: 17F5FEED8AA6D41185B100508BAF1B0610466C25 () meteor ! tls ! fr ! astrium ! corp
[Download RAW message or body]



Hi Dj Gregor 

I've done what you said and it worked fine. Thank you very much 
Nizar 

-----Original Message-----
From: DJ Gregor [mailto:dgregor@interhack.com] 
Sent: Friday, October 21, 2005 7:29 PM
To: opennms-install@lists.sourceforge.net
Subject: Re: [opennms-install] $OPENNMS_HOME/bin/install - disU problems


It's an selinux bug in the kernel.

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=163650
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=164165
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=163006

You can work around it by adding "-Djava.net.preferIPv4Stack=true" just  
before "-jar" in the "install" script and by creating  
$OPENNMS_HOME/etc/opennms.conf and adding this line:

	ADDITIONAL_MANAGER_OPTIONS="-Djava.net.preferIPv4Stack=true"

Good luck, and let us know if any of these solutions (upgrading your  
kernel or using the workaround) works for you or doesn't work.


	- djg

On Oct 21, 2005, at 12:47 PM, JEGHAM, Nizar wrote:

> 
> Hi
> I still having troubles installing opennms on fedora core 4, I  
> installed
> 
> sun j2sdk 1.4.09
> rrdtool-1.0.49-5.fc4.i386.rpm (from rpmfind)
> tomcat4 (tomcat4-4.1.18-full.1jpp.noarch.rpm,
> tomcat4-webapps-4.1.18-full.1jpp.noarch.rpm)
> 
> 
> runjava -s indicated the right java path (/usr/java/j2sdk1.4.09)
> but while performeing
> /opt/OpenNMS/bin/install  -disU
> 
> I got these frightening message
> 
> # /opt/OpenNMS/bin/install -disU
> ======================================================================= 
> =====
> ==
> OpenNMS Installer Version $Id: Installer.java,v 1.35.2.1 2005/03/13  
> 03:57:20
> djgregor Exp $
> ======================================================================= 
> =====
> ==
> 
> Configures PostgreSQL tables, users, and other miscellaneous settings.
> 
> Exception in thread "main" org.postgresql.util.PSQLException: The  
> connection
> attempt failed because Exception: java.net.SocketException: Invalid  
> argument
> or cannot assign requested address
> Stack Trace:
> 
> java.net.SocketException: Invalid argument or cannot assign requested
> address
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
> at
> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
> at java.net.Socket.connect(Socket.java:452)
> at java.net.Socket.connect(Socket.java:402)
> at java.net.Socket.<init>(Socket.java:309)
> at java.net.Socket.<init>(Socket.java:124)
> at org.postgresql.core.PGStream.<init>(PGStream.java:47)
> at
> org.postgresql.jdbc1.AbstractJdbc1Connection.openConnection(AbstractJdb 
> c1Con
> nection.java:197)
> at org.postgresql.Driver.connect(Driver.java:139)
> at java.sql.DriverManager.getConnection(DriverManager.java:512)
> at java.sql.DriverManager.getConnection(DriverManager.java:171)
> at  
> org.opennms.install.Installer.databaseConnect(Installer.java:613)
> at org.opennms.install.Installer.install(Installer.java:195)
> at org.opennms.install.Installer.main(Installer.java:2450)
> End of Stack Trace
> 
> at
> org.postgresql.jdbc1.AbstractJdbc1Connection.openConnection(AbstractJdb 
> c1Con
> nection.java:208)
> at org.postgresql.Driver.connect(Driver.java:139)
> at java.sql.DriverManager.getConnection(DriverManager.java:512)
> at java.sql.DriverManager.getConnection(DriverManager.java:171)
> at  
> org.opennms.install.Installer.databaseConnect(Installer.java:613)
> at org.opennms.install.Installer.install(Installer.java:195)
> at org.opennms.install.Installer.main(Installer.java:2450)
> 
> 
> The permissions for /pgsql/data,  postgresql.conf and pg_hba.conf are  
> well
> cofigured for postgres user
> 
> Could anyone help please
> Thank yous in advance
> 
> 
> ---------------------------------------------------------
> 
> CE COURRIER ELECTRONIQUE EST A USAGE STRICTEMENT INFORMATIF ET NE  
> SAURAIT ENGAGER DE QUELQUE MANIERE QUE CE SOIT EADS ASTRIUM SAS, NI  
> SES FILIALES.
> 
> SI UNE ERREUR DE TRANSMISSION OU UNE ADRESSE ERRONEE A MAL DIRIGE CE  
> COURRIER, MERCI D'EN INFORMER L'EXPEDITEUR EN LUI FAISANT UNE REPONSE  
> PAR COURRIER ELECTRONIQUE DES RECEPTION. SI VOUS N'ETES PAS LE  
> DESTINATAIRE DE CE COURRIER, VOUS NE DEVEZ PAS L'UTILISER, LE  
> CONSERVER, EN FAIRE ETAT, LE DISTRIBUER, LE COPIER, L'IMPRIMER OU EN  
> REVELER LE CONTENU A UNE TIERCE PARTIE.
> 
> 
> 
> This email is for information only and will not bind EADS Astrium SAS  
> in any contract or obligation, nor its subsidiaries.
> 
> If you have received it in error, please notify the sender by return  
> email. If you are not the addressee of this email, you must not use,  
> keep, disseminate, copy, print or otherwise deal with it.
> 
> ---------------------------------------------------------
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads,  
> discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> http://www.opennms.org/wiki/index.php?page=MailingListFaq
> 
> 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
> 



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq

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

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

CE COURRIER ELECTRONIQUE EST A USAGE STRICTEMENT INFORMATIF ET NE SAURAIT ENGAGER DE \
QUELQUE MANIERE QUE CE SOIT EADS ASTRIUM SAS, NI SES FILIALES.

SI UNE ERREUR DE TRANSMISSION OU UNE ADRESSE ERRONEE A MAL DIRIGE CE COURRIER, MERCI \
D'EN INFORMER L'EXPEDITEUR EN LUI FAISANT UNE REPONSE PAR COURRIER ELECTRONIQUE DES \
RECEPTION. SI VOUS N'ETES PAS LE DESTINATAIRE DE CE COURRIER, VOUS NE DEVEZ PAS \
L'UTILISER, LE CONSERVER, EN FAIRE ETAT, LE DISTRIBUER, LE COPIER, L'IMPRIMER OU EN \
REVELER LE CONTENU A UNE TIERCE PARTIE.



This email is for information only and will not bind EADS Astrium SAS in any contract \
or obligation, nor its subsidiaries.

If you have received it in error, please notify the sender by return email. If you \
are not the addressee of this email, you must not use, keep, disseminate, copy, print \
or otherwise deal with it.

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


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic