<br>Hi AJ,<br><br>Thank you for your reply. I checked the error logs and found that site is showing proxy error rather than showing 'site error' where there were programmatic bugs.<br><br>In the error log below, there is a image file missing. This breaks the site and shows 502 proxy error.<br>
<br>I would like to know whether we can change the proxy error to site error which wont affect the uptime of the site.<br><br>Thanks,<br>Babylakshmi<br>-----<br>2011-08-24T18:48:25 ERROR Zope.SiteErrorLog <a href="http://www.plasmaproteomedatabase.org/molecule_page">http://www.plasmaproteomedatabase.org/molecule_page</a><br>
Traceback (innermost last):<br> Module ZPublisher.Publish, line 115, in publish<br> Module ZPublisher.mapply, line 88, in mapply<br> Module ZPublisher.Publish, line 41, in call_object<br> Module OFS.DTMLMethod, line 144, in __call__<br>
- <DTMLMethod at /sites/PPD_new/molecule_page><br> - URL: <a href="http://www.plasmaproteomedatabase.org/molecule_page/manage_main">http://www.plasmaproteomedatabase.org/molecule_page/manage_main</a><br> - Physical Path: /sites/PPD_new/molecule_page<br>
Module DocumentTemplate.DT_String, line 476, in __call__<br> Module DocumentTemplate.DT_Util, line 196, in eval<br> - __traceback_info__: Fetch_Graph<br> Module <string>, line 1, in <expression><br> Module Products.ExternalMethod.ExternalMethod, line 225, in __call__<br>
- __traceback_info__: (('HPRD_00981', 'HPRD_00981_2'), {}, None)<br> Module /usr/local/zope/ZoPe/lib/python/Products/PPD/Extensions/Fetch_Graph.py, line 87, in Fetch_Graph<br> Module /usr/local/zope/ZoPe/lib/python/Products/PPD/Extensions/Fetch_Graph.py, line 349, in Make_Graph<br>
Module PIL.Image, line 1717, in open<br>IOError: [Errno 2] No such file or directory: '/usr/local/zope/PPD/architecture/domains/IL4.png'<br>----<br><div class="gmail_quote">On Wed, Aug 24, 2011 at 3:06 PM, Andreas Jung <span dir="ltr"><<a href="mailto:lists@zopyx.com">lists@zopyx.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
</div>Look at the event.log file (or however it is called on your<br>
installation). In general find your 'log' folder first (sniff into<br>
your zope.conf file to figure out the location).<br>
<br>
- -aj<br>
<div class="im"><br>
Babylakshmi Muthusamy wrote:<br>
> Hi aj,<br>
><br>
> Thanks for the immediate reply. I am a newbie for zope. I don't know<br>
> from where we can get those files. Could you please help me<br>
> providing file paths?<br>
><br>
> Thanks, Babylakshmi<br>
><br>
> On Wed, Aug 24, 2011 at 1:04 PM, Andreas Jung <<a href="mailto:lists@zopyx.com">lists@zopyx.com</a><br>
</div><div class="im">> <mailto:<a href="mailto:lists@zopyx.com">lists@zopyx.com</a>>> wrote:<br>
><br>
> The first thing is provide accurate information like information from<br>
> tracebacks, core dump files etc.<br>
><br>
> -aj<br>
><br>
> Babylakshmi Muthusamy wrote:<br>
>> Hi All,<br>
><br>
>> We have hosted 3 websites in a single web server with 4GB RAM. All<br>
>> the three sites were built using zope. Almost every day the sites<br>
>> are crashing with 504-proxy error. The sites are up when i restart<br>
>> the httpd and zope. Why this happens all the time? Your help on<br>
>> fixing this issue is greatly appreciated.<br>
><br>
>> Thanks and regards, Babylakshmi<br>
><br>
>> _______________________________________________ Zope-Dev maillist<br>
</div>>> - <a href="mailto:Zope-Dev@zope.org">Zope-Dev@zope.org</a> <mailto:<a href="mailto:Zope-Dev@zope.org">Zope-Dev@zope.org</a>><br>
<div class="im">> <a href="https://mail.zope.org/mailman/listinfo/zope-dev" target="_blank">https://mail.zope.org/mailman/listinfo/zope-dev</a> **<br>
>> No cross posts or HTML encoding! ** (Related lists -<br>
>> <a href="https://mail.zope.org/mailman/listinfo/zope-announce" target="_blank">https://mail.zope.org/mailman/listinfo/zope-announce</a><br>
>> <a href="https://mail.zope.org/mailman/listinfo/zope" target="_blank">https://mail.zope.org/mailman/listinfo/zope</a> )<br>
><br>
><br>
><br>
<br>
- --<br>
ZOPYX Limited | zopyx group<br>
Charlottenstr. 37/1 | The full-service network for Zope & Plone<br>
D-72070 Tübingen | Produce & Publish<br>
<a href="http://www.zopyx.com" target="_blank">www.zopyx.com</a> | <a href="http://www.produce-and-publish.com" target="_blank">www.produce-and-publish.com</a><br>
- ------------------------------------------------------------------------<br>
E-Publishing, Python, Zope & Plone development, Consulting<br>
<br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.11 (Darwin)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
</div>iQGUBAEBAgAGBQJOVMYTAAoJEADcfz7u4AZjHZ4LwJNocbnPGOLo/vbUQ4DtCTSh<br>
sBgfl8vM+WqnxwGJwClr+fU0672UKhRwZKWOATBPis1Fkc2Oxj1QXSJfDZqPJ5Dk<br>
rMUDCL3ImnOTfIxYkLV0CDp3P/KpDyZSBYFFsR5JURop0F9BNsaUFFWp1OUtaNSr<br>
Rsr7CZIjZVEfGaSJBNmxz7+uE3DjRoZyqXZdkDVH2FtZO02RvFQjjVqguqGmeN1E<br>
m8OziajlGLw0Ll6xU+OtP10Y9P8Y9AGznsY+msGeqngyRZZSQL4XXsUIpMVXW9Cy<br>
f1BP2FSA0kNo01BGzR9EzBssvoKxiL2W7FPP87VM+8SU4wHGzPmHzYXri47tydpb<br>
9qMGS3RCAOCBw001u+FxqOOLScNjnoYK/DTMz2KxQ/2pvaDxqnhl5BN/zHueo5ur<br>
cnqPDYAMcQmpqGVhy9uvRu4AHWR0ARARNYFsdtrf209gO16so0HOcmSW1EikrxJT<br>
udYCcFVG9uB6BNekhNTmRpxizsFoKLs=<br>
=xKDv<br>
-----END PGP SIGNATURE-----<br>
</blockquote></div><br>