[KLUG Members] Installing OpenNMS

Todd Pillars todd at terralabs.com
Wed Nov 16 10:03:21 EST 2005


Tom Nelson wrote:
> Hello All,
> 
> I have started to install OpenNMS, and I ran into a little trouble with 
> the install process (Section 3.3. Run the Installer - 
> https://sourceforge.net/docman/display_doc.php?docid=23937&group_id=4141#N104CA)
> 
> I'm running Fedora Core 4
> I've installed J2SDK 1.4.2 10
> I've installed tomcat 4 and verfied it is running
> I've installed RRDTool
> I've installed Postgresql and the JDBCs from the Fedora Core install cds
> 
> Everything works until I run...
> $OPENNMS_HOME/bin/install -disU
> 
> I get the errors below...
> ==============================================================================
> 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...Caused by: java.net.SocketException: Invalid 
> argument or cannot assign requested address.
> 
> I thought it looked like a postgresql connection issue so I configured 
> the pg_hba.conf to allow all hosts and I turned off my firewall, but the 
> errors persisted.
> 
> Thanks,
> Tom
> 
> 
> Regards,
> 
> Tom Nelson
Is SELinux Enabled?

Disable SELinux:
EDIT '/etc/selinux/config'
Change:
SELINUX=enforcing
to:
SELINUX=disabled

Disable SELinux from grub.
EDIT /boot/grub/grub.conf
ADD 'selinux=0' on your kernel line in grub.


Todd


More information about the Members mailing list