Get the most out of your Centmin Mod LEMP stack
Become a Member

Nginx [Error] i can not restart nginx, and it showerror

Discussion in 'Bug Reports' started by computer19852007, Aug 3, 2022.

  1. computer19852007

    computer19852007 Member

    84
    8
    8
    Jun 25, 2014
    Ratings:
    +9
    Local Time:
    2:23 AM
    Centmin Mod 1.2.3-eva2000.06
    MariaDB 5.5.34
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 64bit
    • Nginx Version Installed: 1.23.1
    i can not restart nginx, i have command nginx -t, it show:
    Code:
    nginx: error while loading shared libraries: libatomic_ops.so.1: cannot open shared object file: No such file or directory
    i have use command: journalctl -xe = it show

    Code:
    Aug 03 10:36:48 dmail-idma systemd[1]: Failed to start SYSV: Nginx is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3
    -- Subject: Unit nginx.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit nginx.service has failed.
    --
    -- The result is failed.
    Aug 03 10:36:48 dmail-idma systemd[1]: Unit nginx.service entered failed state.
    Aug 03 10:36:48 dmail-idma systemd[1]: nginx.service failed.
    Aug 03 10:36:48 dmail-idma polkitd[480]: Unregistered Authentication Agent for unix-process:3580:67990 (system bus name :1.13
    Aug 03 10:36:48 dmail-idma polkitd[480]: Registered Authentication Agent for unix-process:3602:67997 (system bus name :1.137
    Aug 03 10:36:48 dmail-idma systemd[1]: Stopping PHP FastCGI Process Manager..
    i have use command: systemctl status nginx.service -l = is show:
    Code:
    nginx.service - SYSV: Nginx is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 proxy server
       Loaded: loaded (/etc/rc.d/init.d/nginx; bad; vendor preset: disabled)
       Active: failed (Result: exit-code) since Wed 2022-08-03 10:36:48 UTC; 1min 33s ago
         Docs: man:systemd-sysv-generator(8)
      Process: 3586 ExecStart=/etc/rc.d/init.d/nginx start (code=exited, status=1/FAILURE)
    
    Aug 03 10:36:48 dmail-idma systemd[1]: Starting SYSV: Nginx is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 proxy server...
    Aug 03 10:36:48 dmail-idma nginx[3586]: Starting nginx: /usr/local/sbin/nginx: error while loading shared libraries: libatomic_ops.so.1: cannot open shared object file: No such file or directory
    Aug 03 10:36:48 dmail-idma nginx[3586]: [FAILED]
    Aug 03 10:36:48 dmail-idma systemd[1]: nginx.service: control process exited, code=exited status=1
    Aug 03 10:36:48 dmail-idma systemd[1]: Failed to start SYSV: Nginx is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 proxy server.
    Aug 03 10:36:48 dmail-idma systemd[1]: Unit nginx.service entered failed state.
    Aug 03 10:36:48 dmail-idma systemd[1]: nginx.service failed.
    Please help me

     
  2. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    5:23 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    What Centmin Mod version? Did Nginx 1.23.0 work?

    FYI, both 124.00stable and 130.00beta01 got updates for Nginx 1.23.0 compatibility and other updates. Older Centmin Mod versions won't work.

    centmin.sh menu option 4 nginx updates to 1.23.0 still are blocked off by default via NGINX_ONETWOTHREE_COMPAT='n' variable until further testing is done. However, you can also help test with NGINX_ONETWOTHREE_COMPAT='y' set in persistent config file /etc/centminmod/custom_config.inc prior to centmin.sh menu option 4 runs which will unblock nginx 1.23.0 updates.
     
  3. Benjamin74

    Benjamin74 Member

    76
    7
    8
    May 2, 2016
    Ratings:
    +18
    Local Time:
    8:23 PM
    For those who read this and wonder: OK then what's the version just below 1.23.0 that I could try to reinstall, the current answer seems to be: 1.22.1
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    5:23 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    You can also check at nginx news :)