[Zope-DB] [Zope-db]Zope_Database_Issue

2010-11-24 Thread smita kamdar
HI, On my LINUX Red Hat machine, I had installed postgresql, zope, psycopg, egenix many times then uninstalled it that too at different locations. Due to multiple installations uninstallations, the complete setup of the LINUX box has changed. Many things that were working earlier are not

Re: [Zope-DB] [Zope-db]Zope_Database_Issue

2010-11-24 Thread Charlie Clark
Am 24.11.2010, 12:27 Uhr, schrieb smita kamdar smita.kamda...@gmail.com: On my LINUX Red Hat machine, I had installed postgresql, zope, psycopg, egenix many times then uninstalled it that too at different locations. Due to multiple installations uninstallations, the complete setup of

[Zope-DB] Zope_Database_issue

2010-11-22 Thread smita kamdar
HI, I downloaded Psycopg2-2.2.2.tar.gz , extracted it started installing it as root user. I followed the below steps: [r...@test psycopg2-2.2.2]# *which pg_config* /home/postgres/7.4.13/bin/pg_config [r...@test psycopg2-2.2.2]# *python setup.py install* running install running

[Zope-DB] Zope_Database_issue

2010-11-19 Thread smita kamdar
--- *From:* Michele Marcionelli [mailto:michele.marcione...@math.ethz.ch] *Sent:* Thursday, November 18, 2010 11:55 PM *To:* smita kamdar *Cc:* zope-db@zope.org *Subject:* Re: [Zope-DB] Zope_Database_issue As I can see you execute the ldd command

Re: [Zope-DB] Zope_Database_issue

2010-11-19 Thread Charlie Clark
Am 19.11.10 12:32, schrieb smita kamdar: Do you think I have done right? Or is this some other error? Dear Smita, there was no need to set root as owner of the Postgres libraries. You just need to have permissions that are readable by the Zope user which is what Michele described. Once this

Re: [Zope-DB] Zope_Database_issue

2010-11-19 Thread Michele Marcionelli
Hi Smita running Zope (or a generally a server) as root is newer a good idea (for several reasons; one of them: security). Zope probably avoid this problem by producing the error message that you posted (I just tested it, and I also got the same message). Create a news user, let say: zope

[Zope-DB] Zope_Database_issue

2010-11-18 Thread smita kamdar
, 2010 at 1:14 PM Subject: Re: [Zope-DB] Zope_Database_issue To: smita kamdar smita.kamda...@gmail.com Cc: zope-db@zope.org -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 smita kamdar wrote: *ImportError: libpq.so.3: cannot open shared object file: No such file or directory* This error message

Re: [Zope-DB] Zope_Database_issue

2010-11-18 Thread Andreas Jung
also while installing Psycopg I gave the same path of Postgres library. Now what else I need to do? Thanks a lot!! -- Forwarded message -- From: *Andreas Jung* li...@zopyx.com mailto:li...@zopyx.com Date: Thu, Nov 18, 2010 at 1:14 PM Subject: Re: [Zope-DB

Re: [Zope-DB] Zope_Database_issue

2010-11-18 Thread Charlie Clark
Am 18.11.10 10:13, schrieb smita kamdar: But I can see the library �libpq.so.3� in the Postgres lib directory also while installing Psycopg I gave the same path of Postgres library. Now what else I need to do? Hi Smita, the problem is not with Zope but with the underlying psycopg library

Re: [Zope-DB] Zope_Database_issue

2010-11-18 Thread Michele Marcionelli
Hi Smita ... and pay attention to the spaces. Use this: export LD_LIBRARY_PATH=/home/postgres/7.4.13/lib Maybe you should put this line to your start/stop script (zopectl). Kind regards, Michele On Nov 18, 2010, at 13:21 , Andreas Jung wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

Re: [Zope-DB] Zope_Database_issue

2010-11-18 Thread Michele Marcionelli
...@math.ethz.ch Date: Thu, Nov 18, 2010 at 5:56 PM Subject: Re: [Zope-DB] Zope_Database_issue To: li...@zopyx.com Cc: smita kamdar smita.kamda...@gmail.com, Zope-DB zope-db@zope.org Hi Smita ... and pay attention to the spaces. Use this: export LD_LIBRARY_PATH=/home/postgres/7.4.13

[Zope-DB] Zope_Database_issue

2010-11-17 Thread smita kamdar
Message: 2 Date: Tue, 16 Nov 2010 18:46:59 +0100 From: Andreas Jungli...@zopyx.com Subject: Re: [Zope-DB] Zope_Database_issue To: smita kamdarsmita.kamda...@gmail.com Cc: zope-db@zope.org Message-ID: aanlktimdhkoe_ur9tvp0kefohqbz+qz_x+61kbzhd

Re: [Zope-DB] Zope_Database_issue

2010-11-17 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 smita kamdar wrote: *ImportError: libpq.so.3: cannot open shared object file: No such file or directory* This error message is self-speaking - either the Postgres library is not present or at a different place. Adjust your LD_LIBRARY_PATH as

[Zope-DB] Zope_Database_issue

2010-11-16 Thread smita kamdar
Hi, I am a beginner in zope with no prior experience. I am supposed to setup a development environment with zope, postgres, python, openflow, egenix psycopg. I have installed all of them on Red Hat Linux. All of them are installed successfully. I have properly installed Psycopg in the

Re: [Zope-DB] Zope_Database_issue

2010-11-16 Thread Andreas Jung
Try using Products.SQLAlchemyDA instead. -aj 2010/11/16 smita kamdar smita.kamda...@gmail.com Hi, I am a beginner in zope with no prior experience. I am supposed to setup a development environment with zope, postgres, python, openflow, egenix psycopg. I have installed all of them