I am using logrotate on my linux server to manage the size of the apache log files. The logrotate config causes it to issue a "reload" command to apache during a log rotation, however sometimes this apache reload seems to cause issues with my site running with mod_mono, where it will start producing the exception detailed below.
Has anyone else used logrotate with apache and mod-mono and seen this problem? Should I be using a "restart" rather than a "reload" in the logrotate config. Or I was thinking I could possible get round restarting apache at all by using the "copytruncate" method of logrotate? EXCEPTION - Single file build failed. at System.Web.Compilation.BuildManager.BuildInner (System.Web.VirtualPath vp, Boolean debug) [0x00000] in <filename unknown>:0 at System.Web.Compilation.BuildManager.Build (System.Web.VirtualPath vp) [0x00000] in <filename unknown>:0 at System.Web.Compilation.BuildManager.BuildInner (System.Web.VirtualPath vp, Boolean debug) [0x00000] in <filename unknown>:0 at System.Web.Compilation.BuildManager.Build (System.Web.VirtualPath vp) [0x00000] in <filename unknown>:0 at System.Web.Compilation.BuildManager.GetCompiledType (System.Web.VirtualPath virtualPath) [0x00000] in <filename unknown>:0 at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath (System.Web.VirtualPath virtualPath, System.Type requiredBaseType) [0x00000] in <filename unknown>:0 at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath (System.String virtualPath, System.Type requiredBaseType) [0x00000] in <filename unknown>:0 at System.Web.Mvc.BuildManagerWrapper.System.Web.Mvc.IBuildManager.CreateInstanceFromVirtualPath (System.String virtualPath, System.Type requiredBaseType) [0x00000] in <filename unknown>:0 at System.Web.Mvc.WebFormViewEngine.FileExists (System.Web.Mvc.ControllerContext controllerContext, System.String virtualPath) [0x00000] in <filename unknown>:0 -- View this message in context: http://mono.1490590.n4.nabble.com/Mono-Apache-Logrotate-tp4660136.html Sent from the Mono - ASP.NET mailing list archive at Nabble.com. _______________________________________________ Mono-aspnet-list mailing list Mono-aspnet-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-aspnet-list