Softaculous is not working within Interworx

Hi, when I logged into Nodeworx today and went to the Softaculous option, I got a white screen. When I log into Siteworx and click on Softaculous I get a 500 internal service error. So I tried to reinstall Softaculos and I get this error:

Welcome to Softaculous Apps Installer-----------------------------------------------

PHP Fatal error: SOAP-ERROR: Parsing WSDL: Couldn’t load from ‘https://127.0.0.1:2443/nodeworx/soap.php?wsdl’ : failed to load external entity “https://127.0.0.1:2443/nodeworx/soap.php?wsdl
in /usr/local/softaculous/enduser/softpanel.php on line 160
PHP Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn’t load from ‘https://127.0.0.1:2443/nodeworx/soap.php?wsdl’ : failed to load external entity “https://127.0.0.1:2443/nodeworx/soap.php?wsdl
in /usr/local/softaculous/enduser/softpanel.php:160
Stack trace:
#0 /usr/local/softaculous/enduser/softpanel.php(160): SoapClient->SoapClient()
#1 /usr/local/softaculous/enduser/main/functions.php(3399): softpanel->unique()
#2 /usr/local/softaculous/enduser/main/functions.php(4434): get_softaculous_file()
#3 /root/install.inc(713): loadlicense(true)
#4 {main}
thrown in /usr/local/softaculous/enduser/softpanel.php on line 160

Anybody have any suggestions ?
Thanks

Hi hostpanda

Have you installed soap (yum install php-soap)

It’s just a thought and I’ll test on one of our test servers

Many thanks

John

Hi hostpanda

Softaculous works lovely on our test and live servers

What IW version and distro are you using (I have not tested on centos 7, as its powered off at the moment )

Many thanks

John

Hi Hostpanda
There is also a good post from Inodecloud, as below, but I am not sure if it will work on Centos 7.
Many thanks
John
I had the same issue was getting the The INFO.XML file could not be found! Please report this to the server administrator, tried the cron update and no luck still got the same error.
This worked however.

  1. cd /usr/local/
  2. wget -N http://www.softaculous.com/iwx/install_softaculous.php && chmod 755 install_softaculous.php && /home/interworx/bin/php /usr/local/install_softaculous.php3. it will automatically reinstall and that should be it
    hope that helps

Hi,

So I have tried the solution above from InodeCloud, did not work. Also yes I do have php-soap installed. I am still getting the same error as my first post.

So everything was working before the most recent Interworx update. Once again, here are the errors I am getting when I try to install Softaculous.
Not sure what is going on, I have tried several solutions and none of them are working.

Welcome to Softaculous Apps Installer

PHP Fatal error: SOAP-ERROR: Parsing WSDL: Couldn’t load from ‘https://127.0.0.1:2443/nodeworx/soap.php?wsdl’ : failed to load external entity “https://127.0.0.1:2443/nodeworx/soap.php?wsdl
in /usr/local/softaculous/enduser/softpanel.php on line 160
PHP Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn’t load from ‘https://127.0.0.1:2443/nodeworx/soap.php?wsdl’ : failed to load external entity “https://127.0.0.1:2443/nodeworx/soap.php?wsdl
in /usr/local/softaculous/enduser/softpanel.php:160
Stack trace:
#0 /usr/local/softaculous/enduser/softpanel.php(160): SoapClient->SoapClient()
#1 /usr/local/softaculous/enduser/main/functions.php(3399): softpanel->unique()
#2 /usr/local/softaculous/enduser/main/functions.php(4434): get_softaculous_file()
#3 /usr/local/install.inc(713): loadlicense(true)
#4 {main}
thrown in /usr/local/softaculous/enduser/softpanel.php on line 160

Hi hostpanda

I think it is failing then due to SSL failure on 127.0.0.1

If you ssh into your server, and run

wget https://127.0.0.1:2443/nodeworx/soap.php?wsdl

I think you will see a SSL cert failure

If you then add --no-check-certificate to the end and run again, you should see it fetches correctly

I think then you have 2 options, either change to http or add the no check certificate to the calling command. Both should be fine as its only looking at localhost

Many thanks

John

Hi John,

Many thanks for helping me.
I ran the command you provided and here is the result:

[root@bamboo local]# https://127.0.0.1:2443/nodeworx/soap.php?wsdl
-bash: https://127.0.0.1:2443/nodeworx/soap.php?wsdl: No such file or directory

Hi hostpanda

Many thanks but you forgot to do wget as its a webpage

Please could you retry using wget and confirm result

Many thanks

John

My bad, you are correct an SSL error regarding the localhost:

wget https://127.0.0.1:2443/nodeworx/soap.php?wsdl
–2016-08-06 19:09:08-- https://127.0.0.1:2443/nodeworx/soap.php?wsdl
Connecting to 127.0.0.1:2443… connected.
ERROR: certificate common name “hostpanda.net” doesn’t match requested host name “127.0.0.1”.
To connect to 127.0.0.1 insecurely, use ‘–no-check-certificate’.

So I do I get the softaculous installer to run successfully?

Hi Hostpanda
Many thanks.
I will have to think a little, as the reinstall of softaculous did not correct this.
I suppose it could be a php issue which is stopping it working
What Centos version are you seeing this on, and IW version, is it dedicated or VPS
If you need it quickly, you may want to open a support ticket and include your thread with IW support, but would appreciate an update when resolved.
The php files where you would make the simple change are encrypted with Ioncube, so you cannot directly make changes.
I hope that helps a little
Many thanks
John

Hi Hostpanda
Just a thought, could you fully restart your IW server and test again
Many thanks
John

Softaculous works fine here on our servers as well.

Interestingly, I notice our server has the issue as well, at least when I check via wget. I think editing the /etc/hosts file might be of help in this aspect? But… honestly, if I check via the UI, I have no issues in working with Softaculous, so I’m afraid I’m not much help there.

Hi kerio

Every server would have the same issue, as SSL Cert cannot be assigned to an IP address

I do think a server restart might correct hostpanda issue, I read that on softaculous forum

Many thanks

John

This has been resolved. I had Softaculous installed and for some reason it stopped working. I attempted a re-install but because I had an old install it was conflicting with the new install files and processes.
Softaculous tech support has been great.
Here is the final communication that corrected the issue.

I just checked our code and I see that Softaculous should try to connect to “http://127.0.0.1:2080/nodeworx/soap.php?wsdl” and not “https://127.0.0.1:2443/nodeworx/soap.php?wsdl

It looks like you are using old version of Softaculous.

Can you please provide the output of the following command on your server : /home/interworx/bin/php /usr/local/softaculous/cli.php -v

Also in order to re-install please use the following steps : mv /usr/local/softaculous/ /usr/local/softaculous.bak
wget -N http://files.softaculous.com/install.sh
chmod 755 install.sh
./install.sh

This should resolve your issue. In order to get the Softaculous Settings back from the backup folder please copy the following files from softaculous.bak folder to softaculous : http://www.softaculous.com/docs/Replicating_a_softaculous_server_setting

[QUOTE=hostpanda;28890]This has been resolved. I had Softaculous installed and for some reason it stopped working. I attempted a re-install but because I had an old install it was conflicting with the new install files and processes.
Softaculous tech support has been great.
Here is the final communication that corrected the issue.

I just checked our code and I see that Softaculous should try to connect to “http://127.0.0.1:2080/nodeworx/soap.php?wsdl” and not “https://127.0.0.1:2443/nodeworx/soap.php?wsdl

It looks like you are using old version of Softaculous.

Can you please provide the output of the following command on your server : /home/interworx/bin/php /usr/local/softaculous/cli.php -v

Also in order to re-install please use the following steps : mv /usr/local/softaculous/ /usr/local/softaculous.bak
wget -N http://files.softaculous.com/install.sh
chmod 755 install.sh
./install.sh

This should resolve your issue. In order to get the Softaculous Settings back from the backup folder please copy the following files from softaculous.bak folder to softaculous : http://www.softaculous.com/docs/Replicating_a_softaculous_server_setting[/QUOTE]

If that’s to us, we’re not having an issue here.