From Dean at tropmedres.ac Mon Oct 18 08:41:47 2021 From: Dean at tropmedres.ac (Dean Sherwood) Date: Mon, 18 Oct 2021 07:41:47 +0000 Subject: [ZendTo] ClamAV error References: Message-ID: Dear all We updated our Ubuntu 18.04.6 LTS server with below commands and now have the upload error ?The attempt to virus-scan your drop-off failed. Please notify the system administrator.? sudo apt update sudo apt upgrade --- Checking the clamav service we see systemctl status clamav-daemon.service ? clamav-daemon.service - Clam AntiVirus userspace daemon Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled; vendor preset: enabled) Drop-In: /etc/systemd/system/clamav-daemon.service.d ??extend.conf Active: failed (Result: exit-code) since Mon 2021-09-27 11:33:58 +07; 3min 59s ago Docs: man:clamd(8) man:clamd.conf(5) Process: 1323 ExecStart=/usr/sbin/clamd --foreground=true (code=exited, status=1/FAILURE) Process: 1317 ExecStartPre=/bin/chown clamav /run/clamav (code=exited, status=0/SUCCESS) Process: 1097 ExecStartPre=/bin/mkdir -p /run/clamav (code=exited, status=0/SUCCESS) Main PID: 1323 (code=exited, status=1/FAILURE) Sep 27 11:33:51 zend2 systemd[1]: Starting Clam AntiVirus userspace daemon... Sep 27 11:33:53 zend2 systemd[1]: Started Clam AntiVirus userspace daemon. Sep 27 11:33:58 zend2 systemd[1]: clamav-daemon.service: Main process exited, code=exited, status=1/FAILURE Sep 27 11:33:58 zend2 clamd[1323]: ERROR: lchown to user 'clamav' failed on Sep 27 11:33:58 zend2 clamd[1323]: log file '/var/log/clamav/clamav.log'. Sep 27 11:33:58 zend2 clamd[1323]: Error was 'Operation not permitted' Sep 27 11:33:58 zend2 clamd[1323]: Mon Sep 27 11:33:58 2021 -> ^lchown to user 'clamav' failed on log file '/var/log/clamav/clamav.log'. Error was 'Operation not permitted' Sep 27 11:33:58 zend2 systemd[1]: clamav-daemon.service: Failed with result 'exit-code'. --- Reinstalled and skipped all parts except for ?Install and configure virus scanner, including SELinux and AppArmor support for it.? Become root with "su -" if using CentOS, RedHat, Debian or SuSE, or "sudo su -" if using Ubuntu. Download the installer: curl -O zend.to path Unpack it and cd into it: tar xzf install.ZendTo.tgz cd install.ZendTo Run the installer: ./install.sh ================================================================= Install and configure ClamAV ================================================================= Installing ClamAV packages Reading package lists... Done Building dependency tree Reading state information... Done clamav is already the newest version (0.103.2+dfsg-0ubuntu0.18.04.2). clamav-daemon is already the newest version (0.103.2+dfsg-0ubuntu0.18.04.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Making clamd notice new signatures much faster Stop freshclam daemon so we can update signatures Updating signatures 1. Ignore errors about not being able to notify clamd 2. Expect a delay after downloading main.cvd 3. Expect a long delay after downloading daily.cvd WARNING: Ignoring deprecated option SafeBrowsing at /etc/clamav/freshclam.conf:22 Mon Sep 27 11:32:42 2021 -> ClamAV update process started at Mon Sep 27 11:32:42 2021 Mon Sep 27 11:32:42 2021 -> ^Your ClamAV installation is OUTDATED! Mon Sep 27 11:32:42 2021 -> ^Local version: 0.103.2 Recommended version: 0.103.3 Mon Sep 27 11:32:42 2021 -> DON'T PANIC! Read Mon Sep 27 11:32:42 2021 -> daily.cld database is up-to-date (version: 26304, sigs: 1936445, f-level: 90, builder: raynman) Mon Sep 27 11:32:42 2021 -> main.cld database is up-to-date (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr) Mon Sep 27 11:32:42 2021 -> bytecode.cld database is up-to-date (version: 333, sigs: 92, f-level: 63, builder: awillia2) Allowing ClamAV to read Apache files Allowing ClamAV through AppArmor to read ZendTo uploads No need, already done. Ubuntu 18: may need to work around a bug in the clamd AppArmor profile Good, they have fixed it. No change needed * Unloading AppArmor profiles [ OK ] [ ok ] Starting apparmor (via systemctl): apparmor.service. [ ok ] Reloading apparmor configuration (via systemctl): apparmor.service. I am going to have to override the systemd definition for apache2 so it starts up with PrivateTmp=false. I am creating /etc/systemd/system/apache2.service.d/PrivateTmp_zendto.conf And tell systemd about the change Starting ClamAV and freshclam daemons ClamAV has been setup for you to work with ZendTo. --- However we still have the upload error ?The attempt to virus-scan your drop-off failed. Please notify the system administrator.? Best regards, Dean -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.hillenbrand at montgeron.fr Mon Oct 18 11:20:22 2021 From: m.hillenbrand at montgeron.fr (HILLENBRAND Marita) Date: Mon, 18 Oct 2021 10:20:22 +0000 Subject: [ZendTo] ClamAV error In-Reply-To: References: Message-ID: Dear all, I have also the problem, I updated our Ubuntu 18.04.5 LTS (en root) with the commands below and got the upload error ?The attempt to virus-scan your drop-off failed. Please notify the system administrator.? apt update apt upgrade zendto # systemctl status clamav-daemon ? clamav-daemon.service - Clam AntiVirus userspace daemon Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled; vendor preset: enabled) Drop-In: /etc/systemd/system/clamav-daemon.service.d ??extend.conf Active: failed (Result: exit-code) since Mon 2021-10-18 11:32:57 CEST; 28min ago Docs: man:clamd(8) man:clamd.conf(5) https://www.clamav.net/documents/ Main PID: 11391 (code=exited, status=1/FAILURE) oct. 18 11:32:56 sv-ctm-zendto systemd[1]: Stopped Clam AntiVirus userspace daemon. oct. 18 11:32:56 sv-ctm-zendto systemd[1]: Starting Clam AntiVirus userspace daemon... oct. 18 11:32:56 sv-ctm-zendto systemd[1]: Started Clam AntiVirus userspace daemon. oct. 18 11:32:57 sv-ctm-zendto clamd[11391]: ERROR: lchown to user 'clamav' failed on oct. 18 11:32:57 sv-ctm-zendto clamd[11391]: log file '/var/log/clamav/clamav.log'. oct. 18 11:32:57 sv-ctm-zendto clamd[11391]: Error was 'Operation not permitted' oct. 18 11:32:57 sv-ctm-zendto clamd[11391]: Mon Oct 18 11:32:57 2021 -> ^lchown to user 'clamav' failed on log file '/var/log/clamav/clamav.log'. Erro oct. 18 11:32:57 sv-ctm-zendto systemd[1]: clamav-daemon.service: Main process exited, code=exited, status=1/FAILURE oct. 18 11:32:57 sv-ctm-zendto systemd[1]: clamav-daemon.service: Failed with result 'exit-code'. I got back to the old version for now, but I suspect, I need to update the system to make the let?s encrypt certificate function. Best regards, Marita HILLENBRAND Service Informatique Centre Administratif et Technique 130, avenue Charles de Gaulle - 91230 Montgeron T?l : 01 70 58 93 40 Port : 06 24 04 43 58 www.montgeron.fr [cid:image001.jpg at 01D7C41A.84F261B0] Participez, vous aussi, ? la protection de l'environnement en n'imprimant ce courriel que si n?cessaire. Le pr?sent courriel peut contenir des renseignements confidentiels et ne s?adresse qu?au(x) destinataire(s) indiqu?(s) ci-dessus. Si ce courriel vous est parvenu par erreur, veuillez le supprimer et nous en aviser aussit?t. Merci. De : ZendTo De la part de Dean Sherwood via ZendTo Envoy? : lundi 18 octobre 2021 09:42 ? : zendto at zend.to Cc : Dean Sherwood Objet : [ZendTo] ClamAV error Dear all We updated our Ubuntu 18.04.6 LTS server with below commands and now have the upload error ?The attempt to virus-scan your drop-off failed. Please notify the system administrator.? sudo apt update sudo apt upgrade --- Checking the clamav service we see systemctl status clamav-daemon.service ? clamav-daemon.service - Clam AntiVirus userspace daemon Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled; vendor preset: enabled) Drop-In: /etc/systemd/system/clamav-daemon.service.d ??extend.conf Active: failed (Result: exit-code) since Mon 2021-09-27 11:33:58 +07; 3min 59s ago Docs: man:clamd(8) man:clamd.conf(5) Process: 1323 ExecStart=/usr/sbin/clamd --foreground=true (code=exited, status=1/FAILURE) Process: 1317 ExecStartPre=/bin/chown clamav /run/clamav (code=exited, status=0/SUCCESS) Process: 1097 ExecStartPre=/bin/mkdir -p /run/clamav (code=exited, status=0/SUCCESS) Main PID: 1323 (code=exited, status=1/FAILURE) Sep 27 11:33:51 zend2 systemd[1]: Starting Clam AntiVirus userspace daemon... Sep 27 11:33:53 zend2 systemd[1]: Started Clam AntiVirus userspace daemon. Sep 27 11:33:58 zend2 systemd[1]: clamav-daemon.service: Main process exited, code=exited, status=1/FAILURE Sep 27 11:33:58 zend2 clamd[1323]: ERROR: lchown to user 'clamav' failed on Sep 27 11:33:58 zend2 clamd[1323]: log file '/var/log/clamav/clamav.log'. Sep 27 11:33:58 zend2 clamd[1323]: Error was 'Operation not permitted' Sep 27 11:33:58 zend2 clamd[1323]: Mon Sep 27 11:33:58 2021 -> ^lchown to user 'clamav' failed on log file '/var/log/clamav/clamav.log'. Error was 'Operation not permitted' Sep 27 11:33:58 zend2 systemd[1]: clamav-daemon.service: Failed with result 'exit-code'. --- Reinstalled and skipped all parts except for ?Install and configure virus scanner, including SELinux and AppArmor support for it.? Become root with "su -" if using CentOS, RedHat, Debian or SuSE, or "sudo su -" if using Ubuntu. Download the installer: curl -O zend.to path Unpack it and cd into it: tar xzf install.ZendTo.tgz cd install.ZendTo Run the installer: ./install.sh ================================================================= Install and configure ClamAV ================================================================= Installing ClamAV packages Reading package lists... Done Building dependency tree Reading state information... Done clamav is already the newest version (0.103.2+dfsg-0ubuntu0.18.04.2). clamav-daemon is already the newest version (0.103.2+dfsg-0ubuntu0.18.04.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Making clamd notice new signatures much faster Stop freshclam daemon so we can update signatures Updating signatures 1. Ignore errors about not being able to notify clamd 2. Expect a delay after downloading main.cvd 3. Expect a long delay after downloading daily.cvd WARNING: Ignoring deprecated option SafeBrowsing at /etc/clamav/freshclam.conf:22 Mon Sep 27 11:32:42 2021 -> ClamAV update process started at Mon Sep 27 11:32:42 2021 Mon Sep 27 11:32:42 2021 -> ^Your ClamAV installation is OUTDATED! Mon Sep 27 11:32:42 2021 -> ^Local version: 0.103.2 Recommended version: 0.103.3 Mon Sep 27 11:32:42 2021 -> DON'T PANIC! Read Mon Sep 27 11:32:42 2021 -> daily.cld database is up-to-date (version: 26304, sigs: 1936445, f-level: 90, builder: raynman) Mon Sep 27 11:32:42 2021 -> main.cld database is up-to-date (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr) Mon Sep 27 11:32:42 2021 -> bytecode.cld database is up-to-date (version: 333, sigs: 92, f-level: 63, builder: awillia2) Allowing ClamAV to read Apache files Allowing ClamAV through AppArmor to read ZendTo uploads No need, already done. Ubuntu 18: may need to work around a bug in the clamd AppArmor profile Good, they have fixed it. No change needed * Unloading AppArmor profiles [ OK ] [ ok ] Starting apparmor (via systemctl): apparmor.service. [ ok ] Reloading apparmor configuration (via systemctl): apparmor.service. I am going to have to override the systemd definition for apache2 so it starts up with PrivateTmp=false. I am creating /etc/systemd/system/apache2.service.d/PrivateTmp_zendto.conf And tell systemd about the change Starting ClamAV and freshclam daemons ClamAV has been setup for you to work with ZendTo. --- However we still have the upload error ?The attempt to virus-scan your drop-off failed. Please notify the system administrator.? Best regards, Dean -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2631 bytes Desc: image001.jpg URL: From m.hillenbrand at montgeron.fr Mon Oct 18 13:44:04 2021 From: m.hillenbrand at montgeron.fr (HILLENBRAND Marita) Date: Mon, 18 Oct 2021 12:44:04 +0000 Subject: [ZendTo] ClamAV error In-Reply-To: References: Message-ID: Dear all, I retried the update of our Ubuntu 18.04.5 LTS and at one point there was this message (sorry, it?s a french version) : ?. Fichier de configuration ? /etc/apparmor.d/usr.sbin.clamd ? ==> Modifi? (par vous ou par un script) depuis l'installation. ==> Le distributeur du paquet a fourni une version mise ? jour. Que voulez-vous faire ? Vos options sont les suivantes : Y ou I : installer la version du responsable du paquet N ou O : garder votre version actuellement install?e D : afficher les diff?rences entre les versions Z : suspendre ce processus pour examiner la situation L'action par d?faut garde votre version actuelle. *** usr.sbin.clamd (Y/I/N/O/D/Z) [d?faut=N] ? This time, I said ? Y ? and now clamav works fine after the update. The only thing that I didn?t get right, was the update of the version of clamav : root at sv-ctm-zendto:/home/zendto# freshclam WARNING: Ignoring deprecated option SafeBrowsing at /etc/clamav/freshclam.conf:22 Mon Oct 18 14:33:03 2021 -> ClamAV update process started at Mon Oct 18 14:33:03 2021 Mon Oct 18 14:33:03 2021 -> ^Your ClamAV installation is OUTDATED! Mon Oct 18 14:33:03 2021 -> ^Local version: 0.103.2 Recommended version: 0.103.3 Mon Oct 18 14:33:03 2021 -> DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav Mon Oct 18 14:33:03 2021 -> daily.cld database is up-to-date (version: 26326, sigs: 1938868, f-level: 90, builder: raynman) Mon Oct 18 14:33:03 2021 -> main.cld database is up-to-date (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr) Mon Oct 18 14:33:03 2021 -> bytecode.cld database is up-to-date (version: 333, sigs: 92, f-level: 63, builder: awillia2) I had a look on there website, but that didn?t help me much. I guess I?ll wait and see. Best regards, Marita HILLENBRAND Service Informatique Centre Administratif et Technique 130, avenue Charles de Gaulle - 91230 Montgeron T?l : 01 70 58 93 40 Port : 06 24 04 43 58 www.montgeron.fr [cid:image001.jpg at 01D7C42E.98285A00] Participez, vous aussi, ? la protection de l'environnement en n'imprimant ce courriel que si n?cessaire. Le pr?sent courriel peut contenir des renseignements confidentiels et ne s?adresse qu?au(x) destinataire(s) indiqu?(s) ci-dessus. Si ce courriel vous est parvenu par erreur, veuillez le supprimer et nous en aviser aussit?t. Merci. De : ZendTo De la part de HILLENBRAND Marita via ZendTo Envoy? : lundi 18 octobre 2021 12:20 ? : ZendTo Users Cc : HILLENBRAND Marita Objet : Re: [ZendTo] ClamAV error Dear all, I have also the problem, I updated our Ubuntu 18.04.5 LTS (en root) with the commands below and got the upload error ?The attempt to virus-scan your drop-off failed. Please notify the system administrator.? apt update apt upgrade zendto # systemctl status clamav-daemon ? clamav-daemon.service - Clam AntiVirus userspace daemon Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled; vendor preset: enabled) Drop-In: /etc/systemd/system/clamav-daemon.service.d ??extend.conf Active: failed (Result: exit-code) since Mon 2021-10-18 11:32:57 CEST; 28min ago Docs: man:clamd(8) man:clamd.conf(5) https://www.clamav.net/documents/ Main PID: 11391 (code=exited, status=1/FAILURE) oct. 18 11:32:56 sv-ctm-zendto systemd[1]: Stopped Clam AntiVirus userspace daemon. oct. 18 11:32:56 sv-ctm-zendto systemd[1]: Starting Clam AntiVirus userspace daemon... oct. 18 11:32:56 sv-ctm-zendto systemd[1]: Started Clam AntiVirus userspace daemon. oct. 18 11:32:57 sv-ctm-zendto clamd[11391]: ERROR: lchown to user 'clamav' failed on oct. 18 11:32:57 sv-ctm-zendto clamd[11391]: log file '/var/log/clamav/clamav.log'. oct. 18 11:32:57 sv-ctm-zendto clamd[11391]: Error was 'Operation not permitted' oct. 18 11:32:57 sv-ctm-zendto clamd[11391]: Mon Oct 18 11:32:57 2021 -> ^lchown to user 'clamav' failed on log file '/var/log/clamav/clamav.log'. Erro oct. 18 11:32:57 sv-ctm-zendto systemd[1]: clamav-daemon.service: Main process exited, code=exited, status=1/FAILURE oct. 18 11:32:57 sv-ctm-zendto systemd[1]: clamav-daemon.service: Failed with result 'exit-code'. I got back to the old version for now, but I suspect, I need to update the system to make the let?s encrypt certificate function. Best regards, Marita HILLENBRAND Service Informatique Centre Administratif et Technique 130, avenue Charles de Gaulle - 91230 Montgeron T?l : 01 70 58 93 40 Port : 06 24 04 43 58 www.montgeron.fr [cid:image004.jpg at 01D7C42D.F444C900] Participez, vous aussi, ? la protection de l'environnement en n'imprimant ce courriel que si n?cessaire. Le pr?sent courriel peut contenir des renseignements confidentiels et ne s?adresse qu?au(x) destinataire(s) indiqu?(s) ci-dessus. Si ce courriel vous est parvenu par erreur, veuillez le supprimer et nous en aviser aussit?t. Merci. De : ZendTo > De la part de Dean Sherwood via ZendTo Envoy? : lundi 18 octobre 2021 09:42 ? : zendto at zend.to Cc : Dean Sherwood > Objet : [ZendTo] ClamAV error Dear all We updated our Ubuntu 18.04.6 LTS server with below commands and now have the upload error ?The attempt to virus-scan your drop-off failed. Please notify the system administrator.? sudo apt update sudo apt upgrade --- Checking the clamav service we see systemctl status clamav-daemon.service ? clamav-daemon.service - Clam AntiVirus userspace daemon Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled; vendor preset: enabled) Drop-In: /etc/systemd/system/clamav-daemon.service.d ??extend.conf Active: failed (Result: exit-code) since Mon 2021-09-27 11:33:58 +07; 3min 59s ago Docs: man:clamd(8) man:clamd.conf(5) Process: 1323 ExecStart=/usr/sbin/clamd --foreground=true (code=exited, status=1/FAILURE) Process: 1317 ExecStartPre=/bin/chown clamav /run/clamav (code=exited, status=0/SUCCESS) Process: 1097 ExecStartPre=/bin/mkdir -p /run/clamav (code=exited, status=0/SUCCESS) Main PID: 1323 (code=exited, status=1/FAILURE) Sep 27 11:33:51 zend2 systemd[1]: Starting Clam AntiVirus userspace daemon... Sep 27 11:33:53 zend2 systemd[1]: Started Clam AntiVirus userspace daemon. Sep 27 11:33:58 zend2 systemd[1]: clamav-daemon.service: Main process exited, code=exited, status=1/FAILURE Sep 27 11:33:58 zend2 clamd[1323]: ERROR: lchown to user 'clamav' failed on Sep 27 11:33:58 zend2 clamd[1323]: log file '/var/log/clamav/clamav.log'. Sep 27 11:33:58 zend2 clamd[1323]: Error was 'Operation not permitted' Sep 27 11:33:58 zend2 clamd[1323]: Mon Sep 27 11:33:58 2021 -> ^lchown to user 'clamav' failed on log file '/var/log/clamav/clamav.log'. Error was 'Operation not permitted' Sep 27 11:33:58 zend2 systemd[1]: clamav-daemon.service: Failed with result 'exit-code'. --- Reinstalled and skipped all parts except for ?Install and configure virus scanner, including SELinux and AppArmor support for it.? Become root with "su -" if using CentOS, RedHat, Debian or SuSE, or "sudo su -" if using Ubuntu. Download the installer: curl -O zend.to path Unpack it and cd into it: tar xzf install.ZendTo.tgz cd install.ZendTo Run the installer: ./install.sh ================================================================= Install and configure ClamAV ================================================================= Installing ClamAV packages Reading package lists... Done Building dependency tree Reading state information... Done clamav is already the newest version (0.103.2+dfsg-0ubuntu0.18.04.2). clamav-daemon is already the newest version (0.103.2+dfsg-0ubuntu0.18.04.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Making clamd notice new signatures much faster Stop freshclam daemon so we can update signatures Updating signatures 1. Ignore errors about not being able to notify clamd 2. Expect a delay after downloading main.cvd 3. Expect a long delay after downloading daily.cvd WARNING: Ignoring deprecated option SafeBrowsing at /etc/clamav/freshclam.conf:22 Mon Sep 27 11:32:42 2021 -> ClamAV update process started at Mon Sep 27 11:32:42 2021 Mon Sep 27 11:32:42 2021 -> ^Your ClamAV installation is OUTDATED! Mon Sep 27 11:32:42 2021 -> ^Local version: 0.103.2 Recommended version: 0.103.3 Mon Sep 27 11:32:42 2021 -> DON'T PANIC! Read Mon Sep 27 11:32:42 2021 -> daily.cld database is up-to-date (version: 26304, sigs: 1936445, f-level: 90, builder: raynman) Mon Sep 27 11:32:42 2021 -> main.cld database is up-to-date (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr) Mon Sep 27 11:32:42 2021 -> bytecode.cld database is up-to-date (version: 333, sigs: 92, f-level: 63, builder: awillia2) Allowing ClamAV to read Apache files Allowing ClamAV through AppArmor to read ZendTo uploads No need, already done. Ubuntu 18: may need to work around a bug in the clamd AppArmor profile Good, they have fixed it. No change needed * Unloading AppArmor profiles [ OK ] [ ok ] Starting apparmor (via systemctl): apparmor.service. [ ok ] Reloading apparmor configuration (via systemctl): apparmor.service. I am going to have to override the systemd definition for apache2 so it starts up with PrivateTmp=false. I am creating /etc/systemd/system/apache2.service.d/PrivateTmp_zendto.conf And tell systemd about the change Starting ClamAV and freshclam daemons ClamAV has been setup for you to work with ZendTo. --- However we still have the upload error ?The attempt to virus-scan your drop-off failed. Please notify the system administrator.? Best regards, Dean -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.jpg Type: image/jpeg Size: 2631 bytes Desc: image004.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2631 bytes Desc: image001.jpg URL: From glenn.noel at gmail.com Thu Oct 21 18:16:56 2021 From: glenn.noel at gmail.com (Glenn Noel) Date: Thu, 21 Oct 2021 13:16:56 -0400 Subject: [ZendTo] Migrating current drop-offs to a new Zend.to server References: Message-ID: Hello Zendto community, I have an older Zend.to server running Ubuntu Server 16.04.6 LTS running Zend Ver. 5.19-1. I've deployed and configured a new server running Ubuntu Server 20.04.3 LTS running Zend Ver 6.11-2. My new server is ready for production, but I'd like to move any existing drop-offs from the old server to the new server. I have looked over the zend.to site, but have been unable to find any documentation about how to move the drop-offs. I also found some older posts about others that have done this, but I wanted to check if anyone could point me in the right direction for up-to-date instructions on how to do this? Thanks for any assistance you can provide. Glenn -------------- next part -------------- An HTML attachment was scrubbed... URL: From Massimo.Forni at turboden.it Thu Oct 21 18:24:39 2021 From: Massimo.Forni at turboden.it (Massimo Forni) Date: Thu, 21 Oct 2021 17:24:39 +0000 Subject: [ZendTo] Migrating current drop-offs to a new Zend.to server In-Reply-To: References: Message-ID: Hi, have you tried running 6.x with a copy of the old 5.X database to check if it will automatically upgrade what needs to be upgraded? ________________________________ From: ZendTo on behalf of Glenn Noel via ZendTo Sent: Thursday, October 21, 2021 7:16:56 PM To: ZendTo Users Cc: Glenn Noel Subject: [ZendTo] Migrating current drop-offs to a new Zend.to server Hello Zendto community, I have an older Zend.to server running Ubuntu Server 16.04.6 LTS running Zend Ver. 5.19-1. I've deployed and configured a new server running Ubuntu Server 20.04.3 LTS running Zend Ver 6.11-2. My new server is ready for production, but I'd like to move any existing drop-offs from the old server to the new server. I have looked over the zend.to [zend.to] site, but have been unable to find any documentation about how to move the drop-offs. I also found some older posts about others that have done this, but I wanted to check if anyone could point me in the right direction for up-to-date instructions on how to do this? Thanks for any assistance you can provide. Glenn -- Massimo Forni ICT Manager Mobile: +393474110278 ________________________________ Turboden S.p.A. I via Cernaia 10 I 25124 Brescia I Italy t. +39 030 3552001 I f. +39 030 3552011 www.turboden.com Confidentiality notice: this message, together with its attachments, may contain strictly confidential and/or legally privileged information and it is destined solely to the intended addressee(s), who only may use it under his/their responsibility. Opinions, conclusions and other information contained in this message, that do not relate to the official business of this firm, shall be considered as not given or endorsed by it. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Any use, disclosure, copying or distribution of the contents of this communication by a not-intended recipient or in violation of the purposes of this communication is strictly prohibited and may be unlawful. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ssilva at sgvwater.com Thu Oct 21 18:35:25 2021 From: ssilva at sgvwater.com (Scott Silva) Date: Thu, 21 Oct 2021 17:35:25 +0000 Subject: [ZendTo] ClamAV error In-Reply-To: References: Message-ID: Getting this error now on a Centos 7 system Trying to see if there is some equivalent fix like the apparmour fix for Ubuntu, but I assume with SELinux From: ZendTo On Behalf Of HILLENBRAND Marita via ZendTo Sent: Monday, October 18, 2021 3:20 AM To: ZendTo Users Cc: HILLENBRAND Marita Subject: Re: [ZendTo] ClamAV error Dear all, I have also the problem, I updated our Ubuntu 18.04.5 LTS (en root) with the commands below and got the upload error ?The attempt to virus-scan your drop-off failed. Please notify the system administrator.? apt update apt upgrade zendto # systemctl status clamav-daemon ? clamav-daemon.service - Clam AntiVirus userspace daemon Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled; vendor preset: enabled) Drop-In: /etc/systemd/system/clamav-daemon.service.d ??extend.conf Active: failed (Result: exit-code) since Mon 2021-10-18 11:32:57 CEST; 28min ago Docs: man:clamd(8) man:clamd.conf(5) https://www.clamav.net/documents/ Main PID: 11391 (code=exited, status=1/FAILURE) oct. 18 11:32:56 sv-ctm-zendto systemd[1]: Stopped Clam AntiVirus userspace daemon. oct. 18 11:32:56 sv-ctm-zendto systemd[1]: Starting Clam AntiVirus userspace daemon... oct. 18 11:32:56 sv-ctm-zendto systemd[1]: Started Clam AntiVirus userspace daemon. oct. 18 11:32:57 sv-ctm-zendto clamd[11391]: ERROR: lchown to user 'clamav' failed on oct. 18 11:32:57 sv-ctm-zendto clamd[11391]: log file '/var/log/clamav/clamav.log'. oct. 18 11:32:57 sv-ctm-zendto clamd[11391]: Error was 'Operation not permitted' oct. 18 11:32:57 sv-ctm-zendto clamd[11391]: Mon Oct 18 11:32:57 2021 -> ^lchown to user 'clamav' failed on log file '/var/log/clamav/clamav.log'. Erro oct. 18 11:32:57 sv-ctm-zendto systemd[1]: clamav-daemon.service: Main process exited, code=exited, status=1/FAILURE oct. 18 11:32:57 sv-ctm-zendto systemd[1]: clamav-daemon.service: Failed with result 'exit-code'. I got back to the old version for now, but I suspect, I need to update the system to make the let?s encrypt certificate function. Best regards, Marita HILLENBRAND Service Informatique Centre Administratif et Technique 130, avenue Charles de Gaulle - 91230 Montgeron T?l : 01 70 58 93 40 Port : 06 24 04 43 58 www.montgeron.fr [cid:image001.jpg at 01D7C667.0D41B4A0] Participez, vous aussi, ? la protection de l'environnement en n'imprimant ce courriel que si n?cessaire. Le pr?sent courriel peut contenir des renseignements confidentiels et ne s?adresse qu?au(x) destinataire(s) indiqu?(s) ci-dessus. Si ce courriel vous est parvenu par erreur, veuillez le supprimer et nous en aviser aussit?t. Merci. De : ZendTo > De la part de Dean Sherwood via ZendTo Envoy? : lundi 18 octobre 2021 09:42 ? : zendto at zend.to Cc : Dean Sherwood > Objet : [ZendTo] ClamAV error Dear all We updated our Ubuntu 18.04.6 LTS server with below commands and now have the upload error ?The attempt to virus-scan your drop-off failed. Please notify the system administrator.? sudo apt update sudo apt upgrade --- Checking the clamav service we see systemctl status clamav-daemon.service ? clamav-daemon.service - Clam AntiVirus userspace daemon Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled; vendor preset: enabled) Drop-In: /etc/systemd/system/clamav-daemon.service.d ??extend.conf Active: failed (Result: exit-code) since Mon 2021-09-27 11:33:58 +07; 3min 59s ago Docs: man:clamd(8) man:clamd.conf(5) Process: 1323 ExecStart=/usr/sbin/clamd --foreground=true (code=exited, status=1/FAILURE) Process: 1317 ExecStartPre=/bin/chown clamav /run/clamav (code=exited, status=0/SUCCESS) Process: 1097 ExecStartPre=/bin/mkdir -p /run/clamav (code=exited, status=0/SUCCESS) Main PID: 1323 (code=exited, status=1/FAILURE) Sep 27 11:33:51 zend2 systemd[1]: Starting Clam AntiVirus userspace daemon... Sep 27 11:33:53 zend2 systemd[1]: Started Clam AntiVirus userspace daemon. Sep 27 11:33:58 zend2 systemd[1]: clamav-daemon.service: Main process exited, code=exited, status=1/FAILURE Sep 27 11:33:58 zend2 clamd[1323]: ERROR: lchown to user 'clamav' failed on Sep 27 11:33:58 zend2 clamd[1323]: log file '/var/log/clamav/clamav.log'. Sep 27 11:33:58 zend2 clamd[1323]: Error was 'Operation not permitted' Sep 27 11:33:58 zend2 clamd[1323]: Mon Sep 27 11:33:58 2021 -> ^lchown to user 'clamav' failed on log file '/var/log/clamav/clamav.log'. Error was 'Operation not permitted' Sep 27 11:33:58 zend2 systemd[1]: clamav-daemon.service: Failed with result 'exit-code'. --- Reinstalled and skipped all parts except for ?Install and configure virus scanner, including SELinux and AppArmor support for it.? Become root with "su -" if using CentOS, RedHat, Debian or SuSE, or "sudo su -" if using Ubuntu. Download the installer: curl -O zend.to path Unpack it and cd into it: tar xzf install.ZendTo.tgz cd install.ZendTo Run the installer: ./install.sh ================================================================= Install and configure ClamAV ================================================================= Installing ClamAV packages Reading package lists... Done Building dependency tree Reading state information... Done clamav is already the newest version (0.103.2+dfsg-0ubuntu0.18.04.2). clamav-daemon is already the newest version (0.103.2+dfsg-0ubuntu0.18.04.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Making clamd notice new signatures much faster Stop freshclam daemon so we can update signatures Updating signatures 1. Ignore errors about not being able to notify clamd 2. Expect a delay after downloading main.cvd 3. Expect a long delay after downloading daily.cvd WARNING: Ignoring deprecated option SafeBrowsing at /etc/clamav/freshclam.conf:22 Mon Sep 27 11:32:42 2021 -> ClamAV update process started at Mon Sep 27 11:32:42 2021 Mon Sep 27 11:32:42 2021 -> ^Your ClamAV installation is OUTDATED! Mon Sep 27 11:32:42 2021 -> ^Local version: 0.103.2 Recommended version: 0.103.3 Mon Sep 27 11:32:42 2021 -> DON'T PANIC! Read Mon Sep 27 11:32:42 2021 -> daily.cld database is up-to-date (version: 26304, sigs: 1936445, f-level: 90, builder: raynman) Mon Sep 27 11:32:42 2021 -> main.cld database is up-to-date (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr) Mon Sep 27 11:32:42 2021 -> bytecode.cld database is up-to-date (version: 333, sigs: 92, f-level: 63, builder: awillia2) Allowing ClamAV to read Apache files Allowing ClamAV through AppArmor to read ZendTo uploads No need, already done. Ubuntu 18: may need to work around a bug in the clamd AppArmor profile Good, they have fixed it. No change needed * Unloading AppArmor profiles [ OK ] [ ok ] Starting apparmor (via systemctl): apparmor.service. [ ok ] Reloading apparmor configuration (via systemctl): apparmor.service. I am going to have to override the systemd definition for apache2 so it starts up with PrivateTmp=false. I am creating /etc/systemd/system/apache2.service.d/PrivateTmp_zendto.conf And tell systemd about the change Starting ClamAV and freshclam daemons ClamAV has been setup for you to work with ZendTo. --- However we still have the upload error ?The attempt to virus-scan your drop-off failed. Please notify the system administrator.? Best regards, Dean -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2631 bytes Desc: image001.jpg URL: From ssilva at sgvwater.com Thu Oct 21 19:12:21 2021 From: ssilva at sgvwater.com (Scott Silva) Date: Thu, 21 Oct 2021 18:12:21 +0000 Subject: [ZendTo] ClamAV error In-Reply-To: References: <1c07214f76544cceb2a352f8aeefcb0e@sgvwater.com> Message-ID: Nevermind? A reboot seemed to clear this up? Not used to having to reboot a linux box after an update unless there is a kernel update? From: ZendTo On Behalf Of Scott Silva via ZendTo Sent: Thursday, October 21, 2021 10:35 AM To: ZendTo Users Cc: Scott Silva Subject: Re: [ZendTo] ClamAV error Getting this error now on a Centos 7 system Trying to see if there is some equivalent fix like the apparmour fix for Ubuntu, but I assume with SELinux From: ZendTo > On Behalf Of HILLENBRAND Marita via ZendTo Sent: Monday, October 18, 2021 3:20 AM To: ZendTo Users > Cc: HILLENBRAND Marita > Subject: Re: [ZendTo] ClamAV error Dear all, I have also the problem, I updated our Ubuntu 18.04.5 LTS (en root) with the commands below and got the upload error ?The attempt to virus-scan your drop-off failed. Please notify the system administrator.? apt update apt upgrade zendto # systemctl status clamav-daemon ? clamav-daemon.service - Clam AntiVirus userspace daemon Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled; vendor preset: enabled) Drop-In: /etc/systemd/system/clamav-daemon.service.d ??extend.conf Active: failed (Result: exit-code) since Mon 2021-10-18 11:32:57 CEST; 28min ago Docs: man:clamd(8) man:clamd.conf(5) https://www.clamav.net/documents/ Main PID: 11391 (code=exited, status=1/FAILURE) oct. 18 11:32:56 sv-ctm-zendto systemd[1]: Stopped Clam AntiVirus userspace daemon. oct. 18 11:32:56 sv-ctm-zendto systemd[1]: Starting Clam AntiVirus userspace daemon... oct. 18 11:32:56 sv-ctm-zendto systemd[1]: Started Clam AntiVirus userspace daemon. oct. 18 11:32:57 sv-ctm-zendto clamd[11391]: ERROR: lchown to user 'clamav' failed on oct. 18 11:32:57 sv-ctm-zendto clamd[11391]: log file '/var/log/clamav/clamav.log'. oct. 18 11:32:57 sv-ctm-zendto clamd[11391]: Error was 'Operation not permitted' oct. 18 11:32:57 sv-ctm-zendto clamd[11391]: Mon Oct 18 11:32:57 2021 -> ^lchown to user 'clamav' failed on log file '/var/log/clamav/clamav.log'. Erro oct. 18 11:32:57 sv-ctm-zendto systemd[1]: clamav-daemon.service: Main process exited, code=exited, status=1/FAILURE oct. 18 11:32:57 sv-ctm-zendto systemd[1]: clamav-daemon.service: Failed with result 'exit-code'. I got back to the old version for now, but I suspect, I need to update the system to make the let?s encrypt certificate function. Best regards, Marita HILLENBRAND Service Informatique Centre Administratif et Technique 130, avenue Charles de Gaulle - 91230 Montgeron T?l : 01 70 58 93 40 Port : 06 24 04 43 58 www.montgeron.fr [cid:image001.jpg at 01D7C66C.676244E0] Participez, vous aussi, ? la protection de l'environnement en n'imprimant ce courriel que si n?cessaire. Le pr?sent courriel peut contenir des renseignements confidentiels et ne s?adresse qu?au(x) destinataire(s) indiqu?(s) ci-dessus. Si ce courriel vous est parvenu par erreur, veuillez le supprimer et nous en aviser aussit?t. Merci. De : ZendTo > De la part de Dean Sherwood via ZendTo Envoy? : lundi 18 octobre 2021 09:42 ? : zendto at zend.to Cc : Dean Sherwood > Objet : [ZendTo] ClamAV error Dear all We updated our Ubuntu 18.04.6 LTS server with below commands and now have the upload error ?The attempt to virus-scan your drop-off failed. Please notify the system administrator.? sudo apt update sudo apt upgrade --- Checking the clamav service we see systemctl status clamav-daemon.service ? clamav-daemon.service - Clam AntiVirus userspace daemon Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled; vendor preset: enabled) Drop-In: /etc/systemd/system/clamav-daemon.service.d ??extend.conf Active: failed (Result: exit-code) since Mon 2021-09-27 11:33:58 +07; 3min 59s ago Docs: man:clamd(8) man:clamd.conf(5) Process: 1323 ExecStart=/usr/sbin/clamd --foreground=true (code=exited, status=1/FAILURE) Process: 1317 ExecStartPre=/bin/chown clamav /run/clamav (code=exited, status=0/SUCCESS) Process: 1097 ExecStartPre=/bin/mkdir -p /run/clamav (code=exited, status=0/SUCCESS) Main PID: 1323 (code=exited, status=1/FAILURE) Sep 27 11:33:51 zend2 systemd[1]: Starting Clam AntiVirus userspace daemon... Sep 27 11:33:53 zend2 systemd[1]: Started Clam AntiVirus userspace daemon. Sep 27 11:33:58 zend2 systemd[1]: clamav-daemon.service: Main process exited, code=exited, status=1/FAILURE Sep 27 11:33:58 zend2 clamd[1323]: ERROR: lchown to user 'clamav' failed on Sep 27 11:33:58 zend2 clamd[1323]: log file '/var/log/clamav/clamav.log'. Sep 27 11:33:58 zend2 clamd[1323]: Error was 'Operation not permitted' Sep 27 11:33:58 zend2 clamd[1323]: Mon Sep 27 11:33:58 2021 -> ^lchown to user 'clamav' failed on log file '/var/log/clamav/clamav.log'. Error was 'Operation not permitted' Sep 27 11:33:58 zend2 systemd[1]: clamav-daemon.service: Failed with result 'exit-code'. --- Reinstalled and skipped all parts except for ?Install and configure virus scanner, including SELinux and AppArmor support for it.? Become root with "su -" if using CentOS, RedHat, Debian or SuSE, or "sudo su -" if using Ubuntu. Download the installer: curl -O zend.to path Unpack it and cd into it: tar xzf install.ZendTo.tgz cd install.ZendTo Run the installer: ./install.sh ================================================================= Install and configure ClamAV ================================================================= Installing ClamAV packages Reading package lists... Done Building dependency tree Reading state information... Done clamav is already the newest version (0.103.2+dfsg-0ubuntu0.18.04.2). clamav-daemon is already the newest version (0.103.2+dfsg-0ubuntu0.18.04.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Making clamd notice new signatures much faster Stop freshclam daemon so we can update signatures Updating signatures 1. Ignore errors about not being able to notify clamd 2. Expect a delay after downloading main.cvd 3. Expect a long delay after downloading daily.cvd WARNING: Ignoring deprecated option SafeBrowsing at /etc/clamav/freshclam.conf:22 Mon Sep 27 11:32:42 2021 -> ClamAV update process started at Mon Sep 27 11:32:42 2021 Mon Sep 27 11:32:42 2021 -> ^Your ClamAV installation is OUTDATED! Mon Sep 27 11:32:42 2021 -> ^Local version: 0.103.2 Recommended version: 0.103.3 Mon Sep 27 11:32:42 2021 -> DON'T PANIC! Read Mon Sep 27 11:32:42 2021 -> daily.cld database is up-to-date (version: 26304, sigs: 1936445, f-level: 90, builder: raynman) Mon Sep 27 11:32:42 2021 -> main.cld database is up-to-date (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr) Mon Sep 27 11:32:42 2021 -> bytecode.cld database is up-to-date (version: 333, sigs: 92, f-level: 63, builder: awillia2) Allowing ClamAV to read Apache files Allowing ClamAV through AppArmor to read ZendTo uploads No need, already done. Ubuntu 18: may need to work around a bug in the clamd AppArmor profile Good, they have fixed it. No change needed * Unloading AppArmor profiles [ OK ] [ ok ] Starting apparmor (via systemctl): apparmor.service. [ ok ] Reloading apparmor configuration (via systemctl): apparmor.service. I am going to have to override the systemd definition for apache2 so it starts up with PrivateTmp=false. I am creating /etc/systemd/system/apache2.service.d/PrivateTmp_zendto.conf And tell systemd about the change Starting ClamAV and freshclam daemons ClamAV has been setup for you to work with ZendTo. --- However we still have the upload error ?The attempt to virus-scan your drop-off failed. Please notify the system administrator.? Best regards, Dean -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2631 bytes Desc: image001.jpg URL: