Article ID: 124173, created on Jan 11, 2015, last review on Jan 11, 2015

  • Applies to:
  • H-Sphere 3.6.3

Symptoms

Transferring account throws the error:

Physical creation problem: PHP Module
Account ID: 248833
Source server: win1.domain.com
Target Server: win3.domain.com
Resource ID: 463628
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
faultSubcode:
faultString: 10/01/2015 9:24:42 PM
Windows H-Sphere engine version: 3.6.282.5427
Server name: WIN-MUC5PRNEDBS
Server IP: 2002:c690:878c::c000:960c
Psoft.HSphere.Transport.Protocols.ProtocolException: System.FormatException: Input string was not in a correct format.

In /var/log/hsphere/hsphere.log log on the CP server SOAP request just before error looks like:

WIN SOAP request: <create xmlns="resourcemanager"><resourcename>php3</resourcename><hostname>domain.com</hostname><versiontag>php5</versiontag></create>

Cause

It caused by incorrect value in H-sphere DB for resource 463628.

hsphere=# select * from resource_version where resource_id = 463628;
 resource_id | type_id | version
-------------+---------+---------
      463628 |      11 | php5
(1 row)

While H-sphere Windows destination server expects it to be php5_2_9

Resolution

  1. Update H-sphere DB

    hsphere=# update resource_version set version = 'php5_2_9' where resource_id = 463628;
    

    UPDATE 1

  2. Restart H-sphere service

    [root@cp ~]# service httpdcp restart
    

Search Words

Physical creation problem: PHP Module

Transferring account throws the error

Input string was not in a correct format.

PHP Module

6b908665c0d1eca5bdd0141a32fd712a 6311ae17c1ee52b36e68aaf4ad066387 f213b9fa8759d57bee5d547445806fe7 2e39a5e5b1423cc126cf735bac076008

Email subscription for changes to this article
Save as PDF