View previous topic :: View next topic |
Author |
Message |
thecooptoo Veteran
Joined: 27 Apr 2003 Posts: 1353 Location: UK
|
Posted: Wed Nov 19, 2003 7:06 pm Post subject: zope started - or is it? |
|
|
router zope-2.6.1 # /etc/init.d/zope status
* status: started
* --> Zope is dead.
router zope-2.6.1 # /etc/init.d/zope stop
* Stopping zope... [ ok ]
router zope-2.6.1 # /etc/init.d/zope start
* Starting zope... [ ok ]
router zope-2.6.1 # /etc/init.d/zope status
* status: started
* --> Zope is dead.
router zope-2.6.1 #
router zope-2.6.1 # ps -A |grep zope
router zope-2.6.1 #
iwhat do I have to do to get it running ? |
|
Back to top |
|
|
mattschwartz n00b
Joined: 07 Nov 2003 Posts: 29
|
Posted: Wed Nov 19, 2003 9:03 pm Post subject: More info |
|
|
I haven't used Zope on Gentoo, but...
First check the log file. If there's no log, or no good information in it, look into the script that starts it and try launching it without the output redirected to /dev/null. We need to see if Zope is outputting any useful info to find what's wrong.
I once had Zope installed "manually" (i.e. not part of any distro) and launched it directly - not from init.d. Its output was very useful. _________________ Plenty of reasons to not use Microsoft software |
|
Back to top |
|
|
dylanr n00b
Joined: 19 Nov 2003 Posts: 7
|
Posted: Wed Nov 19, 2003 10:01 pm Post subject: |
|
|
This has happened to me several times... each time, the problem was that Zope will choke if you don't have the right ownership on your instance's var directory. But unless you enable event logging, it's tough to tell.
If you're running the default setup, you probably need to do this: Code: | $ chown -R root:zope /var/lib/zope/zope-2_6_1/var
# /etc/init.d/zope-2_6_1 restart |
If that doesn't do it, go into /etc/conf.d/zope-2_6_1 and add this line: Code: | EVENT_LOG_FILE=/var/lib/zope/events |
Then open another terminal and: Code: | tail -f /var/lib/zope/events |
And watch what happens when you restart the server. Don't forget to comment out the event log file when you're done using it.
HTH |
|
Back to top |
|
|
thecooptoo Veteran
Joined: 27 Apr 2003 Posts: 1353 Location: UK
|
Posted: Wed Nov 19, 2003 10:24 pm Post subject: |
|
|
chown -R root:zope /var/lib/zope/zope-2_6_1/var
# /etc/init.d/zope-2_6_1 restart
seems to have fixed it so far. Thanks |
|
Back to top |
|
|
|