Efa4 timeout issues solution

Bugs in eFa 4
Post Reply
henk
Posts: 395
Joined: 14 Dec 2015 22:16
Location: Netherlands
Contact:

Efa4 timeout issues solution

Post by henk » 23 Aug 2019 18:01

Testing the latest Efa4 version results in 2 minor issues
The issue is created by rpmbuild/SOURCES/eFa-4.0.0/updates/update-4.0.0.sh due a wrong section name. ( commit-id 6dd91d0)
Errors in var/log/messages:
1. /etc/systemd/system/mariadb.service.d/override.conf:1] Unknown section 'System'. Ignoring.
2. ]systemd[1]: [/etc/systemd/system/clamd@scan.service.d/override.conf:1] Unknown section 'System'. Ignoring.

This can be fixed by changing lines 513 and 523 from [System] -> [Service]

Temp solution
1.

Code: Select all

/etc/systemd/system/mariadb.service.d/override.conf

Code: Select all

[Service]
TimeoutSec=900
Reload deamon / Restart and Check

Code: Select all

systemctl daemon-reload
systemctl stop mariadb
systemctl start mariadb
systemctl status mariadb
2.

Code: Select all

/etc/systemd/system/clamd@scan.service.d/override.conf

Code: Select all

[Service]
TimeoutSec=900
Reload deamon en restart

Code: Select all

systemctl daemon-reload


And a different error for msmilter
3. Message in var/log/messages
msmilter-init: /usr/lib/MailScanner/init/msmilter-init: line 68: MilterPIDFile: command not found

Solution: Added the QUICKPEEK varible and value

Code: Select all

/usr/lib/MailScanner/init/msmilter-init

Code: Select all

PATH=$PATH:/usr/sbin:/usr/bin:/bin:/sbin
export PATH
NAME=MSMilter
DAEMON=/usr/sbin/MSMilter
QUICKPEEK=/usr/sbin/ms-peek       
ms_conf=/etc/MailScanner/MailScanner.conf

Code: Select all

systemctl daemon-reload

Post Reply