I'm recreating a Zope site from a SunOS server on FreeBSD. Zope starts but as soon as anything is accessed (including the ZMI), it bombs out with just: LOG('ZODB', WARNING, 'Could not import class %s ' Bus error I rsynced the ZOPE_HOME from the SunOS server. Could it be that there are things in the ZOPE_HOME that are compiled for SunOS? However, I have done this successfully for another version of Zope. The only thing you can access (provided you access it before anything else) is the DeadlockDebugger , which then doesn't show the normal 4 threads - it only shows: Threads traceback dump at 2007-11-26 17:00:02 End of dump ____________________________________________________________ FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! Check it out at http://www.inbox.com/earth
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ben Bartrum wrote:
I'm recreating a Zope site from a SunOS server on FreeBSD. Zope starts but as soon as anything is accessed (including the ZMI), it bombs out with just:
LOG('ZODB', WARNING, 'Could not import class %s ' Bus error
I rsynced the ZOPE_HOME from the SunOS server. Could it be that there
are things in the ZOPE_HOME that are compiled for SunOS? However, I have done this successfully for another version of Zope. Yes, you need to rebuild Zope's binary extensions. Try something like: $ cd /path/to/zope $ make clean $ ./configure --with-python=/path/to/python && make inplace Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHSwGQ+gerLs4ltQ4RAkOGAJsGXMzhDFKOsxBkF4Vh9aSNaDcEgACg2YgV YpnXOne2qOF7hggs6qiP8ws= =l0Am -----END PGP SIGNATURE-----
On Nov 26, 2007 6:04 PM, Ben Bartrum <bba@inbox.com> wrote:
I'm recreating a Zope site from a SunOS server on FreeBSD. Zope starts but as soon as anything is accessed (including the ZMI), it bombs out with just:
LOG('ZODB', WARNING, 'Could not import class %s ' Bus error
I rsynced the ZOPE_HOME from the SunOS server. Could it be that there are things in the ZOPE_HOME that are compiled for SunOS? However, I have done this successfully for another version of Zope.
You'll need to compile Zope for the FreeBSD server, it contains compiled extensions. Generally, you'll only need the Products directory and the Data.fs and zope.conf files from your Zope instance to reproduce the setup. -- Martijn Pieters
participants (3)
-
Ben Bartrum -
Martijn Pieters -
Tres Seaver