<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2017-06-29 3:17 GMT+02:00 Alex <span dir="ltr"><<a href="mailto:mysqlstudent@gmail.com" target="_blank">mysqlstudent@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
However, it still doesn't work. It still reports<br>
<br>
(!)Avira SAVAPI av-scanner FAILED: run_av error: All attempts (1)<br>
failed connecting to savapi:/var/tmp/.savapi3\n<br>
<br>
The savapi process is listening on that socket:<br>
# lsof <div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default"></div>/var/tmp/.savapi3<br>
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME<br>
savapi 17290 amavis 9u unix 0xffff9268134efc00 0t0 6897894<br>
/var/tmp/.savapi3 type=STREAM<br>
<br>
I'm running savapi as the amavis user with the following:<br>
<br>
$ ./savapi --no-spv -N --config=savapi.conf --key-file=MYKEY.KEY<br>
<br>
Is this how you're starting yours as well?<br>
<br>
When I run status, I get the following:<br>
<br>
# ./savapi --status<br>
SAVAPI service, running on the interface '/var/tmp/.savapi3:0', status<br>
check successful.<br>
<br>
Any other ideas of what else I might be doing wrong?<br>
<br>
Thanks,<br>
Alex<br>
</blockquote></div><br><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">Is SELinux enforcing?<br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"># getenforce<br><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">Please, show us "ls -lZ /var/tmp/.savapi3"<br><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">Creating the socket in /var/run/amavisd with the SELinux label antivirus_var_run_t will probably fix your issue.<br><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">Regards.<br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br><br></div><br></div></div>