Yesterday I installed spamassassin package on a server running RHEL 6.8. Then this morning, I received an email alert with the following message: This seems to be a bug exists in an old version of IO::Socket::INET6. Upgrading this package should fix the problem: Ref: http://stackoverflow.com/questions/23909848/perl-iosocketinet6sockaddr-in6-redefined-error
While looking at the log produced by Request Tracker (RT) 4.2.12, I noticed there was a warning message about using “localtime” without parentheses. Here’s the actual error message: [warning]: Warning: Use of "localtime" without parentheses is ambiguous at /opt/rt4/sbin/../lib/RT/Interface/Email.pm line 526. The solution which I found from here, fixed the problem: On line 526 of file /opt/rt4/sbin/../lib/RT/Interface/Email.pm, replace: localtime with localtime(). Thanks to the chap who posted the solution.
Those who know me know that I don’t like Perl. Sometimes in life the thing you don’t like could be best tool/friend. I need to remove a newline character from a text file: layouts/partials/pagination.html. The easiest way to do this is to run the following command: Thanks Perl and this Stack Overflow question.
To enable CPAN behind proxy: Ref: http://abhijit.name/setting_cpan_for_proxy.html
If you get this error message on a FreeBSD host, you may need to reinstall p5-XML-Parser.