Open oluies opened 8 years ago
workaround
$ sudo mkdir /var/run/nifi/ $ sudo chown nifi:nifi /var/run/nifi/
Thats odd...the pid dir gets created fine for me. This is the code that creates the pid and log dirs: https://github.com/abajwa-hw/ambari-nifi-service/blob/master/package/scripts/master.py#L50-L54
Did your nifi log dir get created (under /var/log/nifi)?
This is after reboot
SKYPE: orjan_lundberg
Another walkaround:
$ sudo vim /usr/lib/tmpfiles.d/nifi.conf
d /var/run/nifi 0755 nifi nifi -
This creates nifi directory under /var/run after reboot. Then, no problems results when creating the pid file.
Regards. --C.
I got this during a restart shoulnt the "pid" file be stored under "/var" ?