I am trying to follow this guide here to implement django channels with nginx. But the supervisor daemon won't start. It shows BACKOFF or FATAL status.
The log at /var/log/supervisor.log shows:
2020-08-28 13:34:10,606 INFO spawnerr: can't find command 'daphne'
2020-08-28 13:34:11,854 INFO spawnerr: can't find command 'daphne'
2020-08-28 13:34:13,857 INFO spawnerr: can't find command 'daphne'
![](https://www.aapanel.com/forum/assets/files/2020-08-28/1598604514-371039-image.png)
If I give full path for daphne in the command, then I get a different error:
2020-08-28 14:22:28,789 INFO spawned: 'CS_WS_00' with pid 701485
2020-08-28 14:22:29,956 INFO exited: CS_WS_00 (exit status 0; not expected)
2020-08-28 14:22:30,961 INFO spawned: 'CS_WS_00' with pid 701499
2020-08-28 14:22:32,089 INFO exited: CS_WS_00 (exit status 0; not expected)
2020-08-28 14:22:34,094 INFO spawned: 'CS_WS_00' with pid 701514
2020-08-28 14:22:35,206 INFO exited: CS_WS_00 (exit status 0; not expected)
2020-08-28 14:22:38,211 INFO spawned: 'CS_WS_00' with pid 701517
2020-08-28 14:22:39,337 INFO exited: CS_WS_00 (exit status 0; not expected)
2020-08-28 14:22:40,339 INFO gave up: CS_WS_00 entered FATAL state, too many start retries too quickly
Also, on trying to start the daemon manually I see:
![](https://www.aapanel.com/forum/assets/files/2020-08-28/1598605039-782874-supervisor-daemon-start-error.png)
The Supervisor Manager/App itself doesn't shows any log.
![](https://www.aapanel.com/forum/assets/files/2020-08-28/1598604063-744353-image.png)
Also, following the above mentioned guide and try to run the following commands:
$ sudo supervisorctl reread
$ sudo supervisorctl update
Gives me the following error:
-bash: supervisorctl: command not found
Supervisor daemon configuration:
![](https://www.aapanel.com/forum/assets/files/2020-08-28/1598604408-994808-image.png)
![](https://www.aapanel.com/forum/assets/files/2020-08-28/1598604433-787455-image.png)
![](https://www.aapanel.com/forum/assets/files/2020-08-28/1598604452-149975-image.png)
My server configuration:
CentOs 8 (latest updated), 4 GB RAM, 2 Core CPU, 60GB Storage.