Script execution failed with return value 2

glenn.satchell at uniq.com.au glenn.satchell at uniq.com.au
Mon Sep 2 05:39:03 UTC 2024


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.htm>


More information about the dhcp-users mailing list