[Zope-dev] libmysqlclient_r.so.15: cannot open shared object file: No such file or directory

2012-10-29 Thread Babylakshmi Muthusamy
Hi,

I have migrated zope from Cent OS 5 to 6. Now I am getting the following
error when I try to save or run external method using mysql:

*Error Type: ImportError*
*Error Value: libmysqlclient_r.so.15: cannot open shared object file: No
such file or directory*
*
*
Any help to fix this is highly appreciated.

Thanks,
Babylakshmi

-- 


Babylakshmi Muthusamy
Ph.D. student
Institute of Bioinformatics
7th Floor, Discoverer Building
International Technology Park
Bangalore - 560 066
India
Ph: +91-80-28416140
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Passing variable across pages

2011-09-21 Thread Babylakshmi Muthusamy
Hi All,

I have a query page which gives multiple category results. I would like to
list the categories in a intermediate page and link them to multiple pages.
I have a single script which generates multiple category outputs. I would
like to pass the variables for each of the categories pages through the
intermediate page.
I tried by storing them in session variables. but the sessions get expired
quickly.
I tried passing them through query string, but the results are with multiple
lines(say 40,000)
Please suggest me a solution for this.

Thanks and Regards,
Babylakshmi
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Site error

2011-09-12 Thread Babylakshmi Muthusamy
Hi,

I have three web sites hosted in the same server with 4GB RAM and enough
storage. The third web-site hosted recently requires high processing and
heavy scripts are running. Basically one of the script communicates with 2
databases and fetches the results. The heavy script runs for 3 minutes. the
CPU occupies 183% or more for that script. Until it complete the script the
web-site goes down with proxy error, where httpd is running and zope is also
running.  Only after restarting either zope or httpd, all the three sites
are accessible. Could you please suggest me solutions to optimize the sites?

Any pointers in this regard is highly appreciated.

Thanks and Regards,
Babylakshmi
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] web sites are keep crashing

2011-08-26 Thread Babylakshmi Muthusamy
Hi AJ,

I have moved one of the site's database from ZODB to mysql. Should I have to
change any of the configuration?

Thanks,
Babylakshmi

On Thu, Aug 25, 2011 at 4:06 PM, Andreas Jung li...@zopyx.com wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1



 Babylakshmi Muthusamy wrote:

  /usr/local/zope/ZoPe/lib/python/Products/PPD/Extensions/Fetch_Graph.py,
 
 
 line 349, in Make_Graph
  Module PIL.Image, line 1717, in open IOError: [Errno 2] No such file
  or directory: '/usr/local/zope/PPD/architecture/domains/IL4.png'
  

 This is not a Zope issue but obviously a problem of your application
 trying to load an image from the filesystem for processing through PIL.
 I doubt that there is nothing we can do...your application, your code...
 But I doubt that this error would cause a Zope shutdown or something
 similar. Such errors are usually logged and the worker thread continues
 to work with the next request. Such an error is not typical for a fatal
 Zope server failure.

 - -aj


 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (Darwin)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iQGUBAEBAgAGBQJOViWsAAoJEADcfz7u4AZjrEMLugK4mb0HltgWBnfbdM3wYDh4
 8Wmad/SD0HEHRqrvtZSZTSiKvDMKcQJu4FVyksRcU/VKCk3UzHcdfoVV/zk3uzfN
 GbBgI5e4qO3xtctbt9VX5jcscOXoh8/BMB6YMlaM+AfzlO8riihzKg3TYOLSr1Jp
 3pBC5lkOZSJ9E7QaEG6cWEt0fYzzJwN4ziWGURl7g4CrQdnm8Yvpx39bdA2xv+wt
 jw2/gxbYU8lFwhZ+olRYpw/48OCdBzf9bOlE9cL/ZDUbp2vTGR35ZcPlOxo8OU6s
 FldDZyg3IvlA4jnpib2oQid7Pt+dcUM4EYjusQwZlrXx8s26GTa4Q0d9XvMcxvto
 LdXoDFUoFVwtOm6hBvxaggSr7lniJ6tfM6kxVRlZ4ypndFHAL0baq4J2nqNhJu6G
 PGV1g/B3DYZM00/8Vfu7RQ4o6bHOULDX59ZRPdwAZ1qKlTjUC17H6RqQQ7AKGiP1
 vYut2/6bcsfCHJYn5yV1ib+pMy1n5x0=
 =zMXp
 -END PGP SIGNATURE-

___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] web sites are keep crashing

2011-08-26 Thread Babylakshmi Muthusamy
Hi,

The site error which i posted is fixed now. the image file was not present
in the specified location. After discussions with others in this board, I
realized that all the 3 sites are crashing not because of this error.
I would like to restate my issue clearly.
We have 3 sites running in the same web server. In one of them, i migrated
the database from ZODB to mySQL. After uploading the migrated site back, all
the sites are crashing very often.
There is no documentation available. I have fair experience in zope
development. but not in hosting.
Any help is highly appreciated.

Thanks,
Babylakshmi


On Fri, Aug 26, 2011 at 9:30 PM, zope-dev-requ...@zope.org wrote:

 Send Zope-Dev mailing list submissions to
zope-dev@zope.org

 To subscribe or unsubscribe via the World Wide Web, visit
https://mail.zope.org/mailman/listinfo/zope-dev
 or, via email, send a message with subject or body 'help' to
zope-dev-requ...@zope.org

 You can reach the person managing the list at
zope-dev-ow...@zope.org

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Zope-Dev digest...


 Today's Topics:

   1. Re: web sites are keep crashing (Charlie Clark)


 --

 Message: 1
 Date: Fri, 26 Aug 2011 15:34:11 +0200
 From: Charlie Clark charlie.cl...@clark-consulting.eu
 Subject: Re: [Zope-dev] web sites are keep crashing
 To: zope-dev@zope.org
 Message-ID: op.v0tpa9f55mynk9@fuchsia.local
 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes

 Am 26.08.2011, 15:27 Uhr, schrieb Babylakshmi Muthusamy
 babylakshmim...@gmail.com:

  Hi AJ,
  I have moved one of the site's database from ZODB to mysql. Should I
  have to
  change any of the configuration?

 Hi Babylakshimani,

 that change has nothing to do with the problem. Does your Zope-user have
 access to files in /usr/local/zope/PPD/architecture/domains/

 BTW. as you say you are new to Zope, what documentation have you been
 given.

 Charlie
 --
 Charlie Clark
 Managing Director
 Clark Consulting  Research
 German Office
 Helmholtzstr. 20
 D?sseldorf
 D- 40215
 Tel: +49-211-600-3657
 Mobile: +49-178-782-6226


 --

 ___
 Zope-Dev maillist  -  Zope-Dev@zope.org
 https://mail.zope.org/mailman/listinfo/zope-dev

 (To receive general Zope announcements, see:
 https://mail.zope.org/mailman/listinfo/zope-announce

 For non-developer, user-level issues,
 z...@zope.org, https://mail.zope.org/mailman/listinfo/zope )

 End of Zope-Dev Digest, Vol 97, Issue 29
 

___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] web sites are keep crashing

2011-08-25 Thread Babylakshmi Muthusamy
Hi AJ,

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.

In the error log below, there is a image file missing. This breaks the site
and shows 502 proxy error.

I would like to know whether we can change the proxy error to site error
which wont affect the uptime of the site.

Thanks,
Babylakshmi
-
2011-08-24T18:48:25 ERROR Zope.SiteErrorLog
http://www.plasmaproteomedatabase.org/molecule_page
Traceback (innermost last):
  Module ZPublisher.Publish, line 115, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 41, in call_object
  Module OFS.DTMLMethod, line 144, in __call__
   - DTMLMethod at /sites/PPD_new/molecule_page
   - URL: http://www.plasmaproteomedatabase.org/molecule_page/manage_main
   - Physical Path: /sites/PPD_new/molecule_page
  Module DocumentTemplate.DT_String, line 476, in __call__
  Module DocumentTemplate.DT_Util, line 196, in eval
   - __traceback_info__: Fetch_Graph
  Module string, line 1, in expression
  Module Products.ExternalMethod.ExternalMethod, line 225, in __call__
   - __traceback_info__: (('HPRD_00981', 'HPRD_00981_2'), {}, None)
  Module
/usr/local/zope/ZoPe/lib/python/Products/PPD/Extensions/Fetch_Graph.py, line
87, in Fetch_Graph
  Module
/usr/local/zope/ZoPe/lib/python/Products/PPD/Extensions/Fetch_Graph.py, line
349, in Make_Graph
  Module PIL.Image, line 1717, in open
IOError: [Errno 2] No such file or directory:
'/usr/local/zope/PPD/architecture/domains/IL4.png'

On Wed, Aug 24, 2011 at 3:06 PM, Andreas Jung li...@zopyx.com wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Look at the event.log file (or however it is called on your
 installation). In general find your 'log' folder first (sniff into
 your zope.conf file to figure out the location).

 - -aj

 Babylakshmi Muthusamy wrote:
  Hi aj,
 
  Thanks for the immediate reply. I am a newbie for zope. I don't know
  from where we can get those files. Could you please help me
  providing file paths?
 
  Thanks, Babylakshmi
 
  On Wed, Aug 24, 2011 at 1:04 PM, Andreas Jung li...@zopyx.com
  mailto:li...@zopyx.com wrote:
 
  The first thing is provide accurate information like information from
  tracebacks, core dump files etc.
 
  -aj
 
  Babylakshmi Muthusamy wrote:
  Hi All,
 
  We have hosted 3 websites in a single web server with 4GB RAM. All
  the three sites were built using zope. Almost every day the sites
  are crashing with 504-proxy error. The sites are up when i restart
  the httpd and zope.  Why this happens all the time? Your help on
  fixing this issue is greatly appreciated.
 
  Thanks and regards, Babylakshmi
 
  ___ Zope-Dev maillist
  - Zope-Dev@zope.org mailto:Zope-Dev@zope.org
  https://mail.zope.org/mailman/listinfo/zope-dev **
  No cross posts or HTML encoding!  ** (Related lists -
  https://mail.zope.org/mailman/listinfo/zope-announce
  https://mail.zope.org/mailman/listinfo/zope )
 
 
 

 - --
 ZOPYX Limited   | zopyx group
 Charlottenstr. 37/1 | The full-service network for Zope  Plone
 D-72070 Tübingen| Produce  Publish
 www.zopyx.com   | www.produce-and-publish.com
 - 
 E-Publishing, Python, Zope  Plone development, Consulting


 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (Darwin)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iQGUBAEBAgAGBQJOVMYTAAoJEADcfz7u4AZjHZ4LwJNocbnPGOLo/vbUQ4DtCTSh
 sBgfl8vM+WqnxwGJwClr+fU0672UKhRwZKWOATBPis1Fkc2Oxj1QXSJfDZqPJ5Dk
 rMUDCL3ImnOTfIxYkLV0CDp3P/KpDyZSBYFFsR5JURop0F9BNsaUFFWp1OUtaNSr
 Rsr7CZIjZVEfGaSJBNmxz7+uE3DjRoZyqXZdkDVH2FtZO02RvFQjjVqguqGmeN1E
 m8OziajlGLw0Ll6xU+OtP10Y9P8Y9AGznsY+msGeqngyRZZSQL4XXsUIpMVXW9Cy
 f1BP2FSA0kNo01BGzR9EzBssvoKxiL2W7FPP87VM+8SU4wHGzPmHzYXri47tydpb
 9qMGS3RCAOCBw001u+FxqOOLScNjnoYK/DTMz2KxQ/2pvaDxqnhl5BN/zHueo5ur
 cnqPDYAMcQmpqGVhy9uvRu4AHWR0ARARNYFsdtrf209gO16so0HOcmSW1EikrxJT
 udYCcFVG9uB6BNekhNTmRpxizsFoKLs=
 =xKDv
 -END PGP SIGNATURE-

___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] web sites are keep crashing

2011-08-24 Thread Babylakshmi Muthusamy
Hi All,

We have hosted 3 websites in a single web server with 4GB RAM. All the three
sites were built using zope. Almost every day the sites are crashing with
504-proxy error.
The sites are up when i restart the httpd and zope.  Why this happens all
the time? Your help on fixing this issue is greatly appreciated.

Thanks and regards,
Babylakshmi
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] web sites are keep crashing

2011-08-24 Thread Babylakshmi Muthusamy
Hi aj,

Thanks for the immediate reply. I am a newbie for zope. I don't know from
where we can get those files. Could you please help me providing file paths?

Thanks,
Babylakshmi

On Wed, Aug 24, 2011 at 1:04 PM, Andreas Jung li...@zopyx.com wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 The first thing is provide accurate information like information
 from tracebacks, core dump files etc.

 - -aj

 Babylakshmi Muthusamy wrote:
  Hi All,
 
  We have hosted 3 websites in a single web server with 4GB RAM. All
  the three sites were built using zope. Almost every day the sites
  are crashing with 504-proxy error. The sites are up when i restart
  the httpd and zope.  Why this happens all the time? Your help on
  fixing this issue is greatly appreciated.
 
  Thanks and regards, Babylakshmi
 
  ___ Zope-Dev maillist  -
  Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev **
  No cross posts or HTML encoding!  ** (Related lists -
  https://mail.zope.org/mailman/listinfo/zope-announce
  https://mail.zope.org/mailman/listinfo/zope )

 - --
 ZOPYX Limited   | zopyx group
 Charlottenstr. 37/1 | The full-service network for Zope  Plone
 D-72070 Tübingen| Produce  Publish
 www.zopyx.com   | www.produce-and-publish.com
 - 
 E-Publishing, Python, Zope  Plone development, Consulting


 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (Darwin)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iQGUBAEBAgAGBQJOVKl1AAoJEADcfz7u4AZjM34LwJuhrCrec1zeYpVOS33MHlqb
 AWRYYzR/hok0PyWubNzCG8vguEliSjSCJekBzlGRfUTbP6iK4y2VMddOj3SEbzmz
 PnOvZrbsOtt2pO/P8T1n6hM3X6Hrg148D5ZmA0SdsW8Gw6My1b8bJq9PQw6n0K6N
 rhZLai/LWLmhIL01TZl/N1bh6+BYiLoN1HlcAjmP4zAGMtYK6caRQeJDgETb4LRL
 bGkkEWx91aJP0RDL/Tgmq7zM/nQR/aWji+BIcpP8esdoz/PeVsZ8HHR5t1fovJYj
 nfoSQVp53aVUyVc8MklLujGmHuJaroWDx901E36ecVhR6rQ+BG5CtTdXZ/y1JuGo
 8EpfCSj/BD/3jTY1v9tbUM/vICp79FRjNIMeTLxLJIRP0MCbyc+UE4s18mma727+
 IX6TfQtYAxgUhY77t7Qm5N8z2Oeoq6hDKQBhvnAhT+vOlssWXhMiSQ6Tv48/lT6y
 Kyx+0kmCRrdajbCcdrWS+h7i2bx1HJM=
 =wvGR
 -END PGP SIGNATURE-

___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] dtml-sendmail issue

2011-07-02 Thread Babylakshmi Muthusamy
Hi,

 I tried to send mail through SMTP localhost using dtml-sendmail. It
was working fine for many days. Currently it is not sending mails.
Could you please provide me pointers to debug this issue?

Thanks,
Lakshmi
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )