bin/zopectl start not working for Zope 2.9.7
Hi, Maybe I just need a hit with a cluebat here. But I just downloaded the new Zope 2.9.7 tar ball (thanks Andreas and others who worked on that!). When I try bin/runzope or bin/zopectl fg or debug everything looks fine. But bin/zopectl start does nothing. Has anyone else seen this? I did the usual dance of ./configure, make, (sudo) make install. The configure options were: ./configure --with-python=/usr/bin/python --prefix=/opt/zope/zope2.9.7 Then I made a zope instance in ~/instances/t /opt/zope/zope2.9.7/bin/mkzopeinstance.py Then start the zope instance: ~/instances/t $ bin/zopectl start . daemon process started, pid=15466 Then nothing seems to happen. No log file is being made: ~/instances/t $ tail -f /home/maurits/instances/t/log/event.log tail: cannot open `/home/maurits/instances/t/log/event.log' for reading: No such file or directory tail: no files remaining There is one process running: $ pgrep -lf zope 15465 /usr/bin/python /opt/zope/zope2.9.7/lib/python/zdaemon/zdrun.py -S /opt/zope/zope2.9.7/lib/python/Zope2/Startup/zopeschema.xml -b 10 -d -s /home/maurits/instances/t/var/zopectlsock -x 0,2 -z /home/maurits/instances/t /home/maurits/instances/t/bin/runzope and after a while that stops. bin/zopectl fg meanwhile starts up zope just fine. An alternative is to run 'make inplace' and 'make instance' instead of 'make install'. Okay, so I removed the instance, unpacked a clean tar ball and did configure, make, make inplace, make instance. Again, bin/zopectl start does not work, and foreground works fine. I also just downloaded 2.8.9. Let's first check if that might have the same problem. Ah, it at least has another problem: $ /opt/zope/zope2.8.9/bin/mkzopeinstance.py ... [Errno 13] Permission denied: './README.txt' and indeed: $ ls -l /opt/zope/zope2.8.9/skel/README.txt -rw------- 1 root root 481 2007-03-25 11:33 /opt/zope/zope2.8.9/skel/README.txt Ah, and when fixing this with a chmod some more errors like that creep up. So after installing 2.8.9 as root or with sudo, mkzopeinstance does not work. This has happened to me with other Zope versions as well. At least I remember reporting this earlier; and seeing it solved fortunately. :) It would seem the root source has not been found/fixed though. :( Any chance of fixing this? Need any help Andrea? -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ "Do not worry about your difficulties in computers, I can assure you mine are still greater."
Maurits van Rees, on 2007-03-26:
So after installing 2.8.9 as root or with sudo, mkzopeinstance does not work. This has happened to me with other Zope versions as well. At least I remember reporting this earlier; and seeing it solved fortunately. :) It would seem the root source has not been found/fixed though. :(
Ah, it looks fixed on the 2.9 branch, but not 2.8. In the sdist_tgz target of the makefile the 2.9 branch has these two extra lines, which I think need to be added to the 2.8 branch too: ${FIND} . -type f -exec chmod a+r {} \; ${FIND} . -type d -exec chmod a+rx {} \; Meanwhile, this 2.8.9 has the same problem that I reported for 2.9.7: bin/zopectl start does not work, though 'fg' does work. -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ "Do not worry about your difficulties in computers, I can assure you mine are still greater."
--On 26. März 2007 12:36:49 +0000 Maurits van Rees <m.van.rees@zestsoftware.nl> wrote:
Maurits van Rees, on 2007-03-26:
So after installing 2.8.9 as root or with sudo, mkzopeinstance does not work. This has happened to me with other Zope versions as well. At least I remember reporting this earlier; and seeing it solved fortunately. :) It would seem the root source has not been found/fixed though. :(
Ah, it looks fixed on the 2.9 branch, but not 2.8. In the sdist_tgz target of the makefile the 2.9 branch has these two extra lines, which I think need to be added to the 2.8 branch too:
${FIND} . -type f -exec chmod a+r {} \; ${FIND} . -type d -exec chmod a+rx {} \;
Right - because the Zope 2.8 branch is going to die. I don't think that there will be further 2.8 releases except security related releases. Andreas
Maurits van Rees, on 2007-03-26:
Maurits van Rees, on 2007-03-26: Meanwhile, this 2.8.9 has the same problem that I reported for 2.9.7: bin/zopectl start does not work, though 'fg' does work.
And Zope 2.10.3 has this problem too for bin/zopectl start. I just tried unpacking and making zope 2.10.2 and it goes fine there, so this does not look like a sudden mishap on my system. -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ "Do not worry about your difficulties in computers, I can assure you mine are still greater."
--On 26. März 2007 13:49:33 +0000 Maurits van Rees <m.van.rees@zestsoftware.nl> wrote:
Maurits van Rees, on 2007-03-26:
Maurits van Rees, on 2007-03-26: Meanwhile, this 2.8.9 has the same problem that I reported for 2.9.7: bin/zopectl start does not work, though 'fg' does work.
And Zope 2.10.3 has this problem too for bin/zopectl start.
I just tried unpacking and making zope 2.10.2 and it goes fine there, so this does not look like a sudden mishap on my system.
Unfortunately I must confirm this issue :-( But I have no idea what's going on here :( Andreas
Marking thread as solved, as that is exactly what Andreas has done. See his reply in the thread "Zope 2.8.9, Zope 2.9.7, Zope 2.10.3 released". Andreas Jung, on 2007-03-26:
Unfortunately I must confirm this issue :-( But I have no idea what's going on here :(
Apparently you found it after all. :) Thanks. -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ "Do not worry about your difficulties in computers, I can assure you mine are still greater."
participants (2)
-
Andreas Jung -
Maurits van Rees