<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">How strange, the Ubuntu install I have here still used syslog and has cron within it.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">I do see “/var/log/journal” there for you.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">That suggests journald is present.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Maybe Ubuntu has switched over to journald, turning off syslog for some services.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">You can try searching that with, “journalctl -u cron”.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Or just grep the output, “journalctl | grep zendto”<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Cheers<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Mark<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Elston, Ian <I.Elston@bolton.ac.uk>
<br>
<b>Sent:</b> Wednesday, April 3, 2024 12:00 PM<br>
<b>To:</b> Sangster, Mark <m.v.sangster@abdn.ac.uk>; ZendTo Users <zendto@zend.to><br>
<b>Subject:</b> RE: my server became full<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:solid #9C6500 1.0pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" style="line-height:12.0pt;background:#FFA64D"><strong><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:black">CAUTION: External email.</span></strong><span style="font-size:10.0pt;color:black"> Ensure this message is
from a trusted source and exercise caution before clicking links/opening attachments.<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">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.
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">If I search for 'syslog' with mlocate I don't see any log.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Contents of /var/log<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">-rw-r--r-- 1 root root 174 Apr 3 06:52 alternatives.log</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">-rw-r--r-- 1 root root 186 Feb 28 06:46 alternatives.log.1</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">-rw-r--r-- 1 root root 1.9K Jan 4 15:28 alternatives.log.2.gz</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">drwxr-x--- 2 root adm 4.0K Apr 3 00:00 apache2</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">drwxr-xr-x 2 root root 4.0K Apr 3 06:53 apt</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">-rw-r--r-- 1 root root 64K Apr 21 2022 bootstrap.log</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">-rw-rw---- 1 root utmp 0 Apr 1 00:00 btmp</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">-rw-rw---- 1 root utmp 0 Mar 1 00:00 btmp.1</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">drwxr-xr-x 2 clamav clamav 4.0K Mar 31 00:00 clamav</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">-rw-r----- 1 root adm 25K Apr 2 10:21 cloud-init-output.log</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">-rw-r----- 1 root adm 510K Apr 2 10:21 cloud-init.log</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">drwxr-xr-x 2 root root 4.0K Apr 18 2022 dist-upgrade</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">-rw-r--r-- 1 root root 12K Apr 3 06:53 dpkg.log</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">-rw-r--r-- 1 root root 22K Mar 21 06:28 dpkg.log.1</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">-rw-r--r-- 1 root root 2.5K Feb 28 06:46 dpkg.log.2.gz</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">-rw-r--r-- 1 root root 49K Jan 31 06:59 dpkg.log.3.gz</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">-rw-r--r-- 1 root root 32K Jan 5 09:53 faillog</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">-rw-r--r-- 1 root root 484 Jan 4 14:46 fontconfig.log</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">drwxr-x--- 3 root adm 4.0K Nov 3 2022 installer</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">drwxr-sr-x+ 3 root systemd-journal 4.0K Nov 3 2022 journal</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">-rw-rw-r-- 1 root utmp 286K Apr 2 10:21 lastlog</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">drwx------ 2 root root 4.0K Apr 21 2022 private</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">drwxr-x--- 2 root adm 4.0K Apr 1 00:00 unattended-upgrades</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">-rw-r--r-- 1 root root 187 Jan 5 10:58 vmware-network.1.log</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">-rw-r--r-- 1 root root 187 Jan 4 14:13 vmware-network.2.log</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">-rw-r--r-- 1 root root 187 Jan 5 13:44 vmware-network.log</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">-rw------- 1 root root 5.1K Apr 2 10:20 vmware-vmsvc-root.1.log</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">-rw------- 1 root root 5.1K Jan 5 13:43 vmware-vmsvc-root.2.log</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">-rw------- 1 root root 4.8K Jan 5 10:56 vmware-vmsvc-root.3.log</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">-rw------- 1 root root 3.8K Apr 2 10:21 vmware-vmsvc-root.log</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">-rw------- 1 root root 4.1K Apr 2 10:21 vmware-vmtoolsd-root.log</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">-rw-rw-r-- 1 root utmp 24K Apr 2 10:21 wtmp</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">drwxrwxr-x 2 root www-data 4.0K Apr 1 00:00 zendto</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">-----------------------------------------------<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Ian Elston<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Senior Networks officer<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Information Systems & Technology<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">The University of Bolton<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="http://www.bolton.ac.uk/">http://www.bolton.ac.uk</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">-----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<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[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> ]<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">WARNING: This message originated from outside the University. Use caution when following links or opening attachments.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">It does depend on your specific distribution; some of them log to /var/log/syslog or /var/log/messages.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Indeed, any log could be generated depending on your syslog setup.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Either hunt the logs in /var/log or review your syslog setup.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">It is very unlikely that a default OS setup will not record cron activity.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Cheers<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Mark<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">-----Original Message-----<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">From: Elston, Ian <<a href="mailto:I.Elston@bolton.ac.uk">I.Elston@bolton.ac.uk</a>><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Sent: Tuesday, April 2, 2024 4:18 PM<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">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>><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Subject: RE: my server became full<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">CAUTION: External email. Ensure this message is from a trusted source and exercise caution before clicking links/opening attachments.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I don't appear to have such a log file, or any cron log file.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">-----------------------------------------------<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Ian Elston<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Senior Networks officer<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Information Systems & Technology<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">The University of Bolton<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="http://www.bolton.ac.uk/">http://www.bolton.ac.uk/</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">-----Original Message-----<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">From: Sangster, Mark <<a href="mailto:m.v.sangster@abdn.ac.uk">m.v.sangster@abdn.ac.uk</a>><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Sent: 02 April 2024 14:19<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">To: ZendTo Users <<a href="mailto:zendto@zend.to">zendto@zend.to</a>><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Cc: Elston, Ian <<a href="mailto:I.Elston@bolton.ac.uk">I.Elston@bolton.ac.uk</a>><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Subject: RE: my server became full<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[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> ]<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">WARNING: This message originated from outside the University. Use caution when following links or opening attachments.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">The cron log (/var/log/cron.log), would at least acknowledge that it ran and when.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">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)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Cheers<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Mark<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">-----Original Message-----<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">From: ZendTo <<a href="mailto:zendto-bounces@zend.to">zendto-bounces@zend.to</a>> On Behalf Of Elston, Ian via ZendTo<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Sent: Tuesday, April 2, 2024 2:12 PM<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">To: ZendTo Users <<a href="mailto:zendto@zend.to">zendto@zend.to</a>><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Cc: Elston, Ian <<a href="mailto:I.Elston@bolton.ac.uk">I.Elston@bolton.ac.uk</a>><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Subject: Re: [ZendTo] my server became full<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">CAUTION: External email. Ensure this message is from a trusted source and exercise caution before clicking links/opening attachments.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">> First, I'd check the log files to see if cron actually ran the job<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">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.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">> 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?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Not that I can see<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">-----------------------------------------------<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Ian Elston<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Senior Networks officer<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Information Systems & Technology<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">The University of Bolton<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="http://www.bolton.ac.uk/">http://www.bolton.ac.uk/</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">-----Original Message-----<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">From: ZendTo <<a href="mailto:zendto-bounces@zend.to">zendto-bounces@zend.to</a>> On Behalf Of Dippery, Kyle D. via ZendTo<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Sent: 02 April 2024 13:53<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">To: ZendTo Users <<a href="mailto:zendto@zend.to">zendto@zend.to</a>><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Cc: Dippery, Kyle D. <<a href="mailto:kyle.dippery@uky.edu">kyle.dippery@uky.edu</a>><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Subject: Re: [ZendTo] my server became full<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">WARNING: This message originated from outside the University. Use caution when following links or opening attachments.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">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.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">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?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Kyle Dippery, PhD<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">219 Robotics Building<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Stanley and Karen Pigman College of Engineering<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">859-257-1346<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">________________________________________<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">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>><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Sent: Tuesday, April 2, 2024 6:01 AM<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">To: 'ZendTo Users'<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Cc: Elston, Ian<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Subject: [ZendTo] my server became full<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">CAUTION: External Sender<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Hello all,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Two posts in two [working] days, sorry about this....<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">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<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">root@zeus:/home/nads# du -h /var/zendto/incoming<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">28G /var/zendto/incoming<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">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<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"># Cron jobs for ZendTo to remove expired drop-offs and update usage graphs<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">5 0 * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php >/dev/null 2>&1<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">25 * * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php --no-warnings >/dev/null 2>&1<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">15 0 * * * root /usr/bin/php /opt/zendto/sbin/emailSummary.php /opt/zendto/config/preferences.php >/dev/null 2>&1<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">5 */4 * * * root find -H /var/zendto/incoming -type f -mmin +1440 -delete >/dev/null 2>&1<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">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'<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">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]*$'<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">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...<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Is there any way I can troubleshoot these cron jobs?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Installed version is the latest I think, server was only built (in January) using the installer<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Listing... Done<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">zendto/lynx,trusty,xenial,bionic,now 6.13-3 all [installed]<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">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<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">root@zeus:/home/nads# du -h /var/zendto/incoming<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">12K /var/zendto/incoming<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">And now I have plenty of space back.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">-----------------------------------------------<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Ian Elston<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Senior Networks officer<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Information Systems & Technology<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">The University of Bolton<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="http://www.bolton.ac.uk/%3Chttp://www.bolton.ac.uk/">http://www.bolton.ac.uk/<http://www.bolton.ac.uk/</a>><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[<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>><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">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.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">_______________________________________________<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">ZendTo mailing list<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="mailto:ZendTo@zend.to">ZendTo@zend.to</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="http://jul.es/mailman/listinfo/zendto">http://jul.es/mailman/listinfo/zendto</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[University of Bolton]<<a href="https://www.bolton.ac.uk/">https://www.bolton.ac.uk/</a>><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">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.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">_______________________________________________<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">ZendTo mailing list<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="mailto:ZendTo@zend.to">ZendTo@zend.to</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="http://jul.es/mailman/listinfo/zendto">http://jul.es/mailman/listinfo/zendto</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">The University of Aberdeen is a charity registered in Scotland, No SC013683.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Tha Oilthigh Obar Dheathain na charthannas clàraichte ann an Alba, Àir. SC013683.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[University of Bolton]<<a href="https://www.bolton.ac.uk/">https://www.bolton.ac.uk/</a>><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">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.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">The University of Aberdeen is a charity registered in Scotland, No SC013683.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Tha Oilthigh Obar Dheathain na charthannas clàraichte ann an Alba, Àir. SC013683.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="https://www.bolton.ac.uk/"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;border:solid windowtext 1.0pt;padding:0cm;text-decoration:none"><img border="0" width="100" height="100" style="width:1.0416in;height:1.0416in" id="Picture_x0020_1" src="cid:~WRD1776.jpg" alt="Image removed by sender."></span></a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.0pt;font-family:"Arial",sans-serif;color:#333333">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><o:p></o:p></p>
</div>
</div>
</div>
<br>
<br>
The University of Aberdeen is a charity registered in Scotland, No SC013683.<br>
Tha Oilthigh Obar Dheathain na charthannas clàraichte ann an Alba, Àir. SC013683.
</body>
</html>