Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion RHEL/CentOS
  • Search

Cron errors

RHEL/CentOS related topics
Post Reply
  • Print view
Advanced search
7 posts • Page 1 of 1
leisegang
Posts: 64
Joined: Mon Feb 29, 2016 7:24 pm

Cron errors
  • Quote

Post by leisegang » Sun May 01, 2016 6:58 pm

I get some errors and mail like 20 times a day. i have tried to fix them myself but its not working.

Code: Select all

ERROR: Can't create temporary directory /var/lib/clamav/clamav-f3a4f7a87c46a7950462f2cdacb141af.tmp

Code: Select all

/etc/cron.hourly/0yum-hourly.cron:

Could not get metalink https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64 error was
12: Timeout on https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64: (28, 'timed out before SSL handshake')

Code: Select all

error: gpg required but not found!  It is not recommended, but you can use "sa-update" with the --no-gpg to skip the verification.
29-Apr-2016 05:52:26: SpamAssassin: Problem applying update - pre files failed lint check

How do i fix these?
Last edited by leisegang on Mon May 02, 2016 8:29 pm, edited 1 time in total.
Top

Falzo
Posts: 60
Joined: Mon Mar 28, 2016 8:49 am

Re: Cron errors
  • Quote

Post by Falzo » Mon May 02, 2016 8:10 pm

for the last one probably just install gnugpg ?

the first one probably is related to freshclam (the updater of clamav) try running freshclam via cli to gather more info if possible or see if this works at least. check the ownership and permissions on /var/lib/clamav

the second I can't tell much, as I am not into centos/fedora, but as the url seems to work I suggest running yum update by hand to see the output and wwhat may be the matter. try wget the url to gather more infos.
Top

leisegang
Posts: 64
Joined: Mon Feb 29, 2016 7:24 pm

Re: Cron errors
  • Quote

Post by leisegang » Mon May 02, 2016 8:14 pm

Package gnupg2-2.0.22-3.el7.x86_64 already installed and latest version
Top

Falzo
Posts: 60
Joined: Mon Mar 28, 2016 8:49 am

Re: Cron errors
  • Quote

Post by Falzo » Mon May 02, 2016 8:26 pm

hmm, just try running gpg from console, what do you get as result? may be some libraries are missing? also try running sa-update --verbose manually...
Top

leisegang
Posts: 64
Joined: Mon Feb 29, 2016 7:24 pm

Re: Cron errors
  • Quote

Post by leisegang » Mon May 02, 2016 8:29 pm

Code: Select all

error: gpg required but not found!  It is not recommended, but you can use "sa-update" with the --no-gpg to skip the verification. 
Top

Falzo
Posts: 60
Joined: Mon Mar 28, 2016 8:49 am

Re: Cron errors
  • Quote

Post by Falzo » Mon May 02, 2016 9:03 pm

that's not much :( and to run gpg from console does work? could you run 'which gpg' to see where it is located? maybe the path isn't included for spamassassin...
Top

leisegang
Posts: 64
Joined: Mon Feb 29, 2016 7:24 pm

Re: Cron errors
  • Quote

Post by leisegang » Sun May 08, 2016 6:35 am

I fixed this one:

Code: Select all

ERROR: Can't create temporary directory /var/lib/clamav/clamav-f3a4f7a87c46a7950462f2cdacb141af.tmp
using:
chown 1001:1001 /var/lib/clamav & chmod 755 /var/lib/clamav

---------------------

I fixed this one:

Code: Select all

error: gpg required but not found!  It is not recommended, but you can use "sa-update" with the --no-gpg to skip the verification.
29-Apr-2016 05:52:26: SpamAssassin: Problem applying update - pre files failed lint check
using:

Code: Select all

ln -sf /usr/bin/gpg /usr/sbin/gpg
Top


Post Reply
  • Print view

7 posts • Page 1 of 1

Return to “RHEL/CentOS”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password