3 Replies Latest reply on Jun 29, 2020 3:32 PM by Ben Davies

    Configuring TSCO start/stop service on Linux with systemd

    David Deaderick
      Share This:

      Has anyone been able to get the /etc/init.d/caplan script to work on a Linux system with systemd?

       

      Environment:

      • TSCO 20.02 - CHF6
      • RHEL7.8
      • Oracle 12.2.0.1 Database
      • VMware Guest systems

       

      The caplan script generated by the TSCO Installer on my RHEL7 systems fails during startup attempting to locate a .pid file.

       

      # systemctl status caplan

      ● caplan.service - SYSV: BCO is a capacity planning enterprise suite.

         Loaded: loaded (/etc/rc.d/init.d/caplan; bad; vendor preset: disabled)

         Active: failed (Result: protocol) since Mon 2020-06-29 13:14:50 CDT; 24min ago

           Docs: man:systemd-sysv-generator(8)

        Process: 110449 ExecStart=/etc/rc.d/init.d/caplan start (code=exited, status=0/SUCCESS)

       

      Jun 29 13:14:50 oitetnmonv112.vha.med.va.gov su[110452]: (to cpit) root on none

      Jun 29 13:14:50 oitetnmonv112.vha.med.va.gov caplan[110449]: Starting all enabled TrueSight Capacity Optimization services...

      Jun 29 13:14:50 oitetnmonv112.vha.med.va.gov caplan[110449]: Starting TrueSight Capacity Optimization Scheduler...

      Jun 29 13:14:50 oitetnmonv112.vha.med.va.gov caplan[110449]: Starting scheduler ....

      Jun 29 13:14:50 oitetnmonv112.vha.med.va.gov caplan[110449]: Done

      Jun 29 13:14:50 oitetnmonv112.vha.med.va.gov caplan[110449]: Done

      Jun 29 13:14:50 oitetnmonv112.vha.med.va.gov systemd[1]: Can't open PID file /var/run/caplan.pid (yet?) after start: No such file or directory

      Jun 29 13:14:50 oitetnmonv112.vha.med.va.gov systemd[1]: Failed to start SYSV: BCO is a capacity planning enterprise suite..

      Jun 29 13:14:50 oitetnmonv112.vha.med.va.gov systemd[1]: Unit caplan.service entered failed state.

      Jun 29 13:14:50 oitetnmonv112.vha.med.va.gov systemd[1]: caplan.service failed.