Light1992

ngix Error

May 24th, 2019
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.55 KB | None | 0 0
  1.  
  2.  
  3. [root@localhost /]# nginx -t
  4. nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
  5. nginx: configuration file /etc/nginx/nginx.conf test is successful
  6.  
  7.  
  8.  
  9.  
  10. [root@localhost /]# systemctl enable nginx
  11.  
  12.  
  13.  
  14.  
  15.  
  16. [root@localhost /]# systemctl start nginx
  17. Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34. [root@localhost /]# systemctl status nginx.service
  35. ● nginx.service - The nginx HTTP and reverse proxy server
  36. Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
  37. Active: failed (Result: exit-code) since ven 2019-05-24 11:36:09 CEST; 14s ago
  38. Process: 21055 ExecStart=/usr/sbin/nginx (code=exited, status=1/FAILURE)
  39. Process: 21035 ExecStartPre=/usr/sbin/nginx -t (code=exited, status=0/SUCCESS)
  40.  
  41. mag 24 11:36:07 localhost.localdomain nginx[21055]: nginx: [emerg] bind() to 0.0.0.0:80 failed ...e)
  42. mag 24 11:36:07 localhost.localdomain nginx[21055]: nginx: [emerg] bind() to 0.0.0.0:80 failed ...e)
  43. mag 24 11:36:08 localhost.localdomain nginx[21055]: nginx: [emerg] bind() to 0.0.0.0:80 failed ...e)
  44. mag 24 11:36:08 localhost.localdomain nginx[21055]: nginx: [emerg] bind() to 0.0.0.0:80 failed ...e)
  45. mag 24 11:36:09 localhost.localdomain nginx[21055]: nginx: [emerg] bind() to 0.0.0.0:80 failed ...e)
  46. mag 24 11:36:09 localhost.localdomain nginx[21055]: nginx: [emerg] still could not bind()
  47. mag 24 11:36:09 localhost.localdomain systemd[1]: nginx.service: control process exited, code=e...=1
  48. mag 24 11:36:09 localhost.localdomain systemd[1]: Failed to start The nginx HTTP and reverse pr...r.
  49. mag 24 11:36:09 localhost.localdomain systemd[1]: Unit nginx.service entered failed state.
  50. mag 24 11:36:09 localhost.localdomain systemd[1]: nginx.service failed.
  51. Hint: Some lines were ellipsized, use -l to show in full.
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66. [root@localhost /]# journalctl -xe
  67. mag 24 11:36:03 localhost.localdomain systemd[1]: [/etc/systemd/system/kibana.service:4] Unknown lva
  68. mag 24 11:36:03 localhost.localdomain systemd[1]: [/usr/lib/systemd/system/bolt.service:11] Unknown
  69. mag 24 11:36:03 localhost.localdomain systemd[1]: [/usr/lib/systemd/system/bolt.service:13] Unknown
  70. mag 24 11:36:03 localhost.localdomain systemd[1]: [/usr/lib/systemd/system/bolt.service:15] Unknown
  71. mag 24 11:36:03 localhost.localdomain systemd[1]: [/usr/lib/systemd/system/bolt.service:18] Unknown
  72. mag 24 11:36:03 localhost.localdomain systemd[1]: [/usr/lib/systemd/system/bolt.service:19] Unknown
  73. mag 24 11:36:03 localhost.localdomain polkitd[18662]: Unregistered Authentication Agent for unix-pro
  74. mag 24 11:36:07 localhost.localdomain polkitd[18662]: Registered Authentication Agent for unix-proce
  75. mag 24 11:36:07 localhost.localdomain systemd[1]: Starting The nginx HTTP and reverse proxy server..
  76. -- Subject: L'unità nginx.service inizia la fase di avvio
  77. -- Defined-By: systemd
  78. -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
  79. --
  80. -- L'unità nginx.service ha iniziato la fase di avvio.
  81. mag 24 11:36:07 localhost.localdomain nginx[21035]: nginx: the configuration file /etc/nginx/nginx.c
  82. mag 24 11:36:07 localhost.localdomain nginx[21035]: nginx: configuration file /etc/nginx/nginx.conf
  83. mag 24 11:36:07 localhost.localdomain nginx[21055]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98:
  84. mag 24 11:36:07 localhost.localdomain nginx[21055]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98:
  85. mag 24 11:36:08 localhost.localdomain nginx[21055]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98:
  86. mag 24 11:36:08 localhost.localdomain nginx[21055]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98:
  87. mag 24 11:36:09 localhost.localdomain nginx[21055]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98:
  88. mag 24 11:36:09 localhost.localdomain nginx[21055]: nginx: [emerg] still could not bind()
  89. mag 24 11:36:09 localhost.localdomain systemd[1]: nginx.service: control process exited, code=exited
  90. mag 24 11:36:09 localhost.localdomain systemd[1]: Failed to start The nginx HTTP and reverse proxy s
  91. -- Subject: L'unità nginx.service è fallita
  92. -- Defined-By: systemd
  93. -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
  94. --
  95. -- L'unità nginx.service è fallita.
  96. --
  97. -- Il risultato è failed.
  98. mag 24 11:36:09 localhost.localdomain systemd[1]: Unit nginx.service entered failed state.
  99. mag 24 11:36:09 localhost.localdomain systemd[1]: nginx.service failed.
  100. mag 24 11:36:09 localhost.localdomain polkitd[18662]: Unregistered Authentication Agent for unix-pro
  101. lines 3749-3782/3782 (END)
Advertisement
Add Comment
Please, Sign In to add comment