sa-compile (Solved)

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

  1. ganewbie

    ganewbie Member HowtoForge Supporter

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

    Code:
    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.
    Code:
    root@srv:/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?
    Cheers,
     
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    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
    Code:
    /var/lib/spamassassin/compiled/5.020/3.004002
     

Share This Page