Open AntoineBro opened 8 years ago
When running
kitchen converge all-options-enabled-centos-67
The chef client fails :
Recipe: clamav::services * service[clamd] action enable - enable service service[clamd] * service[clamd] action start ================================================================================ Error executing action `start` on resource 'service[clamd]' ================================================================================ Mixlib::ShellOut::ShellCommandFailed ------------------------------------ Expected process to exit with [0], but received '1' ---- Begin output of /sbin/service clamd start ---- STDOUT: Starting clamd: Closing the main socket. [FAILED] [FAILED] STDERR: LibClamAV Warning: ************************************************** LibClamAV Warning: *** The virus database is older than 7 days! *** LibClamAV Warning: *** Please update it as soon as possible. *** LibClamAV Warning: ************************************************** LibClamAV Error: Can't load /var/lib/clamav/main.cvd: Can't verify database integrity LibClamAV Error: cli_loaddbdir(): error loading database /var/lib/clamav/main.cvd ERROR: Can't verify database integrity ---- End output of /sbin/service clamd start ---- Ran /sbin/service clamd start returned 1
The second time the command is executed, the chef client run finishes successfully
Same thing happens on all CentOS all-options-enabled platforms , Ubuntu works fine though
When running
The chef client fails :
The second time the command is executed, the chef client run finishes successfully
Same thing happens on all CentOS all-options-enabled platforms , Ubuntu works fine though