Hi,
When my linux server reboots, Nifi automatically starts but automatically stops after few secondes.
When I manually restart the service, that's okay.
Could anyone help me to diagnose this issue ?
OS : Cent OS 7
Service :
nifi.service - Apache NiFi
Loaded: loaded (/usr/lib/systemd/system/nifi.service; enabled; vendor preset: disabled)
Service description (nifi.service):
[Unit]
Description=Apache NiFi
After=network.target
[Service]
Type=simple
User=nifi
Group=nifi
LimitAS=infinity
LimitRSS=infinity
LimitCORE=infinity
LimitFSIZE=infinity
LimitNOFILE=65536
PIDFile=/appli/nifi/run/nifi.pid
ExecStart=/appli/nifi/bin/nifi.sh start
ExecStop=/appli/nifi/bin/nifi.sh stop
[Install]
WantedBy=multi-user.target
Extract from the bootstrap log :
2023-12-21 14:43:46,394 DEBUG [main] org.apache.nifi.bootstrap.Command Established connection to NiFi instance.
2023-12-21 14:43:46,394 DEBUG [main] org.apache.nifi.bootstrap.Command Sending SHUTDOWN Command to port 44185
I can't see any WARN/ERROR in bootstrap log or nifi log that would correlate to this...
Thanks