Re: Reg:opennms install issue

Subhro Sankha Kar <[email protected]>
Newsgroups gmane.network.opennms.install
Message-ID <[email protected]>

On 31-Jul-2012, at 10:46 PM, saranya guna <[email protected]> wrote:

> 
> Hi,
>  
> I started postgresql db by using the script in /etc/init.d. Now the postgresql db is started .
>  
> When I run the install script using  ./install -dis ,  I am getting the below error:
>  
> 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... /opt/opennms/etc
> - using create.sql... /opt/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:178)
>         at org.opennms.core.schema.Migrator.validateDatabaseVersion(Migrator.java:206)
>         at org.opennms.install.Installer.install(Installer.java:226)
>         at org.opennms.install.Installer.main(Installer.java:950)
> Caused by: org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "10.212.96.35", user "postgres", database "template1", SSL off

The error is pretty straight forward. You are missing an entry in pg_hba.conf. In other words, your permissions are goofed up. Have a look here:

http://www.postgresql.org/docs/8.3/static/auth-pg-hba-conf.html

This should tell you how to set the proper permissions.

Thanks
--
Subhro Sankha Kar
System Administrator
Working and Playing with FreeBSD since 2002

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.