[Zope] Data.fs data record exceeds transaction record
Hello 2 hours ago I wanted to go to sleep... and unfortunately I noticed that our websites were offline since about 5 hours; I coudn't start zope anymore because the Data.fs seems to be corrupted. The quick solution has been to copy a 2 days old version of the Data.fs back... but I still hope to recover the old Data.fs. But wenn I try to recover it with the fsrecover.py tool I get this error message: 2010-05-02 00:38:39 WARNING OFS.Application Duplicate Product name After loading Product 'Five' from '/scratch/ZOPE-BOT/current/Products', I skipped the one in '/scratch/local/app/zope/2.8.9.1-2.3.6/lib/python/ Products'. 2010-05-02 00:38:39 WARNING Init Class Products.LDAPUserFolder.LDAPUserFolder.LDAPUserFolder has a security declaration for nonexistent method 'getAttributeOfAllObjects' 2010-05-02 00:38:39 WARNING Init Class Products.LDAPUserFolder.LDAPUserFolder.LDAPUserFolder has a security declaration for nonexistent method 'getAttributeOfAllObjects' 2010-05-02 00:38:39 WARNING Silva Silva Documents require upgrading. There are Silva Documents which have not been upgraded to Silva 0.9.3. Upgrade via service_extensions. 2010-05-02 00:38:40 WARNING ZODB.FileStorage Ignoring index for / scratch/ZOPE-BOT/current/var/Data.fs 2010-05-02 00:38:51 CRITICAL ZODB.FileStorage /scratch/ZOPE-BOT/ current/var/Data.fs data record exceeds transaction record at 949568131 Traceback (most recent call last): File string, line 1, in ? File /scratch/local/app/zope/2.8.9.1-2.3.6/lib/python/Zope2/ __init__.py, line 51, in app startup() File /scratch/local/app/zope/2.8.9.1-2.3.6/lib/python/Zope2/ __init__.py, line 47, in startup _startup() File /scratch/local/app/zope/2.8.9.1-2.3.6/lib/python/Zope2/App/ startup.py, line 57, in startup DB = configuration.dbtab.getDatabase('/', is_root=1) File /scratch/local/app/zope/2.8.9.1-2.3.6/lib/python/DBTab/ DBTab.py, line 96, in getDatabase db = self._createDatabase(name, is_root) File /scratch/local/app/zope/2.8.9.1-2.3.6/lib/python/DBTab/ DBTab.py, line 113, in _createDatabase db = factory.open() File /scratch/local/app/zope/2.8.9.1-2.3.6/lib/python/Zope2/ Startup/datatypes.py, line 163, in open DB = self.createDB() File /scratch/local/app/zope/2.8.9.1-2.3.6/lib/python/Zope2/ Startup/datatypes.py, line 160, in createDB return ZODBDatabase.open(self) File /scratch/local/app/zope/2.8.9.1-2.3.6/lib/python/ZODB/ config.py, line 97, in open storage = section.storage.open() File /scratch/local/app/zope/2.8.9.1-2.3.6/lib/python/ZODB/ config.py, line 133, in open quota=self.config.quota) File /scratch/local/app/zope/2.8.9.1-2.3.6/lib/python/ZODB/ FileStorage/FileStorage.py, line 169, in __init__ read_only=read_only, File /scratch/local/app/zope/2.8.9.1-2.3.6/lib/python/ZODB/ FileStorage/FileStorage.py, line 1731, in read_index name, pos) File /scratch/local/app/zope/2.8.9.1-2.3.6/lib/python/ZODB/ FileStorage/FileStorage.py, line 52, in panic raise CorruptedTransactionError(message) ZODB.FileStorage.FileStorage.CorruptedTransactionError: %s data record exceeds transaction record at %s Thanks, Michele -- ETH Zürich Michele Marcionelli IT Support Gruppe D-MATH HG G 32.1 Rämistrasse 101 CH–8092 Zürich michele.marcione...@math.ethz.ch http://www.math.ethz.ch/~michele +41 44 632 6193 Telefon +41 44 632 1354 Fax ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] zope timeouts
Hello I'm running an old version of Zope which is required by our corporate design using also an older version of the CMS Silva: Linux Distribution: Red Hat Enterprise Linux Server release 5.5 Linux Kernel: 2.6.18-194.8.1.el5PAE Zope: 2.8.9.1 Python: 2.3.6 (with several modules, like: ldap, pil, mysql, pyxml, ...) Silva: 1.5.13 My problem ist that my zope server hat timeouts on displaying pages after a while that it has been started (currently this while is approx. 15 minutes). The only thing that helps is restarting zope. By accident I discovered about two month ago, that running an strace -f on the zope process, reactivated it... so I could live with this hack until yesterday. Now I'm running strace permanently (with all the disadvantages) and zope works fine for about 1 to 1.5 hours. Here is a short recurring output of strace: [pid 13408] ... futex resumed ) = 0 [pid 13406] futex(0xbcc12c0, FUTEX_WAIT_PRIVATE, 0, NULL unfinished ... [pid 13405] futex(0xbcc12c0, FUTEX_WAKE_PRIVATE, 1 unfinished ... [pid 13408] futex(0xbcc12c0, FUTEX_WAKE_PRIVATE, 1 unfinished ... [pid 13407] ... futex resumed ) = 0 [pid 13405] ... futex resumed ) = 1 [pid 13408] ... futex resumed ) = 1 [pid 13405] futex(0xbcc12c0, FUTEX_WAIT_PRIVATE, 0, NULL unfinished ... [pid 13408] futex(0xbcc12c0, FUTEX_WAIT_PRIVATE, 0, NULL unfinished ... [pid 13406] ... futex resumed ) = 0 [pid 13406] futex(0xbcc12c0, FUTEX_WAIT_PRIVATE, 0, NULL unfinished ... [pid 13407] futex(0xbcc12c0, FUTEX_WAKE_PRIVATE, 1) = 1 [pid 13405] ... futex resumed ) = 0 [pid 13407] futex(0xbcc12c0, FUTEX_WAKE_PRIVATE, 1 unfinished ... [pid 13405] futex(0xbcc12c0, FUTEX_WAIT_PRIVATE, 0, NULL unfinished ... [pid 13408] ... futex resumed ) = 0 [pid 13407] ... futex resumed ) = 1 [pid 13407] futex(0xbcc12c0, FUTEX_WAIT_PRIVATE, 0, NULL unfinished ... [pid 13405] ... futex resumed ) = -1 EAGAIN (Resource temporarily unavailable) I need definitively help... Any idea? Thx, Michele -- ETH Zürich Michele Marcionelli IT Support Gruppe D-MATH HG G 32.1 Rämistrasse 101 CH–8092 Zürich michele.marcione...@math.ethz.ch http://www.math.ethz.ch/~michele +41 44 632 6193 Telefon +41 44 632 1354 Fax ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] zope timeouts
Hello Peter - no the backtrace aren't repeatable and - no I saw the stat64 operation in 38 out of 767 tests and - no I'm working locally (not on some network partition). Can you maybe tell what is the meaning of this output that I get just after I start gdb? The output looks like this warning: .dynamic section for /lib/lib***.so.* is not at the expected address warning: difference appears to be caused by prelink, adjusting expectations and the most recurrent warnings (in the 767 tests) are: warning: .dynamic section for /usr/lib/liblber-2.3.so.0 is not at the expected address = tot 541 times warning: .dynamic section for /usr/lib/libsasl2.so.2 is not at the expected address = tot 483 times warning: .dynamic section for /usr/lib/libjpeg.so.62 is not at the expected address = tot 445 times warning: .dynamic section for /lib/libcrypt.so.1 is not at the expected address = tot 385 times warning: .dynamic section for /lib/libnsl.so.1 is not at the expected address = tot 358 times warning: .dynamic section for /lib/libcrypto.so.6 is not at the expected address = tot 330 times warning: .dynamic section for /lib/libsepol.so.1 is not at the expected address = tot 273 times warning: .dynamic section for /lib/libselinux.so.1 is not at the expected address = tot 239 times warning: .dynamic section for /usr/lib/libz.so.1 is not at the expected address = tot 225 times warning: .dynamic section for /usr/lib/libkrb5.so.3 is not at the expected address = tot 100 times Thank you anyway, Michele On Jul 20, 2010, at 19:59 , Peter Sabaini wrote: Hm, just some quick ideas -- thread 3 is busy doing a stat64() , should usually done quickly. And thread 4 is doing some kind of string operation (comparison), which also shouldn't take long except if you have a huge dataset. Is this backtrace repeatable, ie. does it hang in the same syscalls? Are you maybe running on NFS or something like that? hth, peter. On Tue, 2010-07-20 at 17:00 +0200, Michele Marcionelli wrote: Ciao Jens thank you for your answer. Now since I'm new with gdb I have some questions. I did following. I created a file called gdb_batch with following content: info threads thread 1 bt thread 2 bt thread 3 bt thread 4 bt thread 5 bt and run the gdb command like this gdb python $(cat Z2.pid) --batch -x gdb_batch gdb_bt.log 21 Can you maybe help me to decode the output (see attachment)? For instance: what does this mean? (gdb) info threads 5 Thread 0xb712bb90 (LWP 7532) 0x005fd410 in __kernel_vsyscall () 4 Thread 0xb672ab90 (LWP 7533) lookdict_string (mp=0xb78c4714, key=0xb7c19db8, hash=1293002269) at Objects/dictobject.c:331 3 Thread 0xb5d29b90 (LWP 7534) 0x005fd410 in __kernel_vsyscall () 2 Thread 0xb5328b90 (LWP 7535) 0x005fd410 in __kernel_vsyscall () * 1 Thread 0xb7fc16c0 (LWP 7174) 0x005fd410 in __kernel_vsyscall () What does mean the *? And what is the difference between the threads 1,2,3,5 (with the __kernel_vsyscall) and the 4? What should I look for? Thank you, Michele On Jul 20, 2010, at 14:54 , Jens Vagelpohl wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Michele, I would consider the coincience with strace reviving the process a red herring. When strace runs it does not influence the process you are watching with it, except for telling you what OS-level calls are made. The most common reason for such timeouts are problems with software that tries to use other network resources during the running request to talk to services like RDBMS systems, LDAP, etc. If these background connections hang for some reason you'll end up with a hanging Zope thread. Enough of them and Zope itself appears to hang. When your process hangs you should be able to attach to it using gdb and printing a stack trace for each thread. That may give you a big clue where the problem is. jens On 7/20/10 13:53 , Michele Marcionelli wrote: Hello I'm running an old version of Zope which is required by our corporate design using also an older version of the CMS Silva: Linux Distribution: Red Hat Enterprise Linux Server release 5.5 Linux Kernel: 2.6.18-194.8.1.el5PAE Zope: 2.8.9.1 Python: 2.3.6 (with several modules, like: ldap, pil, mysql, pyxml, ...) Silva: 1.5.13 My problem ist that my zope server hat timeouts on displaying pages after a while that it has been started (currently this while is approx. 15 minutes). The only thing that helps is restarting zope. By accident I discovered about two month ago, that running an strace -f on the zope process, reactivated it... so I could live with this hack until yesterday. Now I'm running strace permanently (with all the disadvantages) and zope works fine for about 1 to 1.5 hours. Here is a short recurring output of strace: [pid 13408] ... futex resumed ) = 0 [pid 13406] futex(0xbcc12c0, FUTEX_WAIT_PRIVATE, 0, NULL unfinished ... [pid
Re: [Zope] zope 2.11.4 + zmysqlda
Hi Oliver to check if you installed Zope-Products correctly, you can have a look in the control panel: http://localhost/Control_Panel/Products/manage_main If you see *broken* icons, then you have installed something incorrectly. Try also checking the logfile event.log. Regards, Michele On Jun 3, 2011, at 10:34 , Oliver wrote: Hi, I'm trying configure zope 2.11.4 + zmysqlda under Windows, for connecting it to a mysql database. I've done the next: 1) With zope stopped, I've downloaded zmysqlda, the last version 2.0.8, and I copy it to C:\Zope\2.11.4\Zope\lib\ python\Products. It's a dir named ZMySQLDA. 2) It needs for woking mysql-python, so I've downloaded the last version 1.2.2, as windows binary, of http://sourceforge.net/projects/mysql-python/files/mysql-python/1.2.2/;, the file named MySQL-python-1.2.2.win32-py2.4.exe. It needs a python registered in the windows registry, and the python of zope is not registered in the installation, so I've added a manual entry in the registry: HKLM\Software\python\pythoncore\2.4\InstallPath, here I put a entry as reg_sz type with the value: C:\Zope\2.11.4\Python\ It works well ... For testing it, I go the zope python shell and I put: import _mysql, it doesn't show error ... 3) I start zope service, but when I go to the dropdown Add in zope root folder, I don't have Z Mysql ... What I do bad? I have another products working well, as Ldapuserfolder, for example. Thanks beforehand. Cheers... ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev ) -- Michele Marcionelli · m...@ethz.ch · +41 44 632 6193 * Please consider the environment before printing ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope-DB] MySQL
Ciao Dario, I want to use MySQL in my Zope Installation. But I'm not able to install software (I don't really understand what shall I use and what shall I do...) I'm using Zope: 2.8.1 MySQL 4.1 Windows XP You have to install MySQL for Python: http://sourceforge.net/projects/mysql-python Copy the ZMySQLDA Zope Product in your Protucts-folder: http://www.zope.org/Members/adustman/Products/ZMySQLDA Restart zope. Log in as manager in the ZMI and add a Z MySQL Database Connection with the correspondig info of your server. After that you can use the SQL Method to query your MySQL server via the Z MySQL Database Connection. Cheers, Michele -- [EMAIL PROTECTED] / phone: +41 44 632 6193 eth zentrum / hg g 14 / raemistrasse 101 - ch-8092 zurich !DSPAM:4358c39817241410093335! ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db
Re: [Zope-DB] MySQL
When I try to execute MySQL-python.exe-1.2.0.win32-py2.4.exe I receive a message Box saying: ...MSVCR71.dll not found (I receive a message in italian..) Thanks Dario I'm sorry, but I don't live in the Windows world... With a quick google-search I found: .NET Framework SDK Version 1.1: Provides the core msvcrt.lib for msvcr71.dll against which to link your extensions. [...] Maybe you should try to install it also: http://msdn.microsoft.com/netframework/ Cheers, Michele -- [EMAIL PROTECTED] / phone: +41 44 632 6193 eth zentrum / hg g 14 / raemistrasse 101 - ch-8092 zurich ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db
[Zope-DB] ImportError: libmysqlclient_r.so.15
Hello Zope-DB members I'm migrating my zope/python/mysql/... installation from RedHat 3 to RedHat 5 and I still have a little problem. If I just start python and enter import MySQLdb I get the following error: Python 2.3.6 (#1, Nov 7 2007, 17:02:40) [GCC 4.1.1 20070105 (Red Hat 4.1.1-52)] on linux2 Type help, copyright, credits or license for more information. import MySQLdb Traceback (most recent call last): File stdin, line 1, in ? File /scratch/local/app/python/current/lib/python2.3/site- packages/PIL/__init__.py, line 19, in ? File build/bdist.linux-i686/egg/_mysql.py, line 7, in ? File build/bdist.linux-i686/egg/_mysql.py, line 6, in __bootstrap__ ImportError: libmysqlclient_r.so.15: cannot open shared object file: No such file or directory If I do the same after setting the LD_LIBRARY_PATH to /usr/local/lib/ mysql, I did not get error messages anymore! Now the problem: I included the LD_LIBRARY_PATH to my startup-script zopectl (see below) but I still get the same error message in the event.log file: 2007-11-07T20:53:24 ERROR Zope Could not import Products.ZMySQLDA Traceback (most recent call last): File /scratch/local/app/zope/2.8.9.1-2.3.6/lib/python/OFS/ Application.py, line 695, in import_product product=__import__(pname, global_dict, global_dict, silly) File /scratch/ZOPE/TEMPLATE_ZOPE-2.8.9.1_SILVA-1.5.10/Products/ ZMySQLDA/__init__.py, line 91, in ? import DA File /scratch/ZOPE/TEMPLATE_ZOPE-2.8.9.1_SILVA-1.5.10/Products/ ZMySQLDA/DA.py, line 92, in ? from db import DB File /scratch/ZOPE/TEMPLATE_ZOPE-2.8.9.1_SILVA-1.5.10/Products/ ZMySQLDA/db.py, line 89, in ? import _mysql File build/bdist.linux-i686/egg/_mysql.py, line 7, in ? File build/bdist.linux-i686/egg/_mysql.py, line 6, in __bootstrap__ ImportError: libmysqlclient_r.so.15: cannot open shared object file: No such file or directory Any idea? My versions: Zope-2.8.9.1-final Python-2.3.6 MySQL-python-1.2.2 mysql-5.0.45 The zopectl file: #! /bin/bash PYTHON=/scratch/local/app/python/2.3.6/bin/python ZOPE_HOME=/scratch/local/app/zope/2.8.9.1-2.3.6 reldir=`dirname $0` INSTANCE_HOME=`cd $reldir/..; pwd` CONFIG_FILE=$INSTANCE_HOME/etc/zope.conf SOFTWARE_HOME=/scratch/local/app/zope/2.8.9.1-2.3.6/lib/python PYTHONPATH=$SOFTWARE_HOME export PYTHONPATH INSTANCE_HOME SOFTWARE_HOME export TEMP=/tmp export LD_LIBRARY_PATH=/usr/local/lib/mysql export PYTHON_EGG_CACHE=$INSTANCE_HOME/var/.python-eggs ZDCTL=$SOFTWARE_HOME/Zope2/Startup/zopectl.py exec $PYTHON $ZDCTL -C $CONFIG_FILE $@ Grazie, Michele -- ETH Zürich Michele Marcionelli IT Support Gruppe D-MATH HG G 18 Rämistrasse 101 CH–8092 Zürich [EMAIL PROTECTED] http://www.math.ethz.ch/~michele +41 44 632 6193 Telefon +41 44 632 1404 Fax ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db
Re: [Zope-DB] Zope_Database_issue
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 smita kamdar wrote: LD_Library_path = /home/postgres/7.4.13/lib. But this didnt work. I still got the same error. check your *spelling* - environment variablea are *case-sensitive*. - -aj -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQGUBAEBAgAGBQJM5Ro1AAoJEADcfz7u4AZjaEMLwJb5i/9gGkpal7Hw6K5ee6z4 h+HEFAy+efmms2vsxCdibD9F+dehL2VpRMjqEbmyNmvIWZk0xY2qwsYgRP17cSAq cyfGRW01JZJJj/DXNoM2IkoNpyruiAVRgaF6oP680I0SEPNQgzLYALOycGzVNzLN 10EoBoGy+lpo3wNrG0ffcdjHQ3iK8MGFzasPEphGvcUVKgIQIMZzs49qIVthXzfY BQg1YOEnC1np+3dVRbXX0q5ngcqm/Cw+p9A55guKDfcw/WEeiA0I2846VwgkJbZ1 HidxeSMD30VuKhWosfqrYjALfBZq9vslX6yEb2iXa/YegDRJetEZpEFcsrPF0RfH sHrcEjTnESr2jYF67D3isDanAyyEs4fH9HzFQnJ/XfPn/3oxeYWCpNvO/2/+fy2e lEFyitgmTrsiL3ulGvfdwSt/EYtKO+b33yh0r2MXJQMi6l87sPLazEZgeN4Kd7/X CWZ792cWSKgA9Hm0fupbkJBfpuSafP8= =gfIf -END PGP SIGNATURE- lists.vcf___ Zope-DB mailing list Zope-DB@zope.org https://mail.zope.org/mailman/listinfo/zope-db -- ETH Zürich Michele Marcionelli IT Support Gruppe D-MATH HG G 32.1 Rämistrasse 101 CH–8092 Zürich michele.marcione...@math.ethz.ch http://www.math.ethz.ch/~michele +41 44 632 6193 Telefon +41 44 632 1354 Fax ___ Zope-DB mailing list Zope-DB@zope.org https://mail.zope.org/mailman/listinfo/zope-db
Re: [Zope-DB] Zope_Database_issue
Can you send me the output of ls -l /home/postgres/7.4.13/lib and the whole error message that you get? thanx, Michele On Nov 18, 2010, at 14:13 , smita kamdar wrote: Hi, Thanks a lot for your suggesstions!! I included the line: LD_LIBRARY_PATH=/home/postgres/7.4.13/lib export LD_LIBRARY_PATH with proper case spacing. Still facing the same error. Somewhere I had read that I need to include the same dir path i.e. (/home/postgres/7.4.13/lib) in the /etc/ld.so.conf file then run /ldconfig. I did that also , but to no result. But in /etc/ld.so.conf they had included 1 more dir path i.e. (/usr/local/pgsql/lib). But that path doesn’t exist on my pc. Do u think I can try something else to solve this? Thanks a lot for your quick response. -- Forwarded message -- From: Michele Marcionelli michele.marcione...@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/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 smita kamdar wrote: LD_Library_path = /home/postgres/7.4.13/lib. But this didnt work. I still got the same error. check your *spelling* - environment variablea are *case-sensitive*. - -aj -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQGUBAEBAgAGBQJM5Ro1AAoJEADcfz7u4AZjaEMLwJb5i/9gGkpal7Hw6K5ee6z4 h+HEFAy+efmms2vsxCdibD9F+dehL2VpRMjqEbmyNmvIWZk0xY2qwsYgRP17cSAq cyfGRW01JZJJj/DXNoM2IkoNpyruiAVRgaF6oP680I0SEPNQgzLYALOycGzVNzLN 10EoBoGy+lpo3wNrG0ffcdjHQ3iK8MGFzasPEphGvcUVKgIQIMZzs49qIVthXzfY BQg1YOEnC1np+3dVRbXX0q5ngcqm/Cw+p9A55guKDfcw/WEeiA0I2846VwgkJbZ1 HidxeSMD30VuKhWosfqrYjALfBZq9vslX6yEb2iXa/YegDRJetEZpEFcsrPF0RfH sHrcEjTnESr2jYF67D3isDanAyyEs4fH9HzFQnJ/XfPn/3oxeYWCpNvO/2/+fy2e lEFyitgmTrsiL3ulGvfdwSt/EYtKO+b33yh0r2MXJQMi6l87sPLazEZgeN4Kd7/X CWZ792cWSKgA9Hm0fupbkJBfpuSafP8= =gfIf -END PGP SIGNATURE- lists.vcf___ Zope-DB mailing list Zope-DB@zope.org https://mail.zope.org/mailman/listinfo/zope-db -- ETH Zürich Michele Marcionelli IT Support Gruppe D-MATH HG G 32.1 Rämistrasse 101 CH–8092 Zürich michele.marcione...@math.ethz.ch http://www.math.ethz.ch/~michele +41 44 632 6193 Telefon +41 44 632 1354 Fax ___ Zope-DB mailing list Zope-DB@zope.org https://mail.zope.org/mailman/listinfo/zope-db -- ETH Zürich Michele Marcionelli IT Support Gruppe D-MATH HG G 32.1 Rämistrasse 101 CH–8092 Zürich michele.marcione...@math.ethz.ch http://www.math.ethz.ch/~michele +41 44 632 6193 Telefon +41 44 632 1354 Fax ___ Zope-DB mailing list Zope-DB@zope.org https://mail.zope.org/mailman/listinfo/zope-db
Re: [Zope-DB] Zope_Database_issue
) ZConfig.ConfigurationError: Cannot start Zope with the effective user as the root user Have I made any mistake in changing the effective user part in zope.conf ? Do you think I have done right? Or is this some other error? Also find attached the two files in which it is showing errors. run.zip__init__.zip___ Zope-DB mailing list Zope-DB@zope.org https://mail.zope.org/mailman/listinfo/zope-db -- ETH Zürich Michele Marcionelli IT Support Gruppe D-MATH HG G 32.1 Rämistrasse 101 CH–8092 Zürich michele.marcione...@math.ethz.ch http://www.math.ethz.ch/~michele +41 44 632 6193 Telefon +41 44 632 1354 Fax ___ Zope-DB mailing list Zope-DB@zope.org https://mail.zope.org/mailman/listinfo/zope-db
Re: [Zope-DB] Fwd: Zope_Database_issue
Are you sure that the header file are in /home/postgres/7.4.13/src/include? And are readable for the user test? Normally I would expect to find them in something lik this /home/postgres/7.4.13/include M. PS: Why don't you install everything as root in /opt/? On Nov 19, 2010, at 14:40 , smita kamdar wrote: HI, I uninstalled Psycopg from my LINUX m/c now zope is working fine. Again I started installing psycopg-1.1.6 in the first step itsef it gives the following error: [t...@test psycopg-1.1.6]$. /configure --prefix=/opt/zope/psycopg-1.1.6 --with-mxdatetime-includes=/home/test/egenix/2.0.6/mx/DateTime/mxDateTime --with-postgres-includes=/home/postgres/7.4.13/src/include --with-postgres-libraries=/home/postgres/7.4.13/lib --with-zope=/opt/zope loading cache ./config.cache checking for python... /usr/bin/python checking python version... 2.4 checking python installation prefix... /home/test/Python/2.4.4 checking python installation exec_prefix... /home/test/Python/2.4.4 checking definitions in Python library makefile... done checking location of python library... $(prefix)/lib/python2.4/site-packages checking location of python shared modules... $(exec_prefix)/lib/python2.4/site-packages checking for gcc... gcc -pthread checking whether the C compiler (gcc -pthread ) works... yes checking whether the C compiler (gcc -pthread ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc -pthread accepts -g... yes checking how to run the C preprocessor... gcc -pthread -E checking whether make sets ${MAKE}... yes checking for inline... inline checking PostgreSQL version... configure: error: missing PostgreSQL headers Is it because of this error that I am not able to solve the issue? Because last time when I Installed Psycopg I faced the same error. How shall I progress? Please Note: Paths of the Directories where my installables are – Zope --à /opt/zope Python à /home/test/Python/2.4.4 Egenix -à /home/test/egenix Postgresqlà /home/postgres/7.4.13 Psycopgà/opt/zope/psycopg-1.1.6 ___ Zope-DB mailing list Zope-DB@zope.org https://mail.zope.org/mailman/listinfo/zope-db -- ETH Zürich Michele Marcionelli IT Support Gruppe D-MATH HG G 32.1 Rämistrasse 101 CH–8092 Zürich michele.marcione...@math.ethz.ch http://www.math.ethz.ch/~michele +41 44 632 6193 Telefon +41 44 632 1354 Fax ___ Zope-DB mailing list Zope-DB@zope.org https://mail.zope.org/mailman/listinfo/zope-db