Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kitchen converge failing on Centos #76

Open
AntoineBro opened this issue May 10, 2016 · 0 comments
Open

kitchen converge failing on Centos #76

AntoineBro opened this issue May 10, 2016 · 0 comments

Comments

@AntoineBro
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant