Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
zope started - or is it?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
thecooptoo
Veteran
Veteran


Joined: 27 Apr 2003
Posts: 1353
Location: UK

PostPosted: Wed Nov 19, 2003 7:06 pm    Post subject: zope started - or is it? Reply with quote

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
View user's profile Send private message
mattschwartz
n00b
n00b


Joined: 07 Nov 2003
Posts: 29

PostPosted: Wed Nov 19, 2003 9:03 pm    Post subject: More info Reply with quote

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
View user's profile Send private message
dylanr
n00b
n00b


Joined: 19 Nov 2003
Posts: 7

PostPosted: Wed Nov 19, 2003 10:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
thecooptoo
Veteran
Veteran


Joined: 27 Apr 2003
Posts: 1353
Location: UK

PostPosted: Wed Nov 19, 2003 10:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum