Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
I'm not sure if this is related to bug #461, but now if I type 'make
start', nothing happens: $ make start
LD_LIBRARY_PATH=./../../usr/lib ./tmp/scheduler -c ./etc/scheduler.xml
start using config file './etc/scheduler.xml' [frozen; after
ctrl-c:] make: *** [start] Interrupt $ ps ax | grep sch 19929
pts0 S 0:00 grep sch
start', nothing happens: $ make start
LD_LIBRARY_PATH=./../../usr/lib ./tmp/scheduler -c ./etc/scheduler.xml
start using config file './etc/scheduler.xml' [frozen; after
ctrl-c:] make: *** [start] Interrupt $ ps ax | grep sch 19929
pts0 S 0:00 grep sch
your database...
try make uninstall first, probably the database tables were left in
your database...
Hm... I rebooted, made a cvs update and a make recompile (in the
root), and now it's back to its original condition, or very similar:
$ make start stop ./tmp/scheduler -c ./etc/scheduler.xml start using
config file './etc/scheduler.xml' sleep 2 ./tmp/scheduler -c
./etc/scheduler.xml stop using config file './etc/scheduler.xml'
XmlRpcServer::acceptConnection: Could not accept connection (error
11). $ ps ax | grep sch 11660 pts0 S 0:00 ./tmp/scheduler
-c ./etc/scheduler.xml start 11661 pts0 S 0:00
./tmp/scheduler -c ./etc/scheduler.xml start 11668 pts0 S
0:00 ./tmp/scheduler -c ./etc/scheduler.xml start 11669 ? S
0:00 ./tmp/scheduler -c ./etc/scheduler.xml start 11684 pts0 S
0:00 grep sch $ $ killall -9 scheduler $ make uninstall
./tmp/scheduler -c ./etc/scheduler.xml uninstall using config file
'./etc/scheduler.xml' make: *** [uninstall] Aborted $ $ make check
./tmp/scheduler -c ./etc/scheduler.xml start using config file
'./etc/scheduler.xml' sleep 2 ./tmp/testRunner -o
./doc/testResults.xml -s ../etc/testResultToHtml.xsl writing output
to './doc/testResults.xml' using XSLT file
'../etc/testResultToHtml.xsl'
LiveSupport::Scheduler::SchedulerDaemonUploadTest::simpleTest : OK
... snip ... LiveSupport::Scheduler::PlaylistEventTest::playTest : OK
OK (49) make: *** [run_tests] Segmentation fault $ PS. It doesn't
always segfault. I ran make check 4 times and once it did not. Not
sure why, though.
it works now fine on ls-dev, which is also a mandrake. please update
all the modules befoure trying, though. also note the "sleep 2"
included now in the stop target. the scheduler needs at least a second
to stop (the stop command returns immediately, while the daemon is
stopping in the background) please check, and confirm if it works
or not...
Yes, it's OK now.