|
osdir.com mailing list archive F.A.Q. -since 2001! 680036 |
|
|
|
|
Date: Prev Next Date Index Thread: Prev Next Thread Index
On Jan 16, 2007, at 7:51 PM, jcfly wrote:
> i just want to ask a question,does postgresql8.2.0+opennms1.2.9-2 > work? > i got some error when i issue "install -disU". > the error is: > (creating tables is OK...) > - adding iplike database function... Exception in thread "main" > org.postgresql.util.PSQLException: ERROR: incompatible library "/ > opt/OpenNMS/lib/iplike.so": missing magic block > > 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 > (AbstractJdbc1Statement.java:517) > at org.postgresql.jdbc2.AbstractJdbc2Statement.execute > (AbstractJdbc2Statement.java:50) > at org.postgresql.jdbc1.AbstractJdbc1Statement.execute > (AbstractJdbc1Statement.java:298) > at org.opennms.install.Installer.updateIplike > (Installer.java:1691) > at org.opennms.install.Installer.install(Installer.java:265) > at org.opennms.install.Installer.main(Installer.java:2450) PostgreSQL 8.2 requires that libraries that get loaded into the PostgreSQL daemon (like our iplike.so library) implement a special "magic block" so that PostgreSQL can determine that there isn't a version conflict or anything. This is a new requirement as of 8.2, and we haven't yet added support for this to the OpenNMS iplike.so library. You'll probably need to use PostgreSQL 8.1 or earlier, as I'm not sure if this is a way to disable the "magic block" feature in 8.2. Sorry for this, but it caught us off guard, and we didn't have time to find a solution for the most recent releases. - djg ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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
Thread at a glance:
Previous Message by Date:Installation issuesHi All, I'm taking a network management class at my local college, and much later in the semester I'm going to be doing a presentation to the class on opennms. Now the bad news. I'm having a heck of a time getting it installed. I'm running FC6. I've installed everything per the directions, but I seem to be getting some errors related to Tomcat4. When I start it, I get several errors: could not find jdbc_stdext java extension for this JVM, this is repeated for these extensions: jndi servletapi4 jaas it laso says some detected jars were not found for this jvm it also gives me an error about -mindepth and -maxdepth. Then says it starts "OK" If I stop it, I get these errors: /usr/bin/dtomcat4 line 199: /usr/bin/java/bin/java: Not a directory /usr/bin/dtomcat4 line 199: exec: /usr/bin/java/bin/java cannot execure: not a directory. Java home is set to /usr/bin/java. Then [FAILED] I tried setting it to /usr (as it seemed like it was repeating stuff) but that caused a whole new host of errors. This is the same java that opennms is using, and I installed the appropriate SDK from sun.java.com per the instructions. Otherwise everything has installed and worked fine. The opennms installer runs without error. When I try to opennms start, It says it was started but stopped running. Output.log tails with: could not initialize icmpsocket:null java.lang.nosuchfielderror <<no stacktrace available>> Any help is appreciated. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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 Next Message by Date:Re: postgresql8.2.0+opennms1.2.9-2had this same issue, I did a downgrade from 8.2 to 7.3 and was fixed.jcfly <jcfly@xxxxxxx> wrote: hi,all!i just want to ask a question,does postgresql8.2.0+opennms1.2.9-2 work?i got some error when i issue "install -disU".the error is:(creating tables is OK...)- adding iplike database function... Exception in thread "main" org.postgresql.util.PSQLException: ERROR: incompatible library "/opt/OpenNMS/lib/iplike.so": missing magic block 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(AbstractJdbc1Statement.java:517) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50) at org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:298) at org.opennms.install.Installer.updateIplike(Installer.java:1691) at org.opennms.install.Installer.install(Installer.java:265) at org.opennms.install.Installer.main(Installer.java:2450)how to fix it?thanks in advance!-------------------------------------------------------------------------Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT & business topics through brief surveys - and earn cashhttp://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________Please read the OpenNMS Mailing List FAQ:http://www.opennms.org/index.php/Mailing_List_FAQopennms-install mailing listTo *unsubscribe* or change your subscription options, see the bottom of this page:https://lists.sourceforge.net/lists/listinfo/opennms-install Bored stiff? Loosen up...Download and play hundreds of games for free on Yahoo! Games.------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________ 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 Previous Message by Thread:Re: postgresql8.2.0+opennms1.2.9-2-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi had the same problem, with version postgresql-8.1.6 there is no problem during the installation. jcfly wrote: > the error is: > (creating tables is OK...) > - adding iplike database function... Exception in thread "main" > org.postgresql.util.PSQLException: ERROR: incompatible library > "/opt/OpenNMS/lib/iplike.so": missing magic block > > 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(AbstractJdbc1Statement.java:517) > at > org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50) > at > org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:298) > at org.opennms.install.Installer.updateIplike(Installer.java:1691) > at org.opennms.install.Installer.install(Installer.java:265) > at org.opennms.install.Installer.main(Installer.java:2450) - -- | /"\ ASCII Ribbon | R.Trommer (Germany) - http://www.mcl2k.de | | \ / Campaign Against | PGP key: pgp.mit.edu; subkeys.pgp.net; | | X HTML In Mail | 46AD 1D66 1898 0264 D6B8 E241 FED7 B3C8 AB34 7382 | | / \ And News | IRC: de.quakenet.org - #mcl2k | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQIVAwUBRbiTjNaBW0j+5TMbAQJHSQ//Z7aV8Hgrvb/F0/G5bk3zFRPgAZ8nWl3+ m/g9IDRvige1c43TVweQsYlJDkgUH6KBSYA/L7iZGwmzenijEoxbBzPyXOkcBGhv +6QS1r+YVEcAfC0paIHMUhfG9Pv4KOmbrv5/DDYeqE8FRkTauWdoSE8iFA1Wgc0q 3ywRX3e/i2aoBddP6Pwj+1zsNqk6CfKQ15lZATU7zK2132ic5NXdTYurih61iJAf AXBoUA+EEyNjh0WfWAWfeEwpPeRMwDzU2N3AkEA5tim6W7Ls774s0jPT7dawQXz2 zs9frHrHhuR5rPRU6mO60Ow9xYUpT6BgWfG9npj0vzuox95y1Ux4PMi13ySQs0YU EgrM0U4PanGhLoOMyIo6DDZDDhGTbPwr5vTfcdsEbF6MazM1yDFnB3NCwcplg6iS pci9KUBHGJP8c3f20Iu81Zmc/k6F0Ngc0ZCD5eYuQDeUC7tFlGjxzwjsZ+M8Oz6a InLOTawFHBxwheqVGgRKNYLAbr1loVv7Mh+zWHZxsYCrHUtCMarImic+DMgekyll c4HN7r//mkc50WjXeq0KNM37WvCxI8SL/WNpeZapBUvxBP8uTHyHGVz6FdPxgMW0 1waJvEJg+/FvlsWKbLWNcDIuJqCFOSgPgF3AG9nXMde8Z7AD7dAL69ZC8mcI1X/6 qbz+k62GKzw= =Z16d -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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 Next Message by Thread:Re: postgresql8.2.0+opennms1.2.9-2had this same issue, I did a downgrade from 8.2 to 7.3 and was fixed.jcfly <jcfly@xxxxxxx> wrote: hi,all!i just want to ask a question,does postgresql8.2.0+opennms1.2.9-2 work?i got some error when i issue "install -disU".the error is:(creating tables is OK...)- adding iplike database function... Exception in thread "main" org.postgresql.util.PSQLException: ERROR: incompatible library "/opt/OpenNMS/lib/iplike.so": missing magic block 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(AbstractJdbc1Statement.java:517) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50) at org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:298) at org.opennms.install.Installer.updateIplike(Installer.java:1691) at org.opennms.install.Installer.install(Installer.java:265) at org.opennms.install.Installer.main(Installer.java:2450)how to fix it?thanks in advance!-------------------------------------------------------------------------Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT & business topics through brief surveys - and earn cashhttp://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________Please read the OpenNMS Mailing List FAQ:http://www.opennms.org/index.php/Mailing_List_FAQopennms-install mailing listTo *unsubscribe* or change your subscription options, see the bottom of this page:https://lists.sourceforge.net/lists/listinfo/opennms-install Bored stiff? Loosen up...Download and play hundreds of games for free on Yahoo! Games.------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________ 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
|
|