constant restart

Thom van der Boon thom at
Wed Aug 21 05:30:42 UTC 2019


Did you disable selinux on CentOS (and reboot)? 
What is the permission and filetype of the clamd.sock : ls -lah /var/run/clamd.scan/clamd.sock 
clamd can be running, but at what port is it listening? netstat -ln 
Disable your firewall temporary, restart MailScanner and run Mailscanner --lint 

Met vriendelijke groet, Best regards, 

Thom van der Boon 
E-Mail: thom at 


Thom.H. van der Boon b.v. 
Transito 4 
6909 DA Babberich 
Tel.: [ tel:+31884272727 | +31 (0)88 4272727 ] 
Fax: +31 (0)88 4272789 
Home Page: 

Van: "Rick Gutierrez" <xserverlinux at> 
Aan: "MailScanner Discussion" <mailscanner at> 
Verzonden: Woensdag 21 augustus 2019 03:58:05 
Onderwerp: Re: constant restart 

El mar., 20 ago. 2019 a las 18:15, Mark Sapiro (<mark at>) escribió: 

> This is the issue. Is clamd even running? If so, where is it listening? 
> The clamd socket path defined in clamd.conf as `LocalSocket` must match 
> the path defined by `Clamd Socket` in your MailScanner config. 

Hi mark, clamd is running , 

● clamd at scan.service - Generic clamav scanner daemon 
Loaded: loaded (/usr/lib/systemd/system/clamd at scan.service; 
enabled; vendor preset: disabled) 
Active: active (running) since Tue 2019-08-20 09:03:06 CST; 10h ago 
Docs: man:clamd(8) 
Process: 820 ExecStart=/usr/sbin/clamd -c /etc/clamd.d/%i.conf 
(code=exited, status=0/SUCCESS) 
Main PID: 7765 (clamd) 
CGroup: /system.slice/system-clamd.slice/clamd at scan.service 
└─7765 /usr/sbin/clamd -c /etc/clamd.d/scan.conf 

Aug 20 18:17:29 clamd[7765]: SelfCheck: Database status OK. 
Aug 20 18:27:29 clamd[7765]: SelfCheck: Database status OK. 

LocalSocket /var/run/clamd.scan/clamd.sock 


Clamd Port = 3310 
Clamd Socket = /var/run/clamd.scan/clamd.sock 
Clamd Lock File = # /var/lock/subsys/clamd 
Clamd Use Threads = no 



MailScanner mailing list 
mailscanner at 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the MailScanner mailing list