Knowledgebase

What is the doctor tool key/script and what it’s needed for? How to obtain it?

The "doctor" tool in CloudLinux is a script designed to perform checks and diagnostics on a CloudLinux system to identify and address common issues. This script helps system administrators identify and resolve problems related to CloudLinux features, configurations, and compatibility.

The "doctor" tool is particularly useful for:

  1. Troubleshooting: It helps in diagnosing and resolving issues related to CloudLinux installations, including any potential conflicts or misconfigurations.

  2. Pre-Upgrade Assessment: It can be used to perform a pre-upgrade assessment before migrating from CloudLinux 6 to CloudLinux 7 or 8, for example.

  3. General Health Checks: These can provide a snapshot of the system's health, including checks on LVE, CageFS, and other CloudLinux components.

To obtain the "doctor" tool, you can follow these steps:

  1. Access the Server:

    • Log in to your CloudLinux server with administrative privileges.
  2. Download the Script:

    • You can obtain the "doctor" script directly from the official CloudLinux repository.
    bash

 

  • wget https://repo.cloudlinux.com/cloudlinux/sources/da/tools/doctor/doctor.py
  • Grant Execution Permissions:

    • Make the script executable:
    bash
  • chmod +x doctor.py
  • Run the Doctor Tool:

    • Execute the script with superuser privileges:
    bash

 

  1. sudo ./doctor.py
    • The script will perform various checks and provide recommendations based on its findings.

Remember to follow any specific guidance provided by the script during its execution.

Please note that CloudLinux's tools and procedures may evolve over time, so it's advisable to refer to the official CloudLinux documentation or contact CloudLinux directly for the most current information about the "doctor" tool and its usage.

  • 0 Users Found This Useful
Was this answer helpful?