i am trying to install agent on SLES 12 SP4 server but getting issue while starting up agent service and getting below message.
ip-10-204-1-56:~ # /etc/init.d/besclient start
redirecting to systemctl start besclient.service
Failed to start besclient.service: Unit besclient.service failed to load: No such file or directory.
i created systemd package , but looks like it is starting up the service only when i remove stop command and it never stop which BESClient.service in /etc/systemd/system dir
file created under /usr/lib/systemd/system and link file created under /etc/systemd/system
cd /etc/systemd/system
ln -s /usr/lib/systemd/system/beslclient.service besclient.service
ip-10-204-1-56:/usr/lib/systemd/system # systemctl status besclient.service -l
â—Ź besclient.service - IBM Bigfix Agent Service
Loaded: loaded (/usr/lib/systemd/system/besclient.service; linked; vendor preset: disabled)
Active: **inactive** (**dead**) since Tue 2019-02-19 17:54:01 UTC; 3min 24s ago
Process: 9655 ExecStop=/etc/init.d/besclient status (code=exited, status=0/SUCCESS)
Process: 9644 ExecStart=/etc/init.d/besclient start (code=exited, status=0/SUCCESS)
Main PID: 9644 (code=exited, status=0/SUCCESS)
Tasks: 7 (limit: 512)
CGroup: /system.slice/besclient.service
├─9654 /opt/BESClient/bin/BESClient
└─9665 /opt/BESClient/bin/BESClient -RPMHelper
Feb 19 17:54:01 ip-10-204-1-56 systemd[1]: Started IBM Bigfix Agent Service.
Feb 19 17:54:01 ip-10-204-1-56 besclient[9644]: Starting BigFix: BESClient..done
Feb 19 17:54:01 ip-10-204-1-56 besclient[9655]: Checking for service BigFix: BESClient: ..running
ip-10-204-1-56:/usr/lib/systemd/system #
process always shows up dead and inactive though service is running , i can’t stop the service but have to kill manually in this case as i when i try to add stop command it immediately stop the service while starting up. that’s why i added status command in systemd service . though i good as of now but need a finally solution from Bigfix Dev team for SLES 12
So you added the systemctl connection? The SuSE agent isn’t yet designed to work in that scenario to my knowledge which may be why you are having issues