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

RE: Samba: Can't Rename the Log File



Hi;
you may want to check the PATH to the log file as well; perhaps 
there is not the appropriate execute permission to allow samba to 
traverse /var or /var/log to GET to the smb file that has write permissions.
Hope this helps,
Don

-----Original Message-----
From: palme@uni-wuppertal.de [mailto:palme@uni-wuppertal.de]
Sent: Wednesday, June 20, 2001 9:11 AM
To: debian-user@lists.debian.org; Samba Liste;
debian-user-de@lehmanns.de
Cc: Hubert Palme
Subject: Samba: Can't Rename the Log File


Hmm..., I'll try it once more because I can't beleive that nobody can
give me a hint...
Received: (from palme@localhost) by wrpc3.urz.uni-wuppertal.de
  (8.9.3/8.9.3/Debian 8.9.3-21) id OAA05903; Mon, 11 Jun 2001 14:26:42
  +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Message-ID: <[🔎] 15140.47352.452773.624270@wrpc3.urz.uni-wuppertal.de>
X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid
From: palme@uni-wuppertal.de (Hubert Palme)
To: debian-user@lists.debian.org, Samba Liste <samba@samba.org>
Cc: Hubert Palme <palme>
Subject: Samba: Problem mit check_log_size
Date: Mon, 11 Jun 2001 14:26:32 +0200 (CEST)

Hi,

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

(Thus being writable for smbd!?)

The concerning entry in smb.conf is:

        max log size = 1000

(obviously just exceeded)

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?

Waiting for a hint...

Thanks in advance,

-- 
======================================================================
Hubert Palme         Bergische Universitaet-Gesamthochschule Wuppertal
                                      Computing  Center
                                      D-42097 Wuppertal
E-Mail: palme@uni-wuppertal.de             (Germany)
http://www.hrz.uni-wuppertal.de/hrz/personen/h_palme.html
- can someone explain me the mechanism how smbd/nmbd rename their
  files?

- How else can I interpret the error message? (The permits of the file
  seem to be OK)

- What if I run smnd/nmbd via inetd? Are the files ever renamed then?

- Could there be a bug that smbd keeps the file open and thus cannot
  "re"open it? And how to ship around then? 

That's all very strange...

Thanks in advance,

-- 
======================================================================
Hubert Palme         Bergische Universitaet-Gesamthochschule Wuppertal
                                      Computing  Center
                                      D-42097 Wuppertal
E-Mail: palme@uni-wuppertal.de             (Germany)
http://www.hrz.uni-wuppertal.de/hrz/personen/h_palme.html
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Reply to: