Join the community today
Become a Member

[Solved] Memcached not working on fresh server install

Discussion in 'Bug Reports' started by hellenic, Mar 4, 2019.

  1. hellenic

    hellenic New Member

    15
    4
    3
    Mar 4, 2019
    Ratings:
    +5
    Local Time:
    1:39 AM
    1.15.9
    10.1.38
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 64bit ?
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed:1.15.9
    • PHP Version Installed: 7.2.9
    • MariaDB MySQL Version Installed:10.1.xx
    • When was last time updated Centmin Mod code base ? : just now
    • Persistent Config:
      Code (Text):
      cat /etc/centminmod/custom_config.inc
      
    Error:

    this setup is on hetzner cloud.
    Log file uploaded on Mega upload:
    Code:
    https://mega.nz/#!eMs0VAra!uV9sTM1gGVQIkkxzqnncwfjdUnzxyzpbXe48Tmcapbk
    I used this command to install centminmod:
    Code:
    yum -y update; curl -O https://centminmod.com/betainstaller72.sh && chmod 0700 betainstaller72.sh && bash betainstaller72.sh

     
    Last edited: Mar 4, 2019
  2. eva2000

    eva2000 Administrator Staff Member

    39,199
    8,654
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,307
    Local Time:
    8:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    you ran into memcache php extension issue i supposedly fixed in this update ~32hrs ago at Beta Branch - rollback memcache php 7 extension to 3.0.9 in 123.09beta01 and outlined at PHP-FPM - PHP 7.3.0 - Extensions Issue and reported bug to memcache developers at v4.0.1-php73 tagged failed on PHP 7.3.2 · Issue #38 · websupport-sk/pecl-memcache

    So if you install was older than 32hrs ago then would be the issue. If newer than 32hrs, then it means my fix didn't work for you for some reason.

    Try updating 123.09beta01 code via SSH command = cmupdate and then re-running centmin.sh menu option 10 to recompile memcache php extension and see if that fixes it. If not there's other bugs I need to look at.
     
  3. hellenic

    hellenic New Member

    15
    4
    3
    Mar 4, 2019
    Ratings:
    +5
    Local Time:
    1:39 AM
    1.15.9
    10.1.38
    The setup was about 10 hours ago.
     
  4. eva2000

    eva2000 Administrator Staff Member

    39,199
    8,654
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,307
    Local Time:
    8:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Ah i think memcache 4.01 extension is broken for all php 7 versions not just 7.3 which I reported at v4.0.1-php73 tagged failed on PHP 7.3.2 · Issue #38 · websupport-sk/pecl-memcache and I did workaround for PHP 7.3 only, so will update 123.09beta01 to rollback memcache to 3.09 extension if PHP 7.0-7.2 is detected and rollback + php 7.3 patch if PHP 7.3 detected.

    I am testing that theory now and will update 123.09beta01 once i confirm it.
     
  5. eva2000

    eva2000 Administrator Staff Member

    39,199
    8,654
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,307
    Local Time:
    8:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Yup confirmed memcache v4.0.1 is buggy so rolled back to memcache v3.0.9 for all PHP 5.4-5.6 and 7.0-7.3 versions in latest 123.09beta01 update. Just run cmupdate command to update code with fix and re-run centmin.sh menu option 10 to recompile memcache/memcached extensions
     
  6. hellenic

    hellenic New Member

    15
    4
    3
    Mar 4, 2019
    Ratings:
    +5
    Local Time:
    1:39 AM
    1.15.9
    10.1.38
    It works now. Thank you very much!
     
  7. eva2000

    eva2000 Administrator Staff Member

    39,199
    8,654
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,307
    Local Time:
    8:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Glad to hear :D
     
  8. pamamolf

    pamamolf Premium Member Premium Member

    3,239
    305
    83
    May 31, 2014
    Ratings:
    +558
    Local Time:
    1:39 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    What i notice on that is that php is trying to load:

    Code:
    /usr/local/lib/php/extensions/no-debug-non-zts-20170718/memcache.so
    that is not exist but a related file exist there:

    Code:
    /usr/local/lib/php/extensions/no-debug-non-zts-20170718/memcached.so
    When i rename it to memcache.so php is asking for memcached.so. A bit crazy :)

    When i copy the file and have both on the folder php is working with a warning only that module is already loaded..
     
  9. eva2000

    eva2000 Administrator Staff Member

    39,199
    8,654
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,307
    Local Time:
    8:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    no no memcache and memcached php extensions are 2 different extensions entirely - do not rename them
     
  10. pamamolf

    pamamolf Premium Member Premium Member

    3,239
    305
    83
    May 31, 2014
    Ratings:
    +558
    Local Time:
    1:39 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    ok i just was playing on test server :)
     
..