Send dhcp-users mailing list submissions to
        dhcp-users@lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
        dhcp-users-requ...@lists.isc.org

You can reach the person managing the list at
        dhcp-users-ow...@lists.isc.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."


Today's Topics:

   1. Re: Script execution failed with return value 2
      (glenn.satch...@uniq.com.au)


----------------------------------------------------------------------

Message: 1
Date: Mon, 02 Sep 2024 15:39:03 +1000
From: glenn.satch...@uniq.com.au
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: Script execution failed with return value 2
Message-ID: <12cd8e0accd8177fcb896e70d386f...@uniq.com.au>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

With _systemctl status whatever.service_ you can also do _journalctl 
-xeu whatever.service_ and get the full status and error messages. 
Otherwise you just get the last 10 or so lines which isn't always the 
interesting or useful part.

regards,

Glenn

On 2024-09-02 15:04, William Torrez Corea wrote:

> networking.service - Raise network interfaces
> Loaded: loaded (/lib/systemd/system/networking.service; enabled; 
> preset: enabled)
> Active: active (exited) since Sun 2024-09-01 22:56:13 CST; 3min 25s ago
> Docs: man:interfaces(5)
> Process: 20876 ExecStart=/sbin/ifup -a --read-environment (code=exited, 
> status=0/SUCCESS)
> Process: 21228 ExecStart=/bin/sh -c if [ -f 
> /run/network/restart-hotplug ]; then /sbin/ifup -a --read-environment 
> --allow=hotplug>
> Main PID: 21228 (code=exited, status=0/SUCCESS)
> Tasks: 3 (limit: 9342)
> Memory: 1.3M
> CPU: 107ms
> CGroup: /system.slice/networking.service
> ??20901 dhclient -4 -v -i -pf /run/dhclient.enp7s0.pid -lf 
> /var/lib/dhcp/dhclient.enp7s0.leases -I -df /var/lib/dhcp/dhc>
> ??21171 "avahi-autoipd: [enp7s0] bound 169.254.10.244"
> ??21172 "avahi-autoipd: [enp7s0] callout dispatcher"
> 
> Sep 01 22:56:04 lulu-inspiron5437 dhclient[20901]: No working leases in 
> persistent database - sleeping.
> Sep 01 22:56:04 lulu-inspiron5437 avahi-autoipd(enp7s0)[21171]: Found 
> user 'avahi-autoipd' (UID 107) and group 'avahi-autoipd' (GID 1>
> Sep 01 22:56:04 lulu-inspiron5437 avahi-autoipd(enp7s0)[21171]: 
> Successfully called chroot().
> Sep 01 22:56:04 lulu-inspiron5437 avahi-autoipd(enp7s0)[21171]: 
> Successfully dropped root privileges.
> Sep 01 22:56:04 lulu-inspiron5437 avahi-autoipd(enp7s0)[21171]: 
> Starting with address 169.254.10.244
> Sep 01 22:56:09 lulu-inspiron5437 avahi-autoipd(enp7s0)[21171]: Callout 
> BIND, address 169.254.10.244 on interface enp7s0
> Sep 01 22:56:09 lulu-inspiron5437 avahi-autoipd(enp7s0)[21172]: client: 
> RTNETLINK answers: File exists
> Sep 01 22:56:09 lulu-inspiron5437 avahi-autoipd(enp7s0)[21172]: Script 
> execution failed with return value 2
> Sep 01 22:56:13 lulu-inspiron5437 avahi-autoipd(enp7s0)[21171]: 
> Successfully claimed IP address 169.254.10.244
> Sep 01 22:56:13 lulu-inspiron5437 systemd[1]: Finished 
> networking.service - Raise network interfaces.
> 
> I am connected to the interface enp7s0 but this network is unstable in 
> addition i don't have access to the internet.
> 
> --
> 
> With kindest regards, William.
> 
> _Larry Wall invented a messy programming language -- and changed the 
> face of the Web_
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20240902/b5bb800c/attachment-0001.htm>

------------------------------

Subject: Digest Footer

_______________________________________________
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

End of dhcp-users Digest, Vol 189, Issue 2
******************************************

Reply via email to