Summary: | net-proxy/http-replicator-3.0-r2 does not start anymore | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stefan Borschtel <lomaxx> |
Component: | Current packages | Assignee: | Maurice van der Pot (RETIRED) <griffon26> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | bill, bob.paddock, bugs, evadim, gengor, jesse, martin.ereth, net-proxy+disabled, patrick.hieber, sharpshopter |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Added "strace" (without -f) to the init script
Added "strace -f" to the init script - waited until http-replicator got started, then hit Ctrl-C My 'strace -f'-output received by modifying the script as mentioned. |
Description
Stefan Borschtel
2009-08-16 19:51:47 UTC
Same for me here. Works fine when running the command manually - it just seems something with the init script is broken... I am unable to reproduce this problem. Maybe it is related to bug #177428. Does the init script always fail for you guys? Even if you run it many times, as with: for i in `seq 1 30`; do /etc/init.d/http-replicator restart; done In order to debug this, I'd need to get trace of what happens when it fails. Could one of you put "strace -f" in front of start-stop-daemon in the init script and "&> /tmp/strace.log" after $DAEMON_OPTS? If you then start http-replicator the init script will not show the correct output status, but you'll have a log in /tmp/strace.log that should tell us more. Created attachment 201700 [details]
Added "strace" (without -f) to the init script
Created attachment 201701 [details]
Added "strace -f" to the init script - waited until http-replicator got started, then hit Ctrl-C
Ok, I tried running the init script multiple times, but it doesn't make any difference... Then I tried adding "strace -f" to the init script which resulted in the trace process not returning as it is waiting for the daemon process to exit which obviously won't exit (but is started correctly)... Then I added only "strace" to the init script. Now when running the init script http-replicator is started properly and the init script doesn't detect any error and says "ok" (ok, that "ok" probably comes from strace exiting successfully...). Anyway, I attached logs for both cases... Same for me: I used the above FOR-loop to start http-replicator 30 times in a row and it always shows the same output: * Starting Http-Replicator ... * Failed to start Http-Replicator [ !! ] When i add the above mentioned changes to the init-script, then the script does not terminate. I have to press CTRL+C to stop it. I will attach the output. Created attachment 201952 [details]
My 'strace -f'-output received by modifying the script as mentioned.
Ran into this as well after the python-2.6 upgrade. http-replicator is seeming to return non-zero on start now. Adding --oknodo to the start-stop-daemon in the start stanza fixed it. BillK I already wrote it on the GentooForum,but ... thank you again, Bill. Seems to work. This bug exists here too. (gentoo x86) I've tried adding --oknodo. It shows ok but it doesn't work. Maybe anybody is able to update the ebuild? Thanks a lot! may be it related to http://archives.gentoo.org/gentoo-dev/msg_54ec9c3d4c15c3f52e4c71fef5d42633.xml (In reply to comment #10) > This bug exists here too. (gentoo x86) > I've tried adding --oknodo. It shows ok but it doesn't work. > Maybe anybody is able to update the ebuild? > Thanks a lot! > works fine for me now, on amd64: -start-stop-daemon --start --pidfile /var/run/http-replicator.pid --name http-replicator \ +start-stop-daemon --start --pidfile /var/run/http-replicator.pid --name http-replicator --oknodo \ I also have that here on a AMD64 running system. Using --oknogo in the Init.d script works. It's actually not http-replicator's fault apparently. *** This bug has been marked as a duplicate of bug 286191 *** Don't forget to subscribe to the dupe to get updates on this issue. |