From: Chris J. <jo...@nm...> - 2003-11-03 12:10:05
|
On Wed, 29 Oct 2003, Cliff wrote: > On Tuesday 28 October 2003 12:54, Chris Johnson wrote: > > On Fri, 24 Oct 2003, Cliff wrote: > > > OK, so assuming you haven't touched anything, it looks like > > > templates have spontaneously lept out of your database > > > because that's what those errors mean. > > > > > > See if you can find the following templates and reload > > > them onto your site using template-tool: > > > > > > sections_summary;misc;default > > > > > > See if that at least makes things better. > > > > The sections_* templates are supposed to be generated by a > > task I put in almost a year ago. Very strange. I've got the > > tassk running again. And the errors are gone from the log. No > > clue how it happened. > > > > On another note, are there delays in updating templates or > > delays in showing them? Should they be distributed around the > > entire database immediately? I'm seeing differences in sections > > blocks where there shouldn't be any after my task runs. And the > > task is running without errors now. I have it writing it's own > > log and it is finding what it's supposed to. > > This depends on the settings in your 'vars' table. There are caching > variables in there that determine how long webservers wait until > they refresh their caches from the database. The easy way to fix > this is to restart your apache servers, as this then makes sure you > are using the latest data from cache. > > This does NOT affect the tasks, however, as the tasks make their > own connection to the database. However, if slashd isn't running, > then the tasks don't run either. There have been problems with > slashd bombing out when the database hiccups, and these > can be minimized by using "/etc/init.d/slashd keepalive" at > periodic intervals. > > - Cliff > Ok, restarted apache which is set up to not do caching but may be doing a little in memory. Also made sure slashd was running but restarted it anyway. No joy. The New article page still does not see the new topic I added, which is in the topics table in the database. It does show the section I added. Something is still weird. Any suggestions? ------------------------------------------------------------------------------- Chris Johnson |Internet: jo...@nm... Systems Administrator |Web: http://www.nmr.mgh.harvard.edu/~johnson NMR Center |Voice: 617.726.0949 Mass. General Hospital |FAX: 617.726.7422 149 (2301) 13th Street |Survival, all by it self, isn't worth it. Charlestown, MA., 02129 USA | Me ------------------------------------------------------------------------------- |