sa-compile (Solved)

Discussion in 'Installation/Configuration' started by ganewbie, May 12, 2019.

  1. ganewbie

    ganewbie Member HowtoForge Supporter

    The perfect server, ISPC 3.13, Apache
    Debian 8.11
    When updating debian I get the following error.

    sa-compile: cannot write to /var/lib/spamassassin/compiled/5.020/3.004002, aborting
    Here is the folder permission seems to be good to me.
    [email protected]:/tmp# ls -l /var/lib/spamassassin/compiled/
    total 4
    drwxrwxr-x 4 debian-spamd debian-spamd 4096 May 11 09:18 5.020
    What could be the problem?
  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Is the filesystem mounted read-only? Try running "touch /var/lib/spamassassin/compiled/5.020/test-file" as root and see if it creates that file.

    Maybe /var/lib/spamassassin/compiled/5.020/3.004002 has the wrong permissions? Does it exist?

    You could try running /etc/cron.daily/spamassassin, which normally runs sa-compile and fixes some permissions and see if it succeeds (eg. try "CRON=1 /etc/cron.daily/spamassassin").
    ganewbie likes this.
  3. ganewbie

    ganewbie Member HowtoForge Supporter

    You got it, thanks a million,
    the permission were wrong at

Share This Page