[Zope] zope starts in foreground but not normaly

2008-03-11 Thread robert rottermann
Hi there,

after a software upgrade (system and zope/plone) we have a strange problem.
we have an old site that runs under plone 2.1
Zope-2.8.9-final
python 2.3.5

when I start it in the foreground with bin/zopectl fg everything works fine.
if I however start it with bin/zopectl start

bin/zopectl status shows after some seconds

[EMAIL PROTECTED]:~> instances/kanneweb3/bin/zopectl start
daemon process started, pid=26697

[EMAIL PROTECTED]:~> instances/kanneweb3/bin/zopectl status
daemon manager running; daemon process not running
[EMAIL PROTECTED]:~>

I see no entries in the logs, so I have no idea where to look.

for any hints how the caus of this problem, I would be gratefull

robert


This is what the controllpanel shows:
Zope Version

(Zope 2.8.9-final, python 2.3.5, linux2)
Python Version

2.3.5 (#3, Mar 11 2008, 10:14:33) [GCC 4.1.2 20061115 (prerelease) (SUSE
Linux)]
System Platform

linux2
SOFTWARE_HOME

/home/zope/Zope-2.8.9-final/lib/python
ZOPE_HOME

/home/zope/Zope-2.8.9-final
INSTANCE_HOME

/home/zope/instances/kanneweb3
CLIENT_HOME

/home/zope/instances/kanneweb3/var
Network Services

ZServer.HTTPServer.zwebdav_server (Port: 8290)
ZServer.HTTPServer.zhttp_server (Port: 8280)
Process Id

26719 (-1229186160)
Running For

1 min 21 sec
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] zope starts in foreground but not normaly

2008-03-11 Thread Chris Withers

robert rottermann wrote:

[EMAIL PROTECTED]:~> instances/kanneweb3/bin/zopectl status
daemon manager running; daemon process not running
[EMAIL PROTECTED]:~>

I see no entries in the logs, so I have no idea where to look.


Check the ownership of the log files.

When this happens to me, it's usually because the user zope is running
as doesn't have permission to write to the log files or the Data.fs or
the var directory...

cheers,

Chris

--
Simplistix - Content Management, Zope & Python Consulting
   - http://www.simplistix.co.uk

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

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] zope starts in foreground but not normaly

2008-03-11 Thread robert rottermann
Chris Withers schrieb:
> robert rottermann wrote:
>> [EMAIL PROTECTED]:~> instances/kanneweb3/bin/zopectl status
>> daemon manager running; daemon process not running
>> [EMAIL PROTECTED]:~>
>>
>> I see no entries in the logs, so I have no idea where to look.
> 
> Check the ownership of the log files.
> 
> When this happens to me, it's usually because the user zope is running
> as doesn't have permission to write to the log files or the Data.fs or
> the var directory...
> 
> cheers,
> 
> Chris
> 
thanks
this is not the reason. zope runs as the user that created the whole
instance.

after zope stopped two files are left in the var directory:
Z2.pid, Z2.lock
both containing an int that was probably the pid of the crashed zope.

any more ideas?

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