constant restart
Rick Gutierrez
xserverlinux at gmail.com
Tue Aug 20 14:46:19 UTC 2019
El lun., 19 ago. 2019 a las 20:45, Thom van der Boon (<thom at vdb.nl>) escribió:
>
> What is the output of MailScanner --lint ?
>
> Met vriendelijke groet, Best regards,
>
>
Hi thom , this is the output , I have been fighting with the
permissions and groups, in version 5.0.3 I did not have these problems
and corrected the antivirus by modifying this file as follows:
vim /usr/lib/tmpfiles.d/clamd.scan.conf
d /var/run/clamd.scan 0710 clamscan clamscan
but now it doesn't work for me, I found this thread
http://lists.mailscanner.info/pipermail/mailscanner/2017-October/104878.html
, and I did the test and neither, I'm using centos 7
[root at escm ~]# MailScanner --lint
Trying to setlogsock(unix)
Reading configuration file /etc/MailScanner/MailScanner.conf
Reading configuration file /etc/MailScanner/conf.d/README
Read 1500 hostnames from the phishing whitelist
Read 6788 hostnames from the phishing blacklists
Config: calling custom init function SQLBlacklist
Config: calling custom init function MailWatchLogging
Config: calling custom init function SQLWhitelist
Checking version numbers...
Version number in MailScanner.conf (5.1.3) is correct.
Your envelope_sender_header in spamassassin.conf is correct.
MailScanner setting UID to (89)
Checking for SpamAssassin errors (if you use it)...
Using SpamAssassin results cache
Connected to SpamAssassin cache database
SpamAssassin reported no errors.
Connected to Processing Attempts Database
Created Processing Attempts Database successfully
There are 465 messages in the Processing Attempts Database
Using locktype = posix
MailScanner.conf says "Virus Scanners = clamd"
Found these virus scanners installed: clamav
===========================================================================
Filename Checks: Windows/DOS Executable (1 eicar.com)
Other Checks: Found 1 problems
Virus and Content Scanning: Starting
Cannot find Socket (/var/run/clamd.scan/clamd.sock) Exiting! at
/usr/share/MailScanner/perl/MailScanner/SweepViruses.pm line 2159.
Virus Scanning: No virus scanners worked, so message batch will be
tried again at /usr/share/MailScanner/perl/MailScanner/SweepViruses.pm
line 506.
Cannot find Socket (/var/run/clamd.scan/clamd.sock) Exiting! at
/usr/share/MailScanner/perl/MailScanner/SweepViruses.pm line 2159.
Virus Scanning: No virus scanners worked, so message batch will be
tried again at /usr/share/MailScanner/perl/MailScanner/SweepViruses.pm
line 506.
Cannot find Socket (/var/run/clamd.scan/clamd.sock) Exiting! at
/usr/share/MailScanner/perl/MailScanner/SweepViruses.pm line 2159.
systemctl status mailscanner.service
● mailscanner.service - LSB: MailScanner daemon
Loaded: loaded (/usr/lib/MailScanner/init/ms-init; enabled; vendor
preset: disabled)
Active: active (running) since Tue 2019-08-20 08:39:15 CST; 2min 56s ago
Docs: man:systemd-sysv-generator(8)
Process: 11421 ExecStop=/usr/lib/MailScanner/init/ms-init stop
(code=exited, status=0/SUCCESS)
Process: 11489 ExecStart=/usr/lib/MailScanner/init/ms-init start
(code=exited, status=0/SUCCESS)
Main PID: 12033 (MailScanner: st)
CGroup: /system.slice/mailscanner.service
├─12033 MailScanner: starting child
├─12064 MailScanner: scanning for filenames and filetypes
├─12066 MailScanner: scanning for filenames and filetypes
└─12068 MailScanner: scanning for filenames and filetypes
MailScanner[12068]: Virus Scanning: No virus scanners worked, so
message batch will be tried again
MailScanner[12064]: Cannot lock /var/lock/subsys/clamavBusy.lock, No
such file or directory
MailScanner[12502]: Cannot find Socket
(/var/run/clamd.scan/clamd.sock) Exiting!
MailScanner[12064]: Virus Scanning: No virus scanners worked, so
message batch will be tried again
MailScanner[12066]: Cannot lock /var/lock/subsys/clamavBusy.lock, No
such file or directory
MailScanner[12506]: Cannot find Socket
(/var/run/clamd.scan/clamd.sock) Exiting!
MailScanner[12066]: Virus Scanning: No virus scanners worked, so
message batch will be tried again
MailScanner[12068]: Cannot lock /var/lock/subsys/clamavBusy.lock, No
such file or directory
MailScanner[12507]: Cannot find Socket (/var/run/clamd.scan/clamd.sock) Exiting!
MailScanner[12068]: Virus Scanning: No virus scanners worked, so
message batch will be tried again
--
rickygm
http://gnuforever.homelinux.com
More information about the MailScanner
mailing list