Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > Bugs > Topic : LIVEAPI connection to cPanel



Threaded Mode | Print  

 LIVEAPI connection to cPanel (8 Replies, Read 6264 times)
HostXNow
Group: NOC
Post Group: Newbie
Posts: 14
Status:
Just installed Softaculous on OpenVZ VPS for a customer and when they goto Softaculous within cPanel they get

Quote
Incorrect binary permission Child failed to make LIVEAPI connection to cPanel.


-----------------------
Fastest Hosting | Backup Storage | Web Hosting Forum
IP: --   

LIVEAPI connection to cPanel
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 4660
Status:
Hi,

Please execute the following commands to fix this issue :
Code
chown root:root /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/bin/soft
chmod 4555 /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/bin/soft


Let us know if you still face the issue.

-----------------------
Loginizer WordPress Security Plugin
Follow us on Twitter
IP: --   

LIVEAPI connection to cPanel
Floffy
Group: Member
Post Group: Newbie
Posts: 41
Status:
We are seeing this daily on both new and old servers.

We have tried all of these:
mkdir /var/softtmp
chmod 0777 /var/softtmp

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

Install it again:
wget -N http://files.softaculous.com/install.sh
chmod 755 install.sh
./install.sh

I'm checking cPanel error log and see this:

Code
PHP Warning:  touch(): Unable to create file /home/username/.softaculous/sess/a986085277e107b8ab0ecc5b90b40599 because Permission denied in /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/index.live.php on line 98
PHP Warning:  chmod(): Permission denied in /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/index.live.php on line 99
PHP Warning:  fopen(/home/username/.softaculous/sess/a986085277e107b8ab0ecc5b90b40599): failed to open stream: Permission denied in /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/index.live.php on line 101
[2020-02-18 11:03:33 +0100] die [Internal Death while parsing [live php] 632491] Child failed to make LIVEAPI connection to cPanel from: ./frontend/paper_lantern/softaculous/index.live.php. at cpanel.pl line 4381.
at cpanel.pl line 4381.
        cpanel::cpanel::setup_external_engine() called at cpanel.pl line 883
        cpanel::cpanel::script("cpanel::cpanel", "./frontend/paper_lantern/softaculous/index.live.php") called at cpanel.pl line 321


Child failed to make LIVEAPI connection to cPanel from: ./frontend/paper_lantern/softaculous/index.live.php. at cpanel.pl line 4381.
[2020-02-18 11:03:33 +0100] warn [cpaneld] The subprocess (cpanel (cpanel)) exited with an error: The subprocess reported error number 255 when it ended. at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 251.
        Cpanel::Server::Handlers::SubProcess::_report_subprocess_errors(Cpanel::Server::Handlers::SubProcess=HASH(0x222d800)) called at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 109
        Cpanel::Server::Handlers::SubProcess::handler(Cpanel::Server::Handlers::SubProcess=HASH(0x222d800), "subprocess_name", "cpanel (cpanel)", "subprocess_read_handle", GLOB(0x222dd98), "subprocess_write_handle", GLOB(0x25f7ee8), "subprocess_pid_to_reap", ...) called at cpsrvd.pl line 7293
        cpanel::cpsrvd::cpHandler("app", "cpanel", "document", "./frontend/paper_lantern/softaculous/index.live.php") called at cpsrvd.pl line 2768
        cpanel::cpsrvd::dodoc_cpaneld() called at cpsrvd.pl line 1970
        cpanel::cpsrvd::dodoc(HASH(0x13a07c0)) called at cpsrvd.pl line 1717
        cpanel::cpsrvd::handle_one_connection(5) called at cpsrvd.pl line 1097
        cpanel::cpsrvd::script() called at cpsrvd.pl line 425


Is there any solution that will work and fix this?
IP: --   

LIVEAPI connection to cPanel
Floffy
Group: Member
Post Group: Newbie
Posts: 41
Status:
I found that user had wrong permission on .softaculous folder. Corrected those to 711.
But still we see these errors in log and softaculous is still not loading:

Code
[2020-02-18 11:20:37 +0100] die [Internal Death while parsing [live php] 754547] Child failed to make LIVEAPI connection to cPanel from: ./frontend/paper_lantern/softaculous/index.live.php. at cpanel.pl line 4381.
at cpanel.pl line 4381.
        cpanel::cpanel::setup_external_engine() called at cpanel.pl line 883
        cpanel::cpanel::script("cpanel::cpanel", "./frontend/paper_lantern/softaculous/index.live.php") called at cpanel.pl line 321


Child failed to make LIVEAPI connection to cPanel from: ./frontend/paper_lantern/softaculous/index.live.php. at cpanel.pl line 4381.
[2020-02-18 11:20:37 +0100] warn [cpaneld] The subprocess (cpanel (cpanel)) exited with an error: The subprocess reported error number 255 when it ended. at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 251.
        Cpanel::Server::Handlers::SubProcess::_report_subprocess_errors(Cpanel::Server::Handlers::SubProcess=HASH(0x2d9ec58)) called at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 109
        Cpanel::Server::Handlers::SubProcess::handler(Cpanel::Server::Handlers::SubProcess=HASH(0x2d9ec58), "subprocess_name", "cpanel (cpanel)", "subprocess_read_handle", GLOB(0x2d9eed8), "subprocess_write_handle", GLOB(0x2d9ed70), "subprocess_pid_to_reap", ...) called at cpsrvd.pl line 7293
        cpanel::cpsrvd::cpHandler("app", "cpanel", "document", "./frontend/paper_lantern/softaculous/index.live.php") called at cpsrvd.pl line 2768
        cpanel::cpsrvd::dodoc_cpaneld() called at cpsrvd.pl line 1970
        cpanel::cpsrvd::dodoc(HASH(0x13a07c0)) called at cpsrvd.pl line 1717
        cpanel::cpsrvd::handle_one_connection(5) called at cpsrvd.pl line 1097
        cpanel::cpsrvd::script() called at cpsrvd.pl line 425
[2020-02-18 11:20:42 +0100] die [Internal Death while parsing [live php] 755035] Child failed to make LIVEAPI connection to cPanel from: ./frontend/paper_lantern/softaculous/index.live.php. at cpanel.pl line 4381.
at cpanel.pl line 4381.
        cpanel::cpanel::setup_external_engine() called at cpanel.pl line 883
        cpanel::cpanel::script("cpanel::cpanel", "./frontend/paper_lantern/softaculous/index.live.php") called at cpanel.pl line 321


Child failed to make LIVEAPI connection to cPanel from: ./frontend/paper_lantern/softaculous/index.live.php. at cpanel.pl line 4381.
[2020-02-18 11:20:42 +0100] warn [cpaneld] The subprocess (cpanel (cpanel)) exited with an error: The subprocess reported error number 255 when it ended. at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 251.
        Cpanel::Server::Handlers::SubProcess::_report_subprocess_errors(Cpanel::Server::Handlers::SubProcess=HASH(0x2d9f928)) called at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 109
        Cpanel::Server::Handlers::SubProcess::handler(Cpanel::Server::Handlers::SubProcess=HASH(0x2d9f928), "subprocess_name", "cpanel (cpanel)", "subprocess_read_handle", GLOB(0x2da0148), "subprocess_write_handle", GLOB(0x2d9f9a0), "subprocess_pid_to_reap", ...) called at cpsrvd.pl line 7293
        cpanel::cpsrvd::cpHandler("app", "cpanel", "document", "./frontend/paper_lantern/softaculous/index.live.php") called at cpsrvd.pl line 2768
        cpanel::cpsrvd::dodoc_cpaneld() called at cpsrvd.pl line 1970
        cpanel::cpsrvd::dodoc(HASH(0x13a07c0)) called at cpsrvd.pl line 1717
        cpanel::cpsrvd::handle_one_connection(5) called at cpsrvd.pl line 1097
        cpanel::cpsrvd::script() called at cpsrvd.pl line 425
IP: --   

LIVEAPI connection to cPanel
Floffy
Group: Member
Post Group: Newbie
Posts: 41
Status:
A reinstall of Softaculous did the trick this time.
IP: --   

LIVEAPI connection to cPanel
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 4660
Status:
Hi,

Please check if the .softaculous folder is owned by the correct user. It could be possible if this folder is moved from another server by root it could be owned by root and the user might not be able to open the folder to write.

Also if you can open a support ticket with us with the login details of one of the servers where you face the issue so that we can check this and find the exact cause of the issue :
https://softaculous.deskuss.com/

-----------------------
Loginizer WordPress Security Plugin
Follow us on Twitter
IP: --   

LIVEAPI connection to cPanel
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 4660
Status:
Quote From : Floffy February 18, 2020, 10:30 am
A reinstall of Softaculous did the trick this time.
Glad to hear that !
If you have any server where you are still facing the issue please open a support ticket so that we can find the exact cause of the issue.


-----------------------
Loginizer WordPress Security Plugin
Follow us on Twitter
IP: --   

LIVEAPI connection to cPanel
Floffy
Group: Member
Post Group: Newbie
Posts: 41
Status:
Folder was owned by user.
But yesterday one of the other options was used and work. That was a user that transferred from a old server.

Ok, will do that.
IP: --   

LIVEAPI connection to cPanel
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 4660
Status:
Once we receive access to the server with the error we will debug and find the exact cause of the issue.

-----------------------
Loginizer WordPress Security Plugin
Follow us on Twitter
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is August 7, 2020, 9:52 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.290