Installing GTD Excel Report Server as linux daemon

GTD Excel Report Server is implemented as a Web service. You can run it on console mode, however, it is recommended tht the server should run as service.

If so, you do not need to logon the server and start it manually

Note: This document has been tested on SUSE Linux.

Installing GTD Excel Report Server as Daemon Process

 

Provided you are able to run GTD server in console mode, if not, please try to run the server in console mode first.

[Learn More: Testing GTD server in console mode]

1. Logon server as root or swift to root.

su root

2. Change the current directory to ${GTD_HOME}/linux-daemon

cd ${GTD_HOME}\linux-daemon

3. Run ./installgtdserver.sh

chmod +x installgtdserver.sh

sudo ./installgtdserver.sh

Perhaps your JAVA_HOME Environment Variable is null, if it occurs, you should specify the path of java home by passing parameter.

Provided java executable is located in /usr/lib/jre160/bin, the java home is /usr/lib/jre160 . The command simular to

./installgtdserver.sh /usr/lib/jvm/java-6-sun-1.6.0.17

On some Linux systems, the following command also seems to be necessary to fully enable the gtdreportsvrd script:

chkconfig --level 345 gtdreportsvrd on

4. Testing whether the daemon is installed.

chkconfig --list | grep gtdreportsvrd

You should get similar output

gtdreportsvrd 0:off 1:off 2:off 3:on 4:off 5:on 6:of

If you have not install chkconfig, you can try the following command:

service jrep2excelsvrd start

5. You can now reboot your system to test the installation:

shutdown -r now

 

Uninstallation

 

1. Logon server as root or swift to root.

su root

2. Run the following command

chkconfig --del gtdreportsvrd

rm /etc/init.d/gtdreportsvrd