On Mon, 2014-10-13 at 17:00 -0500, Cliff Hayes wrote:
> Did what you said and I can't touch a new temp file in
> /var/spool/MIMEDefang ... permission denied ... but clamd appears to be
> running as clamav
Your tests below should be expected to fail. mimedefang.pid is not
group-readable. And the
"touch" should never work in the spool directory - clamd is reading
files and deciding whether they are infected, so it should never try to
create a file. You have set the permissions to make the directory group
readable, not group writable, and this is correct.
You need to ensure that the spool
Did what you said and I can't touch a new temp file in
/var/spool/MIMEDefang ... permission denied ... but clamd appears to be
running as clamav
su -s /bin/bash clamav
bash-4.1$ cd /var/spool/MIMEDefang
bash-4.1$ ls -l
total 8
-rw-r- 1 defang defang 5 Oct 13 16:50 mimedefang-multiplexor.pid
On Mon, Oct 13, 2014 at 4:46 PM, Cliff Hayes wrote:
> Two problems:
>
> a) the shell for clamav is set to /sbin/nologin so I can't su to it ...
> should I change the shell?
You can do: "su -s /bin/bash clamav'.
> b) the email files clamd is trying to look at never stay on the server for
> more t
Two problems:
a) the shell for clamav is set to /sbin/nologin so I can't su to it ...
should I change the shell?
b) the email files clamd is trying to look at never stay on the server
for more than a second or two.
On 10/13/2014 4:42 PM, Les Mikesell wrote:
On Mon, Oct 13, 2014 at 4:30 PM,
And clamd is running as clamav?
And the clamav user has been added to the defang group?
And you've tried rebooting?
--
Richard
signature.asc
Description: This is a digitally signed message part
___
NOTE: If there is a disclaimer or other legal boile
On Mon, Oct 13, 2014 at 4:30 PM, Cliff Hayes wrote:
> restarted clamd; same error
>
> permissions for each directory up to and including /var/spool/MIMEDefang:
>
> drwxr-xr-x. 22 root root4096 Oct 7 14:55 var
> drwxr-xr-x. 14 root root 4096 Oct 7 12:49 spool
> drwxr-x--- 3 defang defang
restarted clamd; same error
permissions for each directory up to and including /var/spool/MIMEDefang:
drwxr-xr-x. 22 root root4096 Oct 7 14:55 var
drwxr-xr-x. 14 root root 4096 Oct 7 12:49 spool
drwxr-x--- 3 defang defang 4096 Oct 13 16:23 MIMEDefang
I tried 755 on MIMEDefang and st
On Mon, Oct 13, 2014 at 4:01 PM, Cliff Hayes wrote:
> Per other comments I removed all traces of previous clam installs and
> started over with binaries.
> Got clamd running as root and mimedefang running as defang - no problem.
> But I'd like to run clamd as clamav so I did your idea and added de
Per other comments I removed all traces of previous clam installs and
started over with binaries.
Got clamd running as root and mimedefang running as defang - no problem.
But I'd like to run clamd as clamav so I did your idea and added defang
to clamav as such: usermod -G defang clamav
So now c
On Sun, Oct 12, 2014 at 4:54 PM, Richard Laager wrote:
> On Sun, 2014-10-12 at 14:18 -0500, Cliff Hayes wrote:
>> I tried your idea.
>> I updated the following in clamd.conf:
>> LocalSocket /var/run/clamav/clamd.socket
>> PidFile /var/run/clamav/clamd.pid
>> User clamav
>>
>> Now I get this error
Hi there,
On Mon, 13 Oct 2014, Cliff Hayes wrote:
Now I get this error when starting clamd:
ERROR: Can't open/parse the config file /usr/local/etc/clamd.conf
I am starting as root as instructed in clamd.conf
I have gotten that error before ... it usually means there is a user issue.
That soun
12 matches
Mail list logo