Permission denied error when PostgreSQL database server tries to load iplike.so

Description

From: jithesh_sathyan@yahoo.com
Subject: [opennms-install] Error while running the installer to Setup the PostgreSQL Database (step
3.3.2)
Date: March 21, 2005 10:38:50 PM EST
To: opennms-install@lists.sourceforge.net
Reply-To: opennms-install@lists.sourceforge.net

Hi,
After installing OpenNMS, while running the installer to Setup the PostgreSQL Database (step 3.3.2 : "#
$OPENNMS_HOME/bin/install -disU) the following error came up :
--------------------------------------------- - adding iplike database function... Exception in thread "main" org.postgresql.ut
il.PSQLException: ERROR: could not access file "/root/OpenNMS/OpenNMS/packages/opennms-1.2.0
-1/source/dist/lib/iplike.so": Permission
denied? at org.postgresql.util.PSQLException.parseServerError(PSQLException.java:
139)
??????? at
org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:152)
??????? at
org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:100)
??????? at
org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
??????? at
org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State
ment.java:517)
??????? at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State
ment.java:50)
??????? at
org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State
ment.java:298)
??????? at
org.opennms.install.Installer.updateIplike(Installer.java:1686)
??????? at
org.opennms.install.Installer.install(Installer.java:266)
??????? at
org.opennms.install.Installer.main(Installer.java:2450)
-------------------------------------
It changed the file permissions to 777 for iplike.so

[root@littlefry lib]# ls -lrt iplike*
lrwxrwxrwx??? 1 root???? root??????????? 9 Mar 21 11:32 iplike.so.1.2.0 -> iplike.so
-rwxrwxrwx??? 1 root???? root??????? 27094 Mar 21 11:32 iplike.so

Moreover the command in step 3.3.2 was run as root.
Please let me know what could be the possible error and if you need any further information to help
me.

Waiting for your valuable inputs.

Regards,
Jithesh

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Environment

Operating System: All Platform: All

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

DJ Gregor May 23, 2005 at 5:44 PM

added a note to the install guide

DJ Gregor March 21, 2005 at 9:46 PM

Add this to the documentation or do a check in the installer.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created March 21, 2005 at 9:46 PM
Updated January 27, 2017 at 4:31 PM
Resolved August 12, 2010 at 10:22 AM