Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th April 2007, 12:27
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,733
Thanks: 840
Thanked 5,596 Times in 4,407 Posts
Default ISPConfig remoting plugin

The Beta 3 of the ISPConfig remoting plugin is now available for download as OpenSource under BSD Licence.

http://www.ispconfig.org/remoting_plugin.htm

The remoting plugin code is already included in the daily SVN snapshot versions.

To use the remoting plugin with the ISPConfig stable 2.2.x versions, please have a look here:

http://www.howtoforge.com/forums/showthread.php?t=11873

The installation of the Ioncube loader is not nescessary anymore as all files are unencoded.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Sponsored Links
  #2  
Old 31st July 2007, 15:56
3cwired_com 3cwired_com is offline
Senior Member
 
Join Date: Sep 2006
Posts: 100
Thanks: 3
Thanked 3 Times in 2 Posts
Default

I think I have read every thread about the remoting plugin before i decided to post, it is not working for me, I even updated to the latest version of ispconfig, and disabled the xml statements as per the instructions. The only thing I do end up getting is

"Script end..."

I installed the package and added remote users, and I still get no response.

this is the response from me running this script:
http://www.domain.com:81/remote/index.php

output:

This XML file does not appear to have any style information associated with it. The document tree is shown below.


<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">

<SOAP-ENV:Body>

<SOAP-ENV:Fault>
<faultcode>Server</faultcode>
<faultactor>method '' not defined in service ''</faultactor>
<faultstring/>

<detail>
<soapVal xsi:type="xsd:string"/>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
+
<!--

soap_server: entering parseRequest() on 08:34 2007-07-31
soap_server: Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
soap_server: Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
soap_server: Accept-Encoding: gzip,deflate
soap_server: Accept-Language: en-us,en;q=0.5
soap_server: Connection: keep-alive
soap_server: Cookie: SMFCookie468=a%3A4%3A%7Bi%3A0%3Bs%3A1%3A%221%22%3B i%3A1%3Bs%3A40%3A%221fd0f18e5783e1b10cf23e431743f3 556a383b99%22%3Bi%3A2%3Bi%3A1368529334%3Bi%3A3%3Bi %3A0%3B%7D; cookie_test=please_accept_for_session; HESK=39103c739531c0a3de2004a6518e02ed; sessionispconfig=e233e57b127059cca0899313de314016; a65f03b910d2a93c4082717d7d283407=700c49bfe06993f89 c5fd27c94b83ae6; 4d4c585e3d720eae71ecacffc4c94eeb=78c38327cfb2b3417 6ebde0774185163; 33ea1bf6d476f0fc654735a0b6317d48=b73abbba40114a629 34e0d486ba4cfdf; ea09bb364ef1bffd889e76b7a59035fc=c54c66978c931f6de 9ec4a5c040809ba; IRMSESSID=d2b39a08229db8ebc7232f51a912c0c0; eZSESSID3cadmin=1acac22cbe38357d4a901726b7f7e01a; eZSESSID=2e9fbd8c6b03305eccc3b8783c5e70fb; PHPSESSID=e172c710f3b1c5b1526e6d7afb509953; ezcst_unfolded_node_list=n2%2Cn164%2Cn118%2Cn131%2 Cn43%2Cn59%2Cn122%2Cn138%2Cn101%2Cn206%2Cn77; zenAdminID=ad90af0a18a2450db3d53f3e6e3b83fd; zenid=40dd776ae8a3971a5ee6c155797bcefe
soap_server: Host: www.domain.com:81
soap_server: Keep-Alive: 300
soap_server: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.5) Gecko/20070713 Firefox/2.0.0.5
soap_server: got encoding: UTF-8
soap_server: method name:
soap_server: method '' not found!
soap_server: parser debug:
soap_parser: xml was empty, didn't parse!

soap_server: server sending...

-->
__________________
Behind every great fortune lies a crime.
www.3cwired.com - Web Design/SEO/Repair/Sales/Upgrades
www.galants.org - The Home for Galant Enthusiasts
www.locatemyip.com - More than just free IP displays

Last edited by 3cwired_com; 31st July 2007 at 16:03.
Reply With Quote
  #3  
Old 31st July 2007, 16:00
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,733
Thanks: 840
Thanked 5,596 Times in 4,407 Posts
Default

Please post the script that you used, comments stripped.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 31st July 2007, 16:10
3cwired_com 3cwired_com is offline
Senior Member
 
Join Date: Sep 2006
Posts: 100
Thanks: 3
Thanked 3 Times in 2 Posts
Default

Code:
<?php
include("soap.lib.php");

$server_url = "http://www.domain.com:81";

$soapclient = new soapclient($server_url.'/remote/index.php');

$parameters = array('user' => 'admin',
'pass' => 'admin');

$session_id = $soapclient->call('login',$parameters);

if($err = $soapclient->getError()) die("Error: ".$err);

$params = array ( 'sid' => $session_id,
'module' => 'reseller',
'function' => 'reseller_list',
'params' => '');
$reseller_list = $soapclient->call('service',$params);

if($err = $soapclient->getError()) die("Error: ".$err);
print_r($reseller_list);
$soapclient->call('logout',array('sid' => $session_id));

if($err = $soapclient->getError()) die("Error: ".$err);

echo "<br>Script end ...";
?>
__________________
Behind every great fortune lies a crime.
www.3cwired.com - Web Design/SEO/Repair/Sales/Upgrades
www.galants.org - The Home for Galant Enthusiasts
www.locatemyip.com - More than just free IP displays
Reply With Quote
  #5  
Old 1st August 2007, 18:47
3cwired_com 3cwired_com is offline
Senior Member
 
Join Date: Sep 2006
Posts: 100
Thanks: 3
Thanked 3 Times in 2 Posts
Default

Any ideas?
__________________
Behind every great fortune lies a crime.
www.3cwired.com - Web Design/SEO/Repair/Sales/Upgrades
www.galants.org - The Home for Galant Enthusiasts
www.locatemyip.com - More than just free IP displays
Reply With Quote
  #6  
Old 5th August 2007, 16:52
3cwired_com 3cwired_com is offline
Senior Member
 
Join Date: Sep 2006
Posts: 100
Thanks: 3
Thanked 3 Times in 2 Posts
Default

The post I am about to reply to was copied in from another thread:
Quote:
Originally Posted by larwilliams
Hello,
I am talking about the ISPConfig references, as stated in the how-to. Please post the "compile" file that you have in your "install_ispconfig" folder. Also, I assume you installed the Remoting Framework beta 3 plugin and created a user there?
I did install the remoting framework, and created 2 users to make sure, .
Code:
./configure --with-apxs=${INSTALL_ROOT}/httpd/bin/apxs --enable-track-vars --enable-sockets --enable-mbstring=all --with-config-file-path=${INSTALL_ROOT}/php --enable-ftp --prefix=${INSTALL_ROOT}/php ${WITH_OPENSSL} ${WITH_MYSQL} ${WITH_ZLIB_DIR}  --without-pear || error "Could not configure PHP"
I see in your file you also removed "with_zlib_dir" and "--without -pear" I think I may try reinstallation again with those options.
__________________
Behind every great fortune lies a crime.
www.3cwired.com - Web Design/SEO/Repair/Sales/Upgrades
www.galants.org - The Home for Galant Enthusiasts
www.locatemyip.com - More than just free IP displays
Reply With Quote
  #7  
Old 5th August 2007, 17:52
3cwired_com 3cwired_com is offline
Senior Member
 
Join Date: Sep 2006
Posts: 100
Thanks: 3
Thanked 3 Times in 2 Posts
Default

Ok apparently using your compile file my installation failed with:
./setup2: line 873: ispconfig_tmp/php/bin/php: No such file or directory
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!

I am going to try it removing the "--without -pear" switch.
__________________
Behind every great fortune lies a crime.
www.3cwired.com - Web Design/SEO/Repair/Sales/Upgrades
www.galants.org - The Home for Galant Enthusiasts
www.locatemyip.com - More than just free IP displays
Reply With Quote
  #8  
Old 5th August 2007, 18:14
3cwired_com 3cwired_com is offline
Senior Member
 
Join Date: Sep 2006
Posts: 100
Thanks: 3
Thanked 3 Times in 2 Posts
Default

When I try it for the 2nd time I get this

: warning: the use of `mktemp' is dangerous, better use `mkstemp'
make[1]: Leaving directory `/root/install_ispconfig/compile_aps/zip-2.3'
cc -o unzip unzip.o crc32.o crctab.o crypt.o envargs.o explode.o extract.o fileio.o globals.o inflate.o list.o match.o process.o ttyio.o unreduce.o unshrink.o zipinfo.o unix.o -s
mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
./setup2: line 873: ispconfig_tmp/php/bin/php: No such file or directory
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!


when I try it again for the 3rd time i get this
mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
mv: cannot overwrite directory `ispconfig/tools/spamassassin/spamassassin'
mv: cannot overwrite directory `ispconfig/tools/uudeview/uudeview'
mv: cannot overwrite directory `ispconfig/tools/clamav/clamav'
./setup2: line 873: ispconfig_tmp/php/bin/php: No such file or directory
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
__________________
Behind every great fortune lies a crime.
www.3cwired.com - Web Design/SEO/Repair/Sales/Upgrades
www.galants.org - The Home for Galant Enthusiasts
www.locatemyip.com - More than just free IP displays
Reply With Quote
  #9  
Old 5th August 2007, 20:45
3cwired_com 3cwired_com is offline
Senior Member
 
Join Date: Sep 2006
Posts: 100
Thanks: 3
Thanked 3 Times in 2 Posts
Default

despite all of my woes with reinstalling ispconfig, the best I can get which I have gotten before is:
Error: HTTP Error: no data present after HTTP headers.

I might try reinstalling again for what seems like the hundredth time!
__________________
Behind every great fortune lies a crime.
www.3cwired.com - Web Design/SEO/Repair/Sales/Upgrades
www.galants.org - The Home for Galant Enthusiasts
www.locatemyip.com - More than just free IP displays
Reply With Quote
  #10  
Old 5th August 2007, 21:02
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,733
Thanks: 840
Thanked 5,596 Times in 4,407 Posts
 
Default

I do not think that reinstalling is nescessary. Did you solve the compile problems above?

If not,

1)make sure that you install from e.g. /tmp or /usr/src, installing from directories like /home/admispconfig or /root might be problematic.
2) Configure your server as described in one of the perfect setup howtos.
3) To use the remoting framework, it is not nescessary anymore to install a ioncube encoder as you might have read in older threads.
4) If you will be sure that you do not get trouble with ssl certificates when you connect to the remoting service, choose "http" when you install ispconfig and not 'https'. This will make it easier to debug things and we can be sure that your problems are not caused by missing SSL support in the PHP that you use on the client side for your soap script.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
joomla remoting framework plugin mxc Developers' Forum 1 21st August 2006 17:49
How to setup Ispconfig for remoting !!! brainz Tips/Tricks/Mods 9 20th June 2006 15:19
ISPConfig remoting plugin Beta 2 danielos General 1 2nd May 2006 13:00
ISPConfig remoting plugin Beta 2 released till General 14 29th April 2006 15:13
ISPConfig Remoting Framework using perls SOAP::Lite olaus Tips/Tricks/Mods 0 27th March 2006 20:11


All times are GMT +2. The time now is 13:37.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.