For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

NexoHost's avatar
NexoHost
Icon for Nimbostratus rankNimbostratus
Mar 09, 2023

Help please

× nginx.service: un servidor web de alto rendimiento y un servidor proxy inverso
Cargado: cargado (/lib/systemd/system/nginx.service; habilitado; valor predeterminado del proveedor: habilitado)
Activo: fallido (Resultado: código de salida) desde el jueves de 2023 -03-09 20:27:08 UTC; Hace 3 min 37 s
Docs: man:nginx(8)
Proceso: 919 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; proceso_maestro activado; (código=salido, estado=1/FALLO)
CPU: 7ms

09 de marzo 20:27:07 localhost systemd[1]: iniciando un servidor web de alto rendimiento y un servidor proxy inverso...
09 de marzo 20:27:07 localhost nginx[919]: nginx: [alerta] no se pudo abrir el registro de errores archivo: open() "/var/log/nginx/error.log" falló (2: No existe tal archivo o directorio)
09 de marzo 20:27:08 localhost nginx[919]: 2023/03/09 20:27:07 [emerg] 919#919: open() "/etc/nginx/nginx.conf" falló (2: No existe tal archivo o directorio)
09 de marzo 20:27:08 localhost nginx[919]: nginx: archivo de configuración /etc/ La prueba de nginx/nginx.conf falló
el 9 de marzo 20:27:08 localhost systemd[1]: nginx.service: el proceso de control salió, código=salido, estado=1/FALLA el
9 de marzo 20:27:08 localhost systemd[1]: nginx.service: error con el resultado 'código de salida'.
09 de marzo 20:27:08 localhost systemd[1]: no se pudo iniciar un servidor web de alto rendimiento y un servidor proxy inverso.

4 Replies

    • DavisLi's avatar
      DavisLi
      Ret. Employee

      did you adjust your selinux settings to permissive? I only install nginx inside test environments so am not sure the proper selinux status should be for your environment. 

  • It says it can not find /etc/nginx/nginx.conf.

    Do you have this file? You might need to re-install nginx.