Article ID: 123997, created on Dec 19, 2014, last review on Jan 23, 2015

  • Applies to:
  • H-Sphere 3.6.3

Symptoms

We are having difficulties with a number of account migrations from a Windows 2003 host to a Windows 2008 host. The Control Panel is reporting "Suspended due to resources integrity [Suspended]" when clicking on the Suspended link it returns "There are no available items in the section".

Cause

Database inconsistency.

Resolution

To make sure that this KB applicable for your case please check /var/log/hsphere/hsphere.log file regarding the following error:

java.lang.NullPointerException at psoft.hsphere.resource.email.MailDomainAlias.getHostId

For example:

    2014-12-19 17:19:39,192 [TP-Processor6] DEBUG psoft.hsphere.CP - getResourcesInMoveInfo(): got and checking 1217414_6401 is a HostDependentResource - false
    2014-12-19 17:19:39,192 [TP-Processor6] DEBUG psoft.hsphere.CP - getResourcesInMoveInfo(): got and checking 1217415_6401 is a HostDependentResource - false
    2014-12-19 17:19:39,192 [TP-Processor6] DEBUG psoft.hsphere.CP - getResourcesInMoveInfo(): got and checking 1217413_1009 is a HostDependentResource -  true
    2014-12-19 17:19:39,192 [TP-Processor6] ERROR psoft.hsphere.CP - Getting resources info for process 1272
    java.lang.NullPointerException
            at psoft.hsphere.resource.email.MailDomainAlias.getHostId(MailDomainAlias.java:217)
            at psoft.hsphere.admin.TransferProcess.getResoucesInMoveInfo(TransferProcess.java:180)
            at psoft.hsphere.admin.TransferProcess.process(TransferProcess.java:277)

To fix the issue follow the steps below:

  1. Cancel migration
  2. Check which mail domain alias causes the issue:

    hsphere=# select * from mail_domain_aliases where id = 1217413;
       id    |         domain_alias
    ---------+------------------------------
     1217413 |       domainalias.tld
    (1 row)
    

    id should be taken from last string in log before the error:

    2014-12-19 17:19:39,192 [TP-Processor6] DEBUG psoft.hsphere.CP - getResourcesInMoveInfo(): got and checking 1217413_1009 is a HostDependentResource - true

  3. Remove and Create this domain alias in customer's CP
  4. Try to enable Mail service for this domain alias (it should fail)
  5. Remove record from H-sphere DB

    delete from mail_domain_aliases WHERE domain_alias = 'domainalias.tld';
    

Search Words

There are no available items in the section

problems with some resources integrity

java.lang.NullPointerException at psoft.hsphere.resource.email.MailDomainAlias.getHostId

6b908665c0d1eca5bdd0141a32fd712a 6311ae17c1ee52b36e68aaf4ad066387 f213b9fa8759d57bee5d547445806fe7 2e39a5e5b1423cc126cf735bac076008

Email subscription for changes to this article
Save as PDF