TurnKey Linux Virtual Appliance Library

Large samba.log.old file crashing Turnkey PDC

Chips's picture

I'm getting an extraordinarily large samba.log.old file which is taking up all disk space on my install of the Turnkey PDC. I have 200GB allocated to it with 33GB used normally. Then the samba.log.old file appears roughly after a week of removing it taking up all the rest of the disk space. Has anyone got this problem and fixed it? Any help much appreciated!

 

Heres the /etc/logrotate.d/samba

 

/var/log/samba/log.smbd {
 weekly
 missingok
 rotate 7
 postrotate
  invoke-rc.d --quiet samba reload > /dev/null
 endscript
 compress
 notifempty
}

/var/log/samba/log.nmbd {
 weekly
 missingok
 rotate 7
 postrotate
  [ ! -f /var/run/samba/nmbd.pid ] || kill -HUP `cat /var/run/samba/nmbd.pid`
 endscript
 compress
 notifempty
}

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)