Failed to restart ardupilot service

Hi all,

once I calibrate the compass I can not start the ardupilot service, I tried 2 different navio2 on 2 different RPi3.
I get this message:

pi@navio:~ $ sudo systemctl status ardupilot.service
● ardupilot.service - ArduPilot for Linux
   Loaded: loaded (/lib/systemd/system/ardupilot.service; disabled)
   Active: failed (Result: start-limit) since Thu 2017-01-19 10:48:56 UTC; 2min 8s ago
  Process: 1070 ExecStart=/opt/ardupilot/navio2/arduplane/bin/arduplane $ARDUPILOT_OPTS (code=exited, status=1/FAILURE)
 Main PID: 1070 (code=exited, status=1/FAILURE)

Jan 19 10:48:56 navio systemd[1]: Unit ardupilot.service entered failed state.
Jan 19 10:48:56 navio systemd[1]: ardupilot.service holdoff time over, scheduling restart.
Jan 19 10:48:56 navio systemd[1]: Stopping ArduPilot for Linux...
Jan 19 10:48:56 navio systemd[1]: Starting ArduPilot for Linux...
Jan 19 10:48:56 navio systemd[1]: ardupilot.service start request repeated too quickly, refusing to start.
Jan 19 10:48:56 navio systemd[1]: Failed to start ArduPilot for Linux.
Jan 19 10:48:56 navio systemd[1]: Unit ardupilot.service entered failed state.

Could you please post the output of sudo journalctl -u ardupilot and uname -a?

pi@navio:~ $ sudo journalctl -u ardupilot
-- Logs begin at Thu 2017-01-19 10:28:10 UTC, end at Thu 2017-01-19 10:31:55 UTC. --
pi@navio:~ $  uname -a
Linux navio 4.4.48-v7+ #964 SMP Mon Feb 13 16:57:51 GMT 2017 armv7l GNU/Linux

I guess you ran sudo apt-get upgrade on the latest Beta, right?
Unfortunately you stumbled upon the bug other guys described over here. The fix will also be there.

sudo journalctl -u ardupilot
This command can help you figure out why it didn’t get launched. But you need to try first. That’s why there’s nothing of interest there.

-- Logs begin at Thu 2017-01-19 10:28:10 UTC, end at Thu 2017-01-19 10:50:14 UTC. --
Jan 19 10:38:46 navio systemd[1]: [/lib/systemd/system/ardupilot.service:4] Unknown lvalue 'Documentaion' in section 'Unit'
Jan 19 10:38:46 navio systemd[1]: Starting ArduPilot for Linux...
Jan 19 10:38:46 navio systemd[1]: Started ArduPilot for Linux.
Jan 19 10:38:46 navio arduplane[828]: LinuxPWM_Sysfs:Unable to open file /sys/class/pwm/pwmchip0/pwm0/duty_cycle: No such file or directory
Jan 19 10:38:46 navio arduplane[828]: Raspberry Pi 2/3 with BCM2709!
Jan 19 10:38:46 navio systemd[1]: ardupilot.service: main process exited, code=exited, status=1/FAILURE
Jan 19 10:38:46 navio systemd[1]: Unit ardupilot.service entered failed state.
Jan 19 10:38:46 navio systemd[1]: ardupilot.service holdoff time over, scheduling restart.
Jan 19 10:38:46 navio systemd[1]: Stopping ArduPilot for Linux...
Jan 19 10:38:46 navio systemd[1]: Starting ArduPilot for Linux...
Jan 19 10:38:46 navio systemd[1]: Started ArduPilot for Linux.
Jan 19 10:38:46 navio arduplane[839]: LinuxPWM_Sysfs:Unable to open file /sys/class/pwm/pwmchip0/pwm0/duty_cycle: No such file or directory
Jan 19 10:38:46 navio arduplane[839]: Raspberry Pi 2/3 with BCM2709!
Jan 19 10:38:46 navio systemd[1]: ardupilot.service: main process exited, code=exited, status=1/FAILURE
Jan 19 10:38:46 navio systemd[1]: Unit ardupilot.service entered failed state.
Jan 19 10:38:46 navio systemd[1]: ardupilot.service holdoff time over, scheduling restart.
Jan 19 10:38:46 navio systemd[1]: Stopping ArduPilot for Linux...
Jan 19 10:38:46 navio systemd[1]: Starting ArduPilot for Linux...
Jan 19 10:38:46 navio systemd[1]: Started ArduPilot for Linux.
Jan 19 10:38:46 navio arduplane[846]: LinuxPWM_Sysfs:Unable to open file /sys/class/pwm/pwmchip0/pwm0/duty_cycle: No such file or directory
Jan 19 10:38:46 navio arduplane[846]: Raspberry Pi 2/3 with BCM2709!
Jan 19 10:38:46 navio systemd[1]: ardupilot.service: main process exited, code=exited, status=1/FAILURE
Jan 19 10:38:46 navio systemd[1]: Unit ardupilot.service entered failed state.
Jan 19 10:38:46 navio systemd[1]: ardupilot.service holdoff time over, scheduling restart.
Jan 19 10:38:47 navio systemd[1]: Stopping ArduPilot for Linux...
Jan 19 10:38:47 navio systemd[1]: Starting ArduPilot for Linux...
Jan 19 10:38:47 navio systemd[1]: Started ArduPilot for Linux.
Jan 19 10:38:47 navio arduplane[854]: LinuxPWM_Sysfs:Unable to open file /sys/class/pwm/pwmchip0/pwm0/duty_cycle: No such file or directory
Jan 19 10:38:47 navio arduplane[854]: Raspberry Pi 2/3 with BCM2709!
Jan 19 10:38:47 navio systemd[1]: ardupilot.service: main process exited, code=exited, status=1/FAILURE
Jan 19 10:38:47 navio systemd[1]: Unit ardupilot.service entered failed state.
Jan 19 10:38:47 navio systemd[1]: ardupilot.service holdoff time over, scheduling restart.
Jan 19 10:38:47 navio systemd[1]: Stopping ArduPilot for Linux...
Jan 19 10:38:47 navio systemd[1]: Starting ArduPilot for Linux...
Jan 19 10:38:47 navio systemd[1]: Started ArduPilot for Linux.
Jan 19 10:38:47 navio arduplane[861]: LinuxPWM_Sysfs:Unable to open file /sys/class/pwm/pwmchip0/pwm0/duty_cycle: No such file or directory
Jan 19 10:38:47 navio arduplane[861]: Raspberry Pi 2/3 with BCM2709!
Jan 19 10:38:47 navio systemd[1]: ardupilot.service: main process exited, code=exited, status=1/FAILURE
Jan 19 10:38:47 navio systemd[1]: Unit ardupilot.service entered failed state.
Jan 19 10:38:47 navio systemd[1]: ardupilot.service holdoff time over, scheduling restart.
Jan 19 10:38:47 navio systemd[1]: Stopping ArduPilot for Linux...

Yep, this is what I suspected. Head over the thread I linked above. I’ll close this one if that’s okay.

ok, thanks a lot