[ 
https://issues.apache.org/jira/browse/NIFI-7192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17486161#comment-17486161
 ] 

William Lieu commented on NIFI-7192:
------------------------------------

[~rmarturano]
It seems to be working after I used *systemctl daemon reload* now.
{code:bash}
{code:bash}
root@<my ubuntu host>:/lib/systemd/system# root@<my ubuntu 
host>:/lib/systemd/system# systemctl daemon-reload
root@<my ubuntu host>:/lib/systemd/system# systemctl status nifi
● nifi.service - SYSV: Apache NiFi is a dataflow system based on the principles 
of Flow-Based Programming.
     Loaded: loaded (/etc/init.d/nifi; generated)
     Active: inactive (dead)
       Docs: man:systemd-sysv-generator(8)
root@<my ubuntu host>:/lib/systemd/system# {code}
{code}

> 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)

Reply via email to