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

List:       opennms-install
Subject:    Re: [opennms-install] Error while running the installer to Setup the PostgreSQL Database (step 3.3.2
From:       jithesh sathyan <jithesh_sathyan () yahoo ! com>
Date:       2005-03-22 3:58:44
Message-ID: 20050322035845.96873.qmail () web60908 ! mail ! yahoo ! com
[Download RAW message or body]

Thanks a lot for the immediate response.
 
Regards,
Jithesh

DJ Gregor <dj@opennms.org> wrote:
The iplike.so file is loaded by the PostgreSQL database server by a 
command that the installer sends to the database server. Your 
PostgreSQL database server is most likely not running as root and the 
iplike.so file or one of its parent directories (probably /root) is not 
accessible by the PostgreSQL database server issue. Fix the permission 
issue so that the database can access the iplike.so file and all of its 
parent directories and you should be fine.

FWIW, a few users have seen this, so I have opened up an enhancement 
bug, #1185, to either document this issue or have the installer perform 
a check or for it to catch this exception and give you a more 
descriptive error message:

http://bugzilla.opennms.org/cgi-bin/bugzilla/show_bug.cgi?id=1185


- djg

On Mar 21, 2005, at 10:38 PM, jithesh sathyan wrote:

> 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



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://wiki.opennms.org/tiki-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

		
---------------------------------
Do you Yahoo!?
 Make Yahoo! your home page   
[Attachment #3 (text/html)]

<DIV>Thanks a lot for the immediate response.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Regards,</DIV>
<DIV>Jithesh<BR><BR><B><I>DJ Gregor &lt;dj@opennms.org&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: \
#1010ff 2px solid">The iplike.so file is loaded by the PostgreSQL database server by \
a <BR>command that the installer sends to the database server. Your <BR>PostgreSQL \
database server is most likely not running as root and the <BR>iplike.so file or one \
of its parent directories (probably /root) is not <BR>accessible by the PostgreSQL \
database server issue. Fix the permission <BR>issue so that the database can access \
the iplike.so file and all of its <BR>parent directories and you should be \
fine.<BR><BR>FWIW, a few users have seen this, so I have opened up an enhancement \
<BR>bug, #1185, to either document this issue or have the installer perform <BR>a \
check or for it to catch this exception and give you a more <BR>descriptive error \
message:<BR><BR>http://bugzilla.opennms.org/cgi-bin/bugzilla/show_bug.cgi?id=1185<BR><BR><BR>- \
djg<BR><BR>On Mar 21, 2005, at 10:38 PM, jithesh sathyan wrote:<BR><BR>&  gt;
 Hi,<BR>&gt; After installing OpenNMS, while running the installer to Setup the \
<BR>&gt; PostgreSQL Database (step 3.3.2 : "# $OPENNMS_HOME/bin/install -disU) \
<BR>&gt; the following error came up :<BR>&gt; \
---------------------------------------------<BR>&gt; - adding iplike database \
function... Exception in thread "main" <BR>&gt; org.postgresql.ut<BR>&gt; \
il.PSQLException: ERROR: could not access file <BR>&gt; \
"/root/OpenNMS/OpenNMS/packages/opennms-1.2.0-1/source/dist/lib/ <BR>&gt; iplike.so": \
Permission<BR>&gt; denied&nbsp; at <BR>&gt; \
org.postgresql.util.PSQLException.parseServerError(PSQLException.java:<BR>&gt; \
139)<BR>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<BR>&gt; \
org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:152)<BR>&gt; \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<BR>&gt; \
org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:100)<BR>&gt; \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<BR>&gt;  \
org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)<BR>&gt; \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<BR>&gt; \
org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State<BR>&gt; \
ment.java:517)<BR>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<BR>&gt; \
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State<BR>&gt; \
ment.java:50)<BR>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<BR>&gt; \
org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State<BR>&gt; \
ment.java:298)<BR>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<BR>&gt; \
org.opennms.install.Installer.updateIplike(Installer.java:1686)<BR>&gt; \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<BR>&gt; \
org.opennms.install.Installer.install(Installer.java:266)<BR>&gt; \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<BR>&gt; \
org.opennms.install.Installer.main(Installer.java:2450)<BR>&gt; \
-------------------------------------<BR>&gt;<BR>&gt; It changed the file permissions \
to 777  for iplike.so<BR>&gt;<BR>&gt; [root@littlefry lib]# ls -lrt iplike*<BR>&gt; \
lrwxrwxrwx&nbsp;&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp; \
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9 Mar 21 11:32 \
<BR>&gt; iplike.so.1.2.0 -&gt; iplike.so<BR>&gt; -rwxrwxrwx&nbsp;&nbsp;&nbsp; 1 \
root&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 27094 Mar \
21 11:32 iplike.so<BR>&gt;<BR>&gt;<BR>&gt; Moreover the command in step 3.3.2 was run \
as root.<BR>&gt; Please let me know what could be the possible error and if you need \
<BR>&gt; any further information to help me.<BR>&gt;<BR>&gt; Waiting for your \
valuable inputs.<BR>&gt;<BR>&gt; Regards,<BR>&gt; Jithesh<BR>&gt;<BR>&gt; \
__________________________________________________<BR>&gt; Do You Yahoo!?<BR>&gt; \
Tired of spam? Yahoo! Mail has the best spam protection around<BR>&gt; \
http://mail.yahoo.com<BR><BR><BR><BR>-------------------------------------------------------<BR>SF \
email is sponsored by - Th  e IT
 Product Guide<BR>Read honest &amp; candid reviews on hundreds of IT Products from \
real users.<BR>Discover which products truly live up to the hype. Start reading \
now.<BR>http://ads.osdn.com/?ad_ide95&amp;alloc_id396&amp;op=click<BR>_______________________________________________<BR>Please \
read the OpenNMS Mailing List \
FAQ:<BR>http://wiki.opennms.org/tiki-index.php?page=MailingListFaq<BR><BR>opennms-install \
mailing list<BR><BR>To *unsubscribe* or change your subscription options, see the \
bottom of this page:<BR>https://lists.sourceforge.net/lists/listinfo/opennms-install<BR></BLOCKQUOTE><p>
  <hr size=1>Do you Yahoo!?<br> 
<a href="http://us.rd.yahoo.com/my/navbar/sethp/*http://www.yahoo.com/r/hs 
">Make Yahoo! your home page</a> 
 
 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://wiki.opennms.org/tiki-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