Dear All,
I'm trying to create a service that automatically starts the pentaho-bi-ce 5.2 on boot.
I'm running on Fedora 20
Has anybody done this because I can't find any threads about it?
I have created a .service file that looks like this:
The service itself works both when manually started and on boot and the output looks the same as when starting the script directly but the server doesnt start anyways. The output of the service looks like this:
Does anybody have an idea what the problem could be?
Thanks
Bernhard
I'm trying to create a service that automatically starts the pentaho-bi-ce 5.2 on boot.
I'm running on Fedora 20
Has anybody done this because I can't find any threads about it?
I have created a .service file that looks like this:
Code:
[Unit]
Description=Pentho 5.2 Bi-server-CE
After=syslog.target
After=network.target
After=mysqld.service
[Service]
Type=simple
User=root
Group=root
Environment=JAVA_HOME=/usr/java/latest
ExecStart=/opt/pentaho52/biserver-ce/start-pentaho.sh
ExecStartPost=/bin/echo pentaho...end of unitfile
TimeoutSec=300
[Install]
WantedBy=graphical.target
Code:
[root@localhost system]# systemctl status pentaho52bice.service
pentaho52bice.service - Pentho 5.2 Bi-server-CE
Loaded: loaded (/lib/systemd/system/pentaho52bice.service; enabled)
Active: inactive (dead) since tis 2015-02-03 17:11:07 CET; 40min ago
Process: 4474 ExecStartPost=/bin/echo pentaho...end of unitfile (code=exited, status=0/SUCCESS)
Process: 4473 ExecStart=/opt/pentaho52/biserver-ce/start-pentaho.sh (code=exited, status=0/SUCCESS)
Main PID: 4473 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/pentaho52bice.service
feb 03 17:11:07 localhost.localdomain echo[4474]: pentaho...end of unitfile
feb 03 17:11:07 localhost.localdomain systemd[1]: Started Pentho 5.2 Bi-server-CE.
feb 03 17:11:07 localhost.localdomain start-pentaho.sh[4473]: DEBUG: Using JAVA_HOME
feb 03 17:11:07 localhost.localdomain start-pentaho.sh[4473]: DEBUG: _PENTAHO_JAVA_HOME=/usr/java/latest
feb 03 17:11:07 localhost.localdomain start-pentaho.sh[4473]: DEBUG: _PENTAHO_JAVA=/usr/java/latest/bin/java
feb 03 17:11:07 localhost.localdomain start-pentaho.sh[4473]: Using CATALINA_BASE: /opt/pentaho52/biserver-ce/tomcat
feb 03 17:11:07 localhost.localdomain start-pentaho.sh[4473]: Using CATALINA_HOME: /opt/pentaho52/biserver-ce/tomcat
feb 03 17:11:07 localhost.localdomain start-pentaho.sh[4473]: Using CATALINA_TMPDIR: /opt/pentaho52/biserver-ce/tomcat/temp
feb 03 17:11:07 localhost.localdomain start-pentaho.sh[4473]: Using JRE_HOME: /usr/java/latest
feb 03 17:11:07 localhost.localdomain start-pentaho.sh[4473]: Using CLASSPATH: /opt/pentaho52/biserver-ce/tomcat/bin/bootstrap.jar
Thanks
Bernhard