I'm having the same problem as outlined below.

Basically, the log fails to roll (and so does "ns_accesslog roll")
eventhough the directory and the log file look good.

Please note that "ns_rollfile" renames the existing log (say,
access.log.000) but it does not create a new one (not sure if that is
the expected behaviour).

I've tried this on two different machines with the latest version from
CVS (and TCL 8.5.0). Both machines are using software raid (raid1) and
one of them uses lvm.

Any ideas or suggestions?

Best wishes,
Neophytos

PS. Please let me know if you need further info.



Stephen Deasey wrote:
> On 9/10/07, Bernd Eidenschink <[EMAIL PROTECTED]> wrote:
>>> grep -C1 'nslog:' server1.log
>> Sent to your private mail.
> 
> 
> Last correct shutdown and startup:
> 
> [08/Sep/2007:19:02:47] Notice: nslog: closed
> '/usr/local/nsroot/logs/access-server1.log'
> 
> [08/Sep/2007:21:14:24] Notice: nslog: opened
> '/usr/local/nsroot/logs/access-server1.log'
> 
> 
> Here's the problem:
> 
> 
> [09/Sep/2007:00:00:00][-sched-] Notice: nslog: closed
> '/usr/local/nsroot/logs/access-server1.log'
> 
> [09/Sep/2007:00:00:00][-sched-] Error: nslog: failed: roll
> '/usr/local/nsroot/logs/access-server1.log': 'No such file or
> directory'
> 
> 
> So, access log rolling is enabled, and it failed this past midnight.
> 
> Are you sure 'ls -l /usr/local/nsroot/logs' looks good?
> 
> Search your error log near '09/Sep/2007:00:00:00' and there may be
> more info, from rollfile etc.
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> naviserver-devel mailing list
> naviserver-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/naviserver-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to