# Worker died for all 4-services

**URL:** https://forum.genieacs.com/t/worker-died-for-all-4-services/1764
**Category:** Uncategorized
**Created:** [June 5, 2021, 11:16am UTC](https://forum.genieacs.com/t/worker-died-for-all-4-services/1764 "2021-06-05T11:16:29Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![soban](https://avatars.discourse-cdn.com/v4/letter/s/b5e925/32.png) [@soban](https://forum.genieacs.com/u/soban)
#### Post date: [June 5, 2021, 11:16am UTC](https://forum.genieacs.com/t/worker-died-for-all-4-services/1764/1 "2021-06-05T11:16:29Z")

</div>

Hi to all

we are trying to run all 4-services. But they are displaying error WORKER DIED , can any one explain, how to fix this

---

<div class="post-metadata">

### Author: ![lavira](https://avatars.discourse-cdn.com/v4/letter/l/87869e/32.png) [@lavira](https://forum.genieacs.com/u/lavira)
#### Post date: [June 6, 2021, 6:06pm UTC](https://forum.genieacs.com/t/worker-died-for-all-4-services/1764/2 "2021-06-06T18:06:05Z")

</div>

Hi, as you can see [here](https://forum.genieacs.com/search?q=worker%20died), there are many reasons why the services can exit with an error. Without additional info, we can only tell you that you made a mistake somewhere … if you share the output of the following commands, we might be able to spot exactly where:

```auto
systemctl cat genieacs-cwmp
systemctl cat genieacs-nbi
systemctl cat genieacs-ui
cat $(systemctl cat genieacs-cwmp | grep EnvironmentFile | cut -d = -f2)
systemctl status genieacs-cwmp
systemctl status genieacs-nbi
systemctl status genieacs-ui
```

---

<div class="post-metadata">

### Author: ![soban](https://avatars.discourse-cdn.com/v4/letter/s/b5e925/32.png) [@soban](https://forum.genieacs.com/u/soban)
#### Post date: [June 7, 2021, 11:53am UTC](https://forum.genieacs.com/t/worker-died-for-all-4-services/1764/3 "2021-06-07T11:53:01Z")

</div>

systemctl cat genieacs-cwmp

systemctl cat genieacs-cwmp

# /etc/systemd/system/genieacs-cwmp.service

[Unit]  
Description=GenieACS CWMP  
After=network.target

[Service]  
User=genieacs  
EnvironmentFile=/opt/genieacs/genieacs.env  
ExecStart=/usr/bin/genieacs-cwmp

## [Install] WantedBy=default.target

systemctl cat genieacs-nbi

# /etc/systemd/system/genieacs-nbi.service

[Unit]

Description=GenieACS NBI  
After=network.target

[Service]

User=genieacs  
EnvironmentFile=/opt/genieacs/genieacs.env  
ExecStart=/usr/bin/genieacs-nbi

## [Install] WantedBy=default.target

systemctl cat genieacs-ui

# /etc/systemd/system/genieacs-ui.service

[Unit]

Description=GenieACS UI  
After=network.target

[Service]

User=genieacs  
EnvironmentFile=/opt/genieacs/genieacs.env  
ExecStart=/usr/bin/genieacs-ui

[Install]  
WantedBy=default.target

* * *

cat $(systemctl cat genieacs-cwmp | grep EnvironmentFile | cut -d = -f2)

GENIEACS\_CWMP\_ACCESS\_LOG\_FILE=/var/log/genieacs/genieacs-cwmp-access.log  
GENIEACS\_NBI\_ACCESS\_LOG\_FILE=/var/log/genieacs/genieacs-nbi-access.log  
GENIEACS\_FS\_ACCESS\_LOG\_FILE=/var/log/genieacs/genieacs-fs-access.log  
GENIEACS\_UI\_ACCESS\_LOG\_FILE=/var/log/genieacs/genieacs-ui-access.log  
GENIEACS\_DEBUG\_FILE=/var/log/genieacs/genieacs-debug.yaml  
NODE\_OPTIONS=–enable-source-maps

# GENIEACS\_EXT\_DIR=/opt/genieacs/ext

GENIEACS\_UI\_JWT\_SECRET=“secret”

[Unit]  
Description=GenieACS cwmp  
After=network.target

[Service]  
User=genieacs

EnvironmentFile=/opt/genieacs/genieacs.env  
ExecStart=/usr/bin/genieacs-cwmp

[Install]  
WantedBy=default.target

[Unit]

Description=GenieACS nbi  
After=network.target

[Service]  
User=genieacs

EnvironmentFile=/opt/genieacs/genieacs.env  
ExecStart=/usr/bin/genieacs-nbi

[Install]  
WantedBy=default.target

[Unit]  
Description=GenieACS fs  
After=network.target

[Service]  
User=genieacs

EnvironmentFile=/opt/genieacs/genieacs.env  
ExecStart=/usr/bin/genieacs-fs

[Install]  
WantedBy=default.target

[Unit]

Description=GenieACS ui  
After=network.target

[Service]  
User=genieacs  
EnvironmentFile=/opt/genieacs/genieacs.env  
ExecStart=/usr/bin/genieacs-ui

[Install]  
WantedBy=default.target

---

<div class="post-metadata">

### Author: ![soban](https://avatars.discourse-cdn.com/v4/letter/s/b5e925/32.png) [@soban](https://forum.genieacs.com/u/soban)
#### Post date: [June 7, 2021, 11:55am UTC](https://forum.genieacs.com/t/worker-died-for-all-4-services/1764/4 "2021-06-07T11:55:48Z")

</div>

status genieacs-cwmp  
● genieacs-cwmp.service - GenieACS CWMP  
Loaded: loaded (/etc/systemd/system/genieacs-cwmp.service; enabled; vendor preset: enabled)  
Active: active (running) since Sun 2021-06-06 21:19:59 PDT; 7h ago  
Main PID: 804 (node)  
Tasks: 33 (limit: 3711)  
Memory: 71.2M  
CGroup: /system.slice/genieacs-cwmp.service  
├─ 804 node /usr/bin/genieacs-cwmp  
├─1177 /usr/bin/node /usr/bin/genieacs-cwmp  
└─1190 /usr/bin/node /usr/bin/genieacs-cwmp

## Jun 06 21:19:59 ubuntu systemd[1]: Started GenieACS CWMP. Jun 06 21:20:09 ubuntu genieacs-cwmp[804]: 2021-06-07T04:20:09.956Z [INFO] genieacs-cwmp starting; pid=804 version="1.\> Jun 06 21:20:13 ubuntu genieacs-cwmp[804]: 2021-06-07T04:20:13.137Z [INFO] Worker listening; pid=1177 address="0.0.0.0\> Jun 06 21:20:13 ubuntu genieacs-cwmp[804]: 2021-06-07T04:20:13.210Z [INFO] Worker listening; pid=1190 address="0.0.0.0\> lines 1-15/15 (END)

systemctl status genieacs-nbi  
● genieacs-nbi.service - GenieACS NBI  
Loaded: loaded (/etc/systemd/system/genieacs-nbi.service; enabled; vendor preset: enabled)  
Active: active (running) since Sun 2021-06-06 21:19:59 PDT; 7h ago  
Main PID: 807 (node)  
Tasks: 33 (limit: 3711)  
Memory: 65.7M  
CGroup: /system.slice/genieacs-nbi.service  
├─ 807 node /usr/bin/genieacs-nbi  
├─1161 /usr/bin/node /usr/bin/genieacs-nbi  
└─1171 /usr/bin/node /usr/bin/genieacs-nbi

Jun 06 21:19:59 ubuntu systemd[1]: Started GenieACS NBI.  
Jun 06 21:20:09 ubuntu genieacs-nbi[807]: 2021-06-07T04:20:09.886Z [INFO] genieacs-nbi starting; pid=807 version="1.2.\>  
Jun 06 21:20:13 ubuntu genieacs-nbi[807]: 2021-06-07T04:20:13.091Z [INFO] Worker listening; pid=1161 address=“0.0.0.0”\>  
Jun 06 21:20:13 ubuntu genieacs-nbi[807]: 2021-06-07T04:20:13.091Z [INFO] Worker listening; pid=1171 address=“0.0.0.0”\>  
lines 1-15/15 (END)

* * *

systemctl status genieacs-ui  
● genieacs-ui.service - GenieACS UI  
Loaded: loaded (/etc/systemd/system/genieacs-ui.service; enabled; vendor preset: enabled)  
Active: active (running) since Sun 2021-06-06 21:19:59 PDT; 7h ago  
Main PID: 809 (node)  
Tasks: 33 (limit: 3711)  
Memory: 96.5M  
CGroup: /system.slice/genieacs-ui.service  
├─ 809 node /usr/bin/genieacs-ui  
├─1203 /usr/bin/node /usr/bin/genieacs-ui  
└─1209 /usr/bin/node /usr/bin/genieacs-ui

Jun 06 21:19:59 ubuntu systemd[1]: Started GenieACS UI.  
Jun 06 21:20:11 ubuntu genieacs-ui[809]: 2021-06-07T04:20:11.524Z [INFO] genieacs-ui starting; pid=809 version="1.2.5+\>  
Jun 06 21:20:13 ubuntu genieacs-ui[809]: 2021-06-07T04:20:13.268Z [INFO] Worker listening; pid=1203 address=“0.0.0.0” \>  
Jun 06 21:20:13 ubuntu genieacs-ui[809]: 2021-06-07T04:20:13.387Z [INFO] Worker listening; pid=1209 address=“0.0.0.0” \>  
lines 1-15/15 (END)

---

<div class="post-metadata">

### Author: ![soban](https://avatars.discourse-cdn.com/v4/letter/s/b5e925/32.png) [@soban](https://forum.genieacs.com/u/soban)
#### Post date: [June 7, 2021, 11:57am UTC](https://forum.genieacs.com/t/worker-died-for-all-4-services/1764/5 "2021-06-07T11:57:10Z")

</div>

pls check

---

<div class="post-metadata">

### Author: ![lavira](https://avatars.discourse-cdn.com/v4/letter/l/87869e/32.png) [@lavira](https://forum.genieacs.com/u/lavira)
#### Post date: [June 7, 2021, 2:14pm UTC](https://forum.genieacs.com/t/worker-died-for-all-4-services/1764/6 "2021-06-07T14:14:34Z")

</div>

from what I see, the services are active and listening, so whatever the problem was, it’s now solved. The /opt/genieacs/genieacs.env is missing many variables, so you are using the default options. If you want to change some of them, open the file with a editor and add the [config options you want to change](http://docs.genieacs.com/en/latest/environment-variables.html) (prefixed with GENIEACS\_). Also, you did not change the `GENIEACS_UI_JWT_SECRET` to a random string but it should work anyway … just try to access the UI at [http://ip-of-server:3000/](http://ip-of-server:3000/)

---

<div class="post-metadata">

### Author: ![soban](https://avatars.discourse-cdn.com/v4/letter/s/b5e925/32.png) [@soban](https://forum.genieacs.com/u/soban)
#### Post date: [June 8, 2021, 4:39am UTC](https://forum.genieacs.com/t/worker-died-for-all-4-services/1764/7 "2021-06-08T04:39:55Z")

</div>

yes i am using the same [http://ipserver:3000](http://ipserver:3000), I am able to login with admin. BUT DEVICES (ONU) are not DETECTING BY GENIEACS.

---

<div class="post-metadata">

### Author: ![lavira](https://avatars.discourse-cdn.com/v4/letter/l/87869e/32.png) [@lavira](https://forum.genieacs.com/u/lavira)
#### Post date: [June 8, 2021, 6:10am UTC](https://forum.genieacs.com/t/worker-died-for-all-4-services/1764/8 "2021-06-08T06:10:51Z")

</div>

Ok, so no more “worker died” issues … did you configured those devices? This means:

- having IP connectivity (try a ping to the ipserver from the debugging/troubleshooting menu)
- enable TR069 / TRxxx
- ACS URL: [http://ipserver:7547](http://ipserver:7547)

if the answer is yes to all, reboot the device and follow the log of the CWMP process (`journalctl -f -u genieacs-cwmp`) … if your device is not sending any informs, contact your device vendor and ask them for help.

---

<div class="post-metadata">

### Author: ![soban](https://avatars.discourse-cdn.com/v4/letter/s/b5e925/32.png) [@soban](https://forum.genieacs.com/u/soban)
#### Post date: [June 11, 2021, 5:28am UTC](https://forum.genieacs.com/t/worker-died-for-all-4-services/1764/9 "2021-06-11T05:28:11Z")

</div>

services are going to died, eventhough i am able to login [http://ipaddress:3000](http://ipaddress:3000). But ONU s are not detecting my Genieacs server

---

<div class="post-metadata">

### Author: ![lavira](https://avatars.discourse-cdn.com/v4/letter/l/87869e/32.png) [@lavira](https://forum.genieacs.com/u/lavira)
#### Post date: [June 11, 2021, 6:45am UTC](https://forum.genieacs.com/t/worker-died-for-all-4-services/1764/10 "2021-06-11T06:45:29Z")

</div>

they don’t just detect your acs, you must configure them
