Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@localhost /]# nginx -t
- nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
- nginx: configuration file /etc/nginx/nginx.conf test is successful
- [root@localhost /]# systemctl enable nginx
- [root@localhost /]# systemctl start nginx
- Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
- [root@localhost /]# systemctl status nginx.service
- ● nginx.service - The nginx HTTP and reverse proxy server
- Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
- Active: failed (Result: exit-code) since ven 2019-05-24 11:36:09 CEST; 14s ago
- Process: 21055 ExecStart=/usr/sbin/nginx (code=exited, status=1/FAILURE)
- Process: 21035 ExecStartPre=/usr/sbin/nginx -t (code=exited, status=0/SUCCESS)
- mag 24 11:36:07 localhost.localdomain nginx[21055]: nginx: [emerg] bind() to 0.0.0.0:80 failed ...e)
- mag 24 11:36:07 localhost.localdomain nginx[21055]: nginx: [emerg] bind() to 0.0.0.0:80 failed ...e)
- mag 24 11:36:08 localhost.localdomain nginx[21055]: nginx: [emerg] bind() to 0.0.0.0:80 failed ...e)
- mag 24 11:36:08 localhost.localdomain nginx[21055]: nginx: [emerg] bind() to 0.0.0.0:80 failed ...e)
- mag 24 11:36:09 localhost.localdomain nginx[21055]: nginx: [emerg] bind() to 0.0.0.0:80 failed ...e)
- mag 24 11:36:09 localhost.localdomain nginx[21055]: nginx: [emerg] still could not bind()
- mag 24 11:36:09 localhost.localdomain systemd[1]: nginx.service: control process exited, code=e...=1
- mag 24 11:36:09 localhost.localdomain systemd[1]: Failed to start The nginx HTTP and reverse pr...r.
- mag 24 11:36:09 localhost.localdomain systemd[1]: Unit nginx.service entered failed state.
- mag 24 11:36:09 localhost.localdomain systemd[1]: nginx.service failed.
- Hint: Some lines were ellipsized, use -l to show in full.
- [root@localhost /]# journalctl -xe
- mag 24 11:36:03 localhost.localdomain systemd[1]: [/etc/systemd/system/kibana.service:4] Unknown lva
- mag 24 11:36:03 localhost.localdomain systemd[1]: [/usr/lib/systemd/system/bolt.service:11] Unknown
- mag 24 11:36:03 localhost.localdomain systemd[1]: [/usr/lib/systemd/system/bolt.service:13] Unknown
- mag 24 11:36:03 localhost.localdomain systemd[1]: [/usr/lib/systemd/system/bolt.service:15] Unknown
- mag 24 11:36:03 localhost.localdomain systemd[1]: [/usr/lib/systemd/system/bolt.service:18] Unknown
- mag 24 11:36:03 localhost.localdomain systemd[1]: [/usr/lib/systemd/system/bolt.service:19] Unknown
- mag 24 11:36:03 localhost.localdomain polkitd[18662]: Unregistered Authentication Agent for unix-pro
- mag 24 11:36:07 localhost.localdomain polkitd[18662]: Registered Authentication Agent for unix-proce
- mag 24 11:36:07 localhost.localdomain systemd[1]: Starting The nginx HTTP and reverse proxy server..
- -- Subject: L'unità nginx.service inizia la fase di avvio
- -- Defined-By: systemd
- -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
- --
- -- L'unità nginx.service ha iniziato la fase di avvio.
- mag 24 11:36:07 localhost.localdomain nginx[21035]: nginx: the configuration file /etc/nginx/nginx.c
- mag 24 11:36:07 localhost.localdomain nginx[21035]: nginx: configuration file /etc/nginx/nginx.conf
- mag 24 11:36:07 localhost.localdomain nginx[21055]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98:
- mag 24 11:36:07 localhost.localdomain nginx[21055]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98:
- mag 24 11:36:08 localhost.localdomain nginx[21055]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98:
- mag 24 11:36:08 localhost.localdomain nginx[21055]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98:
- mag 24 11:36:09 localhost.localdomain nginx[21055]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98:
- mag 24 11:36:09 localhost.localdomain nginx[21055]: nginx: [emerg] still could not bind()
- mag 24 11:36:09 localhost.localdomain systemd[1]: nginx.service: control process exited, code=exited
- mag 24 11:36:09 localhost.localdomain systemd[1]: Failed to start The nginx HTTP and reverse proxy s
- -- Subject: L'unità nginx.service è fallita
- -- Defined-By: systemd
- -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
- --
- -- L'unità nginx.service è fallita.
- --
- -- Il risultato è failed.
- mag 24 11:36:09 localhost.localdomain systemd[1]: Unit nginx.service entered failed state.
- mag 24 11:36:09 localhost.localdomain systemd[1]: nginx.service failed.
- mag 24 11:36:09 localhost.localdomain polkitd[18662]: Unregistered Authentication Agent for unix-pro
- lines 3749-3782/3782 (END)
Advertisement
Add Comment
Please, Sign In to add comment