[Zope-DB] Zope_Database_issue

smita kamdar smita.kamdar00 at gmail.com
Thu Nov 18 09:07:21 EST 2010


HI,



Please find attached 2 files:



1)      Postgres_lib_list.txt :  This file contains the output of  ‘ls -l
/home/postgres/7.4.13/lib’

2)      ZPsycopgDA_error_log: This file contains the error log when zope is
started in debug mode (/bin/zopectl fg)



Thanks a lot!



I really appreciate the interest people are showing to solve this issue.



Regards,

Smita kamdar.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-db/attachments/20101118/1cbeadab/attachment.html 
-------------- next part --------------

-rwxr-xr-x. 1 postgres postgres    4791 2010-11-09 23:59 ascii_and_mic.so
-rwxr-xr-x. 1 postgres postgres   12854 2010-11-09 23:59 cyrillic_and_mic.so
-rwxr-xr-x. 1 postgres postgres    5189 2010-11-09 23:59 euc_cn_and_mic.so
-rwxr-xr-x. 1 postgres postgres   11820 2010-11-09 23:59 euc_jp_and_sjis.so
-rwxr-xr-x. 1 postgres postgres    5342 2010-11-09 23:59 euc_kr_and_mic.so
-rwxr-xr-x. 1 postgres postgres   10342 2010-11-09 23:59 euc_tw_and_big5.so
-rwxr-xr-x. 1 postgres postgres    7288 2010-11-09 23:59 latin2_and_win1250.so
-rwxr-xr-x. 1 postgres postgres    6001 2010-11-09 23:59 latin_and_mic.so
-rw-r--r--. 1 postgres postgres   67686 2010-11-09 23:59 libecpg.a
-rw-r--r--. 1 postgres postgres   12840 2010-11-09 23:59 libecpg_compat.a
lrwxrwxrwx. 1 postgres postgres      21 2010-11-09 23:59 libecpg_compat.so -> libecpg_compat.so.1.2
lrwxrwxrwx. 1 postgres postgres      21 2010-11-09 23:59 libecpg_compat.so.1 -> libecpg_compat.so.1.2
-rwxr-xr-x. 1 postgres postgres   17630 2010-11-09 23:59 libecpg_compat.so.1.2
lrwxrwxrwx. 1 postgres postgres      14 2010-11-09 23:59 libecpg.so -> libecpg.so.4.1
lrwxrwxrwx. 1 postgres postgres      14 2010-11-09 23:59 libecpg.so.4 -> libecpg.so.4.1
-rwxr-xr-x. 1 postgres postgres   50706 2010-11-09 23:59 libecpg.so.4.1
-rw-r--r--. 1 postgres postgres   74282 2010-11-09 23:59 libpgtypes.a
lrwxrwxrwx. 1 postgres postgres      17 2010-11-09 23:59 libpgtypes.so -> libpgtypes.so.1.2
lrwxrwxrwx. 1 postgres postgres      17 2010-11-09 23:59 libpgtypes.so.1 -> libpgtypes.so.1.2
-rwxr-xr-x. 1 postgres postgres   60992 2010-11-09 23:59 libpgtypes.so.1.2
-rw-r--r--. 1 postgres postgres  145694 2010-11-09 23:59 libpq.a
lrwxrwxrwx. 1 postgres postgres      12 2010-11-09 23:59 libpq.so -> libpq.so.3.1
lrwxrwxrwx. 1 postgres postgres      12 2010-11-09 23:59 libpq.so.3 -> libpq.so.3.1
-rwxr-xr-x. 1 postgres postgres  114161 2010-11-09 23:59 libpq.so.3.1
-rwxr-xr-x. 1 postgres postgres  117200 2010-11-09 23:59 plpgsql.so
-rwxr-xr-x. 1 postgres postgres    4796 2010-11-09 23:59 utf8_and_ascii.so
-rwxr-xr-x. 1 postgres postgres  224199 2010-11-09 23:59 utf8_and_big5.so
-rwxr-xr-x. 1 postgres postgres   14124 2010-11-09 23:59 utf8_and_cyrillic.so
-rwxr-xr-x. 1 postgres postgres  124045 2010-11-09 23:59 utf8_and_euc_cn.so
-rwxr-xr-x. 1 postgres postgres  215885 2010-11-09 23:59 utf8_and_euc_jp.so
-rwxr-xr-x. 1 postgres postgres  136485 2010-11-09 23:59 utf8_and_euc_kr.so
-rwxr-xr-x. 1 postgres postgres  337757 2010-11-09 23:59 utf8_and_euc_tw.so
-rwxr-xr-x. 1 postgres postgres 1018668 2010-11-09 23:59 utf8_and_gb18030.so
-rwxr-xr-x. 1 postgres postgres  353552 2010-11-09 23:59 utf8_and_gbk.so
-rwxr-xr-x. 1 postgres postgres    5438 2010-11-09 23:59 utf8_and_iso8859_1.so
-rwxr-xr-x. 1 postgres postgres   31759 2010-11-09 23:59 utf8_and_iso8859.so
-rwxr-xr-x. 1 postgres postgres  280206 2010-11-09 23:59 utf8_and_johab.so
-rwxr-xr-x. 1 postgres postgres  128943 2010-11-09 23:59 utf8_and_sjis.so
-rwxr-xr-x. 1 postgres postgres    6871 2010-11-09 23:59 utf8_and_tcvn.so
-rwxr-xr-x. 1 postgres postgres  280208 2010-11-09 23:59 utf8_and_uhc.so
-rwxr-xr-x. 1 postgres postgres    6920 2010-11-09 23:59 utf8_and_win1250.so
-rwxr-xr-x. 1 postgres postgres    6952 2010-11-09 23:59 utf8_and_win1256.so
-rwxr-xr-x. 1 postgres postgres    6705 2010-11-09 23:59 utf8_and_win874.so
-------------- next part --------------
/opt/zope/bin/runzope -X debug-mode=on
2010-11-19 00:24:13 INFO ZServer HTTP server started at Fri Nov 19 00:24:13 2010
        Hostname: 0.0.0.0
        Port: 8080
2010-11-19 00:24:13 ERROR Application Could not import Products.ZPsycopgDA
Traceback (most recent call last):
  File "/opt/zope/lib/python/OFS/Application.py", line 709, in import_product
    product=__import__(pname, global_dict, global_dict, silly)
  File "/opt/zope/lib/python/Products/ZPsycopgDA/__init__.py", line 92, in ?
    import DA
  File "/opt/zope/lib/python/Products/ZPsycopgDA/DA.py", line 94, in ?
    from db import DB
  File "/opt/zope/lib/python/Products/ZPsycopgDA/db.py", line 99, in ?
    import psycopg
ImportError: libpq.so.3: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/opt/zope/lib/python/Zope2/Startup/run.py", line 56, in ?
    run()
  File "/opt/zope/lib/python/Zope2/Startup/run.py", line 21, in run
    starter.prepare()
  File "/opt/zope/lib/python/Zope2/Startup/__init__.py", line 109, in prepare
    self.startZope()
  File "/opt/zope/lib/python/Zope2/Startup/__init__.py", line 300, in startZope
    Zope2.startup()
  File "/opt/zope/lib/python/Zope2/__init__.py", line 47, in startup
    _startup()
  File "/opt/zope/lib/python/Zope2/App/startup.py", line 51, in startup
    OFS.Application.import_products()
  File "/opt/zope/lib/python/OFS/Application.py", line 686, in import_products
    import_product(product_dir, product_name, raise_exc=debug_mode)
  File "/opt/zope/lib/python/OFS/Application.py", line 709, in import_product
    product=__import__(pname, global_dict, global_dict, silly)
  File "/opt/zope/lib/python/Products/ZPsycopgDA/__init__.py", line 92, in ?
    import DA
  File "/opt/zope/lib/python/Products/ZPsycopgDA/DA.py", line 94, in ?
    from db import DB
  File "/opt/zope/lib/python/Products/ZPsycopgDA/db.py", line 99, in ?
    import psycopg
ImportError: libpq.so.3: cannot open shared object file: No such file or directory


More information about the Zope-DB mailing list