Re: [Zope] Zope Crash!!!
+---[ Aitor Grajal ]-- | I have now Zope in . | | >If you do (like squid), then when you press 'Restart' on the Control Panel | >then something else might grab the port. | > | Heee!!! if I try Restart, Zope no restart | | And the exception is : | | exceptions.SystemExit | | Zope has exited normally. | | Traceback (innermost last): | File /usr/local/dc/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line |222, in publish_module | File /usr/local/dc/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line |187, in publish | File /usr/local/dc/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line |171, in publish | File /usr/local/dc/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/mapply.py, line |160, in mapply | (Object: manage_shutdown) | File /usr/local/dc/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line |112, in call_object | (Object: manage_shutdown) | File /usr/local/dc/Zope-2.2.1-linux2-x86/lib/python/App/ApplicationManager.py, |line 384, in manage_shutdown | (Object: Traversable) | SystemExit: 0 This looks like you pressed shutdown, instead of restart... | >It also could be that the port is lingering and is still in use when Zope | >tries to restart. | > | | What is a "port is lingering" ?? That is where a port remains open usually in a FIN_WAIT state (netstat -an will show ports in FIN_WAIT_1 and FIN_WAIT_2 [or maybe just FIN_WAIT] ) This can happen when your Zope restarts *very* quickly. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope Crash!!!
> It´s normal that when start Zope , Zope run two process z2.py ??? why??? > If I only run one time Zope. This is normal Zope runs under two (or more) threads when it starts. You need to understand Linux threads to understand why you see it twice in the process table. > Steps : > > 1 - Kill all z2 processor reboot the server... > 2 - start Zope > 3 - ps -auxwww | grep python | grep z2 > ---> Two process z2. > 4 - stop Zope > 5 - ps -auxwww | grep python | grep z2 >> Zero process z2 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope Crash!!!
It´s normal that when start Zope , Zope run two process z2.py ??? why??? If I only run one time Zope. Steps : 1 - Kill all z2 processor reboot the server... 2 - start Zope 3 - ps -auxwww | grep python | grep z2 ---> Two process z2. 4 - stop Zope 5 - ps -auxwww | grep python | grep z2 > Zero process z2 Help! Thanks ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope Crash!!!
I have now Zope in . >If you do (like squid), then when you press 'Restart' on the Control Panel >then something else might grab the port. > Heee!!! if I try Restart, Zope no restart And the exception is : exceptions.SystemExit Zope has exited normally. Traceback (innermost last): File /usr/local/dc/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/dc/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/dc/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/dc/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_shutdown) File /usr/local/dc/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_shutdown) File /usr/local/dc/Zope-2.2.1-linux2-x86/lib/python/App/ApplicationManager.py, line 384, in manage_shutdown (Object: Traversable) SystemExit: 0 >It also could be that the port is lingering and is still in use when Zope >tries to restart. > What is a "port is lingering" ?? Thanks ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope Crash!!!
>You have started another Zope process while one is already running. No, I sure of this. The Zope is running normally, but then suddenly down. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope Crash!!!
>Do you have something else running on port 8080 ? > No , I think;-) >If you do (like squid), then when you press 'Restart' on the Control Panel >then something else might grab the port. > Heee!!! if I try Restart, Zope no restart >It also could be that the port is lingering and is still in use when Zope >tries to restart. > What is a "port is lingering" ?? Thanks ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope Crash!!!
+---[ Aitor Grajal ]-- | | | I have only one z2.py running, and run all day and night ;-), | but sometimes (only managing Zope, not running other process z2.p) , this exception |jump, | but I haven´t two process, only have one. | I want know why crashIt´s very rare Do you have something else running on port 8080 ? If you do (like squid), then when you press 'Restart' on the Control Panel then something else might grab the port. It also could be that the port is lingering and is still in use when Zope tries to restart. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope Crash!!!
I have only one z2.py running, and run all day and night ;-), but sometimes (only managing Zope, not running other process z2.p) , this exception jump, but I haven´t two process, only have one. I want know why crashIt´s very rare Thanks *** REPLY SEPARATOR *** On 15/09/2000 at 12:07 Chris McDonough wrote: >Unless you've run z2.py "again", the error cannot happen during normal >operation. The error message comes from the startup routine in z2.py. > >If you're saying that you get this error every time you try to start Zope, I >can understand it. First, make sure there are no Zope processes running by >"ps -auxwww|grep python|grep z2". If there are, kill them. Then try to >start Zope. > >If you still get the error, delete the Data.fs.lock, Data.fs.tmp, Z2.pid, >and zProcessManager.pid files in the var directory and try to start again. > >If you still have the problem, check permissions on the var directory to >make sure the user you're starting Zope as has access to write files into >it. > >If you still have the problem after that... uh... I'm afraid I don't know >the answer. > >- Original Message - >From: <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> >Sent: Friday, September 15, 2000 11:47 AM >Subject: Re: [Zope] Zope Crash!!! > > >> >> >You have started another Zope process while one is already running. >> >>No, I sure of this. >> >>The Zope is running normally, but then suddenly down. >> >> >> ___ >> Zope maillist - [EMAIL PROTECTED] >> http://lists.zope.org/mailman/listinfo/zope >> ** No cross posts or HTML encoding! ** >> (Related lists - >> http://lists.zope.org/mailman/listinfo/zope-announce >> http://lists.zope.org/mailman/listinfo/zope-dev ) >> >> ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope Crash!!!
Unless you've run z2.py "again", the error cannot happen during normal operation. The error message comes from the startup routine in z2.py. If you're saying that you get this error every time you try to start Zope, I can understand it. First, make sure there are no Zope processes running by "ps -auxwww|grep python|grep z2". If there are, kill them. Then try to start Zope. If you still get the error, delete the Data.fs.lock, Data.fs.tmp, Z2.pid, and zProcessManager.pid files in the var directory and try to start again. If you still have the problem, check permissions on the var directory to make sure the user you're starting Zope as has access to write files into it. If you still have the problem after that... uh... I'm afraid I don't know the answer. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, September 15, 2000 11:47 AM Subject: Re: [Zope] Zope Crash!!! > > >You have started another Zope process while one is already running. > >No, I sure of this. > >The Zope is running normally, but then suddenly down. > > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope Crash!!!
You have started another Zope process while one is already running. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 15, 2000 11:14 AM Subject: [Zope] Zope Crash!!! In my computer Zope goes down frequently, and i don4t know why ... Mi configuration is : Linux Red Hat 6.1 Oracle 8.1.6 Zope 2.2.1 This is the message when died : --- Traceback (innermost last): File "/usr/local/dc/Zope-2.2.1-linux2-x86/z2.py", line 554, in ? exec "import "+MODULE in {} File "", line 1, in ? File "/usr/local/dc/Zope-2.2.1-linux2-x86/lib/python/Zope/__init__.py", line 110, in ? DB=ZODB.FileStorage.FileStorage(Globals.BobobaseName) File "/usr/local/dc/Zope-2.2.1-linux2-x86/lib/python/ZODB/FileStorage.py", line 262, in __init__ lock_file(f) File "/usr/local/dc/Zope-2.2.1-linux2-x86/lib/python/ZODB/lock_file.py", line 101, in lock_file raise error, ( ZODB.POSException.StorageSystemError: Could not lock the database file. There must be another process that has opened the file. Anyone can help me? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )