# Code=killed, Status=4/ILL

**URL:** <https://discourse.nodered.org/t/code-killed-status-4-ill/9627>\
**Category:** General\
**Created:** [31 March 2019 09:09 UTC](https://discourse.nodered.org/t/code-killed-status-4-ill/9627 "2019-03-31T09:09:23Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ruifcsilva](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ruifcsilva/32/7347_2.png) [@ruifcsilva](https://discourse.nodered.org/u/ruifcsilva)\
**Post date:** [31 March 2019 09:09 UTC](https://discourse.nodered.org/t/code-killed-status-4-ill/9627/1 "2019-03-31T09:09:23Z")

</div>

Hi everyone,  
just joined de forum and a newbie to node-red and raspbian...

need your help if possible!

I was working on my flow when node-red stopped working (not sure what I did wrong)!  
but when I try to start it again I'm getting this (see below) in a infinite loop:

# Starting as a systemd service. Started Node-RED graphical event wiring tool. 31 Mar 09:55:00 - [info] Welcome to Node-RED

# 31 Mar 09:55:00 - [info] Node-RED version: v0.20.3 31 Mar 09:55:00 - [info] Node.js version: v10.15.3 31 Mar 09:55:00 - [info] Linux 4.14.98+ arm LE 31 Mar 09:55:04 - [info] Loading palette nodes nodered.service: Main process exited, code=killed, status=4/ILL nodered.service: Unit entered failed state. nodered.service: Failed with result 'signal'. nodered.service: Service hold-off time over, scheduling restart. Stopped Node-RED graphical event wiring tool. Started Node-RED graphical event wiring tool. 31 Mar 09:55:32 - [info] Welcome to Node-RED

# 31 Mar 09:55:32 - [info] Node-RED version: v0.20.3 31 Mar 09:55:32 - [info] Node.js version: v10.15.3 31 Mar 09:55:32 - [info] Linux 4.14.98+ arm LE 31 Mar 09:55:37 - [info] Loading palette nodes nodered.service: Main process exited, code=killed, status=4/ILL nodered.service: Unit entered failed state. nodered.service: Failed with result 'signal'. nodered.service: Service hold-off time over, scheduling restart. Stopped Node-RED graphical event wiring tool. Started Node-RED graphical event wiring tool. 31 Mar 09:56:04 - [info] Welcome to Node-RED

## 31 Mar 09:56:04 - [info] Node-RED version: v0.20.3 31 Mar 09:56:04 - [info] Node.js version: v10.15.3 31 Mar 09:56:04 - [info] Linux 4.14.98+ arm LE 31 Mar 09:56:09 - [info] Loading palette nodes

i'm guessing that as to do with palette nodes!!!!  
what should I do? any idea?

thanks so much,

Rui Silva

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [31 March 2019 10:00 UTC](https://discourse.nodered.org/t/code-killed-status-4-ill/9627/2 "2019-03-31T10:00:23Z")

</div>

How did you install node-red and what command are you running to get that log?

---

<div class="post-metadata">

**Author:** ![ruifcsilva](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ruifcsilva/32/7347_2.png) [@ruifcsilva](https://discourse.nodered.org/u/ruifcsilva)\
**Post date:** [31 March 2019 11:07 UTC](https://discourse.nodered.org/t/code-killed-status-4-ill/9627/3 "2019-03-31T11:07:51Z")

</div>

thanks for the replay.  
node-red come by default with raspbian instalation, and then I updated. since then I have installed some nodes but by using node-red UI.  
I used the command: node-red-start

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [31 March 2019 11:10 UTC](https://discourse.nodered.org/t/code-killed-status-4-ill/9627/4 "2019-03-31T11:10:51Z")

</div>

You should upgrade using the pi install/upgrade script from the link below. That will ensure you have a consistent set of tools. Also read the rest of that page as other aspects may be of use to you.  
[https://nodered.org/docs/hardware/raspberrypi](https://nodered.org/docs/hardware/raspberrypi)

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [31 March 2019 11:15 UTC](https://discourse.nodered.org/t/code-killed-status-4-ill/9627/5 "2019-03-31T11:15:24Z")

</div>

You can stop the auto start using the stop command listed in the page colin linked to.

Then you can start on the command line but Add `--safe` mode flag to allow starting without flows running. This can be used if a flow is causing Node-RED to crash - starting in safe mode will allow the editor to be used to modify the flow and then deploy the change to take it out of safe mode.

---

<div class="post-metadata">

**Author:** ![ruifcsilva](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ruifcsilva/32/7347_2.png) [@ruifcsilva](https://discourse.nodered.org/u/ruifcsilva)\
**Post date:** [31 March 2019 13:27 UTC](https://discourse.nodered.org/t/code-killed-status-4-ill/9627/6 "2019-03-31T13:27:56Z")

</div>

thanks for the quick replay, will have a good reading on the link segested by Colin... and follow your sugestion... will come back to your asap

---

<div class="post-metadata">

**Author:** ![ruifcsilva](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ruifcsilva/32/7347_2.png) [@ruifcsilva](https://discourse.nodered.org/u/ruifcsilva)\
**Post date:** [7 April 2019 10:28 UTC](https://discourse.nodered.org/t/code-killed-status-4-ill/9627/7 "2019-04-07T10:28:57Z")

</div>

apologies for taking so much time to replay back with the outcome.

after many tries without any success I have done a fresh new installed os the OS (Raspbian Stretch)  
and replicated step by step the instalations of node-red and all the nodes (testing it one by one) and I found the issue:

the node-red-contrib-ttn was casuing this (I don't know why!) but after installing it the same thing happen! I guess it as to do with it somehow.

thanks ,

Rui Silva

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [7 April 2019 10:42 UTC](https://discourse.nodered.org/t/code-killed-status-4-ill/9627/8 "2019-04-07T10:42:54Z")

</div>

Good work tracking it down!  
You should open an issue on the nodes github page ( follow a link from the nodes page on [flows.nodered.org](http://flows.nodered.org)) in order to notify the nodes author about the problem.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [18 September 2021 09:36 UTC](https://discourse.nodered.org/t/code-killed-status-4-ill/9627/9 "2021-09-18T09:36:13Z")

</div>

2 posts were split to a new topic: [Code=killed, Status=4/ILL General](https://discourse.nodered.org/t/code-killed-status-4-ill-general/51195)

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [18 September 2021 09:36 UTC](https://discourse.nodered.org/t/code-killed-status-4-ill/9627/10 "2021-09-18T09:36:34Z")

</div>


