Prerequisits :
1. Make sure EMA is working properly.
=====================================================
Step 1 : Download the tar from attachment.
Step 2 : Take backup of below file list
/opt/ema/gui/tmpl/mail_reports.tmpl /opt/ema/gui/html/js/ema_common.js /opt/ema/gui/cgi/suid/search_lock.pl /opt/ema/gui/cgi/mail_reports.pl /opt/ema/gui/cgi/download2xls_mail_logs.pl
Step 3 : Check the md5sum of above file list
ebf81a84ea7ad6c6b5d680e3bde04125 /opt/ema/gui/tmpl/mail_reports.tmpl 217eef8cf1bca5afc634b53b5bd8b198 /opt/ema/gui/html/js/ema_common.js c83a9902368ab393160154f2aabf4bbc /opt/ema/gui/cgi/suid/search_lock.pl ee95efe1cb82df0a129ed1f9ad49827d /opt/ema/gui/cgi/mail_reports.pl f06a41327468831666eb2c2f4461db80 /opt/ema/gui/cgi/download2xls_mail_logs.pl
Step 4 : If md5sum of file list is equal to above list then replace the file with tar file or else do vimdiff and take required content only.
Step 5 : Move then mail_reports.pl file.
mv /opt/ema/gui/cgi/mail_reports.pl /opt/ema/gui/cgi/suid/mail_reports.pl
Step 6 : Then create a symlink
cd /opt/ema/gui/cgi ln suid/mailgate mail_reports.pl
Step 7 : copy prepare_download2xls_mail_logs.pl to /opt/ema/utils/prepare_download2xls_mail_logs.pl and give below permission.
chmod +x /opt/ema/utils/prepare_download2xls_mail_logs.pl
Step 8 : Now check the compilation of all file and then test it.
=================================================================================
Note : If you will face any issue the revert the file with backup first.
==========================================================
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article