Eric,<br>
I should probably mention that I've been using the previous versions of
schooltool.   I'm not sure if anything was really
installed  and I'm not sure how to uninstall it.  Could
something from a previous version is interfering?  <br>
<br>
Peter<br><br><div><span class="gmail_quote">On 8/30/05, <b class="gmail_sendername">Peter Hartmann</b> <<a href="mailto:ascensiontech@gmail.com">ascensiontech@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hey Eric,<br>
Here's responses I got.  Otherwise, everything else came out as expected.    Thank you.<br>
<br>
[root@cal schooltool]# rpm -V schooltool-0.11.1-k12ltsp.4.4.1<br>
..5....T  c /etc/schooltool/schooltool.conf<br>
<br>
<br>
<br>
[root@cal schooltool]# rpm -V schoolbell-1.2.1-k12ltsp.4.4.1<br>
..5.....    /usr/lib/libschoolbell/pytz/tests/__init__.py<br>
..5.....    /usr/lib/libschoolbell/pytz/zoneinfo/Africa/__init__.py<br>
..5.....    /usr/lib/libschoolbell/pytz/zoneinfo/America/Argentina/__init__.py<br>
..5.....    /usr/lib/libschoolbell/pytz/zoneinfo/America/Indiana/__init__.py<br>
..5.....    /usr/lib/libschoolbell/pytz/zoneinfo/America/Kentucky/__init__.py<br>
..5.....    /usr/lib/libschoolbell/pytz/zoneinfo/America/North_Dakota/__init__.py<br>
..5.....    /usr/lib/libschoolbell/pytz/zoneinfo/America/__init__.py<br>
..5.....    /usr/lib/libschoolbell/pytz/zoneinfo/Antarctica/__init__.py<br>
..5.....    /usr/lib/libschoolbell/pytz/zoneinfo/Arctic/__init__.py<br>
..5.....    /usr/lib/libschoolbell/pytz/zoneinfo/Asia/__init__.py<br>
..5.....    /usr/lib/libschoolbell/pytz/zoneinfo/Atlantic/__init__.py<br>
..5.....    /usr/lib/libschoolbell/pytz/zoneinfo/Australia/__init__.py<br>
..5.....    /usr/lib/libschoolbell/pytz/zoneinfo/Brazil/__init__.py<br>
..5.....    /usr/lib/libschoolbell/pytz/zoneinfo/Canada/__init__.py<br>
..5.....    /usr/lib/libschoolbell/pytz/zoneinfo/Chile/__init__.py<br>
..5.....    /usr/lib/libschoolbell/pytz/zoneinfo/Etc/__init__.py<br>
..5.....    /usr/lib/libschoolbell/pytz/zoneinfo/Europe/__init__.py<br>
..5.....    /usr/lib/libschoolbell/pytz/zoneinfo/Indian/__init__.py<br>
..5.....    /usr/lib/libschoolbell/pytz/zoneinfo/Mexico/__init__.py<br>
..5.....    /usr/lib/libschoolbell/pytz/zoneinfo/Pacific/__init__.py<br>
..5.....    /usr/lib/libschoolbell/pytz/zoneinfo/SystemV/__init__.py<br>
..5.....    /usr/lib/libschoolbell/pytz/zoneinfo/US/__init__.py<br>
..5.....    /usr/lib/libschoolbell/pytz/zoneinfo/__init__.py<br>
..5.....    /usr/lib/libschoolbell/zope/app/demo/jobboard/__init__.py<br>
..5.....    /usr/lib/libschoolbell/zope/app/registration/__init__.py<br>
<br>
<br>
<br>
 <br>

[root@cal schooltool]# /bin/bash schooltool -c "/usr/bin/schooltool --config=/etc/schooltool/schooltool.conf"<br>
<br>
/usr/bin/schooltool: line 4:<br>
A script to start the SchoolTool server in a Debian system.<br>
: command not found<br>
/usr/bin/schooltool: line 7: import: command not found<br>
/usr/bin/schooltool: schooltool: line 9: syntax error near unexpected token `0,'<br>
/usr/bin/schooltool: schooltool: line 9: `sys.path.insert(0, '/usr/lib/libschoolbell')'<div><span class="e" id="q_1060aa5201983958_1"><br>
<br>
<br>
<br><br><div><span class="gmail_quote">On 8/30/05, <b class="gmail_sendername">Eric Harrison</b> <<a href="mailto:eharrison@mail.mesd.k12.or.us" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">eharrison@mail.mesd.k12.or.us
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, 30 Aug 2005, Peter Hartmann wrote:<br><br>> Nope, same thing.<br>><br>><br>> P<br>><br>> On 8/30/05, Eric Harrison <<a href="mailto:eharrison@mail.mesd.k12.or.us" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
eharrison@mail.mesd.k12.or.us
</a>> wrote:<br>>><br>>><br>>><br>>><br>>> On Tue, 30 Aug 2005, Peter Hartmann wrote:<br>>><br>>>> Hey Tom,<br>>>> Although I've only set schooltool to start with chkconfig, it "starts"
<br>>>> schoolbell also. It says Starting schooltool [ok] Starting schoolbell<br>>> [ok].<br>>>> But they don't actually run. After boot is completed if I run /sbin<br>>> service<br>>>> schooltool start it doesn't complain that its already running but
<br>>> starts. It<br>>>> doesn't release the terminal either.<br>>>><br>>>> Thanks,<br>>>> Peter<br>>><br>>> This is probably a problem with my initscripts, not schooltool.
<br>>> I did four or five builds of the schooltool packages yesterday,<br>>> one of them had a typo in the initscript.<br>>><br>>> So lets start with grabbing the latest package and restarting the service:
<br>>><br>>> rpm -Uhv<br>>> <a href="ftp://k12linux.mesd.k12.or.us/pub/K12LTSP/testing/RPMS/schooltool-0.11.1-k12ltsp.4.4.1.i386.rpm" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
ftp://k12linux.mesd.k12.or.us/pub/K12LTSP/testing/RPMS/schooltool-0.11.1-k12ltsp.4.4.1.i386.rpm
</a><br>>> /sbin/service schooltool restart<br>>><br>>><br>>> -Eric<br>>><br><br>Okay, let's do some basic debugging...<br><br><br>1) First, check the logs. Is there an obvious error in the logs?
<br><br>         /var/log/schooltool/schooltool.log<br><br><br>2) Has something been changed? Run an RPM verify on the packages:<br><br>        # rpm -V schooltool-0.11.1-k12ltsp.4.4.1<br>        # rpm -V schoolbell-1.2.1-k12ltsp.4.4.1

<br><br>    You should get an empty response from these commands.<br><br><br>3) Let's check to see if another copy of SchoolTool or SchoolBell is<br>    running:<br><br>         # ps auxw | egrep "school[tool|bell]"
<br><br>    You should get an empty response from this command.<br>    Just to be sure you could always just try stopping both...<br><br>        # /sbin/service schooltool stop<br>        # /sbin/service schoolbell stop<br>

<br><br>4) Let's make sure that nothing else is listening on port 7080<br>    This assumes you have the command "fuser" installed, if not<br>    install the psmisc package (yum install psmisc)<br><br>        # fuser 7080/tcp
<br><br>    Again you should get an empty response from this command.<br><br><br>5) Now that we're sure nothing is already bound to port 7080, let's<br>    start up schooltool by hand (this is a single long line, watch out
<br>    for line wrap!)<br><br>        # su -s /bin/bash schooltool -c "/usr/bin/schooltool --config=/etc/schooltool/schooltool.conf"<br><br><br>    The output should look something like this:<br><br>            Reading
configuration from /etc/schooltool/schooltool.conf
<br>            2005-08-30 19:39:58,962 zope.server.http (HTTP) started.<br>                  
Hostname: server.ltsp<br>                   Port: 7080<br>            Startup time: 4.438 sec real, 3.200 sec CPU<br><br><br><br>If any of the above commands gives you output that you did not<br>expect or otherwise looks suspicious, post it to the list...
<br><br>-Eric<br><br>_______________________________________________<br>K12OSN mailing list<br><a href="mailto:K12OSN@redhat.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">K12OSN@redhat.com</a>
<br><a href="https://www.redhat.com/mailman/listinfo/k12osn" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://www.redhat.com/mailman/listinfo/k12osn
</a><br>For more info see <<a href="http://www.k12os.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.k12os.org</a>><br></blockquote></div><br>

</span></div></blockquote></div><br>