Incorrect binary permission Child failed to make LIVEAPI connection to cPanel

Fix: Incorrect Binary Permission — Child Failed to Make LIVEAPI Connection to cPanel

If your cPanel users encounter errors with Softaculous when opening it in a new tab, or see the error "Incorrect binary permission. Child failed to make LIVEAPI connection to cPanel", this guide provides the fix.

What Causes This Error?

This error occurs when the Softaculous binary file has incorrect ownership or permissions. The LIVEAPI system in cPanel requires specific permissions to function correctly. Common causes include:

  • Server migration that did not preserve file permissions
  • Manual updates to Softaculous that changed ownership
  • Security scripts that modified permissions in the cPanel directory

The Fix

Run the following commands via SSH as root:

chown root:root /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/bin/soft
chmod 4555 /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/bin/soft

What These Commands Do

  • chown root:root — Sets the file ownership to the root user and root group.
  • chmod 4555 — Sets the SUID bit (4) and gives read+execute permissions (555). The SUID bit allows the binary to run with root privileges, which is required for LIVEAPI communication.

Verify the Fix

ls -la /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/bin/soft

The output should show: -r-sr-xr-x 1 root root

If the Issue Persists

  1. Reinstall Softaculous:
    wget -N http://files.softaculous.com/install.sh
    chmod 755 install.sh
    ./install.sh
  2. Clear the Softaculous cache:
    rm -rf /var/softaculous/cache/*
  3. Restart cPanel services:
    /scripts/restartsrv_cpsrvd
  • softaculous, cpanel, liveapi, permissions, troubleshooting
  • 0 Корисниците го најдоа ова како корисно
Дали Ви помогна овој одговор?

Понудени резултати

How to Backup and Restore cPanel Accounts via SSH

How to Backup and Restore cPanel Accounts via SSH Backing up and restoring cPanel accounts via...

How to GET Unlimited hosting with Free Domain Name

How to Get Unlimited Hosting with a Free Domain Name At SubwayHost, we offer unlimited hosting...

How to fix cPanel 500 internal server error

How to Fix cPanel 500 Internal Server Error A 500 Internal Server Error in cPanel is one of the...

cPanel does not support NetworkManager enabled

Fix: cPanel Does Not Support NetworkManager Enabled If you encounter the following error while...

How to install Softaculous on cPanel/WHM

How to Install Softaculous on cPanel/WHM Softaculous is the leading auto-installer for web...