Page MenuHomekolab.org

Install on fresh CentOS 7 server fails because of missing clamav package
Open, NormalPublic

Description

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:

pykolab-0.8.5-1.1.el7.kolab_16.noarch

Details

Ticket Type
Task

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 https://obs.kolabsys.com/package/rdiff/Kolab:16/kolab?linkrev=base&rev=9 So, this probably is fixed already. @vanmeeuwen ?

vanmeeuwen lowered the priority of this task from 60 to Normal.Mar 28 2019, 8:12 AM