infor.com
concierge
infor u
developer portal
Home
Groups
FACTS - Partner Community
Facts 7.8 Install on RedHat Linux 6.6 and starting services
sabeen-kaleem
I am trying to find out how and where to place my startup commands for Pxphost, APistart and unform. RHEL 6.6 indicates that we should not use /etc/inittab. I have tried rc.local and rc.override. Either the placement of the commands or my command syntax causes the system to stall on a reboot and I have to go into recovery mode, comment out my commands and restart. This doesn't work too well for the customer! Any advice as well as syntax structure would be greatly appreciated.
Find more posts tagged with
Comments
Deepak Mehra
Hi Wendy,
We have been using rc.local on our RHEL6 deployments -- but in order to do this, any process launched via rc.local must background itself or the system will hang on boot, waiting for the process to finish.
We do this by modifying the 'pxphost' script on the last line that executes pxplus:
Old line:
${FHOMEDIR}/pvx/pxplus "*plus/cs/host" -arg {SOCKET} /dev/null 2>/dev/null
New line:
nohup ${FHOMEDIR}/pvx/pxplus "*plus/cs/host" -arg {SOCKET} /dev/null 2>/dev/null &
Basically: add the "nohup " at the beginning and the " &" ampersand at the end. This will cause the process to run in the background and will allow the system to continue its normal boot-up process.
mgreer
Wendy,
Look up "Upstart". This is a new RHEL 6 implementation in place of inittab. You put files in /etc/init. The "pvxhost" would start like this:
# This script starts the PxPhost service
start on stopped rc RUNLEVEL=[2345]
stop on starting runlevel [016]
#respawn
exec /infor/facts78/pxphost
Michael
Important Links
Community Hubs
Discussion Forums
Groups
Community News
Popular Tags
ION Connect
ION Workflow
ION API Gateway
Syteline Development
CPQ Discussion Ask a Colleague
Infor Data Fabric
Infor Document Management (IDM)
LN Development
FAQs, How-To, and Best Practices
API Usage