Centova & CSF/LFD Firewall

Centova can be installed with cPanel/WHM. but if you are using CSF, you will have to add the needed ports:

https://centova.com/en/faq/cast3/information/configuring_a_firewall_for_centova_cast

However, This is not enough. Centova error:

 Unable to access account for username: Cluster host connection failure for Local server: Connection refused (111)

because LFD may block Centova daemons. If you are using WHM, check ConfigServer Security & Firewall > Watch system logs of lfd (/var/log/lfd.log).

You may see errors like:

lfd[27036]: *User Processing* PID:18725 Kill:1 User:ccuser Time:1807 EXE:/usr/local/centovacast/ices/bin/ices CMD:/usr/local/centovacast/ices//bin ices -c ../username/etc/source.conf

lfd[30591]: *User Processing* PID:22044 Kill:1 User:ccuser Time:1823 EXE:/usr/local/centovacast/sbin/cc-comet CMD:/usr/local/centovacast/sbin/cc-comet -d -u ccuser -g ccuser /usr/local/centovacast/etc/cc-comet.conf

lfd[30591]: *User Processing* PID:22037 Kill:1 User:ccuser Time:1823 EXE:/usr/local/centovacast/sbin/cc-control CMD:cc-control [rpc]

Therefore an exception has to be made for LFD by editing /etc/csf/csf.pignore (process ignore):

exe:/usr/local/icecast/bin/icecast
exe:/usr/local/centovacast/ices/bin/ices
exe:/usr/local/centovacast/sbin/cc-comet
exe:/usr/local/centovacast/sbin/cc-control

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *