Welcome to Centmin Mod Community
Register Now

Upgrade Error regarding PCRE

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Mask, Sep 1, 2016.

  1. Mask

    Mask Active Member

    104
    29
    28
    Nov 10, 2014
    Ratings:
    +35
    Local Time:
    8:06 PM
    Nginx 1.9.1
    MariaDB 10.0.19
    Hello,

    I am not sure what changed, I just noticed my MySql Backup script is not working anymore. And its not been working for last few days. The only thing I did in last week was
    centmin --> 23 -> 2 (i.e. updated code on current branch)
    Then upgraded nginx to 1.11.3
    And upgraded php to php 7.0.9

    I am on CentminMod 1.2.3-eva2000.08

    This is the issue I am having
    Code:
    [root@ ~]#  mysql -e 'show databases' -s | grep -vP "^information_schema$|^performance_schema$"
    grep: this version of PCRE is compiled without UTF support
    
    Any ideas what should I do?

    Thanks
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    1:06 AM
    Nginx 1.13.x
    MariaDB 5.5
    sounds like due to the wget 1.18 manual install routine added which install pcre 8.39 but that might be without UTF support

    Code (Text):
    /usr/local/bin/pcretest -C
    PCRE version 8.39 2016-06-14
    Compiled with
      8-bit support
      No UTF-8 support
      16-bit support
      No UTF-16 support
      32-bit support
      No UTF-32 support
      No Unicode properties support
      No just-in-time compiler support
      Newline sequence is LF
      \R matches all Unicode newlines
      Internal link size = 2
      POSIX malloc threshold = 10
      Parentheses nest limit = 250
      Default match limit = 10000000
      Default recursion depth limit = 10000000
      Match recursion uses stack


    mysql client using the wget 1.18 routine's installed pcre 8.39 and not system one
    Code (Text):
    ldd $(which mysql) | grep pcre
            libpcre.so.1 => /usr/local/lib/libpcre.so.1 (0x00007fe0eb1b6000)

    let me see if i can fix that :)
     
    Last edited: Sep 1, 2016
  3. Mask

    Mask Active Member

    104
    29
    28
    Nov 10, 2014
    Ratings:
    +35
    Local Time:
    8:06 PM
    Nginx 1.9.1
    MariaDB 10.0.19
    Yup. Looks like that might be the case.

    Code:
    [root@ ~]# /usr/local/bin/pcretest -C
    PCRE version 8.39 2016-06-14
    Compiled with
      8-bit support
      No UTF-8 support
      16-bit support
      No UTF-16 support
      32-bit support
      No UTF-32 support
      No Unicode properties support
      No just-in-time compiler support
      Newline sequence is LF
      \R matches all Unicode newlines
      Internal link size = 2
      POSIX malloc threshold = 10
      Parentheses nest limit = 250
      Default match limit = 10000000
      Default recursion depth limit = 10000000
      Match recursion uses stack
    
     
    • Informative Informative x 1
  4. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    1:06 AM
    Nginx 1.13.x
    MariaDB 5.5
    just fixed in 123.09beta01 will do same for 123.08stable

    just update your local install via centmin.sh menu option 23 submenu 2 then exiting centmin.sh and change into /usr/local/src/centminmod once again and then re-run centmin.sh once after and centmin.sh will auto detect if pcre has UTF8 support and recompile
    Code (Text):
    ./centmin.sh
    
    fix pcre install for missing UTF8 support... one time task

    Code (Text):
    /usr/local/bin/pcretest -C
    PCRE version 8.39 2016-06-14
    Compiled with
      8-bit support
      UTF-8 support
      16-bit support
      UTF-16 support
      32-bit support
      UTF-32 support
      Unicode properties support
      No just-in-time compiler support
      Newline sequence is LF
      \R matches all Unicode newlines
      Internal link size = 2
      POSIX malloc threshold = 10
      Parentheses nest limit = 250
      Default match limit = 10000000
      Default recursion depth limit = 10000000
      Match recursion uses stack
     
    • Like Like x 1