[LON-CAPA-admin] 'Kicking the System'
lucasm at ohiou.edu
lucasm at ohiou.edu
Wed Mar 21 11:12:52 EDT 2007
Guy,
The patch was the one which fixed the cacheing and the phenomenally long
PARM reload times.
I made a copy of the file, then patched the file. I actually got an error
from Autoenroll (which is just the bare stub on this machine). It was
complaining it couldn't find lonnet.pm, but in generally things were
running after the restart.
The print attempt that I made worked up to the "continue", then gave a
blank screen. The httpd/error.log shows the following:
[Wed Mar 21 10:31:16 2007] [error] [client 132.235.24.78] Can't locate
Apache/lonnet.pm in @INC (@INC contains: /home/httpd/lib/perl/
/home/httpd/lib/perl
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3
/usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/5.8.8 .) at /home/httpd/lib/perl//Apache/lonhtmlcommon.pm
line 62.
[Wed Mar 21 10:31:16 2007] [error] [client 132.235.24.78] BEGIN
failed--compilation aborted at
/home/httpd/lib/perl//Apache/lonhtmlcommon.pm line 62.
[Wed Mar 21 10:31:16 2007] [error] [client 132.235.24.78] Compilation
failed in require at /home/httpd/cgi-bin/printout.pl line 36.
[Wed Mar 21 10:31:16 2007] [error] [client 132.235.24.78] BEGIN
failed--compilation aborted at /home/httpd/cgi-bin/printout.pl line 36.
[Wed Mar 21 10:31:16 2007] [error] [client 132.235.24.78] Premature end of
script headers: printout.pl
I'll try a complete restart in a little while just to see if this fixes
it.
Mark
On Wed, 21 Mar 2007, Guy Albertelli II wrote:
> Hi Mark,
>
>> I patched lonnet.pm yesterday on one of my machines.
>>
>> I was hoping an httpd reload would do the trick. It did for the most part,
>> but autoenroll and printing are both throwing errors (ie., those things
>> that are external jobs).
>>
>> The 'correct' thing to do would be an httpd stop, loncontrol stop/start,
>> and httpd start.
>
> Autoenroll/printing don't need anything restarted. They are as you say
> external jobs and thus don't care what state httpd/loncontrol are in.
>
> I suspect you have errors in the lonnet.pm patch. What is the patch?
>
>
>> Are there other options for a shorter down time or smoother transition?
>
> httpd reload is fine todo.
>
> loncontrol's daemons don't depend on anything in the
> /home/httpd/perl/Apache directory, and loncontrol reload should
> cleanly pickup hosts.tab/domain.tab changes
>
> Any other changes to lonc/d or other lon daemons require a loncontrol
> restart
>
>
>> What are the risks?
>
> Bad perl in any of the .pm files will still cause apache to comedown
> even when doing a reload.
>
>
> --
> guy at albertelli.com 0-7-0-9-27,137
> _______________________________________________
> LON-CAPA-admin mailing list
> LON-CAPA-admin at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
>
----------------------------------------------------------------------------
Mark Lucas email: lucasm at ohiou.edu
252D Clippinger Lab phone: (740)597-2984
Department of Physics and Astronomy fax: (740)593-0433
Ohio University
Athens, OH 45701
More information about the LON-CAPA-admin
mailing list