You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Aldrin Piri (Jira)" <ji...@apache.org> on 2020/01/28 13:39:00 UTC

[jira] [Created] (MINIFICPP-1130) Install of minifi as a service via minfi.sh does not complete successfully

Aldrin Piri created MINIFICPP-1130:
--------------------------------------

             Summary: Install of minifi as a service via minfi.sh does not complete successfully
                 Key: MINIFICPP-1130
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1130
             Project: Apache NiFi MiNiFi C++
          Issue Type: Improvement
    Affects Versions: 0.7.0
            Reporter: Aldrin Piri


On RHEL/CentOS 7 trying to install leads to the following error:
{quote}[root@4d66d22dfec0 nifi-minifi-cpp-0.7.0]# ./bin/minifi.sh install minifi
 ./bin/minifi.sh: line 120: % 5: syntax error: operand expected (error token is "% 5")
 Could not create service file /etc/init.d/minifi
{quote}
This can be recreated with the following, brute force, Docker-based one liner:
{code:java}
docker run -it centos:7 /bin/bash -c "yum install -y wget; cd; mkdir minifi: cd minifi; wget http://mirror.olnevhost.net/pub/apache/nifi/nifi-minifi-cpp/0.7.0/nifi-minifi-cpp-centos-0.7.0-bin.tar.gz; tar xf nifi-minifi-cpp-centos-0.7.0-bin.tar.gz; cd nifi-minifi-cpp-0.7.0/; ./bin/minifi.sh install minifi"{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)