bin/zopectl start
daemon process started, pid=6857
# bin/zopectl status
daemon manager running; daemon process not running
[/code]
how do i keep the daemon process running?
for testing purposes i can:
Code: Select all
bin/zopectl fgCode: Select all
bin/zopectl fgMaybe it's the same error. I have also some Archetype-something erros with zprod-manager add./etc/ini.d/zope-plone2 restart wrote: * Restarting Zope in /var/lib/zope/zope-plone2 ...
* Stopping Zope in /var/lib/zope/zope-plone2 ...
daemon manager not running [ ok ]
* Starting Zope in /var/lib/zope/zope-plone2 ...
. daemon process started, pid=24561 [ ok ]
Code: Select all
*zope-2.8.9.1 (06 Apr 2007)
06 Apr 2007; Radoslaw Stachowiak <radek@gentoo.org> zope-2.8.9.ebuild,
+zope-2.8.9.1.ebuild, zope-2.9.7.ebuild, zope-2.10.3.ebuild:
Fixes #171797 Yeah, we just don't care enough about crappy bug reports which don't provide any relevant information, sorry. Either learn to file useful bugs and provide the requested information, or don't waste your and our time at all.lailoken wrote: Seems like they can't be bothered to take it further themselves and expect me to jump through hoops.
I just don't care enough.
the zope log:Site Error
An error was encountered while publishing this resource.
Error Type: NameError
Error Value: name 'getDefaultSorting' is not defined
Troubleshooting Suggestions
* This resource may be trying to reference a nonexistent object or variable name 'getDefaultSorting' is not defined.
* The URL may be incorrect.
* The parameters passed to this resource may be incorrect.
* A resource that this resource relies on may be encountering an error.
For more detailed information about the error, please refer to the error log.
If the error persists please contact the site maintainer. Thank you for your patience.
also how can I delete all the zope instances I made for testing? can the folder and init scripts just be deleted or are there more files? and then delete the user and group created?------
2007-04-13T22:17:16 ERROR Zope.SiteErrorLog http://127.0.0.1:8080/manage_main
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 Shared.DC.Scripts.Bindings, line 311, in __call__
Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
Module App.special_dtml, line 176, in _exec
Module DocumentTemplate.DT_Let, line 76, in render
Module DocumentTemplate.DT_Util, line 196, in eval
- __traceback_info__: REQUEST
Module <string>, line 0, in ?
NameError: name 'getDefaultSorting' is not defined
Code: Select all
INSTANCE=name_of_instance
rm -rf /var/lib/zope/$INSTANCE
userdel -r $INSTANCE
rm -f /etc/init.d/$INSTANCECode: Select all
/etc/init.d/zope-0 startCode: Select all
./runzope Code: Select all
./zopectl fgCode: Select all
./zopectl start
daemon process started, pid=31846Code: Select all
./zopectl
program: /var/lib/zope/zope-0/bin/runzope
daemon manager not running
zopectl>Code: Select all
vi /usr/lib/zope-2.9.7/lib/python/App/ApplicationManager.pyCode: Select all
def manage_restart(self, URL1):
Code: Select all
def manage_restart(self, URL1, REQUEST=None):

Neato, it works.Tae_kyon wrote:Turns out it's a zope problem.
You can download the correct zope source from zope and redigest the ebuild.
Else just fix the bug:
Go to line:Code: Select all
vi /usr/lib/zope-2.9.7/lib/python/App/ApplicationManager.py
and change to:Code: Select all
def manage_restart(self, URL1):
Code: Select all
def manage_restart(self, URL1, REQUEST=None):