Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 7th November 2011, 09:02
snowfly snowfly is offline
Member
 
Join Date: Jul 2006
Posts: 93
Thanks: 0
Thanked 4 Times in 3 Posts
Default Remote API error after updating to 3.0.4

Recently updated from 3.0.3.3 to 3.0.4, and now one of our Remoting API calls fails, sites_web_domain_update().
This worked perfectly fine before in 3.0.3.3

The error is:
pm_max_children_error_regex
pm_start_servers_error_regex
pm_min_spare_servers_error_regex
pm_max_spare_servers_error_regex

Have the remoting functions changed in 3.0.4 or perhaps parameters changed?
Reply With Quote
Sponsored Links
  #2  
Old 7th November 2011, 09:25
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,482 Times in 4,316 Posts
Default

The API has extended due to nginx support. Do you use 3.0.4 beta or final code, as the error above should not occur with 3.0.4 final.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 7th November 2011, 09:27
snowfly snowfly is offline
Member
 
Join Date: Jul 2006
Posts: 93
Thanks: 0
Thanked 4 Times in 3 Posts
Default

Here is the full soap exception:

Code:
SoapFault Object
(
    [message:protected] => pm_max_children_error_regex
pm_start_servers_error_regex
pm_min_spare_servers_error_regex
pm_max_spare_servers_error_regex

    [string:private] => 
    [code:protected] => 0
    [file:protected] => /var/www/clients/clientXXX/webXXX/app/ispconfig.class.php
    [line:protected] => 150
    [trace:private] => Array
        (
            [0] => Array
                (
                    [function] => __call
                    [class] => SoapClient
                    [type] => ->
                    [args] => Array
                        (
                            [0] => sites_web_domain_update
                            [1] => Array
                                (
                                    [0] => 4aff2061d8a6295527c6f72dfc7bca93
                                    [1] => XXX
                                    [2] => XXX
                                    [3] => Array
                                        (
                                            [server_id] => 3
                                            [ip_address] => *
                                            [domain] => XXX
                                            [type] => vhost
                                            [parent_domain_id] => 
                                            [vhost_type] => name
                                            [hd_quota] => -1
                                            [traffic_quota] => -1
                                            [cgi] => n
                                            [ssi] => n
                                            [suexec] => y
                                            [errordocs] => 1
                                            [subdomain] => www
                                            [ssl] => n
                                            [php] => fast-cgi
                                            [ruby] => n
                                            [active] => y
                                            [redirect_type] => 
                                            [redirect_path] => 
                                            [ssl_state] => 
                                            [ssl_organisation] => 
                                            [ssl_organisation_unit] => 
                                            [ssl_country] => 
                                            [ssl_domain] => 
                                            [ssl_request] => 
                                            [ssl_cert] => 
                                            [ssl_bundle] => 
                                            [ssl_action] => 
                                            [stats_password] => 
                                            [stats_type] => awstats
                                            [backup_interval] => daily
                                            [backup_copies] => 3
                                            [document_root] => /var/www/clients/clientXXX/webXXX
                                            [system_user] => webXXX
                                            [system_group] => clientXXX
                                            [allow_override] => All
                                            [php_open_basedir] => /var/www/clients/clientXXX/webXXX/web:/var/www/clients/clientXXX/webXXX/tmp:/var/www/XXX/web:/srv/www/XXX/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin
                                            [custom_php_ini] => 
                                            [apache_directives] => 
                                            [client_group_id] => 9
                                        )

                                )

                        )

                )
Reply With Quote
  #4  
Old 7th November 2011, 09:29
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,482 Times in 4,316 Posts
Default

Do you use 3.0.4 beta or final code?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 7th November 2011, 09:37
snowfly snowfly is offline
Member
 
Join Date: Jul 2006
Posts: 93
Thanks: 0
Thanked 4 Times in 3 Posts
Default

Quote:
Originally Posted by till View Post
Do you use 3.0.4 beta or final code?
Should be 3.0.4 final, as I used the web interface to do the ISPConfig update.
Reply With Quote
  #6  
Old 7th November 2011, 09:41
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,482 Times in 4,316 Posts
Default

Do you have these lines starting on line 1356 in the file /usr/local/interface/web/lib/remoting.inc.php?

Code:
//* Set a few defaults for nginx servers
		if($params['pm_max_children'] == '') $params['pm_max_children'] = 1;
		if($params['pm_start_servers'] == '') $params['pm_start_servers'] = 1;
		if($params['pm_min_spare_servers'] == '') $params['pm_min_spare_servers'] = 1;
		if($params['pm_max_spare_servers'] == '') $params['pm_max_spare_servers'] = 1;
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 7th November 2011, 09:49
snowfly snowfly is offline
Member
 
Join Date: Jul 2006
Posts: 93
Thanks: 0
Thanked 4 Times in 3 Posts
Default

I don't have a file at: /usr/local/interface/web/lib/remoting.inc.php
But do have: /usr/local/ispconfig/interface/lib/classes/remoting.inc.php

And yes line 1356 has this:
Code:
//* Set a few defaults for nginx servers
                if($params['pm_max_children'] == '') $params['pm_max_children'] = 1;
                if($params['pm_start_servers'] == '') $params['pm_start_servers'] = 1;
                if($params['pm_min_spare_servers'] == '') $params['pm_min_spare_servers'] = 1;
                if($params['pm_max_spare_servers'] == '') $params['pm_max_spare_servers'] = 1;
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
Error updating from 3.0.3.2 to 3.0.4 hoenes Installation/Configuration 16 7th November 2011 21:51
[Info] Remote Desktop Solutions for Linux mar.and65 Desktop Operation 0 27th April 2011 07:05
remote api problem germinator Developers' Forum 1 13th February 2011 21:27
Installing remote api bahadircolak Developers' Forum 1 7th May 2010 05:13
The system is currently updating the configuration files. warlock General 8 21st February 2009 18:15


All times are GMT +2. The time now is 20:21.


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