Web lists-archives.com

Re: Cannot start davmail service




Hi,

> I have a problem with davmail package in debian testing and need some advise.
>
> If I install it I can start and stop the service via systemctl without any
> problem and it works flawlessly.
>
> However, after a reboot, the service does not start. I get the following
> error:
>
> abr 26 10:51:00 localhot systemd[17207]: davmail.service: Failed to execute
> command: Exec format error
> abr 26 10:51:00 localhot systemd[17207]: davmail.service: Failed at step EXEC
> spawning /usr/bin/davmail: Exec format error

davmail is an executable jar which uses jarwrapper which uses
binfmt_misc[1] to make arbitrary files executable.

It seems the binfmt-support service has not run properly on your
machine. Does restarting it fix the problem?

[1] https://en.wikipedia.org/wiki/Binfmt_misc

Alex