No incoming or outgoing syslogs on PTA server
Symptom
No incoming syslogs are being recorded in the diamond.log of PTA, even though all communication is open between the Vault and DC agents and all services show as up and running.
When changing the log level with changeLogLevel. sh or restarting the ptalistenerd service you may see an error like this on the console:-
When running MONIT_STATUS the ptalistenerd service is running.
Environment
11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3 Privileged Access Manager (PAM, self-hosted) PTA
PTA
Cause
This behaviour is caused by a bad plugin, or the wrong permissions on the plug in file
All plugins must have tomcat:tomcat for permissions on the file, and must have the following rights:
-r-xr-x---
(i.e. -r-xr-x---+ 1 tomcat tomcat 1228 Dec 17 14:15 splunkWindowsCreateUserPlugin. js)
Resolution
Check the plugin files in the /opt/tomcat/plugins directory (use ls -al)
To change the owner run the following from the PTA console:-
chown tomcat:tomcat <plugin file name>
To change the rights on the file run the following from the PTA console:-
chmod 550 <plugin file name>
When changed to the correct rights and perrmissions, restart the listener either by changing the log level on the listener by running changeLogLevel.sh or by entering the following command on the PTA server:-
service ptalistenerd restart