Skip to main content


How to enable Audit Logging in Glassfish Server

Auditing is the process of recording key security events in your GlassFish Server environment.  You use audit modules to develop an audit trail of all authentication and authorization decisions. To enable audit logging, two steps are required: 1. On the Security page, select the Audit Logging Enabled checkbox to enable audit logging.
2. Set the auditOn property for the active audit module to true.

<audit-module classname=""name="default"> <property name="auditOn"value="false"></property>

How to fix postfix master dead but pid file exists

$ sudo service postfix status master dead but pid file exists One possible likely problem is that another process has already occupied the default port 25.

$ sudo -i lsof -i :25 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME sendmail 2607 root4uIPv4114060t0TCP localhost:smtp (LISTEN)

In /var/log/maillog you could get the line in the log:
Code: postfix/master[7240]: fatal: bind port 25: Address already in use
You can fix it by:

$ sudo yum -y remove sendmail