Oct 18 11:06:46 server systemd[529]: rc-local.service: Failed at step EXEC spawning /etc/rc.local: Exec format error
Oct 18 11:06:46 server systemd[1]: rc-local.service: Control process exited, code=exited status=203
Oct 18 11:06:46 server systemd[1]: Failed to start /etc/rc.local Compatibility.
Oct 18 11:06:46 server systemd[1]: rc-local.service: Unit entered failed state.
Oct 18 11:06:46 server systemd[1]: rc-local.service: Failed with result 'exit-code'.
If you get the "Exec format error" then it is probably because your rc.local is not formatted correctly. Specifically, it must have #!/bin/sh -e at the top or it will not work.
#!/bin/sh -e
exit 0
systemctl enable rc-local
debian, ubuntu, mint, rc, startup, exec, spawning, etc, format, erroroct, server, systemd, oct, exited, compatibility, quot, formatted, correctly, bin, sh, enable, systemctl,