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

Install Installation failed

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Jr Day, Jan 8, 2016.

  1. Jr Day

    Jr Day New Member

    7
    1
    3
    Jan 5, 2016
    Ratings:
    +1
    Local Time:
    9:58 PM
    1.8.0
    After running the stable08 release. I found that the nginx is not install properly.

    service nginx restart
    /etc/init.d/nginx: line 75: /usr/local/sbin/nginx: No such file or directory

    upgrade nginx cannot fix that problem.

    14 errors generated.
    make[1]: *** [objs/addon/src/ngx_base_fetch.o] Error 1
    make[1]: Leaving directory `/svr-setup/nginx-1.8.0'
    make: *** [build] Error 2


    2 errors generated.
    make[1]: *** [objs/addon/src/log_message_handler.o] Error 1
    make[1]: Leaving directory `/svr-setup/nginx-1.8.0'
    make: *** [install] Error 2


    I found those in the log file.

    CentOS 6, 64bit. template provided by ImpactVPS. 512M memory.
     
  2. Jr Day

    Jr Day New Member

    7
    1
    3
    Jan 5, 2016
    Ratings:
    +1
    Local Time:
    9:58 PM
    1.8.0
    /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ext/new_allocator.h:111:27: error: no matching function for call to 'forward'
    { ::new((void *)__p) _Tp(std::forward<_Args>(__args)...); }
    /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/move.h:51:5: note: candidate function [with _Tp = net_instaweb::Function *] not viable: no known conversion from 'net_instaweb::Function *' to 'typename std::identity<Function *>::type &&' (aka 'net_instaweb::Function *&&') for 1st argument
    forward(typename std::identity<_Tp>::type&& __t)
     
  3. eva2000

    eva2000 Administrator Staff Member

    29,024
    6,587
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,778
    Local Time:
    11:58 PM
    Nginx 1.13.x
    MariaDB 5.5
    You downgraded nginx to 1.8.0 ? as 123.08stable comes with 1.9.9 nginx by default now

    When was last Centmin Mod 123.08stable update or install for this server ? alot of updates have occured in that same version since initial release see Install - Centmin Mod 1.2.3-eva2000.08 how to install & update | Centmin Mod Community

    Upgrading Centmin Mod Code to Latest Version



    Upgrading Centmin Mod involves 2 parts.
    1. Upgrading the actual Centmin Mod code outlined at Upgrade Centmin Mod - CentminMod.com LEMP Nginx web stack for CentOS This is heart of Centmin Mod where the code is the engine that runs centmin.sh shell based menu and all the automation you're accustomed to.
    2. Upgrade software that Centmin Mod installed or manages. For this part following outline at Upgrade - How to upgrade Centmin Mod | Centmin Mod Community
    So essentially, you can upgrade from .07 to .08 in place, but not everything is upgraded as some things like server initial environment setup isn't changed i.e. how swap, tmp setup and allocation are created etc. The main parts from part 2 above are what in place upgrades do i.e. Nginx and PHP-FPM compilation and config/settings parameters and MariaDB version from 5.5 to 10.0.x. If you want the full environment changed including tmp and swap setup to .08's configuration, then you would need a fresh OS install and fresh .08 initial install. You can think of it like upgrading Windows 7 to Windows 8. An in place upgrade will upgrade code but won't change your computer environment from when you installed Windows 7 i.e. disk configuration and partition sizes won't change from when you initially installed Windows 7. Only way to change that would be fresh Windows 8 install.
     
  4. Jr Day

    Jr Day New Member

    7
    1
    3
    Jan 5, 2016
    Ratings:
    +1
    Local Time:
    9:58 PM
    1.8.0

    Thank you for your reply.

    I use your method 1 installation, the branch at the github. This is the fresh install for the new clean VPS

    I modified the nginx version to 1.8.0 in the centmin.sh before installation, which I did before in your previous release all the time. I prefer stable version. Any clue to resolve it? I already recreated the VPS and still the same error.
     
  5. eva2000

    eva2000 Administrator Staff Member

    29,024
    6,587
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,778
    Local Time:
    11:58 PM
    Nginx 1.13.x
    MariaDB 5.5
    mainline nginx 1.9 is also stable by nginx's own definition, the difference between it and 1.8 stable branch is just the way they handle nginx module compatibility. Centmin Mod is made for nginx 1.9 these days due to default HTTP/2 support so I would use Centmin Mod default nginx 1.9 branch these days :)

    for now at least provide the full install log so i can see what the error is, looks like it might be nginx 1.8 compatibility with the new default Clang compiler instead of GCC compiler for nginx

    Troubleshooting Initial Install



    To troubleshoot initial installation, you need to check the initial install log at /root/centminlogs and instructions under Sharing logs and errors heading for using Pastebin.com or Gists to share a sanitised version of the contents of the initial install log. You can see full details at How to troubleshoot Centmin Mod initial install issues
     
  6. eva2000

    eva2000 Administrator Staff Member

    29,024
    6,587
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,778
    Local Time:
    11:58 PM
    Nginx 1.13.x
    MariaDB 5.5
    interestingly nginx 1.8.0 works on centmin mod 123.09beta01 for centmin.sh menu option 4 downgrade to 1.8.0
     
  7. eva2000

    eva2000 Administrator Staff Member

    29,024
    6,587
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,778
    Local Time:
    11:58 PM
    Nginx 1.13.x
    MariaDB 5.5
    @Jr Day I updated 123.08stable and 123.09beta01 today https://community.centminmod.com/posts/23720/ for some unrelated nginx 1.8.0 unsupported options in nginx. However, none of these fixes would be related or resolve your compiler issue. The fixes only correct nginx 1.8 branch unsupported options after nginx 1.8 is successfully installed.

    however, still try with the updated 123.08stable build and see if it helps
     
    Last edited: Jan 10, 2016