Latest News

the latest news from our team

Starting and stopping eFORMz service on a Linux machine

First, you will need to have eFORMz installed on a Linux machine.
To do this please follow this guide:

Installing eFORMz on Unix

Once you have eFORMz installed you will need a couple of shell scripts to start and stop the service.

You can download these scripts here: StartAndStopScripts. Place these scripts where you have eFORMz installed on your Linux machine.
The start script looks like this:

PARMS="-Xmx2G -Xms256m -Duser.dir=/home/minisoft"
LOG1=log/director_stdout.txt
LOG2=log/director_stderr.txt
cd /home/ladmin/minisoft
echo starting >>${LOG1} 
echo starting >>${LOG2}
java ${PARMS} -Djava.awt.headless=true -jar Run.jar -Monitor=true /home/minisoft 1>>${LOG1} 2>>${LOG2} &
echo ready $! >>${LOG1} 
echo ready $! >>${LOG2} 

The stop script looks like this:

PARMS="-Xmx2G -Xms256m -Duser.dir=/home/minisoft"
LOG1=log/director_stdout.txt
LOG2=log/director_stderr.txt
cd /home/minisoft
echo starting >>${LOG1} 
echo starting >>${LOG2}
java ${PARMS} -Djava.awt.headless=true -jar Run.jar /home/minisoft com.minisoft.Run.manage.ServiceManagerCommand user=minisoft password=password shutdown 1>>${LOG1} 2>>${LOG2} &
echo ready $! >>${LOG1} 
echo ready $! >>${LOG2}

Depending on where you install eFORMz on your Linux machine affects if you need to change the scripts. Notice that in both the scripts there is a “/home/minisoft”. This is for when eFORMz is installed in the home directory. If you installed eFORMz anywhere else you will need to change this directory path to wherever you have eFORMz installed.

Once your scripts have the correct directory paths we can now start the service.
In order to run the shell script open up a terminal window and go to where the scripts are installed. Now type the command sh ./eformz_start.sh.

The eFORMz service should now be running.

In order to stop the service type the same command except for put stop where you had start.

Leave a Reply

Your email address will not be published. Required fields are marked *