I sort of fumbled around and got the TriggerCMD agent installed, but service status still says "failed". I found a command line command to access the agent, but it asks for a "token", and I realized I haven't a clue as to how to configure this thing or access it.
I clicked in "Installation" forum, but I can only find a ton of posts about different types of installs. I am installing on Centos 7 system. Can someone help me get past this "failed" problem and point me to clear install and config instructions?
Thanks!
[root@ip TriggerCMD]# service triggercmdagent start
Redirecting to /bin/systemctl start triggercmdagent.service
[root@ip TriggerCMD]# service triggercmdagent status
Redirecting to /bin/systemctl status triggercmdagent.service
● triggercmdagent.service - TRIGGERcmd Agent
Loaded: loaded (/etc/systemd/system/triggercmdagent.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Sat 2021-02-27 20:59:34 PST; 17s ago
Process: 2902 ExecStart=/usr/bin/env node /usr/share/triggercmdagent/resources/app/src/daemon.js --run /root/.TRIGGERcmdData (code=exited, status=0/SUCCESS)
Main PID: 2902 (code=exited, status=0/SUCCESS)
Feb 27 20:59:34 ip.us-west-2.compute.internal systemd[1]: triggercmdagent.service holdoff time ove...t.Feb 27 20:59:34 ip.us-west-2.compute.internal systemd[1]: Stopped TRIGGERcmd Agent.
Feb 27 20:59:34 ip.us-west-2.compute.internal systemd[1]: start request repeated too quickly for t...ceFeb 27 20:59:34 ip.us-west-2.compute.internal systemd[1]: Failed to start TRIGGERcmd Agent.
Feb 27 20:59:34 ip.us-west-2.compute.internal systemd[1]: Unit triggercmdagent.service entered fai...e.Feb 27 20:59:34 ip.us-west-2.compute.internal systemd[1]: triggercmdagent.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@ip TriggerCMD]# node /usr/share/triggercmdagent/resources/app/src/agent.js --console
Run installdaemon.sh to install the triggercmdagent daemon so it runs during boot
Daemon install: false
No token exists. Login to request one.
prompt: token: