Learn about Centmin Mod LEMP Stack today
Register Now

Fresh Install Error Message

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Itworx4me, Aug 17, 2019.

  1. Itworx4me

    Itworx4me Premium Member Premium Member

    339
    35
    28
    Mar 14, 2017
    Ratings:
    +65
    Local Time:
    4:23 PM
    Nginx 1.27.4
    MariaDB 10.6.21
    Please fill in any relevant information that applies to you:
    • CentOS Version: i.e. CentOS 7 64bit ?
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: i.e. 1.17.3
    • PHP Version Installed: i.e. 7.3.8
    • MariaDB MySQL Version Installed: i.e. 10.3.xxx
    • This is a Fresh install of Centminmod
      I get the following error message when signing onto centmin:
      Code (Text):
      grep: /etc/sysctl.d/101-sysctl.conf: No such file or directory


      Any ideas as to why I am getting this error?
    Thanks,
    Itworx4me

     
  2. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:23 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Using OpenVZ VPS or KVM/Xen VPS ? web host ?

    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

    Would need the initial install log details to know why.
     
  3. Itworx4me

    Itworx4me Premium Member Premium Member

    339
    35
    28
    Mar 14, 2017
    Ratings:
    +65
    Local Time:
    4:23 PM
    Nginx 1.27.4
    MariaDB 10.6.21
    Sent you a private message

    OpenVZ VPS

    Thanks,
    Itworx4me
     
  4. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:23 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    yes problem is you're using OpenVZ VPS so TCP kernel level tuning is skipped so shouldn't touch or create
    /etc/sysctl.d/101-sysctl.conf hence why it's missing on your install. So need to see where the grep for
    /etc/sysctl.d/101-sysctl.conf is and hide it for OpenVZ systems. Otherwise, you install is fine just OpenVZ doesn't support advanced performance/scaling optimisations which are applied at TCP/Kernel level like you can with KVM/Xen or dedicated servers.

    from your install log you provided privately
    Code (Text):
    [1;33;40m--------------------------------------------------------
    (B[m[1;33;40mOpenVZ VPS detected:
    (B[m[1;33;40mcheck /proc/user_beancounters counters
    (B[m[1;33;40m--------------------------------------------------------
    (B[mVPS Memory Usage
    Current Held: 249.629MB
    Max Held: 933.501MB
    Barrier: 2560MB
    privvmpages: 880 MB (0%)
    
    Version: 2.5
          uid  resource                     held              maxheld              barrier                limit              failcnt
       53530:  kmemsize                352586425            363425792  9223372036854775807  9223372036854775807                    0
               lockedpages                     0                    0               524288               524288                    0
               privvmpages                218397               322867  9223372036854775807  9223372036854775807                    0
               shmpages                    48331                48343  9223372036854775807  9223372036854775807                    0
               dummy                           0                    0  9223372036854775807  9223372036854775807                    0
               numproc                        68                  135  9223372036854775807  9223372036854775807                    0
               physpages                  487458               524288                    0               524288                    0
               vmguarpages                     0                    0              1048576  9223372036854775807                    0
               oomguarpages                51068               191181               524288  9223372036854775807                    0
               numtcpsock                     13                   37  9223372036854775807  9223372036854775807                    0
               numflock                       17                   30  9223372036854775807  9223372036854775807                    0
               numpty                          1                    1  9223372036854775807  9223372036854775807                    0
               numsiginfo                      0                   63  9223372036854775807  9223372036854775807                    0
               tcpsndbuf                  460112               878672  9223372036854775807  9223372036854775807                    0
               tcprcvbuf                  212992             16119392  9223372036854775807  9223372036854775807                    0
               othersockbuf               178024               426872  9223372036854775807  9223372036854775807                    0
               dgramrcvbuf                     0                 6936  9223372036854775807  9223372036854775807                    0
               numothersock                  130                  140  9223372036854775807  9223372036854775807                    0
               dcachesize              341709997            348571417  9223372036854775807  9223372036854775807                    0
               numfile                      1020                 4040  9223372036854775807  9223372036854775807                    0
               dummy                           0                    0  9223372036854775807  9223372036854775807                    0
               dummy                           0                    0  9223372036854775807  9223372036854775807                    0
               dummy                           0                    0  9223372036854775807  9223372036854775807                    0
               numiptent                     394                  397  9223372036854775807  9223372036854775807                    0
    [1;33;40m--------------------------------------------------------
    (B[m*************************************************
    [1;32;40m* Centmin Mod install completed....
    (B[m*************************************************
    
     
  5. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:23 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    FYI just updated 123.09beta01 which fix, so run cmupdate command to update your local code and then try a new SSH login session, should no longer get that error message
     
  6. Itworx4me

    Itworx4me Premium Member Premium Member

    339
    35
    28
    Mar 14, 2017
    Ratings:
    +65
    Local Time:
    4:23 PM
    Nginx 1.27.4
    MariaDB 10.6.21
    Error message is gone. Thanks for taking the time to address this issue.

    Itworx4me
     
  7. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:23 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Thanks for confirmation and bug report :)