From I.Elston at bolton.ac.uk Tue Apr 2 11:01:16 2024 From: I.Elston at bolton.ac.uk (Elston, Ian) Date: Tue, 2 Apr 2024 10:01:16 +0000 Subject: [ZendTo] my server became full References: Message-ID: Hello all, Two posts in two [working] days, sorry about this.... 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 root at zeus:/home/nads# du -h /var/zendto/incoming 28G /var/zendto/incoming 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 # Cron jobs for ZendTo to remove expired drop-offs and update usage graphs 5 0 * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php >/dev/null 2>&1 25 * * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php --no-warnings >/dev/null 2>&1 15 0 * * * root /usr/bin/php /opt/zendto/sbin/emailSummary.php /opt/zendto/config/preferences.php >/dev/null 2>&1 5 */4 * * * root find -H /var/zendto/incoming -type f -mmin +1440 -delete >/dev/null 2>&1 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' 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]*$' 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... Is there any way I can troubleshoot these cron jobs? Installed version is the latest I think, server was only built (in January) using the installer Listing... Done zendto/lynx,trusty,xenial,bionic,now 6.13-3 all [installed] 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 root at zeus:/home/nads# du -h /var/zendto/incoming 12K /var/zendto/incoming And now I have plenty of space back. ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk [University of Bolton] 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kyle.dippery at uky.edu Tue Apr 2 13:52:45 2024 From: kyle.dippery at uky.edu (Dippery, Kyle D.) Date: Tue, 2 Apr 2024 12:52:45 +0000 Subject: [ZendTo] my server became full In-Reply-To: References: Message-ID: 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. 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? Kyle Dippery, PhD 219 Robotics Building Stanley and Karen Pigman College of Engineering 859-257-1346 ________________________________________ From: ZendTo on behalf of Elston, Ian via ZendTo Sent: Tuesday, April 2, 2024 6:01 AM To: 'ZendTo Users' Cc: Elston, Ian Subject: [ZendTo] my server became full CAUTION: External Sender Hello all, Two posts in two [working] days, sorry about this.... 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 root at zeus:/home/nads# du -h /var/zendto/incoming 28G /var/zendto/incoming 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 # Cron jobs for ZendTo to remove expired drop-offs and update usage graphs 5 0 * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php >/dev/null 2>&1 25 * * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php --no-warnings >/dev/null 2>&1 15 0 * * * root /usr/bin/php /opt/zendto/sbin/emailSummary.php /opt/zendto/config/preferences.php >/dev/null 2>&1 5 */4 * * * root find -H /var/zendto/incoming -type f -mmin +1440 -delete >/dev/null 2>&1 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' 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]*$' 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... Is there any way I can troubleshoot these cron jobs? Installed version is the latest I think, server was only built (in January) using the installer Listing... Done zendto/lynx,trusty,xenial,bionic,now 6.13-3 all [installed] 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 root at zeus:/home/nads# du -h /var/zendto/incoming 12K /var/zendto/incoming And now I have plenty of space back. ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk [https://www.bolton.ac.uk/assets/109433-UoB-Email-footer.png] 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. From I.Elston at bolton.ac.uk Tue Apr 2 14:12:19 2024 From: I.Elston at bolton.ac.uk (Elston, Ian) Date: Tue, 2 Apr 2024 13:12:19 +0000 Subject: [ZendTo] my server became full In-Reply-To: References: Message-ID: > First, I'd check the log files to see if cron actually ran the job 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. > 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? Not that I can see ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk -----Original Message----- From: ZendTo On Behalf Of Dippery, Kyle D. via ZendTo Sent: 02 April 2024 13:53 To: ZendTo Users Cc: Dippery, Kyle D. Subject: Re: [ZendTo] my server became full WARNING: This message originated from outside the University. Use caution when following links or opening attachments. 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. 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? Kyle Dippery, PhD 219 Robotics Building Stanley and Karen Pigman College of Engineering 859-257-1346 ________________________________________ From: ZendTo on behalf of Elston, Ian via ZendTo Sent: Tuesday, April 2, 2024 6:01 AM To: 'ZendTo Users' Cc: Elston, Ian Subject: [ZendTo] my server became full CAUTION: External Sender Hello all, Two posts in two [working] days, sorry about this.... 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 root at zeus:/home/nads# du -h /var/zendto/incoming 28G /var/zendto/incoming 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 # Cron jobs for ZendTo to remove expired drop-offs and update usage graphs 5 0 * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php >/dev/null 2>&1 25 * * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php --no-warnings >/dev/null 2>&1 15 0 * * * root /usr/bin/php /opt/zendto/sbin/emailSummary.php /opt/zendto/config/preferences.php >/dev/null 2>&1 5 */4 * * * root find -H /var/zendto/incoming -type f -mmin +1440 -delete >/dev/null 2>&1 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' 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]*$' 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... Is there any way I can troubleshoot these cron jobs? Installed version is the latest I think, server was only built (in January) using the installer Listing... Done zendto/lynx,trusty,xenial,bionic,now 6.13-3 all [installed] 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 root at zeus:/home/nads# du -h /var/zendto/incoming 12K /var/zendto/incoming And now I have plenty of space back. ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk [https://www.bolton.ac.uk/assets/109433-UoB-Email-footer.png] 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. _______________________________________________ ZendTo mailing list ZendTo at zend.to http://jul.es/mailman/listinfo/zendto [University of Bolton] 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. From m.v.sangster at abdn.ac.uk Tue Apr 2 14:19:20 2024 From: m.v.sangster at abdn.ac.uk (Sangster, Mark) Date: Tue, 2 Apr 2024 13:19:20 +0000 Subject: [ZendTo] my server became full In-Reply-To: References: Message-ID: The cron log (/var/log/cron.log), would at least acknowledge that it ran and when. 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) Cheers Mark -----Original Message----- From: ZendTo On Behalf Of Elston, Ian via ZendTo Sent: Tuesday, April 2, 2024 2:12 PM To: ZendTo Users Cc: Elston, Ian Subject: Re: [ZendTo] my server became full CAUTION: External email. Ensure this message is from a trusted source and exercise caution before clicking links/opening attachments. > First, I'd check the log files to see if cron actually ran the job 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. > 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? Not that I can see ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk/ -----Original Message----- From: ZendTo On Behalf Of Dippery, Kyle D. via ZendTo Sent: 02 April 2024 13:53 To: ZendTo Users Cc: Dippery, Kyle D. Subject: Re: [ZendTo] my server became full WARNING: This message originated from outside the University. Use caution when following links or opening attachments. 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. 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? Kyle Dippery, PhD 219 Robotics Building Stanley and Karen Pigman College of Engineering 859-257-1346 ________________________________________ From: ZendTo on behalf of Elston, Ian via ZendTo Sent: Tuesday, April 2, 2024 6:01 AM To: 'ZendTo Users' Cc: Elston, Ian Subject: [ZendTo] my server became full CAUTION: External Sender Hello all, Two posts in two [working] days, sorry about this.... 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 root at zeus:/home/nads# du -h /var/zendto/incoming 28G /var/zendto/incoming 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 # Cron jobs for ZendTo to remove expired drop-offs and update usage graphs 5 0 * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php >/dev/null 2>&1 25 * * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php --no-warnings >/dev/null 2>&1 15 0 * * * root /usr/bin/php /opt/zendto/sbin/emailSummary.php /opt/zendto/config/preferences.php >/dev/null 2>&1 5 */4 * * * root find -H /var/zendto/incoming -type f -mmin +1440 -delete >/dev/null 2>&1 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' 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]*$' 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... Is there any way I can troubleshoot these cron jobs? Installed version is the latest I think, server was only built (in January) using the installer Listing... Done zendto/lynx,trusty,xenial,bionic,now 6.13-3 all [installed] 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 root at zeus:/home/nads# du -h /var/zendto/incoming 12K /var/zendto/incoming And now I have plenty of space back. ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk/ [https://www.bolton.ac.uk/assets/109433-UoB-Email-footer.png] 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. _______________________________________________ ZendTo mailing list ZendTo at zend.to http://jul.es/mailman/listinfo/zendto [University of Bolton] 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. _______________________________________________ ZendTo mailing list ZendTo at zend.to http://jul.es/mailman/listinfo/zendto The University of Aberdeen is a charity registered in Scotland, No SC013683. Tha Oilthigh Obar Dheathain na charthannas cl?raichte ann an Alba, ?ir. SC013683. From kyle.dippery at uky.edu Tue Apr 2 14:32:15 2024 From: kyle.dippery at uky.edu (Dippery, Kyle D.) Date: Tue, 2 Apr 2024 13:32:15 +0000 Subject: [ZendTo] my server became full In-Reply-To: References: Message-ID: Cron should log to syslog, at least whether or not it tried the command. Do you have numberOfDaysToRetain or defaultNumberOfDaysToRetain set in preferences.php? Are your crontab jobs all in one line? If it's not just my mail client wrapping the lines, that could be the problem. Cheers, Kyle Kyle Dippery, PhD 219 Robotics Building Stanley and Karen Pigman College of Engineering 859-257-1346 ________________________________________ From: Elston, Ian Sent: Tuesday, April 2, 2024 9:12 AM To: ZendTo Users Cc: Dippery, Kyle D. Subject: RE: my server became full [You don't often get email from i.elston at bolton.ac.uk. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] CAUTION: External Sender > First, I'd check the log files to see if cron actually ran the job 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. > 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? Not that I can see ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk/ -----Original Message----- From: ZendTo On Behalf Of Dippery, Kyle D. via ZendTo Sent: 02 April 2024 13:53 To: ZendTo Users Cc: Dippery, Kyle D. Subject: Re: [ZendTo] my server became full WARNING: This message originated from outside the University. Use caution when following links or opening attachments. 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. 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? Kyle Dippery, PhD 219 Robotics Building Stanley and Karen Pigman College of Engineering 859-257-1346 ________________________________________ From: ZendTo on behalf of Elston, Ian via ZendTo Sent: Tuesday, April 2, 2024 6:01 AM To: 'ZendTo Users' Cc: Elston, Ian Subject: [ZendTo] my server became full CAUTION: External Sender Hello all, Two posts in two [working] days, sorry about this.... 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 root at zeus:/home/nads# du -h /var/zendto/incoming 28G /var/zendto/incoming 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 # Cron jobs for ZendTo to remove expired drop-offs and update usage graphs 5 0 * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php >/dev/null 2>&1 25 * * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php --no-warnings >/dev/null 2>&1 15 0 * * * root /usr/bin/php /opt/zendto/sbin/emailSummary.php /opt/zendto/config/preferences.php >/dev/null 2>&1 5 */4 * * * root find -H /var/zendto/incoming -type f -mmin +1440 -delete >/dev/null 2>&1 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' 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]*$' 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... Is there any way I can troubleshoot these cron jobs? Installed version is the latest I think, server was only built (in January) using the installer Listing... Done zendto/lynx,trusty,xenial,bionic,now 6.13-3 all [installed] 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 root at zeus:/home/nads# du -h /var/zendto/incoming 12K /var/zendto/incoming And now I have plenty of space back. ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk/ [https://www.bolton.ac.uk/assets/109433-UoB-Email-footer.png] 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. _______________________________________________ ZendTo mailing list ZendTo at zend.to http://jul.es/mailman/listinfo/zendto [University of Bolton] 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. From I.Elston at bolton.ac.uk Tue Apr 2 16:18:15 2024 From: I.Elston at bolton.ac.uk (Elston, Ian) Date: Tue, 2 Apr 2024 15:18:15 +0000 Subject: [ZendTo] my server became full In-Reply-To: References: Message-ID: I don?t appear to have such a log file, or any cron log file. ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk -----Original Message----- From: Sangster, Mark Sent: 02 April 2024 14:19 To: ZendTo Users Cc: Elston, Ian Subject: RE: my server became full [You don't often get email from m.v.sangster at abdn.ac.uk. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] WARNING: This message originated from outside the University. Use caution when following links or opening attachments. The cron log (/var/log/cron.log), would at least acknowledge that it ran and when. 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) Cheers Mark -----Original Message----- From: ZendTo On Behalf Of Elston, Ian via ZendTo Sent: Tuesday, April 2, 2024 2:12 PM To: ZendTo Users Cc: Elston, Ian Subject: Re: [ZendTo] my server became full CAUTION: External email. Ensure this message is from a trusted source and exercise caution before clicking links/opening attachments. > First, I'd check the log files to see if cron actually ran the job 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. > 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? Not that I can see ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk/ -----Original Message----- From: ZendTo On Behalf Of Dippery, Kyle D. via ZendTo Sent: 02 April 2024 13:53 To: ZendTo Users Cc: Dippery, Kyle D. Subject: Re: [ZendTo] my server became full WARNING: This message originated from outside the University. Use caution when following links or opening attachments. 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. 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? Kyle Dippery, PhD 219 Robotics Building Stanley and Karen Pigman College of Engineering 859-257-1346 ________________________________________ From: ZendTo on behalf of Elston, Ian via ZendTo Sent: Tuesday, April 2, 2024 6:01 AM To: 'ZendTo Users' Cc: Elston, Ian Subject: [ZendTo] my server became full CAUTION: External Sender Hello all, Two posts in two [working] days, sorry about this.... 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 root at zeus:/home/nads# du -h /var/zendto/incoming 28G /var/zendto/incoming 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 # Cron jobs for ZendTo to remove expired drop-offs and update usage graphs 5 0 * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php >/dev/null 2>&1 25 * * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php --no-warnings >/dev/null 2>&1 15 0 * * * root /usr/bin/php /opt/zendto/sbin/emailSummary.php /opt/zendto/config/preferences.php >/dev/null 2>&1 5 */4 * * * root find -H /var/zendto/incoming -type f -mmin +1440 -delete >/dev/null 2>&1 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' 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]*$' 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... Is there any way I can troubleshoot these cron jobs? Installed version is the latest I think, server was only built (in January) using the installer Listing... Done zendto/lynx,trusty,xenial,bionic,now 6.13-3 all [installed] 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 root at zeus:/home/nads# du -h /var/zendto/incoming 12K /var/zendto/incoming And now I have plenty of space back. ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk/ [https://www.bolton.ac.uk/assets/109433-UoB-Email-footer.png] 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. _______________________________________________ ZendTo mailing list ZendTo at zend.to http://jul.es/mailman/listinfo/zendto [University of Bolton] 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. _______________________________________________ ZendTo mailing list ZendTo at zend.to http://jul.es/mailman/listinfo/zendto The University of Aberdeen is a charity registered in Scotland, No SC013683. Tha Oilthigh Obar Dheathain na charthannas cl?raichte ann an Alba, ?ir. SC013683. [University of Bolton] 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. From m.v.sangster at abdn.ac.uk Tue Apr 2 16:24:49 2024 From: m.v.sangster at abdn.ac.uk (Sangster, Mark) Date: Tue, 2 Apr 2024 15:24:49 +0000 Subject: [ZendTo] my server became full In-Reply-To: References: Message-ID: It does depend on your specific distribution; some of them log to /var/log/syslog or /var/log/messages. Indeed, any log could be generated depending on your syslog setup. Either hunt the logs in /var/log or review your syslog setup. It is very unlikely that a default OS setup will not record cron activity. Cheers Mark -----Original Message----- From: Elston, Ian Sent: Tuesday, April 2, 2024 4:18 PM To: Sangster, Mark ; ZendTo Users Subject: RE: my server became full CAUTION: External email. Ensure this message is from a trusted source and exercise caution before clicking links/opening attachments. I don't appear to have such a log file, or any cron log file. ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk/ -----Original Message----- From: Sangster, Mark Sent: 02 April 2024 14:19 To: ZendTo Users Cc: Elston, Ian Subject: RE: my server became full [You don't often get email from m.v.sangster at abdn.ac.uk. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] WARNING: This message originated from outside the University. Use caution when following links or opening attachments. The cron log (/var/log/cron.log), would at least acknowledge that it ran and when. 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) Cheers Mark -----Original Message----- From: ZendTo On Behalf Of Elston, Ian via ZendTo Sent: Tuesday, April 2, 2024 2:12 PM To: ZendTo Users Cc: Elston, Ian Subject: Re: [ZendTo] my server became full CAUTION: External email. Ensure this message is from a trusted source and exercise caution before clicking links/opening attachments. > First, I'd check the log files to see if cron actually ran the job 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. > 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? Not that I can see ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk/ -----Original Message----- From: ZendTo On Behalf Of Dippery, Kyle D. via ZendTo Sent: 02 April 2024 13:53 To: ZendTo Users Cc: Dippery, Kyle D. Subject: Re: [ZendTo] my server became full WARNING: This message originated from outside the University. Use caution when following links or opening attachments. 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. 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? Kyle Dippery, PhD 219 Robotics Building Stanley and Karen Pigman College of Engineering 859-257-1346 ________________________________________ From: ZendTo on behalf of Elston, Ian via ZendTo Sent: Tuesday, April 2, 2024 6:01 AM To: 'ZendTo Users' Cc: Elston, Ian Subject: [ZendTo] my server became full CAUTION: External Sender Hello all, Two posts in two [working] days, sorry about this.... 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 root at zeus:/home/nads# du -h /var/zendto/incoming 28G /var/zendto/incoming 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 # Cron jobs for ZendTo to remove expired drop-offs and update usage graphs 5 0 * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php >/dev/null 2>&1 25 * * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php --no-warnings >/dev/null 2>&1 15 0 * * * root /usr/bin/php /opt/zendto/sbin/emailSummary.php /opt/zendto/config/preferences.php >/dev/null 2>&1 5 */4 * * * root find -H /var/zendto/incoming -type f -mmin +1440 -delete >/dev/null 2>&1 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' 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]*$' 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... Is there any way I can troubleshoot these cron jobs? Installed version is the latest I think, server was only built (in January) using the installer Listing... Done zendto/lynx,trusty,xenial,bionic,now 6.13-3 all [installed] 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 root at zeus:/home/nads# du -h /var/zendto/incoming 12K /var/zendto/incoming And now I have plenty of space back. ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk/ [https://www.bolton.ac.uk/assets/109433-UoB-Email-footer.png] 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. _______________________________________________ ZendTo mailing list ZendTo at zend.to http://jul.es/mailman/listinfo/zendto [University of Bolton] 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. _______________________________________________ ZendTo mailing list ZendTo at zend.to http://jul.es/mailman/listinfo/zendto The University of Aberdeen is a charity registered in Scotland, No SC013683. Tha Oilthigh Obar Dheathain na charthannas cl?raichte ann an Alba, ?ir. SC013683. [University of Bolton] 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. The University of Aberdeen is a charity registered in Scotland, No SC013683. Tha Oilthigh Obar Dheathain na charthannas cl?raichte ann an Alba, ?ir. SC013683. From I.Elston at bolton.ac.uk Wed Apr 3 11:51:30 2024 From: I.Elston at bolton.ac.uk (Elston, Ian) Date: Wed, 3 Apr 2024 10:51:30 +0000 Subject: [ZendTo] my server became full In-Reply-To: References: Message-ID: > Are your crontab jobs all in one line? If it's not just my mail client wrapping the lines, that could be the problem. No I believe that's a wrapping issue - crontab jobs appear one per line > Do you have numberOfDaysToRetain or defaultNumberOfDaysToRetain set in preferences.php? Yes, 7 and 0 respectively. ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk -----Original Message----- From: Dippery, Kyle D. Sent: 02 April 2024 14:32 To: Elston, Ian ; ZendTo Users Subject: Re: my server became full WARNING: This message originated from outside the University. Use caution when following links or opening attachments. Cron should log to syslog, at least whether or not it tried the command. Do you have numberOfDaysToRetain or defaultNumberOfDaysToRetain set in preferences.php? Are your crontab jobs all in one line? If it's not just my mail client wrapping the lines, that could be the problem. Cheers, Kyle Kyle Dippery, PhD 219 Robotics Building Stanley and Karen Pigman College of Engineering 859-257-1346 ________________________________________ From: Elston, Ian Sent: Tuesday, April 2, 2024 9:12 AM To: ZendTo Users Cc: Dippery, Kyle D. Subject: RE: my server became full [You don't often get email from i.elston at bolton.ac.uk. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] CAUTION: External Sender > First, I'd check the log files to see if cron actually ran the job 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. > 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? Not that I can see ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk/ -----Original Message----- From: ZendTo On Behalf Of Dippery, Kyle D. via ZendTo Sent: 02 April 2024 13:53 To: ZendTo Users Cc: Dippery, Kyle D. Subject: Re: [ZendTo] my server became full WARNING: This message originated from outside the University. Use caution when following links or opening attachments. 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. 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? Kyle Dippery, PhD 219 Robotics Building Stanley and Karen Pigman College of Engineering 859-257-1346 ________________________________________ From: ZendTo on behalf of Elston, Ian via ZendTo Sent: Tuesday, April 2, 2024 6:01 AM To: 'ZendTo Users' Cc: Elston, Ian Subject: [ZendTo] my server became full CAUTION: External Sender Hello all, Two posts in two [working] days, sorry about this.... 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 root at zeus:/home/nads# du -h /var/zendto/incoming 28G /var/zendto/incoming 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 # Cron jobs for ZendTo to remove expired drop-offs and update usage graphs 5 0 * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php >/dev/null 2>&1 25 * * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php --no-warnings >/dev/null 2>&1 15 0 * * * root /usr/bin/php /opt/zendto/sbin/emailSummary.php /opt/zendto/config/preferences.php >/dev/null 2>&1 5 */4 * * * root find -H /var/zendto/incoming -type f -mmin +1440 -delete >/dev/null 2>&1 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' 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]*$' 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... Is there any way I can troubleshoot these cron jobs? Installed version is the latest I think, server was only built (in January) using the installer Listing... Done zendto/lynx,trusty,xenial,bionic,now 6.13-3 all [installed] 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 root at zeus:/home/nads# du -h /var/zendto/incoming 12K /var/zendto/incoming And now I have plenty of space back. ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk/ [https://www.bolton.ac.uk/assets/109433-UoB-Email-footer.png] 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. _______________________________________________ ZendTo mailing list ZendTo at zend.to http://jul.es/mailman/listinfo/zendto [University of Bolton] 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. [University of Bolton] 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. From I.Elston at bolton.ac.uk Wed Apr 3 12:00:23 2024 From: I.Elston at bolton.ac.uk (Elston, Ian) Date: Wed, 3 Apr 2024 11:00:23 +0000 Subject: [ZendTo] my server became full In-Reply-To: References: Message-ID: 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. If I search for 'syslog' with mlocate I don't see any log. Contents of /var/log -rw-r--r-- 1 root root 174 Apr 3 06:52 alternatives.log -rw-r--r-- 1 root root 186 Feb 28 06:46 alternatives.log.1 -rw-r--r-- 1 root root 1.9K Jan 4 15:28 alternatives.log.2.gz drwxr-x--- 2 root adm 4.0K Apr 3 00:00 apache2 drwxr-xr-x 2 root root 4.0K Apr 3 06:53 apt -rw-r--r-- 1 root root 64K Apr 21 2022 bootstrap.log -rw-rw---- 1 root utmp 0 Apr 1 00:00 btmp -rw-rw---- 1 root utmp 0 Mar 1 00:00 btmp.1 drwxr-xr-x 2 clamav clamav 4.0K Mar 31 00:00 clamav -rw-r----- 1 root adm 25K Apr 2 10:21 cloud-init-output.log -rw-r----- 1 root adm 510K Apr 2 10:21 cloud-init.log drwxr-xr-x 2 root root 4.0K Apr 18 2022 dist-upgrade -rw-r--r-- 1 root root 12K Apr 3 06:53 dpkg.log -rw-r--r-- 1 root root 22K Mar 21 06:28 dpkg.log.1 -rw-r--r-- 1 root root 2.5K Feb 28 06:46 dpkg.log.2.gz -rw-r--r-- 1 root root 49K Jan 31 06:59 dpkg.log.3.gz -rw-r--r-- 1 root root 32K Jan 5 09:53 faillog -rw-r--r-- 1 root root 484 Jan 4 14:46 fontconfig.log drwxr-x--- 3 root adm 4.0K Nov 3 2022 installer drwxr-sr-x+ 3 root systemd-journal 4.0K Nov 3 2022 journal -rw-rw-r-- 1 root utmp 286K Apr 2 10:21 lastlog drwx------ 2 root root 4.0K Apr 21 2022 private drwxr-x--- 2 root adm 4.0K Apr 1 00:00 unattended-upgrades -rw-r--r-- 1 root root 187 Jan 5 10:58 vmware-network.1.log -rw-r--r-- 1 root root 187 Jan 4 14:13 vmware-network.2.log -rw-r--r-- 1 root root 187 Jan 5 13:44 vmware-network.log -rw------- 1 root root 5.1K Apr 2 10:20 vmware-vmsvc-root.1.log -rw------- 1 root root 5.1K Jan 5 13:43 vmware-vmsvc-root.2.log -rw------- 1 root root 4.8K Jan 5 10:56 vmware-vmsvc-root.3.log -rw------- 1 root root 3.8K Apr 2 10:21 vmware-vmsvc-root.log -rw------- 1 root root 4.1K Apr 2 10:21 vmware-vmtoolsd-root.log -rw-rw-r-- 1 root utmp 24K Apr 2 10:21 wtmp drwxrwxr-x 2 root www-data 4.0K Apr 1 00:00 zendto ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk -----Original Message----- From: Sangster, Mark Sent: 02 April 2024 16:25 To: Elston, Ian ; ZendTo Users Subject: RE: my server became full [You don't often get email from m.v.sangster at abdn.ac.uk. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] WARNING: This message originated from outside the University. Use caution when following links or opening attachments. It does depend on your specific distribution; some of them log to /var/log/syslog or /var/log/messages. Indeed, any log could be generated depending on your syslog setup. Either hunt the logs in /var/log or review your syslog setup. It is very unlikely that a default OS setup will not record cron activity. Cheers Mark -----Original Message----- From: Elston, Ian > Sent: Tuesday, April 2, 2024 4:18 PM To: Sangster, Mark >; ZendTo Users > Subject: RE: my server became full CAUTION: External email. Ensure this message is from a trusted source and exercise caution before clicking links/opening attachments. I don't appear to have such a log file, or any cron log file. ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk/ -----Original Message----- From: Sangster, Mark > Sent: 02 April 2024 14:19 To: ZendTo Users > Cc: Elston, Ian > Subject: RE: my server became full [You don't often get email from m.v.sangster at abdn.ac.uk. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] WARNING: This message originated from outside the University. Use caution when following links or opening attachments. The cron log (/var/log/cron.log), would at least acknowledge that it ran and when. 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) Cheers Mark -----Original Message----- From: ZendTo > On Behalf Of Elston, Ian via ZendTo Sent: Tuesday, April 2, 2024 2:12 PM To: ZendTo Users > Cc: Elston, Ian > Subject: Re: [ZendTo] my server became full CAUTION: External email. Ensure this message is from a trusted source and exercise caution before clicking links/opening attachments. > First, I'd check the log files to see if cron actually ran the job 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. > 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? Not that I can see ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk/ -----Original Message----- From: ZendTo > On Behalf Of Dippery, Kyle D. via ZendTo Sent: 02 April 2024 13:53 To: ZendTo Users > Cc: Dippery, Kyle D. > Subject: Re: [ZendTo] my server became full WARNING: This message originated from outside the University. Use caution when following links or opening attachments. 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. 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? Kyle Dippery, PhD 219 Robotics Building Stanley and Karen Pigman College of Engineering 859-257-1346 ________________________________________ From: ZendTo > on behalf of Elston, Ian via ZendTo > Sent: Tuesday, April 2, 2024 6:01 AM To: 'ZendTo Users' Cc: Elston, Ian Subject: [ZendTo] my server became full CAUTION: External Sender Hello all, Two posts in two [working] days, sorry about this.... 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 root at zeus:/home/nads# du -h /var/zendto/incoming 28G /var/zendto/incoming 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 # Cron jobs for ZendTo to remove expired drop-offs and update usage graphs 5 0 * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php >/dev/null 2>&1 25 * * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php --no-warnings >/dev/null 2>&1 15 0 * * * root /usr/bin/php /opt/zendto/sbin/emailSummary.php /opt/zendto/config/preferences.php >/dev/null 2>&1 5 */4 * * * root find -H /var/zendto/incoming -type f -mmin +1440 -delete >/dev/null 2>&1 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' 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]*$' 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... Is there any way I can troubleshoot these cron jobs? Installed version is the latest I think, server was only built (in January) using the installer Listing... Done zendto/lynx,trusty,xenial,bionic,now 6.13-3 all [installed] 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 root at zeus:/home/nads# du -h /var/zendto/incoming 12K /var/zendto/incoming And now I have plenty of space back. ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk/ [https://www.bolton.ac.uk/assets/109433-UoB-Email-footer.png] 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. _______________________________________________ ZendTo mailing list ZendTo at zend.to http://jul.es/mailman/listinfo/zendto [University of Bolton] 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. _______________________________________________ ZendTo mailing list ZendTo at zend.to http://jul.es/mailman/listinfo/zendto The University of Aberdeen is a charity registered in Scotland, No SC013683. Tha Oilthigh Obar Dheathain na charthannas cl?raichte ann an Alba, ?ir. SC013683. [University of Bolton] 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. The University of Aberdeen is a charity registered in Scotland, No SC013683. Tha Oilthigh Obar Dheathain na charthannas cl?raichte ann an Alba, ?ir. SC013683. [University of Bolton] 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.v.sangster at abdn.ac.uk Wed Apr 3 12:49:11 2024 From: m.v.sangster at abdn.ac.uk (Sangster, Mark) Date: Wed, 3 Apr 2024 11:49:11 +0000 Subject: [ZendTo] my server became full In-Reply-To: References: Message-ID: How strange, the Ubuntu install I have here still used syslog and has cron within it. I do see "/var/log/journal" there for you. That suggests journald is present. Maybe Ubuntu has switched over to journald, turning off syslog for some services. You can try searching that with, "journalctl -u cron". Or just grep the output, "journalctl | grep zendto" Cheers Mark From: Elston, Ian Sent: Wednesday, April 3, 2024 12:00 PM To: Sangster, Mark ; ZendTo Users Subject: RE: my server became full CAUTION: External email. Ensure this message is from a trusted source and exercise caution before clicking links/opening attachments. 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. If I search for 'syslog' with mlocate I don't see any log. Contents of /var/log -rw-r--r-- 1 root root 174 Apr 3 06:52 alternatives.log -rw-r--r-- 1 root root 186 Feb 28 06:46 alternatives.log.1 -rw-r--r-- 1 root root 1.9K Jan 4 15:28 alternatives.log.2.gz drwxr-x--- 2 root adm 4.0K Apr 3 00:00 apache2 drwxr-xr-x 2 root root 4.0K Apr 3 06:53 apt -rw-r--r-- 1 root root 64K Apr 21 2022 bootstrap.log -rw-rw---- 1 root utmp 0 Apr 1 00:00 btmp -rw-rw---- 1 root utmp 0 Mar 1 00:00 btmp.1 drwxr-xr-x 2 clamav clamav 4.0K Mar 31 00:00 clamav -rw-r----- 1 root adm 25K Apr 2 10:21 cloud-init-output.log -rw-r----- 1 root adm 510K Apr 2 10:21 cloud-init.log drwxr-xr-x 2 root root 4.0K Apr 18 2022 dist-upgrade -rw-r--r-- 1 root root 12K Apr 3 06:53 dpkg.log -rw-r--r-- 1 root root 22K Mar 21 06:28 dpkg.log.1 -rw-r--r-- 1 root root 2.5K Feb 28 06:46 dpkg.log.2.gz -rw-r--r-- 1 root root 49K Jan 31 06:59 dpkg.log.3.gz -rw-r--r-- 1 root root 32K Jan 5 09:53 faillog -rw-r--r-- 1 root root 484 Jan 4 14:46 fontconfig.log drwxr-x--- 3 root adm 4.0K Nov 3 2022 installer drwxr-sr-x+ 3 root systemd-journal 4.0K Nov 3 2022 journal -rw-rw-r-- 1 root utmp 286K Apr 2 10:21 lastlog drwx------ 2 root root 4.0K Apr 21 2022 private drwxr-x--- 2 root adm 4.0K Apr 1 00:00 unattended-upgrades -rw-r--r-- 1 root root 187 Jan 5 10:58 vmware-network.1.log -rw-r--r-- 1 root root 187 Jan 4 14:13 vmware-network.2.log -rw-r--r-- 1 root root 187 Jan 5 13:44 vmware-network.log -rw------- 1 root root 5.1K Apr 2 10:20 vmware-vmsvc-root.1.log -rw------- 1 root root 5.1K Jan 5 13:43 vmware-vmsvc-root.2.log -rw------- 1 root root 4.8K Jan 5 10:56 vmware-vmsvc-root.3.log -rw------- 1 root root 3.8K Apr 2 10:21 vmware-vmsvc-root.log -rw------- 1 root root 4.1K Apr 2 10:21 vmware-vmtoolsd-root.log -rw-rw-r-- 1 root utmp 24K Apr 2 10:21 wtmp drwxrwxr-x 2 root www-data 4.0K Apr 1 00:00 zendto ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk -----Original Message----- From: Sangster, Mark Sent: 02 April 2024 16:25 To: Elston, Ian ; ZendTo Users Subject: RE: my server became full [You don't often get email from m.v.sangster at abdn.ac.uk. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] WARNING: This message originated from outside the University. Use caution when following links or opening attachments. It does depend on your specific distribution; some of them log to /var/log/syslog or /var/log/messages. Indeed, any log could be generated depending on your syslog setup. Either hunt the logs in /var/log or review your syslog setup. It is very unlikely that a default OS setup will not record cron activity. Cheers Mark -----Original Message----- From: Elston, Ian > Sent: Tuesday, April 2, 2024 4:18 PM To: Sangster, Mark >; ZendTo Users > Subject: RE: my server became full CAUTION: External email. Ensure this message is from a trusted source and exercise caution before clicking links/opening attachments. I don't appear to have such a log file, or any cron log file. ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk/ -----Original Message----- From: Sangster, Mark > Sent: 02 April 2024 14:19 To: ZendTo Users > Cc: Elston, Ian > Subject: RE: my server became full [You don't often get email from m.v.sangster at abdn.ac.uk. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] WARNING: This message originated from outside the University. Use caution when following links or opening attachments. The cron log (/var/log/cron.log), would at least acknowledge that it ran and when. 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) Cheers Mark -----Original Message----- From: ZendTo > On Behalf Of Elston, Ian via ZendTo Sent: Tuesday, April 2, 2024 2:12 PM To: ZendTo Users > Cc: Elston, Ian > Subject: Re: [ZendTo] my server became full CAUTION: External email. Ensure this message is from a trusted source and exercise caution before clicking links/opening attachments. > First, I'd check the log files to see if cron actually ran the job 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. > 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? Not that I can see ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk/ -----Original Message----- From: ZendTo > On Behalf Of Dippery, Kyle D. via ZendTo Sent: 02 April 2024 13:53 To: ZendTo Users > Cc: Dippery, Kyle D. > Subject: Re: [ZendTo] my server became full WARNING: This message originated from outside the University. Use caution when following links or opening attachments. 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. 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? Kyle Dippery, PhD 219 Robotics Building Stanley and Karen Pigman College of Engineering 859-257-1346 ________________________________________ From: ZendTo > on behalf of Elston, Ian via ZendTo > Sent: Tuesday, April 2, 2024 6:01 AM To: 'ZendTo Users' Cc: Elston, Ian Subject: [ZendTo] my server became full CAUTION: External Sender Hello all, Two posts in two [working] days, sorry about this.... 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 root at zeus:/home/nads# du -h /var/zendto/incoming 28G /var/zendto/incoming 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 # Cron jobs for ZendTo to remove expired drop-offs and update usage graphs 5 0 * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php >/dev/null 2>&1 25 * * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php --no-warnings >/dev/null 2>&1 15 0 * * * root /usr/bin/php /opt/zendto/sbin/emailSummary.php /opt/zendto/config/preferences.php >/dev/null 2>&1 5 */4 * * * root find -H /var/zendto/incoming -type f -mmin +1440 -delete >/dev/null 2>&1 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' 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]*$' 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... Is there any way I can troubleshoot these cron jobs? Installed version is the latest I think, server was only built (in January) using the installer Listing... Done zendto/lynx,trusty,xenial,bionic,now 6.13-3 all [installed] 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 root at zeus:/home/nads# du -h /var/zendto/incoming 12K /var/zendto/incoming And now I have plenty of space back. ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk/> [https://www.bolton.ac.uk/assets/109433-UoB-Email-footer.png] 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. _______________________________________________ ZendTo mailing list ZendTo at zend.to http://jul.es/mailman/listinfo/zendto [University of Bolton] 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. _______________________________________________ ZendTo mailing list ZendTo at zend.to http://jul.es/mailman/listinfo/zendto The University of Aberdeen is a charity registered in Scotland, No SC013683. Tha Oilthigh Obar Dheathain na charthannas cl?raichte ann an Alba, ?ir. SC013683. [University of Bolton] 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. The University of Aberdeen is a charity registered in Scotland, No SC013683. Tha Oilthigh Obar Dheathain na charthannas cl?raichte ann an Alba, ?ir. SC013683. [Image removed by sender.] 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. The University of Aberdeen is a charity registered in Scotland, No SC013683. Tha Oilthigh Obar Dheathain na charthannas cl?raichte ann an Alba, ?ir. SC013683. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ~WRD1776.jpg Type: image/jpeg Size: 823 bytes Desc: ~WRD1776.jpg URL: From kyle.dippery at uky.edu Wed Apr 3 13:51:49 2024 From: kyle.dippery at uky.edu (Dippery, Kyle D.) Date: Wed, 3 Apr 2024 12:51:49 +0000 Subject: [ZendTo] my server became full In-Reply-To: References: Message-ID: What version of ubuntu are you running? All of my ubuntu instances have /var/log/syslog. Do you have rsyslog running? What does /etc/rsyslog.d look like, especially /etc/rsyslog.d/50-default.conf? It might be worth finding out why syslog isn't running, or what is running in its place. Troubleshooting anything is hard without log files. Cheers, Kyle Kyle Dippery, PhD 219 Robotics Building Stanley and Karen Pigman College of Engineering 859-257-1346 ________________________________________ From: ZendTo on behalf of Elston, Ian via ZendTo Sent: Wednesday, April 3, 2024 7:00 AM To: Sangster, Mark; ZendTo Users Cc: Elston, Ian Subject: Re: [ZendTo] my server became full CAUTION: External Sender 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. If I search for 'syslog' with mlocate I don't see any log. Contents of /var/log -rw-r--r-- 1 root root 174 Apr 3 06:52 alternatives.log -rw-r--r-- 1 root root 186 Feb 28 06:46 alternatives.log.1 -rw-r--r-- 1 root root 1.9K Jan 4 15:28 alternatives.log.2.gz drwxr-x--- 2 root adm 4.0K Apr 3 00:00 apache2 drwxr-xr-x 2 root root 4.0K Apr 3 06:53 apt -rw-r--r-- 1 root root 64K Apr 21 2022 bootstrap.log -rw-rw---- 1 root utmp 0 Apr 1 00:00 btmp -rw-rw---- 1 root utmp 0 Mar 1 00:00 btmp.1 drwxr-xr-x 2 clamav clamav 4.0K Mar 31 00:00 clamav -rw-r----- 1 root adm 25K Apr 2 10:21 cloud-init-output.log -rw-r----- 1 root adm 510K Apr 2 10:21 cloud-init.log drwxr-xr-x 2 root root 4.0K Apr 18 2022 dist-upgrade -rw-r--r-- 1 root root 12K Apr 3 06:53 dpkg.log -rw-r--r-- 1 root root 22K Mar 21 06:28 dpkg.log.1 -rw-r--r-- 1 root root 2.5K Feb 28 06:46 dpkg.log.2.gz -rw-r--r-- 1 root root 49K Jan 31 06:59 dpkg.log.3.gz -rw-r--r-- 1 root root 32K Jan 5 09:53 faillog -rw-r--r-- 1 root root 484 Jan 4 14:46 fontconfig.log drwxr-x--- 3 root adm 4.0K Nov 3 2022 installer drwxr-sr-x+ 3 root systemd-journal 4.0K Nov 3 2022 journal -rw-rw-r-- 1 root utmp 286K Apr 2 10:21 lastlog drwx------ 2 root root 4.0K Apr 21 2022 private drwxr-x--- 2 root adm 4.0K Apr 1 00:00 unattended-upgrades -rw-r--r-- 1 root root 187 Jan 5 10:58 vmware-network.1.log -rw-r--r-- 1 root root 187 Jan 4 14:13 vmware-network.2.log -rw-r--r-- 1 root root 187 Jan 5 13:44 vmware-network.log -rw------- 1 root root 5.1K Apr 2 10:20 vmware-vmsvc-root.1.log -rw------- 1 root root 5.1K Jan 5 13:43 vmware-vmsvc-root.2.log -rw------- 1 root root 4.8K Jan 5 10:56 vmware-vmsvc-root.3.log -rw------- 1 root root 3.8K Apr 2 10:21 vmware-vmsvc-root.log -rw------- 1 root root 4.1K Apr 2 10:21 vmware-vmtoolsd-root.log -rw-rw-r-- 1 root utmp 24K Apr 2 10:21 wtmp drwxrwxr-x 2 root www-data 4.0K Apr 1 00:00 zendto ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk/ -----Original Message----- From: Sangster, Mark Sent: 02 April 2024 16:25 To: Elston, Ian ; ZendTo Users Subject: RE: my server became full [You don't often get email from m.v.sangster at abdn.ac.uk. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] WARNING: This message originated from outside the University. Use caution when following links or opening attachments. It does depend on your specific distribution; some of them log to /var/log/syslog or /var/log/messages. Indeed, any log could be generated depending on your syslog setup. Either hunt the logs in /var/log or review your syslog setup. It is very unlikely that a default OS setup will not record cron activity. Cheers Mark -----Original Message----- From: Elston, Ian > Sent: Tuesday, April 2, 2024 4:18 PM To: Sangster, Mark >; ZendTo Users > Subject: RE: my server became full CAUTION: External email. Ensure this message is from a trusted source and exercise caution before clicking links/opening attachments. I don't appear to have such a log file, or any cron log file. ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk/ -----Original Message----- From: Sangster, Mark > Sent: 02 April 2024 14:19 To: ZendTo Users > Cc: Elston, Ian > Subject: RE: my server became full [You don't often get email from m.v.sangster at abdn.ac.uk. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] WARNING: This message originated from outside the University. Use caution when following links or opening attachments. The cron log (/var/log/cron.log), would at least acknowledge that it ran and when. 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) Cheers Mark -----Original Message----- From: ZendTo > On Behalf Of Elston, Ian via ZendTo Sent: Tuesday, April 2, 2024 2:12 PM To: ZendTo Users > Cc: Elston, Ian > Subject: Re: [ZendTo] my server became full CAUTION: External email. Ensure this message is from a trusted source and exercise caution before clicking links/opening attachments. > First, I'd check the log files to see if cron actually ran the job 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. > 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? Not that I can see ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk/ -----Original Message----- From: ZendTo > On Behalf Of Dippery, Kyle D. via ZendTo Sent: 02 April 2024 13:53 To: ZendTo Users > Cc: Dippery, Kyle D. > Subject: Re: [ZendTo] my server became full WARNING: This message originated from outside the University. Use caution when following links or opening attachments. 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. 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? Kyle Dippery, PhD 219 Robotics Building Stanley and Karen Pigman College of Engineering 859-257-1346 ________________________________________ From: ZendTo > on behalf of Elston, Ian via ZendTo > Sent: Tuesday, April 2, 2024 6:01 AM To: 'ZendTo Users' Cc: Elston, Ian Subject: [ZendTo] my server became full CAUTION: External Sender Hello all, Two posts in two [working] days, sorry about this.... 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 root at zeus:/home/nads# du -h /var/zendto/incoming 28G /var/zendto/incoming 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 # Cron jobs for ZendTo to remove expired drop-offs and update usage graphs 5 0 * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php >/dev/null 2>&1 25 * * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php --no-warnings >/dev/null 2>&1 15 0 * * * root /usr/bin/php /opt/zendto/sbin/emailSummary.php /opt/zendto/config/preferences.php >/dev/null 2>&1 5 */4 * * * root find -H /var/zendto/incoming -type f -mmin +1440 -delete >/dev/null 2>&1 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' 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]*$' 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... Is there any way I can troubleshoot these cron jobs? Installed version is the latest I think, server was only built (in January) using the installer Listing... Done zendto/lynx,trusty,xenial,bionic,now 6.13-3 all [installed] 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 root at zeus:/home/nads# du -h /var/zendto/incoming 12K /var/zendto/incoming And now I have plenty of space back. ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk/> [https://www.bolton.ac.uk/assets/109433-UoB-Email-footer.png]> 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. _______________________________________________ ZendTo mailing list ZendTo at zend.to http://jul.es/mailman/listinfo/zendto [University of Bolton]> 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. _______________________________________________ ZendTo mailing list ZendTo at zend.to http://jul.es/mailman/listinfo/zendto The University of Aberdeen is a charity registered in Scotland, No SC013683. Tha Oilthigh Obar Dheathain na charthannas cl?raichte ann an Alba, ?ir. SC013683. [University of Bolton]> 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. The University of Aberdeen is a charity registered in Scotland, No SC013683. Tha Oilthigh Obar Dheathain na charthannas cl?raichte ann an Alba, ?ir. SC013683. [https://www.bolton.ac.uk/assets/109433-UoB-Email-footer.png] 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. From kyle.dippery at uky.edu Wed Apr 3 13:58:19 2024 From: kyle.dippery at uky.edu (Dippery, Kyle D.) Date: Wed, 3 Apr 2024 12:58:19 +0000 Subject: [ZendTo] my server became full In-Reply-To: References: Message-ID: One more question that probably should've been obvious by now, is cron running? Kyle Dippery, PhD 219 Robotics Building Stanley and Karen Pigman College of Engineering 859-257-1346 ________________________________________ From: ZendTo on behalf of Dippery, Kyle D. via ZendTo Sent: Wednesday, April 3, 2024 8:51 AM To: Sangster, Mark; ZendTo Users Cc: Dippery, Kyle D. Subject: Re: [ZendTo] my server became full CAUTION: External Sender What version of ubuntu are you running? All of my ubuntu instances have /var/log/syslog. Do you have rsyslog running? What does /etc/rsyslog.d look like, especially /etc/rsyslog.d/50-default.conf? It might be worth finding out why syslog isn't running, or what is running in its place. Troubleshooting anything is hard without log files. Cheers, Kyle Kyle Dippery, PhD 219 Robotics Building Stanley and Karen Pigman College of Engineering 859-257-1346 ________________________________________ From: ZendTo on behalf of Elston, Ian via ZendTo Sent: Wednesday, April 3, 2024 7:00 AM To: Sangster, Mark; ZendTo Users Cc: Elston, Ian Subject: Re: [ZendTo] my server became full CAUTION: External Sender 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. If I search for 'syslog' with mlocate I don't see any log. Contents of /var/log -rw-r--r-- 1 root root 174 Apr 3 06:52 alternatives.log -rw-r--r-- 1 root root 186 Feb 28 06:46 alternatives.log.1 -rw-r--r-- 1 root root 1.9K Jan 4 15:28 alternatives.log.2.gz drwxr-x--- 2 root adm 4.0K Apr 3 00:00 apache2 drwxr-xr-x 2 root root 4.0K Apr 3 06:53 apt -rw-r--r-- 1 root root 64K Apr 21 2022 bootstrap.log -rw-rw---- 1 root utmp 0 Apr 1 00:00 btmp -rw-rw---- 1 root utmp 0 Mar 1 00:00 btmp.1 drwxr-xr-x 2 clamav clamav 4.0K Mar 31 00:00 clamav -rw-r----- 1 root adm 25K Apr 2 10:21 cloud-init-output.log -rw-r----- 1 root adm 510K Apr 2 10:21 cloud-init.log drwxr-xr-x 2 root root 4.0K Apr 18 2022 dist-upgrade -rw-r--r-- 1 root root 12K Apr 3 06:53 dpkg.log -rw-r--r-- 1 root root 22K Mar 21 06:28 dpkg.log.1 -rw-r--r-- 1 root root 2.5K Feb 28 06:46 dpkg.log.2.gz -rw-r--r-- 1 root root 49K Jan 31 06:59 dpkg.log.3.gz -rw-r--r-- 1 root root 32K Jan 5 09:53 faillog -rw-r--r-- 1 root root 484 Jan 4 14:46 fontconfig.log drwxr-x--- 3 root adm 4.0K Nov 3 2022 installer drwxr-sr-x+ 3 root systemd-journal 4.0K Nov 3 2022 journal -rw-rw-r-- 1 root utmp 286K Apr 2 10:21 lastlog drwx------ 2 root root 4.0K Apr 21 2022 private drwxr-x--- 2 root adm 4.0K Apr 1 00:00 unattended-upgrades -rw-r--r-- 1 root root 187 Jan 5 10:58 vmware-network.1.log -rw-r--r-- 1 root root 187 Jan 4 14:13 vmware-network.2.log -rw-r--r-- 1 root root 187 Jan 5 13:44 vmware-network.log -rw------- 1 root root 5.1K Apr 2 10:20 vmware-vmsvc-root.1.log -rw------- 1 root root 5.1K Jan 5 13:43 vmware-vmsvc-root.2.log -rw------- 1 root root 4.8K Jan 5 10:56 vmware-vmsvc-root.3.log -rw------- 1 root root 3.8K Apr 2 10:21 vmware-vmsvc-root.log -rw------- 1 root root 4.1K Apr 2 10:21 vmware-vmtoolsd-root.log -rw-rw-r-- 1 root utmp 24K Apr 2 10:21 wtmp drwxrwxr-x 2 root www-data 4.0K Apr 1 00:00 zendto ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk/ -----Original Message----- From: Sangster, Mark Sent: 02 April 2024 16:25 To: Elston, Ian ; ZendTo Users Subject: RE: my server became full [You don't often get email from m.v.sangster at abdn.ac.uk. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] WARNING: This message originated from outside the University. Use caution when following links or opening attachments. It does depend on your specific distribution; some of them log to /var/log/syslog or /var/log/messages. Indeed, any log could be generated depending on your syslog setup. Either hunt the logs in /var/log or review your syslog setup. It is very unlikely that a default OS setup will not record cron activity. Cheers Mark -----Original Message----- From: Elston, Ian > Sent: Tuesday, April 2, 2024 4:18 PM To: Sangster, Mark >; ZendTo Users > Subject: RE: my server became full CAUTION: External email. Ensure this message is from a trusted source and exercise caution before clicking links/opening attachments. I don't appear to have such a log file, or any cron log file. ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk/ -----Original Message----- From: Sangster, Mark > Sent: 02 April 2024 14:19 To: ZendTo Users > Cc: Elston, Ian > Subject: RE: my server became full [You don't often get email from m.v.sangster at abdn.ac.uk. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] WARNING: This message originated from outside the University. Use caution when following links or opening attachments. The cron log (/var/log/cron.log), would at least acknowledge that it ran and when. 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) Cheers Mark -----Original Message----- From: ZendTo > On Behalf Of Elston, Ian via ZendTo Sent: Tuesday, April 2, 2024 2:12 PM To: ZendTo Users > Cc: Elston, Ian > Subject: Re: [ZendTo] my server became full CAUTION: External email. Ensure this message is from a trusted source and exercise caution before clicking links/opening attachments. > First, I'd check the log files to see if cron actually ran the job 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. > 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? Not that I can see ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk/ -----Original Message----- From: ZendTo > On Behalf Of Dippery, Kyle D. via ZendTo Sent: 02 April 2024 13:53 To: ZendTo Users > Cc: Dippery, Kyle D. > Subject: Re: [ZendTo] my server became full WARNING: This message originated from outside the University. Use caution when following links or opening attachments. 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. 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? Kyle Dippery, PhD 219 Robotics Building Stanley and Karen Pigman College of Engineering 859-257-1346 ________________________________________ From: ZendTo > on behalf of Elston, Ian via ZendTo > Sent: Tuesday, April 2, 2024 6:01 AM To: 'ZendTo Users' Cc: Elston, Ian Subject: [ZendTo] my server became full CAUTION: External Sender Hello all, Two posts in two [working] days, sorry about this.... 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 root at zeus:/home/nads# du -h /var/zendto/incoming 28G /var/zendto/incoming 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 # Cron jobs for ZendTo to remove expired drop-offs and update usage graphs 5 0 * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php >/dev/null 2>&1 25 * * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php --no-warnings >/dev/null 2>&1 15 0 * * * root /usr/bin/php /opt/zendto/sbin/emailSummary.php /opt/zendto/config/preferences.php >/dev/null 2>&1 5 */4 * * * root find -H /var/zendto/incoming -type f -mmin +1440 -delete >/dev/null 2>&1 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' 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]*$' 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... Is there any way I can troubleshoot these cron jobs? Installed version is the latest I think, server was only built (in January) using the installer Listing... Done zendto/lynx,trusty,xenial,bionic,now 6.13-3 all [installed] 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 root at zeus:/home/nads# du -h /var/zendto/incoming 12K /var/zendto/incoming And now I have plenty of space back. ----------------------------------------------- Ian Elston Senior Networks officer Information Systems & Technology The University of Bolton http://www.bolton.ac.uk/> [https://www.bolton.ac.uk/assets/109433-UoB-Email-footer.png]> 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. _______________________________________________ ZendTo mailing list ZendTo at zend.to http://jul.es/mailman/listinfo/zendto [University of Bolton]> 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. _______________________________________________ ZendTo mailing list ZendTo at zend.to http://jul.es/mailman/listinfo/zendto The University of Aberdeen is a charity registered in Scotland, No SC013683. Tha Oilthigh Obar Dheathain na charthannas cl?raichte ann an Alba, ?ir. SC013683. [University of Bolton]> 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. The University of Aberdeen is a charity registered in Scotland, No SC013683. Tha Oilthigh Obar Dheathain na charthannas cl?raichte ann an Alba, ?ir. SC013683. [https://www.bolton.ac.uk/assets/109433-UoB-Email-footer.png] 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. _______________________________________________ ZendTo mailing list ZendTo at zend.to http://jul.es/mailman/listinfo/zendto From ssilva at sgvwater.com Mon Apr 22 22:09:42 2024 From: ssilva at sgvwater.com (Scott Silva) Date: Mon, 22 Apr 2024 21:09:42 +0000 Subject: [ZendTo] When a users file send fails for any reason returned emails go to postmaster and not original user References: <23bc0acbc6be45f4843a1030f4e34c79@sgvwater.com> Message-ID: I'm sure there has to be a setting for this that I missed... -- Scott Silva Network Administrator San Gabriel Valley Water Company Fontana Water Company 15966 Arrow Blvd. Fontana CA 92335 www.sgvwater.com www.fontanawater.com * "If it's not broken, keep fixing it until it is" From KLE at msktd.com Tue Apr 23 15:28:13 2024 From: KLE at msktd.com (Ken Etter) Date: Tue, 23 Apr 2024 14:28:13 +0000 Subject: [ZendTo] When a users file send fails for any reason returned emails go to postmaster and not original user In-Reply-To: References: <23bc0acbc6be45f4843a1030f4e34c79@sgvwater.com> Message-ID: Maybe this in preferences.php? // Do you want the email messages to always come "From" the email // address set in zendto.conf? If so, set this to FALSE. // If you want, where it woudn't cause SPF/DKIM/DMARC problems, to // make the emails appear to come From the person who created the drop-off, // set this to TRUE. // If your SMTP server is running Exchange (or is Office 365), then you // should leave it set to FALSE. // Setting this to TRUE has helped a few people overcome spam detection // problems when delivering to GMail addresses. 'SMTPsetFromToSender' => TRUE, -----Original Message----- From: ZendTo On Behalf Of Scott Silva via ZendTo Sent: Monday, April 22, 2024 5:10 PM To: ZendTo Users Cc: Scott Silva Subject: [ZendTo] When a users file send fails for any reason returned emails go to postmaster and not original user I'm sure there has to be a setting for this that I missed... -- Scott Silva Network Administrator San Gabriel Valley Water Company Fontana Water Company 15966 Arrow Blvd. Fontana CA 92335 www.sgvwater.com www.fontanawater.com * "If it's not broken, keep fixing it until it is" _______________________________________________ ZendTo mailing list ZendTo at zend.to http://jul.es/mailman/listinfo/zendto From BBecken at aafp.org Thu Apr 25 22:27:58 2024 From: BBecken at aafp.org (Brad Beckenhauer) Date: Thu, 25 Apr 2024 21:27:58 +0000 Subject: [ZendTo] Rocky 9 SHA1 Depreciation In-Reply-To: References: Message-ID: Running Red Hat 9 64bit here. These are my notes, your mileage may vary on Rocky. Given the gpg key is signed as SHA1, this is the workaround I have been testing and it at least allows zendto to be installed. # Show the system-wide crypto policy currently in effect update-crypto-policies --show DEFAULT # The zendto package is signed using SHA1, which is not available in the "DEFAULT" crypto-policy. # The zendto package will fail to install if the SHA1 cipher is not available to verify the package authenticity. # Solution: Set crypto-polices to ALLOW SHA1 as a "signing" key, so the zendto package can be installed. update-crypto-policies --set DEFAULT:SHA1 !!!! It is recommended to restart/reboot the system for the change of policies to fully take place. Reboot the system. Then login as user root. # Check crypto-policies and make sure it supports SHA1. update-crypto-policies --show DEFAULT:SHA1 # Import zendto's SHA1 gpg signing key. The rpm utility has its own key management. rpm --import https://zend.to/files/zendto.gpg.asc # Continue the zendto installation. Install zendto. You can remove the SHA1 support after the zendto key is added. But I'm not sure what impact this may have during a zendto update. update-crypto-policies --set DEFAULT ________________________________ From: ZendTo on behalf of Matthew Fey via ZendTo Sent: Monday, February 5, 2024 9:24 AM To: zendto at zend.to Cc: Matthew Fey Subject: [ZendTo] Rocky 9 SHA1 Depreciation CAUTION: This email came from an EXTERNAL address. Use caution when clicking links or opening attachments. When trying to run the installer on Rocky 9, installing the ZendTo package fails because the rpm is signed with SHA1, which is no longer supported by default in RHEL9 and equivalent. Because of that, all further steps fail as the package and configuration files are never installed. I suspect this is the issue that Scott was having back in November when trying to do the same. I could force the install to go through with the ?nogpgcheck option, but I?d really rather avoid it. Any chance of having the package updated soon with a SHA256 or SHA512 signature to take care of this going forward? Thanks, Matthew Fey, CCNA | Network System Administrator Direct 204 697 6983 -------------- next part -------------- An HTML attachment was scrubbed... URL: