You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Stéphane Maarek <st...@gmail.com> on 2016/04/27 11:26:43 UTC
Apache NiFi with Fail2Ban
Hi,
I think I have messed something up and I need some help
I downloaded and untar nifi on my raspberry pi.
Then I installed the service which is working (I can access nifi through my
browser)
Now something I can't do is the following:
sudo apt-get install fail2ban
How can I cleanly remove the nifi service and maybe solve that issue?
pi@raspberrypi:~/nifi-0.6.1 $ sudo apt-get install fail2ban
Reading package lists... Done
Building dependency tree
Reading state information... Done
fail2ban is already the newest version.
The following packages were automatically installed and are no longer
required:
libasn1-8-heimdal libgssapi3-heimdal libhcrypto4-heimdal
libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal
libkrb5-26-heimdal libroken18-heimdal libwind0-heimdal pypy-upstream-doc
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up fail2ban (0.8.13-1) ...
insserv: warning: script 'S65nifi' missing LSB tags and overrides
insserv: warning: script 'nifi' missing LSB tags and overrides
insserv: Starting nifi depends on rmnologin and therefore on system
facility `$all' which can not be true!
insserv: Starting nifi depends on rmnologin and therefore on system
facility `$all' which can not be true!
insserv: Starting nifi depends on rmnologin and therefore on system
facility `$all' which can not be true!
insserv: There is a loop between service nifi and rmnologin if started
insserv: loop involving service rmnologin at depth 6
insserv: loop involving service nifi at depth 1
insserv: Starting nifi depends on rmnologin and therefore on system
facility `$all' which can not be true!
insserv: Starting nifi depends on rmnologin and therefore on system
facility `$all' which can not be true!
insserv: There is a loop between service nifi and rmnologin if started
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package fail2ban (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
fail2ban
E: Sub-process /usr/bin/dpkg returned an error code (1)
Regards,
Stephane
Re: Apache NiFi with Fail2Ban
Posted by Mark Payne <ma...@hotmail.com>.
Stephane,
You should be able to uninstall the nifi service manually by removing the following files:
/etc/rc2.d/S65nifi
/etc/init.d/nifi
/etc/rc2.d/K65nifi
Thanks
-Mark
> On Apr 27, 2016, at 5:26 AM, Stéphane Maarek <st...@gmail.com> wrote:
>
> Hi,
>
> I think I have messed something up and I need some help
> I downloaded and untar nifi on my raspberry pi.
> Then I installed the service which is working (I can access nifi through my browser)
> Now something I can't do is the following:
> sudo apt-get install fail2ban
>
> How can I cleanly remove the nifi service and maybe solve that issue?
>
> pi@raspberrypi:~/nifi-0.6.1 $ sudo apt-get install fail2ban
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> fail2ban is already the newest version.
> The following packages were automatically installed and are no longer required:
> libasn1-8-heimdal libgssapi3-heimdal libhcrypto4-heimdal
> libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal
> libkrb5-26-heimdal libroken18-heimdal libwind0-heimdal pypy-upstream-doc
> Use 'apt-get autoremove' to remove them.
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> 1 not fully installed or removed.
> After this operation, 0 B of additional disk space will be used.
> Do you want to continue? [Y/n] Y
> Setting up fail2ban (0.8.13-1) ...
> insserv: warning: script 'S65nifi' missing LSB tags and overrides
> insserv: warning: script 'nifi' missing LSB tags and overrides
> insserv: Starting nifi depends on rmnologin and therefore on system facility `$all' which can not be true!
> insserv: Starting nifi depends on rmnologin and therefore on system facility `$all' which can not be true!
> insserv: Starting nifi depends on rmnologin and therefore on system facility `$all' which can not be true!
> insserv: There is a loop between service nifi and rmnologin if started
> insserv: loop involving service rmnologin at depth 6
> insserv: loop involving service nifi at depth 1
> insserv: Starting nifi depends on rmnologin and therefore on system facility `$all' which can not be true!
> insserv: Starting nifi depends on rmnologin and therefore on system facility `$all' which can not be true!
> insserv: There is a loop between service nifi and rmnologin if started
> insserv: exiting now without changing boot order!
> update-rc.d: error: insserv rejected the script header
> dpkg: error processing package fail2ban (--configure):
> subprocess installed post-installation script returned error exit status 1
> Errors were encountered while processing:
> fail2ban
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
> Regards,
> Stephane
>