Mailing List Archive

[clamav-users] LibClamAV Error: cli_gentempfd_with_prefix: Can't create temporary file /var/lib/clamav/tmp/clamav-79a31bb0e183db96d4b7b27484373a6e.tmp: No such file or directory
Since upgrading to 0.102.1+dfsg-0ubuntu0.18.04.2 this past Wednesday
I'm seeing the above error in my syslog. I see the same error if I set
the temporary path to /var/tmp

clamd[25154]: LibClamAV Error: cli_gentempfd_with_prefix: Can't create
temporary file /var/tmp/clamav-f297c096fb16292e8547120761d949f3.tmp:
Permission denied

Permissions for /var/tmp are
drwxrwxrwt 13 root root 12288 Jan 10 19:26 tmp

and for /var/lib/clamav
drwxrwxr-x 3 clamav clamav 4096 Jan 10 18:04 clamav

Any suggestions?

--
Chris
31.11972; -97.90167 (Elev. 1092 ft)
19:23:52 up 39 days, 10:06, 1 user, load average: 1.23, 0.92, 0.92
Description: Ubuntu 18.04.3 LTS, kernel 5.0.0-37-generic


_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] LibClamAV Error: cli_gentempfd_with_prefix: Can't create temporary file /var/lib/clamav/tmp/clamav-79a31bb0e183db96d4b7b27484373a6e.tmp: No such file or directory [ In reply to ]
Hi there,

On Fri, 10 Jan 2020, Chris via clamav-users wrote:

> Since upgrading to 0.102.1+dfsg-0ubuntu0.18.04.2 this past Wednesday
> I'm seeing the above error in my syslog. I see the same error if I set
> the temporary path to /var/tmp
>
> clamd[25154]: LibClamAV Error: cli_gentempfd_with_prefix: Can't create
> temporary file /var/tmp/clamav-f297c096fb16292e8547120761d949f3.tmp:
> Permission denied
>
> Permissions for /var/tmp are
> drwxrwxrwt 13 root root 12288 Jan 10 19:26 tmp
>
> and for /var/lib/clamav
> drwxrwxr-x 3 clamav clamav 4096 Jan 10 18:04 clamav
>
> Any suggestions?

Check the list archives, I think this has been discussed recently.

--

73,
Ged.

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] LibClamAV Error: cli_gentempfd_with_prefix: Can't create temporary file /var/lib/clamav/tmp/clamav-79a31bb0e183db96d4b7b27484373a6e.tmp: No such file or directory [ In reply to ]
On 11/01/2020 23:09, G.W. Haywood via clamav-users wrote:
> Hi there,
>
> On Fri, 10 Jan 2020, Chris via clamav-users wrote:
>
>> Since upgrading to 0.102.1+dfsg-0ubuntu0.18.04.2 this past Wednesday
>> I'm seeing the above error in my syslog. I see the same error if I set
>> the temporary path to /var/tmp
>>
>> clamd[25154]: LibClamAV Error: cli_gentempfd_with_prefix: Can't create
>> temporary file /var/tmp/clamav-f297c096fb16292e8547120761d949f3.tmp:
>> Permission denied
>>
>> Permissions for /var/tmp are
>> drwxrwxrwt  13 root root     12288 Jan 10 19:26 tmp
>>
>> and for /var/lib/clamav
>> drwxrwxr-x  3 clamav        clamav        4096 Jan 10 18:04 clamav
>>
>> Any suggestions?
>
> Check the list archives, I think this has been discussed recently.
>
I had a similar problem show up after I was fiddling around with a
working freshclam - stopping the various clam* daemons, counting to ten,
and re-starting them cleared the problem.

Cheers,
Gary B-)

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] LibClamAV Error: cli_gentempfd_with_prefix: Can't create temporary file /var/lib/clamav/tmp/clamav-79a31bb0e183db96d4b7b27484373a6e.tmp: No such file or directory [ In reply to ]
On Sat, 2020-01-11 at 12:09 +0000, G.W. Haywood via clamav-users wrote:
> Hi there,
>
> On Fri, 10 Jan 2020, Chris via clamav-users wrote:
>
> > Since upgrading to 0.102.1+dfsg-0ubuntu0.18.04.2 this past
> > Wednesday
> > I'm seeing the above error in my syslog. I see the same error if I
> > set
> > the temporary path to /var/tmp
> >
> > clamd[25154]: LibClamAV Error: cli_gentempfd_with_prefix: Can't
> > create
> > temporary file /var/tmp/clamav-
> > f297c096fb16292e8547120761d949f3.tmp:
> > Permission denied
> >
> > Permissions for /var/tmp are
> > drwxrwxrwt 13 root root 12288 Jan 10 19:26 tmp
> >
> > and for /var/lib/clamav
> > drwxrwxr-x 3 clamav clamav 4096 Jan 10 18:04 clamav
> >
> > Any suggestions?
>
> Check the list archives, I think this has been discussed recently.
>
I checked the archives and also Googled the error couldn't find
anything. Maybe I was using the incorrect search terms?

--
Chris
31.11972; -97.90167 (Elev. 1092 ft)
19:24:56 up 40 days, 10:07, 1 user, load average: 1.93, 0.99, 0.58
Description: Ubuntu 18.04.3 LTS, kernel 5.0.0-37-generic


_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml