Plesk 12.0.11 - Fail2Ban error - when enabling first time
Dominor, is this problem actual for Plesk 12.0.12? Switching on works well on one of our demo servers - Plesk 12.0.12 demo
Plesk 12.0.11 - Fail2Ban error - when enabling first time
Dominor, is this problem actual for Plesk 12.0.12? Switching on works well on one of our demo servers - Plesk 12.0.12 demo
Dominor, is this problem actual for Plesk 12.0.12? Switching on works well on one of our demo servers - Plesk 12.0.12 demo
ERROR: PleskUtilException: f2bmng failed: service fail2ban supports chkconfig, but is not referenced in any runlevel (run 'chkconfig --add fail2ban') ERROR:f2bmng:Command '['/sbin/chkconfig', '--list', 'fail2ban']' returned non-zero exit status 1 (Agent.php:231)
Dominor, is this problem actual for Plesk 12.0.12? Switching on works well on one of our demo servers - Plesk 12.0.12 demo
try on Ubuntu 12.04.4 LTS clean install
It spits out errors only at very first time when enabling all Fail2ban jails.
can you specify the list of plesk components or installation type on your server?
do you have horde component installed?
What's the purpose of enabling all jails if some of them correspond to services that cannot even be installed together (like QMail and Postfix)?
/etc/cron.daily/logrotate:
error: mod_security:1 duplicate log entry for /var/log/apache2/modsec_audit.log
error: found error in /var/log/apache2/modsec_audit.log , skipping
Reopen NGINX log files: ...done.
I'm not sure that it will work without any unpredictable consequences. I would not risk.Quick question regarding Fail2Ban..
If I have installed Fail2Ban (from ubuntu repo) on Ubuntu 12.04.4 LTS running Plesk 11.5.30 #36 am I likely to experience any issues if I then upgrade to Plesk 12 (when released) and enable Fail2Ban within Plesk later.
From what I can tell on my Ubuntu 12.04.4 LTS, Plesk 12 server it's the version from the Ubuntu repo, so it should just add the plesk jails etc and overwrite the current.
Thanks in advance for any info.
Kind regards
Lloyd
Quick question regarding Fail2Ban..
If I have installed Fail2Ban (from ubuntu repo) on Ubuntu 12.04.4 LTS running Plesk 11.5.30 #36 am I likely to experience any issues if I then upgrade to Plesk 12 (when released) and enable Fail2Ban within Plesk later.
From what I can tell on my Ubuntu 12.04.4 LTS, Plesk 12 server it's the version from the Ubuntu repo, so it should just add the plesk jails etc and overwrite the current.
We develop with consideration of pre-installed fail2ban. So it shall work in final 12.0 and we test it.
START wpb-headers-12.0.0-42893.14030720 installing (deb action: configure) AT Wed Mar 12 08:34:05 GMT 2014
Trying to start service mysql... /usr/sbin/mysqld (pid 1115) is running...
done
Trying to establish test connection... connected
done
done
**** Package wpb-headers scriptlet completed successfully.
STOP wpb-headers-12.0.0-42893.14030720 installing (deb action: configure) AT Wed Mar 12 08:34:09 GMT 2014
While I'm here, I ran the update to 12.0.11 (from 12.0.10) when released but something appears to have gone wrong/not applied as it still shows 12.0.10 on the Panel homepage, and under Tools & Settings -> Server Components
Sure, here we go..
export PLESK_INSTALLER_VERBOSE=1
P.S. may be it is better to upgrade to 12.0.12?
plesk installer install-all-updates
plesk installer install-panel-updates
At first - your Fail2ban Plesk module should hide Jails for those services which are not installed - otherwise it's confusing - why to show jails for those services which are not installed, just make them hidden; also hide and automaticaly disable each related jail if any of related process(es)/services/components were uninstalled - for example if I uninstall dovecot and install courier - fail2ban jail for dovecot should be automaticaly disabled and just hidden from jails list and courier jail should appear on jails list but not activated automaticaly, same example with roundcube, horde and other components - if they're not installed - hide them, disable them automatically.