1

Topic: Can't locate strict.pm

============ Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: Debian 8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====
I get a daily mail from cron about something related to spamassassin is not working (i believe updating spamassassin)
The following is the mail I get:
Subject: Cron <root@hostname> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
/etc/cron.daily/spamassassin:
Can't locate strict.pm:   /usr/local/lib/x86_64-linux-gnu/perl/5.20.2/strict.pm: Permission denied at /usr/bin/sa-update line 23.
BEGIN failed--compilation aborted at /usr/bin/sa-update line 23.
sa-update failed for unknown reasons

at "/usr/bin/sa-update" line 23 I have "use strict;"

So far i found out that the only file called strict.pm on my system is at "/usr/share/perl/5.20.2/strict.pm" but when I do a "perl -V" that folder is not included. I cannot figure out how to fix this since I never used perl before and my googling fails at this Issue.
I have no Idea what caused this, I do not believe that I changed anything related to this but I have some other mailservers setup the same way without this Issue.

Thanks

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Can't locate strict.pm

No idea yet. sorry. sad