Re: NetworkManager.service: Start request repeated too quickly

2018-05-17 Thread Dan Norton
On Fri, 18 May 2018 01:41:35 +
Andy Smith  wrote:

> Hello,
> 
> On Thu, May 17, 2018 at 09:31:26PM -0400, Dan Norton wrote:
> > In another (non-minimal) system with a working DNS:
> > 
> > root@debU:~# apt search libjansson
> > [snip]
> > libjansson4/stable,now 2.9-1 amd64 [installed,automatic] 
> > C library for encoding, decoding and manipulating JSON data
> > 
> > Says it's installed but where? Running "whereis" turns up nothing.  
> 
> $ apt-file search libjansson.so.4
> libjansson4: /usr/lib/x86_64-linux-gnu/libjansson.so.4
> libjansson4: /usr/lib/x86_64-linux-gnu/libjansson.so.4.9.0
> 
> Also, for installed packages, "dpkg -L libjansson4".
> 

Thanks, Andy. dpkg -L found it. I didn't have apt-file installed.



Re: NetworkManager.service: Start request repeated too quickly

2018-05-17 Thread Andy Smith
Hello,

On Thu, May 17, 2018 at 09:31:26PM -0400, Dan Norton wrote:
> In another (non-minimal) system with a working DNS:
> 
> root@debU:~# apt search libjansson
> [snip]
> libjansson4/stable,now 2.9-1 amd64 [installed,automatic] 
> C library for encoding, decoding and manipulating JSON data
> 
> Says it's installed but where? Running "whereis" turns up nothing.

$ apt-file search libjansson.so.4
libjansson4: /usr/lib/x86_64-linux-gnu/libjansson.so.4
libjansson4: /usr/lib/x86_64-linux-gnu/libjansson.so.4.9.0

Also, for installed packages, "dpkg -L libjansson4".

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting



Re: NetworkManager.service: Start request repeated too quickly

2018-05-17 Thread Dan Norton
On Thu, 17 May 2018 19:34:30 -0400
Dan Norton  wrote:

> In trying to get DNS working on a minimal install of Debian 9.4, by
> copying things from a working system, I run into this:
> 
> # systemctl status NetworkManager
> ● NetworkManager.service - Network Manager
>Loaded: loaded (/lib/systemd/system/NetworkManager.service;
> enabled; vendor preset: enabled) Active: failed (Result: exit-code)
> since Thu 2018-05-17 18:05:21 EDT; 1min 19s ago Docs:
> man:NetworkManager(8) Process: 571 ExecStart=/usr/sbin/NetworkManager
> --no-daemon (code=exited, status=127) Main PID: 571 (code=exited,
> status=127)
> 
> May 17 18:05:20 debm systemd[1]: NetworkManager.service: Unit entered
> failed state. May 17 18:05:20 debm systemd[1]: NetworkManager.service:
> Failed with result 'exit-code'. May 17 18:05:21 debm systemd[1]:
> NetworkManager.service: Service hold-off time over, scheduling
> restart. May 17 18:05:21 debm systemd[1]: Stopped Network Manager.
> May 17 18:05:21 debm systemd[1]: NetworkManager.service: Start request
> repeated too quickly. May 17 18:05:21 debm systemd[1]: Failed to start
> Network Manager. May 17 18:05:21 debm systemd[1]:
> NetworkManager.service: Unit entered failed state. May 17 18:05:21
> debm systemd[1]: NetworkManager.service: Failed with result
> 'exit-code'.
> 

More searching in the output of "journalctl -xe" turns up:

debm NetworkManager[583]: /usr/sbin/NetworkManager: error while loading
shared libraries: libjansson.so.4: cannot open shared object file: No
such file or directory

In another (non-minimal) system with a working DNS:

root@debU:~# apt search libjansson
[snip]
libjansson4/stable,now 2.9-1 amd64 [installed,automatic] 
C library for encoding, decoding and manipulating JSON data

Says it's installed but where? Running "whereis" turns up nothing.