Install on fresh CentOS 7 server fails because of missing clamav package
Closed, ResolvedPublic


When installing Kolab 16 on a fresh CentOS 7 server, the installation fails with the following message (preceding lines added for more clarity):

Cyrus Administrator password [aTqWFPFl3ugBJFT]:

Please supply a Kolab Service account password. This account is used by various
services such as Postfix, and Roundcube, as anonymous binds to the LDAP server
will not be allowed.

Kolab Service password [SP9us9Uz_eoPne-]:
Traceback (most recent call last):
  File "/usr/sbin/setup-kolab", line 43, in <module>
  File "/usr/lib/python2.7/site-packages/pykolab/setup/", line 74, in run
  File "/usr/lib/python2.7/site-packages/pykolab/setup/", line 170, in execute
  File "/usr/lib/python2.7/site-packages/pykolab/setup/", line 202, in execute
    components[component_name]['function'](conf.cli_args, kw)
  File "/usr/lib/python2.7/site-packages/pykolab/setup/", line 478, in execute
  File "/usr/lib64/python2.7/", line 524, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib64/python2.7/", line 711, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

I've been able to trace this back to the absence of the freshclam command, which is currently in the clamav-update package in EPEL.
When installing clamav-update prior to running setup-kolab, the installation succeeds.

Related pykolab version:



Ticket Type

Event Timeline

RPDiep created this task.Oct 11 2016, 1:42 PM
machniak added subscribers: vanmeeuwen, machniak.

clamav-update package is required dependency of kolab-16.0.1-3 according to So, this probably is fixed already. @vanmeeuwen ?

vanmeeuwen lowered the priority of this task from 60 to Normal.Mar 28 2019, 8:12 AM
machniak closed this task as Resolved.Jul 5 2019, 9:54 AM
machniak claimed this task.