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> setup.run() File "/usr/lib/python2.7/site-packages/pykolab/setup/__init__.py", line 74, in run components.execute('_'.join(to_execute)) File "/usr/lib/python2.7/site-packages/pykolab/setup/components.py", line 170, in execute execute(component) File "/usr/lib/python2.7/site-packages/pykolab/setup/components.py", line 202, in execute components[component_name]['function'](conf.cli_args, kw) File "/usr/lib/python2.7/site-packages/pykolab/setup/setup_mta.py", line 478, in execute '--datadir="/var/lib/clamav"' File "/usr/lib64/python2.7/subprocess.py", line 524, in call return Popen(*popenargs, **kwargs).wait() File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", 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: