Samba not rotating nmbd log files "log.nmbd", with default samba log rotate configuration.

Solution Verified - Updated -

Issue

  • The log file /var/log/log.nmbd never rotates, even if max log size samba configuration parameter set.

  • The log files from directory /var/log/samba/ are not being named with .old extension, as per the value set to parameter max log size in samba configuration file /etc/samba/smb.conf . Parameter max log size the specifies the max size the log file should grow to. Samba periodically checks the size and if it is exceeded it will rename the file, adding a .old extension.

Environment

  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.