俺です。
DeepSecurity Agent(DS Agent)のインストールスクリプトを使い、
DS AgentがDS Managerに登録できず、悩んでたんですが答えはすごく簡単でした。
- 原因
DSのライセンス足りねえ
- 対策
DSのライセンス買う
- エラーメッセージ
以下なメッセージを見たらライセンス不足してそうな気配がするのでDS Managerコンソールにアクセスしてチェックしましょう。
Error: activation was not successful. The manager may not be configured to allow agent-initiated activation,
$ sudo <DSM上で生成したインストールスクリプト>
+ wget -O /tmp/agent.rpm --quiet
+ rpm -ihv /tmp/agent.rpm
準備しています... ################################# [100%]
更新中 / インストール中...
1:ds_agent-X.Y.Z-XXXX ################################# [100%]
ds_agent を起動中: [ OK ]
Starting thread 'CScriptThread' with stack size of 1048576
HTTP Status: 200 - OK
Starting thread 'CScriptThread' with stack size of 1048576
Activation will be re-attempted 30 time(s) in case of failure
dsa_control
HTTP Status: 400 - OK
Response:
Attempting to connect to https://XXXXXXXXXXXXXXXXXXXXXX/
SSL handshake completed successfully - initiating command session.
Connected with (NONE) to peer at agents.deepsecurity.trendmicro.com
Received a 'GetHostInfo' command from the manager.
Received a 'GetHostInfo' command from the manager.
Error: activation was not successful. The manager may not be configured to allow agent-initiated activation,
or the manager may not be configured to allow re-activation of existing hosts.
Check the manager's System Events for more information.
Operation failed, 30 attempts left; will retry in about 10 seconds```
- エラー画面
ああ買わなきゃライセンス
おわり