Welcome to Centmin Mod Community
Become a Member

Install Error on Fresh Install

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Mask, Aug 7, 2015.

  1. Mask

    Mask Active Member

    108
    31
    28
    Nov 10, 2014
    Ratings:
    +37
    Local Time:
    3:59 PM
    Nginx 1.9.1
    MariaDB 10.0.19
    Hi there,

    I just tried to install the new version on a VPS running CentOS 6.7. Everything went well and I didn't see any error. However, I am getting this for PHP.


    Code:
    [root@vps ~]# php -v
    -bash: php: command not found
    [root@vps ~]# /etc/init.d/php-fpm restart
    Gracefully shutting down php-fpm warning, no pid file found - php-fpm is not running ?
    Starting php-fpm /etc/init.d/php-fpm: line 78: /usr/local/sbin/php-fpm: No such file or directory
    failed
    
    If it makes any different, CMM was installed using "Method 3: one liner curl bash install"..

    About to digg into logs but just wanted to post here in case someone already saw that issue.
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,388
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    8:59 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    CentOS 6.7 might not be supported yet.. i did prepare for it will have to check
     
  3. Mask

    Mask Active Member

    108
    31
    28
    Nov 10, 2014
    Ratings:
    +37
    Local Time:
    3:59 PM
    Nginx 1.9.1
    MariaDB 10.0.19
    Is there much difference between 6.6 and 6.7 ?? I didn't thought it will be an issue.

    So what would do you suggest in the meantime? Do a fresh CentOS 6.6 install, then install CMM before running yum upgrade on new server?
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,388
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    8:59 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  5. Mask

    Mask Active Member

    108
    31
    28
    Nov 10, 2014
    Ratings:
    +37
    Local Time:
    3:59 PM
    Nginx 1.9.1
    MariaDB 10.0.19
    About to do that.
    Thanks a lot for the quick help :)
     
  6. eva2000

    eva2000 Administrator Staff Member

    54,388
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    8:59 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    thanks for heads up! none of my servers show CentOS 6.7 available yet !
     
  7. eva2000

    eva2000 Administrator Staff Member

    54,388
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    8:59 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  8. Mask

    Mask Active Member

    108
    31
    28
    Nov 10, 2014
    Ratings:
    +37
    Local Time:
    3:59 PM
    Nginx 1.9.1
    MariaDB 10.0.19
    @eva2000

    Have an other issue to report. (or may be I just missed some new changes)
    With 07 version, we used to get logins to access OpCache gui at the end of install. This is not the case now. (user/pass at the end in green color) I can get it from install logs but would be nice it to have it there.

    Also looks like the new CMM is going default with php 5.4.43 and Zend OpCache.
    I wanted to set it up using APC and not ZendCache but looks like setting ZOPCACHEDFT has no effect. I actually went with custom_config.inc (As I have done in past), added
    Code:
    PHP_VERSION='5.4.43'
    ZOPCACHEDFT='n'
    But it still went with default php and Zend cache. Then I made the change in centmim.sh and it still went with ZendCache without even asking for it.

    What I am missing here.
     
  9. eva2000

    eva2000 Administrator Staff Member

    54,388
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    8:59 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    fresh install and not upgrading php ?
    you can find it in /root/centminlogs/zendopcache_passfile.txt as well

    when you recompiled php-fpm via centmin.sh menu option 5 or before or after fresh centmin mod install ? each time you make change in centmin.sh need to recompile via centmin.sh menu option 5

    reason why it was changed was xenforo + php 5.4.43 + apc has seg fault errors so switched to Zend Opcache.. APC Cache no longer that reliable

    also ZOPCACHEDFT only works for initial centmin mod installed php.. if you want to switch to APC from Zend Opcache after initial centmin mod install, run centmin.sh menu option 9 to install APC Cache

    so before centmin mod is initially installed you need to set in centmin.sh if you want initial install to be PHP 5.4.43 + APC Cache
    Code:
    PHP_VERSION='5.4.43'
    ZOPCACHEDFT='n'
    centmin.sh lines 1159-1185 are what determine what is installed PHP Opcache wise on initial centmin mod install
     
    Last edited: Aug 7, 2015