On 25 Aug 2006, at 11:36, Brian Sutherland wrote:
Ok, I'm just going to go through a number of de-bugging steps.
First try to start the daemon from the init script:
sudo /etc/init.d/schooltool start
This works, but only if the HTML port is set to 7080 (the default).
If I
sudo dpkg-reconfigure schooltool
and change the port from 7080 to 80, then
sudo /etc/init.d/schooltool start
*appears* to work (I see "[ ok ]") but
the schooltool processes behave strangely. From what I can gather,
glancing at
top
whilst the the script is running,
one schooltool process is owned by root
another schooltool process is owned by schooltool
the schooltool process owned by root drops to the bottom of the list,
the schooltool process owned by schooltool remains at the top (> 99%
CPU),
then two more schooltool processes appear, owned by schooltool, so we
have
three schooltool processes owned by schooltool
one schooltool process owned by root
and after the brief appearance of the third and fourth processes
all four processes disappear.
If I
sudo dpkg-reconfigure schooltool
and revert the port from 80 to 7080, then
sudo /etc/init.d/schooltool start
works correctly.
sudo schooltool -d
works correctly when the port is set to 80.
_______________________________________________
Schooltool mailing list
[email protected]
http://lists.schooltool.org/mailman/listinfo/schooltool