Generate Log Service Startup Failures

Generate debug logging when the service manager (lwsm) or registry service (lwreg) do not start properly.

  1. Define and export the PBIS_DEBUG_BOOTSTRAP environment variable:

export PBIS_DEBUG_BOOTSTRAP=1

  1. To ensure the service manager sees the defined environment variable, manually start the service manager as other mechanisms for starting lwsmd may not pass on the defined environment variable.

/opt/pbis/sbin/lwsmd --start-as-daemon

  1. To stop debugging unset the PBIS_DEBUG_BOOTSTRAP variable:

/opt/pbis/bin/lwsm shutdown
unset PBIS_DEBUG_BOOTSTRAP
/opt/pbis/sbin/lwsmd --start-as-daemon