constant restart
Rick Gutierrez
xserverlinux at gmail.com
Wed Aug 21 03:38:38 UTC 2019
El mar., 20 ago. 2019 a las 21:27, Mark Sapiro (<mark at msapiro.net>) escribió:
>
>
> What about `ls -ld /var/run/clamav/ /var/run/`
ls -ld /var/run/clamav/ /var/run/
ls: cannot access /var/run/clamav/: No such file or directory
drwxr-xr-x 27 root root 720 Aug 20 09:06 /var/run/
>
> What is the setting for Incoming Work Group in your MailScanner config,
> i.e. `ms-peek 'Incoming Work Group' /etc/MailScanner/MailScanner.conf`?
Incoming Work User =
Incoming Work Group = clamscan
>
> I suspect from the fact the `MailScanner --lint` says
>
> MailScanner setting UID to (89)
>
> but nothing about
>
> MailScanner setting GID
>
> that it's unset. It should be
>
> Incoming Work Group = mtagroup
I made the change, putting that option, but the same
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.
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.
Virus Scanning: No virus scanne
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 21:35:21 CST; 1min 46s ago
Docs: man:systemd-sysv-generator(8)
Process: 3279 ExecStop=/usr/lib/MailScanner/init/ms-init stop
(code=exited, status=0/SUCCESS)
Process: 3315 ExecStart=/usr/lib/MailScanner/init/ms-init start
(code=exited, status=0/SUCCESS)
Main PID: 3859 (MailScanner: st)
CGroup: /system.slice/mailscanner.service
├─3859 MailScanner: starting child
├─3875 MailScanner: scanning for filenames and filetypes
├─3878 MailScanner: scanning for filenames and filetypes
└─3883 MailScanner: scanning for filenames and filetypes
Aug 20 21:36:56 MailScanner[3883]: Virus Scanning: No virus scanners
worked, so message batch will be tried again
Aug 20 21:37:04 MailScanner[3875]: Cannot lock
/var/lock/subsys/clamavBusy.lock, No such file or directory
Aug 20 21:37:04 MailScanner[4205]: Cannot find Socket
(/var/run/clamd.scan/clamd.sock) Exiting!
Aug 20 21:37:04 MailScanner[3875]: Virus Scanning: No virus scanners
worked, so message batch will be tried again
Aug 20 21:37:05 MailScanner[3878]: Cannot lock
/var/lock/subsys/clamavBusy.lock, No such file or directory
Aug 20 21:37:05 MailScanner[4207]: Cannot find Socket
(/var/run/clamd.scan/clamd.sock) Exiting!
Aug 20 21:37:05 MailScanner[3878]: Virus Scanning: No virus scanners
worked, so message batch will be tr
--
rickygm
http://gnuforever.homelinux.com
More information about the MailScanner
mailing list