[
https://issues.apache.org/jira/browse/NIFI-7192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17486157#comment-17486157
]
Roberto Marturano edited comment on NIFI-7192 at 2/2/22, 11:16 PM:
-------------------------------------------------------------------
Hi [~17reasons], was it the error you got?
{code:java}
Failed to start nifi.service: Unit nifi.service not found.{code}
If so, try to run *systemctl daemon-reload* before starting Nifi (that's what
the fix was doing basically).
was (Author: rmarturano):
Hi [~17reasons], was it the error you got? Failed to start nifi.service: Unit
nifi.service not found.
If so, try to run 'systemctl daemon-reload' before starting Nifi (that's what
the fix was doing basically).
> nifi.sh install not working on systemd servers
> ----------------------------------------------
>
> Key: NIFI-7192
> URL: https://issues.apache.org/jira/browse/NIFI-7192
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Roberto Marturano
> Assignee: Roberto Marturano
> Priority: Major
> Time Spent: 2h
> Remaining Estimate: 0h
>
> Systemd is still honouring init.d services, but we need to trigger the
> {{systemd-sysv-generator}} in order to create a .service wrapper.
> Right now works like this:
>
> {code:java}
> $ ./bin/nifi.sh install nifi
> Service nifi installed
> $ service nifi start
> Failed to start nifi.service: Unit nifi.service not found.
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)