[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Debian] Samba: Can't Rename the Log File



palme@uni-wuppertal.de (Hubert Palme) writes:

> Hmm..., I'll try it once more because I can't beleive that nobody can
> give me a hint...
[...]
> 
> in the syslog file I repeatedly find the following messages:
> 
> Jun  8 08:19:40 wrpc3 smbd[8296]: [2001/06/08 08:19:40, 0] lib/debug.c:check_log_size(311)
> Jun  8 08:19:40 wrpc3 smbd[8296]:   check_log_size: open of debug file /var/log/smb failed - using console.
> 
> The file /var/log/smb has the following attributes:
> 
> -rw-r--r--    1 root     root      1024067 Jun  6 12:14 smb
> 
[...]
> 
> I run Debian Potato with
> 
> ii  samba          2.0.7-3.3      A LanManager like file and printer server fo 
> ii  samba-common   2.0.7-3.3      Samba common files used by both the server a 
> ii  samba-doc      2.0.7-3.3      Samba documentation. 
> ii  swat           2.0.7-3.3      Samba Web Administration Tool
> 
> Samba runs as a daemon, not via inetd -- could there be a coherence?
[...]
> 
> - Could there be a bug that smbd keeps the file open and thus cannot
>   "re"open it? And how to ship around then? 

No, I don't think there's a bug. At least with log files created with
"log file = /var/log/samba/%m.log" there's no problem with
renaming. /var/log/smb is still used, but it doesn't get big. My setup
is essentially the same as yours, only I don't run swat (and I've
upgraded to samba 2.0.9 due to the known bugs recently).

Have you tried to once rename the file by hand and look wether the
problem is reproducible when it comes to renaming the file again? You
should perhaps create a big file so that you needn't wait for weeks...

Bye, Frank

P.S. I only read debian-user-de.


-- 
-----------------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie bitte eine
E-Mail an debian-user-de-request@lehmanns.de die im Subject
"unsubscribe <deine_email_adresse>" enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@Lehmanns.de
-----------------------------------------------------------

833 eingetragene Mitglieder in dieser Liste.


Reply to: