How to install systemctl daemon script in Ubuntu 16.04? | Developer's Forum | Forums

Welcome to the GlobalSight forums. Raise topics for discussion or follow ongoing discussions to keep track of what’s going on.

Select the forum that you are most interested in and join the discussion. All forums are moderated and comments are reviewed before publishing.

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
How to install systemctl daemon script in Ubuntu 16.04?
November 14, 2016
2:27 pm
Vincent Zhang
Member
Forum Posts: 4
Member Since:
November 14, 2016
Offline

I installed Globalsight 8.6.7 according to this official tutorial: http://www.globalsight.com/wiki/index.php/Installing_GlobalSight_on_Ubuntu
But the daemon service cannot start. In the installation log, I see that:
/home/jboss/GlobalSight/jboss/util/bin/InstallApp-NT.sh: 5: /home/jboss/GlobalSight/jboss/util/bin/InstallApp-NT.sh: update-rc.d: not found
/home/jboss/GlobalSight/jboss/util/bin/InstallApp-NT.sh: 7: /home/jboss/GlobalSight/jboss/util/bin/InstallApp-NT.sh: update-rc.d: not found

I think that's because Ubuntu 16.04 newly adopts systemctl mechanism. Then how to make it?

November 14, 2016
4:27 pm
Karol Moran
Admin
Forum Posts: 47
Member Since:
October 28, 2014
Offline

Hi Vincent

The Install page states that an install on Ubuntu 16 is not recommended as GlobalSight is not designed to run on systemd out of the box.

You may find this link useful as a way to run jboss under Systemd, as 8.6.7 runs on jboss AS 7.2

http://stackoverflow.com/questions/6880902/start-jboss-7-as-a-service-on-linux

November 15, 2016
1:25 am
Vincent Zhang
Member
Forum Posts: 4
Member Since:
November 14, 2016
Offline

Thank you for tip. I even neglect the warning in the tutorial. I will switch back to Ubuntu 14.04.

November 15, 2016
9:07 am
Vincent Zhang
Member
Forum Posts: 4
Member Since:
November 14, 2016
Offline

I tried today in Ubuntu 14.04. The same error:

/home/jboss/GlobalSight/jboss/util/bin/InstallApp-NT.sh: 5: /home/jboss/GlobalSight/jboss/util/bin/InstallApp-NT.sh: update-rc.d: not found
/home/jboss/GlobalSight/jboss/util/bin/InstallApp-NT.sh: 7: /home/jboss/GlobalSight/jboss/util/bin/InstallApp-NT.sh: update-rc.d: not found

Why?

November 18, 2016
10:54 am
Karol Moran
Admin
Forum Posts: 47
Member Since:
October 28, 2014
Offline

Can you confirm if there is a globalsight service file in:
/etc/init.d/globalsight

then run:

sudo update-rc.d globalsight defaults

Service should start on boot.

Forum Timezone: UTC 0

Most Users Ever Online: 69

Currently Online: alex h
1 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Alexandre De Sena Viegas: 19

Amit Dave: 14

Ivy: 13

Yves Savourel: 13

Emre Akkas: 12

Ayman Kh: 11

Anthony Kenny: 9

RK: 7

biviel biviel: 4

Li Jiayi: 4

Member Stats:

Guest Posters: 0

Members: 434

Moderators: 1

Admins: 3

Forum Stats:

Groups: 1

Forums: 4

Topics: 71

Posts: 222

Newest Members: Rolando Olaya, swami ji_1, swami ji, P L, Mohammed Arif, Yang Yang, abdul hussain_1, abdul hussain, Digvijay Singh Tomar, alex h

Moderators: Karol Moran_1: 0

Administrators: waxingmedia: 3, Karol Moran: 47, gsteam: 0