Skip to main content

This article explains how to start Enterprise Server 4.0 at system boot time.

Problem:

How do you start Enterprise Server at system boot time?

Resolution:

First, create a script called i.e. mfmfds in /etc which contains the following:

echo Starting Micro Focus Enterprice Server MFDS

COBDIR=/opt/microfocus/cobol

export COBDIR

LD_LIBRARY_PATH=$COBDIR/lib:$LD_LIBRARY_PATH:/lib

export LD_LIBRARY_PATH

PATH=$COBDIR/bin:$PATH

export PATH

cd /opt/microfocus/cobol/bin

./mfds

After creating this, open your /etc/inittab and add the following line at the end:

mfds:345:wait:sh /etc/mfmfds > /dev/null 2>&1

or

mfds:345:respawn:sh /etc/mfmfds > /dev/null 2>&1

Note: wait: process starts and if you kill it or it stops you must do an init q to restart it.
Note: respawn: system look if the process is running all the time.
Old KB# 14146

#ServerExpress
#EnterpriseServer
#COBOL
#Enterprise
#Server