mace5805 Posted September 7, 2013 Share Posted September 7, 2013 Hello everyone. Need some assistance here. I have never seen this error before and I am having a hard time trying to find out how to solve it. I keep getting email alerts. Subject: cron for user root /usr/lib/sa/sa1 2 1 1> /dev/null Body: Cannot write data to system activity file: No space left on device All of my drives have some space left but obviously something is going on. The mover script is not running and I cannot figure out what is trying to be saved where so that I can try and resolve this issue. I have received 50 emails so far and continue to get them every minute. Thanks in advance. syslog-2013-09-06.zip Quote Link to comment
mace5805 Posted September 7, 2013 Author Share Posted September 7, 2013 So I restarted the machine last night and went to bed. I did not get anymore email alerts so I assumed that fixed the issue. Still would like to know what this means if anyone has an idea. Quote Link to comment
dertbv Posted September 18, 2013 Share Posted September 18, 2013 JUst updated to the latest and greatest and started getting these error messages myself. Any idea where to look? Quote Link to comment
Joe L. Posted September 18, 2013 Share Posted September 18, 2013 JUst updated to the latest and greatest and started getting these error messages myself. Any idea where to look? sounds like you've filled the RAM file system. Quote Link to comment
dgaschk Posted September 18, 2013 Share Posted September 18, 2013 Enter "free -lm" when it happens and post the output. Quote Link to comment
dertbv Posted September 18, 2013 Share Posted September 18, 2013 Enter "free -lm" when it happens and post the output. total used free shared buffers cached Mem: 16217 15477 740 0 281 14353 Low: 752 613 138 High: 15465 14863 601 -/+ buffers/cache: 842 15375 Swap: 3071 1 3070 thnks Quote Link to comment
dertbv Posted September 18, 2013 Share Posted September 18, 2013 du / -shx and df -haT ? du / -shx 1.1G / Filesystem Type Size Used Avail Use% Mounted on proc proc 0 0 0 - /proc sysfs sysfs 0 0 0 - /sys tmpfs tmpfs 128M 128M 0 100% /var/log /dev/sda1 vfat 7.3G 842M 6.5G 12% /boot /dev/md1 reiserfs 1.9T 1.9T 12G 100% /mnt/disk1 /dev/md2 reiserfs 1.4T 1.2T 229G 84% /mnt/disk2 /dev/md3 reiserfs 1.4T 1.2T 228G 84% /mnt/disk3 /dev/md4 reiserfs 1.4T 1.1T 284G 80% /mnt/disk4 /dev/md5 reiserfs 699G 257G 443G 37% /mnt/disk5 /dev/md6 reiserfs 699G 275G 424G 40% /mnt/disk6 /dev/md7 reiserfs 699G 346G 354G 50% /mnt/disk7 /dev/sdb1 reiserfs 932G 225G 707G 25% /mnt/cache shfs fuse.shfs 8.0T 6.1T 2.0T 76% /mnt/user0 shfs fuse.shfs 8.9T 6.3T 2.7T 71% /mnt/user Quote Link to comment
dgaschk Posted September 18, 2013 Share Posted September 18, 2013 Why is /var/log full? Enter "ls -la /var/log" Quote Link to comment
dertbv Posted September 18, 2013 Share Posted September 18, 2013 Why is /var/log full? Enter "ls -la /var/log" [/quotedrwxrwxrwx 11 root root 300 2013-09-16 05:51 ./ drwxr-xr-x 15 root root 0 2011-06-02 04:51 ../ -rw-rw-rw- 1 root root 0 2013-09-16 05:45 cron -rw-rw-rw- 1 root root 43332 2013-09-16 05:45 dmesg lrwxrwxrwx 1 root root 19 2013-09-16 05:51 images -> /boot/unmenu/images/ drwxrwxrwx 2 root root 80 2013-09-18 04:40 lighttpd/ drwxr-xr-x 2 root root 1360 2013-09-16 05:51 packages/ drwxr-xr-x 2 root root 340 2013-09-16 05:51 plugins/ drwxr-xr-x 2 root root 100 2013-09-16 05:51 removed_packages/ drwxr-xr-x 2 root root 80 2013-09-16 05:51 removed_scripts/ drwxrwxrwx 2 root root 100 2013-09-18 00:00 sa/ drwxrwxrwx 3 root root 100 2013-09-16 05:51 samba/ drwxr-xr-x 2 root root 820 2013-09-16 05:51 scripts/ drwxrwxrwx 3 root root 60 2013-08-28 13:46 setup/ -rw-r--r-- 1 root root 585728 2013-09-18 04:47 syslog Quote Link to comment
dgaschk Posted September 19, 2013 Share Posted September 19, 2013 Enter "du -h /var/log" Sorry, make it "du -ha /var/log" Quote Link to comment
dertbv Posted September 19, 2013 Share Posted September 19, 2013 Enter "du -h /var/log" Sorry, make it "du -ha /var/log" PHP log is full i have resolved the php issue and the error has gone away. Thanks you for the help.. Quote Link to comment
hilly Posted January 16, 2014 Share Posted January 16, 2014 A bit of a late follow on - but as of about 2:30 this morning one of my 2 servers has been mailing me every minute with the cron for user root /usr/lib/s?a/sa1 2 1 1> /dev/null "Cannot write data to system activity file: No space left on device" mail. There was nothing happening on either server at this time, its just kind of started, so i guess its: What does this mean and why might it just start up? Do i just look into the syslog to see which server is firing off the mails and so which one has the problem as that info is not in the header or message And most improtant what do i do to fix the problem? it seems from what i have read a restart will flush everything but thats not a fix is it, its just a work around, you should be able to just leave this stuff running Would check the syslog and post etc but i am at work for the next few hours and i wanted to get the issue on the table Many thanks Update: Restarted the servers as i have now upgraded to 5.0.4 and the cron problem has gone away - but I would still like to understand a little more about this for next time Quote Link to comment
DazedAndConfused Posted January 21, 2014 Share Posted January 21, 2014 How do I stop these Cron emails? I do not need to know that this cron job is happening every 2 hours. My mailbox is full of this. root@Tower:~# free -lm total used free shared buffers cached Mem: 7799 7558 240 0 215 6780 Low: 814 588 226 High: 6985 6970 14 -/+ buffers/cache: 563 7236 Swap: 0 0 0 Quote Link to comment
DaleWilliams Posted January 21, 2014 Share Posted January 21, 2014 How do I stop these Cron emails? I do not need to know that this cron job is happening every 2 hours. My mailbox is full of this. root@Tower:~# free -lm total used free shared buffers cached Mem: 7799 7558 240 0 215 6780 Low: 814 588 226 High: 6985 6970 14 -/+ buffers/cache: 563 7236 Swap: 0 0 0 Do you have (or have you ever had) SimpleFeatures, unMENU, or Dynamix installed? Email notifications are NOT standard. You have to have installed a plugin, and then setup the plugin with your email addy to cause these to be generated. Quote Link to comment
DazedAndConfused Posted January 21, 2014 Share Posted January 21, 2014 How do I stop these Cron emails? I do not need to know that this cron job is happening every 2 hours. My mailbox is full of this. root@Tower:~# free -lm total used free shared buffers cached Mem: 7799 7558 240 0 215 6780 Low: 814 588 226 High: 6985 6970 14 -/+ buffers/cache: 563 7236 Swap: 0 0 0 Do you have (or have you ever had) SimpleFeatures, unMENU, or Dynamix installed? Email notifications are NOT standard. You have to have installed a plugin, and then setup the plugin with your email addy to cause these to be generated. I have unraid status emails setup. There was no option for any cron emails. They also started after setting up the port forward script for the openvpn plugin. I have simple features and unmenu **Fixed. Followed this guide: http://www.cyberciti.biz/faq/disable-the-mail-alert-by-crontab-command/ Quote Link to comment
dgaschk Posted January 21, 2014 Share Posted January 21, 2014 The is the same message that started the thread and is probably caused by the same issue. Quote Link to comment
DaleWilliams Posted January 21, 2014 Share Posted January 21, 2014 DazedAndConfused reports: **Fixed. Followed this guide: http://www.cyberciti.biz/faq/disable-the-mail-alert-by-crontab-command/ Would appear to be a couple of things happening: The RAM is filling up, this is easily fixed with a reboot. Crontab is setup with a "MAILTO:address". Folks forget this latter setting is out there. Once set (by SF for example), the MAILTO is likely to be persistent even if the GUI interface changes the cron schedule. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.