Ad Widget

Collapse

Problems getting Orabbix to autostart under SystemD/Rhel7

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dgrey
    Junior Member
    • Nov 2017
    • 2

    #1

    Problems getting Orabbix to autostart under SystemD/Rhel7

    Hi there,

    I've installed Orabbix on a Red Hat 7.3 host, and can run it manually as a privileged or standard user using run.sh.

    What I can't do is to get it to start automatically. The included init script doesn't seem to do anything, and I've created a basic SystemD service wrapper:

    [Unit]
    Description=Zabbix Oracle Service
    After=syslog.target network.target
    [Service]
    Type=simple
    WorkingDirectory=/opt/orabbix
    ExecStart=/opt/orabbix/run.sh
    [Install]
    WantedBy=multi-user.target

    That also doesn't work. It doesn't log anything, just fails to start.

    Anyone been in the same position?

    Regards,

    - David.
  • kaspars.mednis
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2017
    • 349

    #2
    Hi !

    Is SELINUX enabled on your system ?
    in that case it can be a SELINUX issue

    Regards,
    Kaspars

    Comment

    • dgrey
      Junior Member
      • Nov 2017
      • 2

      #3
      Hi there,

      No, SELinux was disabled. It turns out the issue was trying to parse java startup parameters with SystemD.

      Since DBforBIX supports SystemD out of the box, I;m switching to that instead of Orabbix.

      Regards,

      - David.

      Comment

      Working...