<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>I am ubuntu, defaults from the server installation, with zendto set up from the installer script.   I have neither /var/log/syslog nor /var/log/messages, I did go there to look. </div>
<div> </div>
<div>If I search for 'syslog' with mlocate I don't see any log.</div>
<div> </div>
<div>Contents of /var/log</div>
<div> </div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">-rw-r--r--   1 root   root             174 Apr  3 06:52 alternatives.log</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">-rw-r--r--   1 root   root             186 Feb 28 06:46 alternatives.log.1</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">-rw-r--r--   1 root   root            1.9K Jan  4 15:28 alternatives.log.2.gz</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">drwxr-x---   2 root   adm             4.0K Apr  3 00:00 apache2</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">drwxr-xr-x   2 root   root            4.0K Apr  3 06:53 apt</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">-rw-r--r--   1 root   root             64K Apr 21  2022 bootstrap.log</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">-rw-rw----   1 root   utmp               0 Apr  1 00:00 btmp</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">-rw-rw----   1 root   utmp               0 Mar  1 00:00 btmp.1</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">drwxr-xr-x   2 clamav clamav          4.0K Mar 31 00:00 clamav</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">-rw-r-----   1 root   adm              25K Apr  2 10:21 cloud-init-output.log</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">-rw-r-----   1 root   adm             510K Apr  2 10:21 cloud-init.log</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">drwxr-xr-x   2 root   root            4.0K Apr 18  2022 dist-upgrade</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">-rw-r--r--   1 root   root             12K Apr  3 06:53 dpkg.log</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">-rw-r--r--   1 root   root             22K Mar 21 06:28 dpkg.log.1</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">-rw-r--r--   1 root   root            2.5K Feb 28 06:46 dpkg.log.2.gz</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">-rw-r--r--   1 root   root             49K Jan 31 06:59 dpkg.log.3.gz</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">-rw-r--r--   1 root   root             32K Jan  5 09:53 faillog</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">-rw-r--r--   1 root   root             484 Jan  4 14:46 fontconfig.log</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">drwxr-x---   3 root   adm             4.0K Nov  3  2022 installer</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">drwxr-sr-x+  3 root   systemd-journal 4.0K Nov  3  2022 journal</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">-rw-rw-r--   1 root   utmp            286K Apr  2 10:21 lastlog</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">drwx------   2 root   root            4.0K Apr 21  2022 private</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">drwxr-x---   2 root   adm             4.0K Apr  1 00:00 unattended-upgrades</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">-rw-r--r--   1 root   root             187 Jan  5 10:58 vmware-network.1.log</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">-rw-r--r--   1 root   root             187 Jan  4 14:13 vmware-network.2.log</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">-rw-r--r--   1 root   root             187 Jan  5 13:44 vmware-network.log</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">-rw-------   1 root   root            5.1K Apr  2 10:20 vmware-vmsvc-root.1.log</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">-rw-------   1 root   root            5.1K Jan  5 13:43 vmware-vmsvc-root.2.log</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">-rw-------   1 root   root            4.8K Jan  5 10:56 vmware-vmsvc-root.3.log</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">-rw-------   1 root   root            3.8K Apr  2 10:21 vmware-vmsvc-root.log</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">-rw-------   1 root   root            4.1K Apr  2 10:21 vmware-vmtoolsd-root.log</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">-rw-rw-r--   1 root   utmp             24K Apr  2 10:21 wtmp</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">drwxrwxr-x   2 root   www-data        4.0K Apr  1 00:00 zendto</span></font></div>
<div> </div>
<div> </div>
<div>-----------------------------------------------</div>
<div>Ian Elston</div>
<div>Senior Networks officer</div>
<div>Information Systems & Technology</div>
<div>The University of Bolton</div>
<div><a href="http://www.bolton.ac.uk">http://www.bolton.ac.uk</a></div>
<div> </div>
<div>-----Original Message-----<br>

From: Sangster, Mark <m.v.sangster@abdn.ac.uk> <br>

Sent: 02 April 2024 16:25<br>

To: Elston, Ian <I.Elston@bolton.ac.uk>; ZendTo Users <zendto@zend.to><br>

Subject: RE: my server became full</div>
<div> </div>
<div>[You don't often get email from <a href="mailto:m.v.sangster@abdn.ac.uk">m.v.sangster@abdn.ac.uk</a>. Learn why this is important at <a href="https://aka.ms/LearnAboutSenderIdentification">https://aka.ms/LearnAboutSenderIdentification</a> ]</div>
<div> </div>
<div>WARNING: This message originated from outside the University. Use caution when following links or opening attachments.</div>
<div> </div>
<div>It does depend on your specific distribution; some of them log to /var/log/syslog or /var/log/messages.</div>
<div> </div>
<div>Indeed, any log could be generated depending on your syslog setup.</div>
<div> </div>
<div>Either hunt the logs in /var/log or review your syslog setup.</div>
<div> </div>
<div>It is very unlikely that a default OS setup will not record cron activity.</div>
<div> </div>
<div>Cheers</div>
<div>Mark</div>
<div> </div>
<div>-----Original Message-----</div>
<div>From: Elston, Ian <<a href="mailto:I.Elston@bolton.ac.uk">I.Elston@bolton.ac.uk</a>></div>
<div>Sent: Tuesday, April 2, 2024 4:18 PM</div>
<div>To: Sangster, Mark <<a href="mailto:m.v.sangster@abdn.ac.uk">m.v.sangster@abdn.ac.uk</a>>; ZendTo Users <<a href="mailto:zendto@zend.to">zendto@zend.to</a>></div>
<div>Subject: RE: my server became full</div>
<div> </div>
<div>CAUTION: External email. Ensure this message is from a trusted source and exercise caution before clicking links/opening attachments.</div>
<div> </div>
<div> </div>
<div>I don't appear to have such a log file, or any cron log file.</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div>-----------------------------------------------</div>
<div>Ian Elston</div>
<div>Senior Networks officer</div>
<div>Information Systems & Technology</div>
<div>The University of Bolton</div>
<div><a href="http://www.bolton.ac.uk/">http://www.bolton.ac.uk/</a></div>
<div> </div>
<div>-----Original Message-----</div>
<div>From: Sangster, Mark <<a href="mailto:m.v.sangster@abdn.ac.uk">m.v.sangster@abdn.ac.uk</a>></div>
<div>Sent: 02 April 2024 14:19</div>
<div>To: ZendTo Users <<a href="mailto:zendto@zend.to">zendto@zend.to</a>></div>
<div>Cc: Elston, Ian <<a href="mailto:I.Elston@bolton.ac.uk">I.Elston@bolton.ac.uk</a>></div>
<div>Subject: RE: my server became full</div>
<div> </div>
<div>[You don't often get email from <a href="mailto:m.v.sangster@abdn.ac.uk">m.v.sangster@abdn.ac.uk</a>. Learn why this is important at <a href="https://aka.ms/LearnAboutSenderIdentification">https://aka.ms/LearnAboutSenderIdentification</a> ]</div>
<div> </div>
<div>WARNING: This message originated from outside the University. Use caution when following links or opening attachments.</div>
<div> </div>
<div>The cron log (/var/log/cron.log), would at least acknowledge that it ran and when.</div>
<div> </div>
<div>e.g. Apr  2 12:05:01 (server) CROND[92540]: (root) CMD (find -H /var/zendto/incoming -type f -mmin +1440 -delete >/dev/null 2>&1)</div>
<div> </div>
<div>Cheers</div>
<div>Mark</div>
<div> </div>
<div>-----Original Message-----</div>
<div>From: ZendTo <<a href="mailto:zendto-bounces@zend.to">zendto-bounces@zend.to</a>> On Behalf Of Elston, Ian via ZendTo</div>
<div>Sent: Tuesday, April 2, 2024 2:12 PM</div>
<div>To: ZendTo Users <<a href="mailto:zendto@zend.to">zendto@zend.to</a>></div>
<div>Cc: Elston, Ian <<a href="mailto:I.Elston@bolton.ac.uk">I.Elston@bolton.ac.uk</a>></div>
<div>Subject: Re: [ZendTo] my server became full</div>
<div> </div>
<div>CAUTION: External email. Ensure this message is from a trusted source and exercise caution before clicking links/opening attachments.</div>
<div> </div>
<div> </div>
<div>> First, I'd check the log files to see if cron actually ran the job</div>
<div> </div>
<div>This was my first thought, but I don't *think* it logs anywhere... Looking at the entries in the cron they output to /dev/null and not to a log file.</div>
<div> </div>
<div>> I haven't looked at the preferences file in ages; maybe there's an option in there that needs to be set to enable the cleanup?</div>
<div> </div>
<div>Not that I can see</div>
<div> </div>
<div> </div>
<div> </div>
<div>-----------------------------------------------</div>
<div>Ian Elston</div>
<div>Senior Networks officer</div>
<div>Information Systems & Technology</div>
<div>The University of Bolton</div>
<div><a href="http://www.bolton.ac.uk/">http://www.bolton.ac.uk/</a></div>
<div> </div>
<div>-----Original Message-----</div>
<div>From: ZendTo <<a href="mailto:zendto-bounces@zend.to">zendto-bounces@zend.to</a>> On Behalf Of Dippery, Kyle D. via ZendTo</div>
<div>Sent: 02 April 2024 13:53</div>
<div>To: ZendTo Users <<a href="mailto:zendto@zend.to">zendto@zend.to</a>></div>
<div>Cc: Dippery, Kyle D. <<a href="mailto:kyle.dippery@uky.edu">kyle.dippery@uky.edu</a>></div>
<div>Subject: Re: [ZendTo] my server became full</div>
<div> </div>
<div>WARNING: This message originated from outside the University. Use caution when following links or opening attachments.</div>
<div> </div>
<div>First, I'd check the log files to see if cron actually ran the job; if not maybe there's some info about why not.</div>
<div> </div>
<div>I haven't looked at the preferences file in ages; maybe there's an option in there that needs to be set to enable the cleanup?</div>
<div> </div>
<div> </div>
<div> </div>
<div>Kyle Dippery, PhD</div>
<div>219 Robotics Building</div>
<div>Stanley and Karen Pigman College of Engineering</div>
<div>859-257-1346</div>
<div> </div>
<div>________________________________________</div>
<div>From: ZendTo <<a href="mailto:zendto-bounces@zend.to">zendto-bounces@zend.to</a>> on behalf of Elston, Ian via ZendTo <<a href="mailto:zendto@zend.to">zendto@zend.to</a>></div>
<div>Sent: Tuesday, April 2, 2024 6:01 AM</div>
<div>To: 'ZendTo Users'</div>
<div>Cc: Elston, Ian</div>
<div>Subject: [ZendTo] my server became full</div>
<div> </div>
<div>CAUTION: External Sender</div>
<div> </div>
<div>Hello all,</div>
<div> </div>
<div>Two posts in two [working] days, sorry about this....</div>
<div> </div>
<div>My zendto was down this morning, due to being full.  Turns out the /var/zendto/incoming was very large and had files in from January</div>
<div> </div>
<div>root@zeus:/home/nads# du -h /var/zendto/incoming</div>
<div>28G     /var/zendto/incoming</div>
<div> </div>
<div> </div>
<div>I found an older mail list thread from June 2021 about a cron job which should exist to tidy up that directory.  I've checked and my crontab does appear to have the required entry</div>
<div> </div>
<div># Cron jobs for ZendTo to remove expired drop-offs and update usage graphs</div>
<div>5 0 * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php >/dev/null 2>&1</div>
<div>25 * * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php --no-warnings >/dev/null 2>&1</div>
<div>15 0 * * * root /usr/bin/php /opt/zendto/sbin/emailSummary.php /opt/zendto/config/preferences.php >/dev/null 2>&1</div>
<div>5 */4 * * * root find -H /var/zendto/incoming -type f -mmin +1440 -delete >/dev/null 2>&1</div>
<div>1 1 * * * root /usr/bin/php /opt/zendto/sbin/rrdInit.php /opt/zendto/config/preferences.php 2>&1 | /bin/grep -iv 'illegal attempt to update using time'</div>
<div>3 3 * * * root /usr/bin/php /opt/zendto/sbin/rrdUpdate.php /opt/zendto/config/preferences.php 2>&1 | sed '$ d' | /bin/grep -v '^[0-9]*x[0-9]*$'</div>
<div> </div>
<div> </div>
<div> </div>
<div>Looks like the entry to tidy up /incoming is not running, but I also have blank graphs, which suggests the rrd ones might not be working either... which also make me worry about the other entries...</div>
<div> </div>
<div>Is there any way I can troubleshoot these cron jobs?</div>
<div> </div>
<div>Installed version is the latest I think, server was only built (in January) using the installer</div>
<div> </div>
<div>Listing... Done</div>
<div>zendto/lynx,trusty,xenial,bionic,now 6.13-3 all [installed]</div>
<div> </div>
<div> </div>
<div>To get my space back I have run (ran?) the command from the crontab find -H /var/zendto/incoming -type f -mmin +1440 -delete >/dev/null 2>&1</div>
<div> </div>
<div>root@zeus:/home/nads# du -h /var/zendto/incoming</div>
<div>12K     /var/zendto/incoming</div>
<div> </div>
<div>And now I have plenty of space back.</div>
<div> </div>
<div> </div>
<div>-----------------------------------------------</div>
<div>Ian Elston</div>
<div>Senior Networks officer</div>
<div>Information Systems & Technology</div>
<div>The University of Bolton</div>
<div><a href="http://www.bolton.ac.uk/<http://www.bolton.ac.uk/">http://www.bolton.ac.uk/<http://www.bolton.ac.uk/</a>></div>
<div> </div>
<div>[<a href="https://www.bolton.ac.uk/assets/109433-UoB-Email-footer.png">https://www.bolton.ac.uk/assets/109433-UoB-Email-footer.png</a>]<<a href="https://www.bolton.ac.uk/">https://www.bolton.ac.uk/</a>></div>
<div>This email (and any attachments) is confidential and may contain personal views which are not the views of the University of Bolton unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose
information in any way nor act in reliance on it and notify the sender immediately. Please note the University of Bolton monitors emails sent or received. Further communication will signify your consent to this.</div>
<div> </div>
<div>_______________________________________________</div>
<div>ZendTo mailing list</div>
<div><a href="mailto:ZendTo@zend.to">ZendTo@zend.to</a></div>
<div><a href="http://jul.es/mailman/listinfo/zendto">http://jul.es/mailman/listinfo/zendto</a></div>
<div>[University of Bolton]<<a href="https://www.bolton.ac.uk/">https://www.bolton.ac.uk/</a>></div>
<div> </div>
<div>This email (and any attachments) is confidential and may contain personal views which are not the views of the University of Bolton unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose
information in any way nor act in reliance on it and notify the sender immediately. Please note the University of Bolton monitors emails sent or received. Further communication will signify your consent to this.</div>
<div> </div>
<div>_______________________________________________</div>
<div>ZendTo mailing list</div>
<div><a href="mailto:ZendTo@zend.to">ZendTo@zend.to</a></div>
<div><a href="http://jul.es/mailman/listinfo/zendto">http://jul.es/mailman/listinfo/zendto</a></div>
<div> </div>
<div> </div>
<div>The University of Aberdeen is a charity registered in Scotland, No SC013683.</div>
<div>Tha Oilthigh Obar Dheathain na charthannas clàraichte ann an Alba, Àir. SC013683.</div>
<div>[University of Bolton]<<a href="https://www.bolton.ac.uk/">https://www.bolton.ac.uk/</a>></div>
<div> </div>
<div>This email (and any attachments) is confidential and may contain personal views which are not the views of the University of Bolton unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose
information in any way nor act in reliance on it and notify the sender immediately. Please note the University of Bolton monitors emails sent or received. Further communication will signify your consent to this.</div>
<div> </div>
<div> </div>
<div>The University of Aberdeen is a charity registered in Scotland, No SC013683.</div>
<div>Tha Oilthigh Obar Dheathain na charthannas clàraichte ann an Alba, Àir. SC013683.</div>
<div> </div>
<div><font face="Times New Roman" size="3"><span style="font-size:12pt;"><a href="https://www.bolton.ac.uk"><img src="https://www.bolton.ac.uk/assets/109433-UoB-Email-footer.png"></a><font face="Times New Roman" size="2"><span style="font-size:11pt;"> </span></font></span></font></div>
<div><font face="Arial" size="1" color="#333333"><span style="font-size:7pt;">This email (and any attachments) is confidential and may contain personal views which are not the views of the University of Bolton unless specifically stated. If you have received
it in error, please delete it from your system. Do not use, copy or disclose information in any way nor act in reliance on it and notify the sender immediately. Please note the University of Bolton monitors emails sent or received. Further communication will
signify your consent to this.</span></font></div>
</span></font>
</body>
</html>