Welcome to Centmin Mod Community
Become a Member

How to troubleshoot Centmin Mod initial install issues (beta releases)

Discussion in 'Beta release code' started by eva2000, May 29, 2014.

Thread Status:
Not open for further replies.
  1. eva2000

    eva2000 Administrator Staff Member

    40,618
    9,012
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,878
    Local Time:
    2:27 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Centmin Mod is provided as is without support. I only work on Centmin Mod in my free time. So users feel free to help each other out which is the ideal goal of this community forum :)

    Centmin Mod Logs
    However, to properly troubleshoot and diagnose Centmin Mod initial install issues, you need to look deeper into the install logs which are automatically created when you run initial install menu option #1 or when you run any of the CLI install methods (from 1.2.3-eva2000.07 beta and onwards). These install logs are automatically created as per FAQ 7 outline at http://centminmod.com/faq.html

    For example
    Code:
    ls -lhrt /root/centminlogs/
    total 7.8M
    -rw-r--r-- 1 root root  12K May 24 02:02 centminmod_1.2.3-eva2000.07_230514-155845_yuminstall_centos6.log
    -rw-r--r-- 1 root root    0 May 24 02:02 timedhosts_230514-155845.txt
    -rw-r--r-- 1 root root  43K May 24 02:02 centminmod_yumtimes_230514-155845.log
    -rw-r--r-- 1 root root  17K May 24 02:17 centminmod_1.2.3-eva2000.07_230514-155845_yum-log.log
    -rw-r--r-- 1 root root 4.2M May 24 02:17 centminmod_1.2.3-eva2000.07_230514-155845_install.log
    -rw-r--r-- 1 root root 1.2K May 24 02:19 centminmod_1.2.3-eva2000.07_240514-021937_nginx_addvhost.log
    -rw-r--r-- 1 root root 3.2K May 24 02:25 centminmod_geoipdb_install_240514-022530.log
    -rw-r--r-- 1 root root 667K May 24 02:29 centminmod_1.2.3-eva2000.07_240514-022702_nginx_upgrade.log
    -rw-r--r-- 1 root root 2.2M May 24 03:18 centminmod_1.2.3-eva2000.07_240514-030712_php_upgrade.log
    -rw-r--r-- 1 root root 676K May 28 00:57 centminmod_1.2.3-eva2000.07_280514-005423_nginx_upgrade.log
    Sharing logs and errors
    You can use http://pastebin.com or https://gist.github.com to contents of the install or error messages if you need for them to be properly formatted or if error message or logs are very long and not able to be posted here on the community.

    Server Logs
    You can find your Centmin Mod install/menu logs at FAQ 7 and server logs at FAQ 19 at http://centminmod.com/faq.html

    Nginx Pagespeed Troubleshooting
    Full details at http://community.centminmod.com/threads/nginx-pagespeed-troubleshooting-steps.32/
     
    Last edited: May 29, 2014
  2. eva2000

    eva2000 Administrator Staff Member

    40,618
    9,012
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,878
    Local Time:
    2:27 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x

    Additional Notes


    • Most common initial install error will be with broken download urls due to changes in the download url location or for YUM repos the release RPM version number is updated. You can see all download urls Centmin Mod looks for at /inc/downloadlinks.inc.
     
  3. eva2000

    eva2000 Administrator Staff Member

    40,618
    9,012
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,878
    Local Time:
    2:27 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    For new 123.09beta01 or newer installs. You can create a new thread and post on the Install & Upgrades or Pre-Install Questions forums with the following info.
    • Server or VPS details ? XEN, KVM, OpenVZ, VMWare or dedicated server ? OS ? CentOS 6.9 or 7.4 ? 32bit or 64bit ?
    • What version of Centmin Mod ? .07 stable or 08 stable or .09 beta01 or another branch version ?
    • Was it fresh install or upgrade ?
    • Method of install ? Via centmin.sh menu option 1, Git install or curl one liner install as outlined at centminmod.com/download.html ?
    • How long ago did you install Centmin Mod ?
    • There's numerous code changes, bug fixes over time, so ensure you have latest Centmin Mod code installed by upgrading your Centmin Mod code as instructed below.

    Troubleshooting Initial Install



    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

    Example for 123.09beta01 and newer list /root/centminlogs files in date ascending order and grep for installer_*
    Code (Text):
    ls -lahrt /root/centminlogs | grep installer_*
    

    example output returns install log at /root/centminlogs both a the full log and minimal log (smaller in size with some stuff filtered out)
    Code (Text):
    ls -lahrt /root/centminlogs | grep installer_*
    -rw-r--r-- 1 root root 4.3M Jul 12 09:06 installer_120718-083445.log
    -rw-r--r-- 1 root root 826K Jul 12 10:20 installer_120718-083445_minimal.log
    


    Example for 123.08stable list /root/centminlogs files in date ascending order and grep for install.log
    Code (Text):
    ls -lahrt /root/centminlogs | grep install.log
    

    example output returns install log at /root/centminlogs/centminmod_1.2.3-eva2000.09.001_111016-112321_install.log
    Code (Text):
    ls -lahrt /root/centminlogs | grep install.log
    -rw-r--r--  1 root root 2.2M Oct 11 01:40 centminmod_1.2.3-eva2000.09.001_111016-112321_install.log
    

    in SSH use cat to ouput contents of /root/centminlogs/centminmod_1.2.3-eva2000.09.001_111016-112321_install.log. Clear your SSH client window/buffer so only output is the contents of the file

    for 123.08stable
    Code (Text):
    cat /root/centminlogs/centminmod_1.2.3-eva2000.09.001_111016-112321_install.log
    

    for 123.09beta01 and newer
    Code (Text):
    cat /root/centminlogs/installer_120718-083445_minimal.log
    


    Then copy and paste into Pastebin.com or Gists entry. If your SSH window scroll buffer isn't that large to get the whole contents of the install log, you can download file manually and copy and paste contents. But makes sure it's sanitised version of the contents of the initial install log as outlined at How to troubleshoot Centmin Mod initial install issues
     
    • Informative Informative x 1
Thread Status:
Not open for further replies.