[Samba] Samba logs

SANTOS Alexandre Moutinho alexandre.santos at contacto.sonae.pt
Wed Jul 3 10:03:03 GMT 2002


Yes, this happened to me back in 2000, with RedHat 6.2 and Samba 2.0.x
(can't remember the exact version, but it was downloaded from RedHat).

Alex

-----Original Message-----
From: MCCALL,DON (HP-USA,ex1) [mailto:don_mccall at hp.com]
Sent: quarta-feira, 3 de Julho de 2002 17:57
To: 'Brian Ipsen'; samba at lists.samba.org
Subject: RE: [Samba] Samba logs


What version of samba and u*ix are you using?
what is the output of testparm |grep "log file" ?
Normally your log files should 'cycle' from 
log.machinename and log.machinename.old....
The .1 and 1.1... etc are probably happining because of 
an OS issue with renaming the log file when it reaches it's 
threshold...
normally, when the log.whatever reaches its max log size, 
it gets renamed to log.whatever.old, and a new log file 
named log.whatever is opened and that gets written to.
This doesn't appear to be happening on your system.

Check the samba mailing list archives also - this sounds 
familiar...
Hope this helps,
Don

-----Original Message-----
From: Brian Ipsen [mailto:Brian.Ipsen at andebakken.dk]
Sent: Wednesday, July 03, 2002 10:54
To: samba at lists.samba.org
Subject: [Samba] Samba logs


Hi!

 How come that the logfiles in my /var/log/samba looks like this:

-rw-r--r--    1 root     root            0 Feb 24 04:02 log.data
-rw-r--r--    1 root     root         3223 Jul  2 18:04 log.dell
-rw-r--r--    1 root     root            0 Jun 22 04:29 log.dell.2
-rw-r--r--    1 root     root            0 Jun  1 04:02 log.dell.3
-rw-r--r--    1 root     root            0 Jul  3 04:09 log.gggg
-rw-r--r--    1 root     root            0 Jun  9 06:06 log.install.1
-rw-r--r--    1 root     root            0 Jun 17 04:05 log.install.1.1
-rw-r--r--    1 root     root            0 Jun 23 04:44 log.install.1.1.1
-rw-r--r--    1 root     root            0 Jun 30 05:36 log.install.1.1.1.1
-rw-r--r--    1 root     root         5112 Jun 30 05:36
log.install.1.1.1.1.1
-rw-r--r--    1 root     root         4708 Jul  3 01:10 log.ll
-rw-r--r--    1 root     root        44591 Jul  3 17:09 log.nmbd
-rw-r--r--    1 root     root        42391 Jul  3 17:10 log.riker
-rw-r--r--    1 root     root         1340 Jul  3 17:09 log.smbd
-rw-r--r--    1 root     root            0 Jun 23 04:44 log.smbd.2
-rw-r--r--    1 root     root            0 Jun 17 04:05 log.smbd.3
-rw-r--r--    1 root     root            0 Jun  9 06:06 log.smbd.4
-rw-r--r--    1 root     root            0 Jun  2 05:59 log.troi
-rw-r--r--    1 root     root            0 Jun  9 06:06 log.vstream

I've cleaned up a lot, but the basic problem is that a lot of files ends in
.1.1.1.1.1.1 (and so on) - what is the cause of this ?

Regards,

/Brian


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list