The error information is as follows:
TASK [start nginx service] *******************************************************************************************
fatal: [192.168.126.129]: FAILED! => {"changed": false, "msg": "Unable to start service nginx: Job for nginx.service fd with error code. See \"systemctl status nginx.service\" and \"journalctl -xe\" for details.\n"}
The reason is that the user/group I created for Nginx in playbook is user-defined:
Change it to Nginx:
Read More:
- [Solved] Docker Start nginx error: driver failed programming external connectivity on endpoint nginx
- Nginx Container Error: nginx: [emerg] mkdir() “/var/cache/nginx/client_temp“ failed (13: Permission denied)
- [Solved] Postgres Start Error: Job for postgresql.service failed because the control process exited with error code.
- Gitlab nginx wont start to work. [down: nginx: 1s, normally up, want up; run: log: (pid 20128)xxx]
- Docker service startup error: Job for docker.service failed because the control process exited with error code.
- [Solved] Job for mysqld.service failed because the control process exited with error code.
- Android studio can’t start, running error: warning: crash service did not start
- Nginx: How to Use Error_Page
- [Solved] CentOS build a docker error: job for docker.service failed….
- How to Fix Error 1069:The service did not start due to a logon failure
- Docker Create or Start Nginx Error: docker: Error response from daemon: driver failed programming external connectivity
- [Solved] Job for docker.service failed because the control process exited with error
- [Solved] Nacos Start Error: failed to req API:127.0.0.1:8848/nacos/v1/ns/service/list. code:503 msg: server is DOWN now
- [Solved] Android Error: java.lang.IllegalStateException: Not allowed to start service Intent
- [Solved] ERROR: for jms_koko Cannot start service koko: driver failed programming
- [Solved] MAC Nginx Error: ginx.pid“ failed (2: No such file or directory)
- How to Solve Nginx 413 Error (request entity too large)
- How to Solve Nginx cross compilation Error
- [Solved] Windows Nginx Startup Error: bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket
- [Solved] Service Start Error When Horizon View Composer is Installing