Learn about Centmin Mod LEMP Stack today
Become a Member

sysctl not found ?

Discussion in 'Install & Upgrades or Pre-Install Questions' started by jodumont, Oct 26, 2024.

  1. jodumont

    jodumont New Member

    3
    0
    1
    Oct 26, 2024
    Ratings:
    +0
    Local Time:
    1:55 PM
    • CentOS Version: Alma 9
      • 2 vCPU with 4 GB of RAM and 40 GB of NVME
        • Shared vCPU @ Hetzner (Virtual Private Server (VPS))
    Step to reproduce
    Code:
    yum -y update
    curl -O https://centminmod.com/installer83.sh && chmod 0700 installer83.sh && bash installer83.sh
    
    When asked me disable SELinux ?
    Code:
    cat /etc/default/grub
    and run the grubby command, then reboot

    after reboot
    Code:
    sestatus
    return disabled


    then I rerun
    Code:
    bash installer83.sh
    • Centmin Mod Version Installed: 131.00 stable
    • PHP Version Installed: 8.3
     
    Last edited: Oct 26, 2024
  2. duderuud

    duderuud Active Member

    318
    97
    28
    Dec 5, 2020
    The Netherlands
    Ratings:
    +215
    Local Time:
    1:55 PM
    1.29 x
    11.4
    Yep, installed a new server yesterday and also saw error messages regarding sysctl during the CMM installation.
     
  3. jodumont

    jodumont New Member

    3
    0
    1
    Oct 26, 2024
    Ratings:
    +0
    Local Time:
    1:55 PM
    do you think it's related to Alma or to php83 ?
    or neither of those
     
  4. duderuud

    duderuud Active Member

    318
    97
    28
    Dec 5, 2020
    The Netherlands
    Ratings:
    +215
    Local Time:
    1:55 PM
    1.29 x
    11.4
    It's not PHP. The error came up earlier in the CMM install
     
  5. eva2000

    eva2000 Administrator Staff Member

    58,895
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:55 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
  6. duderuud

    duderuud Active Member

    318
    97
    28
    Dec 5, 2020
    The Netherlands
    Ratings:
    +215
    Local Time:
    1:55 PM
    1.29 x
    11.4
    See attachment for minimal log

    Edit: This log is a few days old but the problem persists up to today.
     

    Attached Files:

    Last edited: Oct 29, 2024
  7. duderuud

    duderuud Active Member

    318
    97
    28
    Dec 5, 2020
    The Netherlands
    Ratings:
    +215
    Local Time:
    1:55 PM
    1.29 x
    11.4
    Here is the log from today's install
     

    Attached Files:

  8. duderuud

    duderuud Active Member

    318
    97
    28
    Dec 5, 2020
    The Netherlands
    Ratings:
    +215
    Local Time:
    1:55 PM
    1.29 x
    11.4
    Code:
    [31mWARNING: 'sysctl' not found! It's required for most checks.[0m
    
    [31mWARNING: Not all necessary commands found. Some tests might not work![0m
    
    {
      "/usr/local/lib/php/extensions/no-debug-non-zts-20230831/opcache.so": {
        "relro": "full",
        "canary": "yes",
        "nx": "yes",
        "pie": "dso",
        "clangcfi": "no",
        "safestack": "no",
        "rpath": "no",
        "runpath": "yes",
        "symbols": "no",
        "fortify_source": "yes",
        "fortified": "6",
        "fortify-able": "12"
      }
    

    Also getting a LOT of these:
    Code:
    <b>Deprecated</b>:  Function strftime() is deprecated in <b>/opt/phpbench/detailed_benchmark.php</b> on line <b>361</b><br />
    <br />
    
    A few from these:
    Code:
    <b>Deprecated</b>:  Creation of dynamic property db::$num_rows is deprecated in <b>/svr-setup/php_pgo_training_scripts/db.php</b> on line <b>211</b><br />
    1.run_mysql_queries        0.010
    <br />
    
    Code:
    /svr-setup/php-8.3.13/ext/pcre/pcre2lib/pcre2_compile.c:8100:39: note: ‘cb’ declared here
     8100 |   branch_chain *bcptr, compile_block *cb, PCRE2_SIZE *lengthptr)
    cc1plus: warning: command-line option ‘-Wno-int-conversion’ is valid for C/ObjC but not for C++
    cc1plus: warning: command-line option ‘-Wno-pointer-to-int-cast’ is valid for C/ObjC but not for C++
    cc1plus: warning: command-line option ‘-Wno-enum-int-mismatch’ is valid for C/ObjC but not for C++
    cc1plus: warning: command-line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++
    cc1plus: warning: command-line option ‘-Wno-discarded-qualifiers’ is valid for C/ObjC but not for C++
    cc1plus: warning: command-line option ‘-Wno-int-conversion’ is valid for C/ObjC but not for C++
    cc1plus: warning: command-line option ‘-Wno-pointer-to-int-cast’ is valid for C/ObjC but not for C++
    cc1plus: warning: command-line option ‘-Wno-enum-int-mismatch’ is valid for C/ObjC but not for C++
    cc1plus: warning: command-line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++
    cc1plus: warning: command-line option ‘-Wno-discarded-qualifiers’ is valid for C/ObjC but not for C++
    cc1plus: warning: command-line option ‘-Wno-int-conversion’ is valid for C/ObjC but not for C++
    cc1plus: warning: command-line option ‘-Wno-pointer-to-int-cast’ is valid for C/ObjC but not for C++
    cc1plus: warning: command-line option ‘-Wno-enum-int-mismatch’ is valid for C/ObjC but not for C++
    cc1plus: warning: command-line option ‘-Wno-implicit-function-declaration’ is valid for C/ObjC but not for C++
    cc1plus: warning: command-line option ‘-Wno-discarded-qualifiers’ is valid for C/ObjC but not for C++
    cc1plus: warning: command-line option ‘-Wno-int-conversion’ is valid for C/ObjC but not for C++
    cc1plus: warning: command-line option ‘-Wno-pointer-to-int-cast’ is valid for C/ObjC but not for C++
    Unable to coalesce ssa_names 3 and 4 which are marked as MUST COALESCE.
    __orig_bailout_3(ab) and  __orig_bailout_4(ab)
    
    Code:
    /svr-setup/php-8.3.13/Zend/zend_API.h:221:49: internal compiler error: SSA corruption
      221 | #define ZEND_MODULE_DEACTIVATE_N(module)        zm_deactivate_##module
          |                                                 ^~~~~~~~~~~~~~
    /svr-setup/php-8.3.13/Zend/zend_API.h:231:61: note: in expansion of macro ‘ZEND_MODULE_DEACTIVATE_N’
      231 | #define ZEND_MODULE_DEACTIVATE_D(module)        zend_result ZEND_MODULE_DEACTIVATE_N(module)(SHUTDOWN_FUNC_ARGS)
          |                                                             ^~~~~~~~~~~~~~~~~~~~~~~~
    /svr-setup/php-8.3.13/main/php.h:408:33: note: in expansion of macro ‘ZEND_MODULE_DEACTIVATE_D’
      408 | #define PHP_RSHUTDOWN_FUNCTION  ZEND_MODULE_DEACTIVATE_D
          |                                 ^~~~~~~~~~~~~~~~~~~~~~~~
    /svr-setup/php-8.3.13/ext/session/session.c:2813:8: note: in expansion of macro ‘PHP_RSHUTDOWN_FUNCTION’
     2813 | static PHP_RSHUTDOWN_FUNCTION(session) /* {{{ */
          |        ^~~~~~~~~~~~~~~~~~~~~~
    
    Code:
    warning: pear/PEAR dependency package "pear/Archive_Tar" installed version 1.4.14 is not the recommended version 1.4.4
    
    Code:
    cp: cannot create regular file '/etc/init.d/php-fpm': No such file or directory
    chmod: cannot access '/etc/init.d/php-fpm': No such file or directory
    ./centmin.sh: line 2988: chkconfig: command not found
    Redirecting to /bin/systemctl start php-fpm.service
    Failed to start php-fpm.service: Unit php-fpm.service not found.
    systemctl daemon-reload
    
    Code:
    sample/le-proxy.c: In function ‘eventcb’:
    sample/le-proxy.c:116:37: warning: ‘ERR_func_error_string’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
      116 |                                     ERR_func_error_string(err);
          |                                     ^~~~~~~~~~~~~~~~~~~~~
    In file included from sample/le-proxy.c:35:
    /usr/include/openssl/err.h:459:35: note: declared here
      459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
          |                                   ^~~~~~~~~~~~~~~~~~~~~
    
     
    Last edited: Oct 30, 2024
  9. eva2000

    eva2000 Administrator Staff Member

    58,895
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:55 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Yeah some of those are cosmetic in nature and some are output if my conditional checks for routines. So if I check for existence of a file or command and it does not exist etc
     
  10. duderuud

    duderuud Active Member

    318
    97
    28
    Dec 5, 2020
    The Netherlands
    Ratings:
    +215
    Local Time:
    1:55 PM
    1.29 x
    11.4
    So the sysctl errors are nothing to worry about?
     
  11. eva2000

    eva2000 Administrator Staff Member

    58,895
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:55 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    That one I am still checking out though.
     
  12. muabui

    muabui New Member

    2
    0
    1
    Nov 27, 2024
    Ratings:
    +0
    Local Time:
    6:55 PM
    I tried installing PHP 8.4.1 on AlmaLinux 9 and got a lot of sysctl errors, but it didn't seem to affect anything, so far after 2 days of operation my site is still working fine. (y)
    Code:
    WARNING: 'sysctl' not found! It's required for most checks.
    
    WARNING: Not all necessary commands found. Some tests might not work!
     
  13. duderuud

    duderuud Active Member

    318
    97
    28
    Dec 5, 2020
    The Netherlands
    Ratings:
    +215
    Local Time:
    1:55 PM
    1.29 x
    11.4
    I saw that too yesterday. Same goes for Nginx install.
     
  14. Jon Snow

    Jon Snow Active Member

    917
    188
    43
    Jun 30, 2017
    Ratings:
    +293
    Local Time:
    8:55 AM
    Nginx 1.13.9
    MariaDB 10.1.31
  15. eva2000

    eva2000 Administrator Staff Member

    58,895
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:55 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    yup can be ignored https://community.centminmod.com/threads/is-this-an-issue.26892/#post-102317