Join the community today
Become a Member

Nginx Error When Upgrading

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by Bubbles, Mar 1, 2015.

  1. Bubbles

    Bubbles New Member

    Mar 1, 2015
    Local Time:
    3:53 PM
    Trying to upgrade Nginx and get an error.
      nginx path prefix: "/usr/local/nginx"
      nginx binary file: "/usr/local/sbin/nginx"
      nginx configuration prefix: "/usr/local/nginx/conf"
      nginx configuration file: "/usr/local/nginx/conf/nginx.conf"
      nginx pid file: "/usr/local/nginx/logs/"
      nginx error log file: "/usr/local/nginx/logs/error.log"
      nginx http access log file: "/usr/local/nginx/logs/access.log"
      nginx http client request body temporary files: "client_body_temp"
      nginx http proxy temporary files: "proxy_temp"
      nginx http fastcgi temporary files: "fastcgi_temp"
      nginx http uwsgi temporary files: "uwsgi_temp"
      nginx http scgi temporary files: "scgi_temp"
    Sun Mar  1 08:33:12 AEST 2015
    Success: Nginx configure ok
    make -f objs/Makefile
    make[1]: Entering directory `/svr-setup/nginx-1.7.9'
    cd ../openssl-1.0.1j \
    && if [ -f Makefile ]; then make clean; fi \
    && ./config --prefix=/svr-setup/nginx-1.7.9/../openssl-1.0.1j/.openssl no-shared enable-tl
    sext no-threads \
    && make \
    && make install LIBDIR=lib
    /bin/sh: line 0: cd: ../openssl-1.0.1j: No such file or directory
    make[1]: *** [../openssl-1.0.1j/.openssl/include/openssl/ssl.h] Error 1
    make[1]: Leaving directory `/svr-setup/nginx-1.7.9'
    make: *** [build] Error 2
    real 0m0.011s
    user 0m0.007s
    sys 0m0.002s
    Sun Mar  1 08:33:12 AEST 2015
    Error: 2, Nginx make failed

  2. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    3:53 PM
    Nginx 1.25.x
    MariaDB 10.x
    you using .07 stable ? it might be older version as .07 stable got a few updates for security fixes for openssl version and php and nginx..

    see 1st post at Install - Centmin Mod 1.2.3-eva2000.07 stable install | Centmin Mod Community on how to update your .07 release first. Good idea to bookmark/watch that thread for updates ;)

    edit: FYI nginx 1.7.10 is latest now too