When I try to create an instance of my APS resource from CCP, UI hangs in waiting for <host>... state.


Some script is stuck while being executed.


  1. Press Create again.
  2. Right after that, execute tail -f /var/log/poa-ui.log > /tmp/uilog to catch what is happening with UI.
  3. Wait for about 30 seconds.
  4. Cancel tail and search /tmp/uilog for the method that it is getting stuck on (usually the last).
  5. Search for the same method in /var/log/poa.debug.log.
  6. If the method's name is validateSettingsForApplicationInstance, the execution halts in one of custom application scripts.
  7. Use ps aux | grep php to search where is it stuck and then search for the problematic code in /usr/local/pem/APS/scripts/.

Internal content