[LON-CAPA-admin] 'Kicking the System'

lucasm at ohiou.edu lucasm at ohiou.edu
Wed Mar 21 12:30:22 EDT 2007


Thanks Guy,

I actually just figured it out. I patched the file as root and screwed up 
the ownership. I changed the ownership of lonnet.pm to www and all is 
well.

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