Re: postgresql install
Tyler Mills <[email protected]>
| Newsgroups | gmane.network.opennms.install |
|---|---|
| Message-ID | <[email protected]> |
Are you running 32 bit or 64 bit? From: Michael Schouman [mailto:[email protected]] Sent: Friday, February 11, 2011 2:02 PM To: [email protected] Subject: Re: [opennms-install] postgresql install I looked into this issue myself because there are no replys. So i did a set -x in the shell script and the output was: + prefix=/usr + exec_prefix=/usr + libdir=/usr/lib + '[' -z '' ']' + PG_DATABASE=opennms + '[' -z '' ']' + PG_USER=postgres + '[' -z '' ']' + PG_HOST=localhost + '[' -z '' ']' + PG_PORT=5432 + '[' -z '' ']' + PG_PSQL=/usr/bin/psql + getopts hc:d:u:x:p:s: ARG + '[' '!' -r /usr/lib/iplike.la<http://iplike.la> ']' + . /usr/lib/iplike.la<http://iplike.la> ++ dlname=iplike.so ++ library_names='iplike.so iplike.so iplike.so' ++ old_library= ++ dependency_libs=' -L/usr/lib -lpq' ++ current=0 ++ age=0 ++ revision=0 ++ installed=yes ++ shouldnotlink=yes ++ dlopen= ++ dlpreopen= ++ libdir=/usr/lib + '[' '!' -f /usr/lib/iplike.so ']' + '[' '!' -x /usr/bin/psql ']' + PG_COMMAND=' /usr/bin/psql' + '[' -n '' ']' + '[' -n postgres ']' + PG_COMMAND=' /usr/bin/psql -U postgres' + '[' -n localhost ']' + PG_COMMAND=' /usr/bin/psql -U postgres -h localhost' + '[' -n 5432 ']' + PG_COMMAND=' /usr/bin/psql -U postgres -h localhost -p 5432' + PG_COMMAND=' /usr/bin/psql -U postgres -h localhost -p 5432 opennms' + cat + /usr/bin/psql -U postgres -h localhost -p 5432 opennms ERROR: could not load library "/usr/lib/iplike.so": /usr/lib/iplike.so: ELF file OS ABI invalid So the string: cat <<END | $PG_COMMAND CREATE OR REPLACE FUNCTION iplike(text,text) RETURNS bool AS '$libdir/$dlname' LANGUAGE 'c' WITH(isstrict); END This seems to be a problem. So is the question, why? Can you guys have a look? Thanks in advance! Michael On Tue, Feb 8, 2011 at 9:41 AM, Michael Schouman <[email protected]<mailto:[email protected]>> wrote: Hi all, Im new to opennms but not new to monitoring systems like nagios and cacti. I hate the interfaces of nagios and cacti so i wanted to try something new. So opennms was a great choice. Anyway postgres is a disaster to install but after 2 hours i got it running. So hooray for me :-) But then... iplike... i run the shellscript and get the following error: ERROR: could not load library "/usr/lib/iplike.so": /usr/lib/iplike.so: ELF file OS ABI invalid What is going wrong. I googled the net and scrolled through the mailling archive but found nothing :-( So i was hoping that you guys can help me out a little. Im working on a CentOS 5.5 box with postgres (PostgreSQL) 8.1.22 Thanks loads! Michael -- Afstudeerproject: #LiveArtz http://www.LiveArtz.nl http://portfolio.schouman.info My digital portfolio/CV ------------------------------------------------------- Deze email is verstuurd door Michael Disclaimer: http://blog.schouman.info/index.php/e-mail-disclaimer/ -- Afstudeerproject: #LiveArtz http://www.LiveArtz.nl http://portfolio.schouman.info My digital portfolio/CV ------------------------------------------------------- Deze email is verstuurd door Michael Disclaimer: http://blog.schouman.info/index.php/e-mail-disclaimer/ ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ 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