On Mon, Jun 13, 2016 at 8:10 PM, David Kowis <dko...@shlrm.org> wrote:

> Also, I've grabbed and installed the 5.15-1 .dpkg. systemctl reports
> that it's enabled, but it never starts on boot. Checking right after
> boot yields this:
>
> ```
> root@hylden:~# systemctl status watchdog
> ● watchdog.service - watchdog daemon
>    Loaded: loaded (/lib/systemd/system/watchdog.service; enabled; vendor
> preset: enabled)
>    Active: inactive (dead)
> root@hylden:~# ps -eaf | grep watchdog
> root        10     2  0 20:01 ?        00:00:00 [watchdog/0]
> root        11     2  0 20:01 ?        00:00:00 [watchdog/1]
> root       978   959  0 20:02 pts/0    00:00:00 grep --color=auto watchdog
> ```
>
>
> ```
> root@hylden:/etc/default# systemctl is-enabled watchdog
> enabled
> ```
>
> I've disabled and re-enabled the init script via `systemctl disable
> watchdog` and `systemctl enable watchdog` but I never get a watchdog
> started on boot. I always have to manually start it.
>
> What am I missing?
>

Here's my path

1. apt-get install watchdog
2. systemctl status watchdog


>  systemctl status -l watchdog
> ● watchdog.service - watchdog daemon
>    Loaded: loaded (/lib/systemd/system/watchdog.service; static; vendor
> preset: enabled)
>    Active: inactive (dead)
>

it's enabled, but not started since we've not booted since the installation
of the package.

3. systemctl start watchdog
4. systemctl status -l watchdog
● watchdog.service - watchdog daemon
   Loaded: loaded (/lib/systemd/system/watchdog.service; static; vendor
preset: enabled)
   Active: active (running) since Tue 2016-06-28 14:07:28 UTC; 1min 37s ago
  Process: 1851 ExecStart=/bin/sh -c [ $run_watchdog != 1 ] || exec
/usr/sbin/watchdog $watchdog_options (
  Process: 1850 ExecStartPre=/bin/sh -c [ -z "${watchdog_module}" ] || [
"${watchdog_module}" = "none" ] |
 Main PID: 1853 (watchdog)
    Tasks: 1
   Memory: 184.0K
      CPU: 23ms
   CGroup: /system.slice/watchdog.service
           └─1853 /usr/sbin/watchdog

Jun 28 14:07:28 x1 systemd[1]: Started watchdog daemon.
Jun 28 14:07:28 x1 watchdog[1853]: starting daemon (5.14):
Jun 28 14:07:28 x1 watchdog[1853]: int=1s realtime=yes sync=no soft=no
mla=0 mem=0
Jun 28 14:07:28 x1 watchdog[1853]: ping: no machine to check
Jun 28 14:07:28 x1 watchdog[1853]: file: no file to check
Jun 28 14:07:28 x1 watchdog[1853]: pidfile: no server process to check
Jun 28 14:07:28 x1 watchdog[1853]: interface: no interface to check
Jun 28 14:07:28 x1 watchdog[1853]: temperature: no sensors to check

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1448924

Title:
  watchdogd doesn't start on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/watchdog/+bug/1448924/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to