Re: Script execution failed with return value 2

[email protected] Tue, 03 Sep 2024 19:50:31 +1000
Newsgroups gmane.network.dhcp.isc.dhcp-server
Message-ID <9a94b86afad1cae55beeefd0c602348b__34563.6665167817$1725357060$gmane$org@uniq.com.au>
--===============6231178015451223295==
Content-Type: multipart/alternative;
 boundary="=_ed4b02f256c579568f78a300467283e1"

--=_ed4b02f256c579568f78a300467283e1
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8;
 format=flowed

On 2024-09-03 13:27, William Torrez Corea wrote:

> On Sun, Sep 1, 2024 at 11:39 PM <[email protected]> wrote:
> 
> 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
> --
> 
> With kindest regards, William.
> 
> _Larry Wall invented a messy programming language -- and changed the 
> face of the Web_
> 
> --
> 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
> [email protected]
> https://lists.isc.org/mailman/listinfo/dhcp-users

  Sep 02 20:52:55 lulu-inspiron5437 dhclient[4434]: DHCPDISCOVER on 
enp7s0 to 255.255.255.255 port 67 interval 2
Sep 02 20:52:55 lulu-inspiron5437 ifup[4434]: DHCPDISCOVER on enp7s0 to 
255.255.255.255 port 67 interval 2
Sep 02 20:52:57 lulu-inspiron5437 dhclient[4434]: No DHCPOFFERS 
received.
Sep 02 20:52:57 lulu-inspiron5437 ifup[4434]: No DHCPOFFERS received.
Sep 02 20:52:57 lulu-inspiron5437 ifup[4434]: No working leases in 
persistent database - sleeping.
Sep 02 20:52:57 lulu-inspiron5437 dhclient[4434]: No working leases in 
persistent database - sleeping.
Sep 02 20:52:57 lulu-inspiron5437 avahi-autoipd(enp7s0)[4889]: Found 
user 'avahi-autoipd' (UID 107) and group 'avahi-autoipd' (GID 11>
Sep 02 20:52:57 lulu-inspiron5437 avahi-autoipd(enp7s0)[4889]: 
Successfully called chroot().
Sep 02 20:52:57 lulu-inspiron5437 avahi-autoipd(enp7s0)[4889]: 
Successfully dropped root privileges.
Sep 02 20:52:57 lulu-inspiron5437 avahi-autoipd(enp7s0)[4889]: Starting 
with address 169.254.10.244
Sep 02 20:53:03 lulu-inspiron5437 avahi-autoipd(enp7s0)[4889]: Callout 
BIND, address 169.254.10.244 on interface enp7s0
Sep 02 20:53:07 lulu-inspiron5437 avahi-autoipd(enp7s0)[4889]: 
Successfully claimed IP address 169.254.10.244
Sep 02 20:53:07 lulu-inspiron5437 systemd[1]: Finished 
networking.service - Raise network interfaces.
░░ Subject: A start job for unit networking.service has finished 
successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit networking.service has finished successfully.
░░
░░ The job identifier is 1878.
Sep 02 21:00:04 lulu-inspiron5437 dhclient[4434]: DHCPDISCOVER on enp7s0 
to 255.255.255.255 port 67 interval 4
Sep 02 21:00:08 lulu-inspiron5437 dhclient[4434]: DHCPDISCOVER on enp7s0 
to 255.255.255.255 port 67 interval 10
Sep 02 21:00:18 lulu-inspiron5437 dhclient[4434]: DHCPDISCOVER on enp7s0 
to 255.255.255.255 port 67 interval 19
Sep 02 21:00:37 lulu-inspiron5437 dhclient[4434]: DHCPDISCOVER on enp7s0 
to 255.255.255.255 port 67 interval 20
Sep 02 21:00:57 lulu-inspiron5437 dhclient[4434]: DHCPDISCOVER on enp7s0 
to 255.255.255.255 port 67 interval 8
Sep 02 21:01:05 lulu-inspiron5437 dhclient[4434]: No DHCPOFFERS 
received.
Sep 02 21:01:05 lulu-inspiron5437 dhclient[4434]: No working leases in 
persistent database - sleeping.

  --

With kindest regards, William.

_Larry Wall invented a messy programming language -- and changed the 
face of the Web_

Hi WIlliam,

Looks like there isn't a DHCP server on that network, or it's not 
plugged in to the switch properly? Do you have a server or wifi router 
or something that should be serving up DHCP? Anything in the log files 
fon the server? Are there other systems on that network segment that are 
working?

regards,

Glenn
--=_ed4b02f256c579568f78a300467283e1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset=
=3DUTF-8" /></head><body style=3D'font-size: 10pt; font-family: Verdana,Gen=
eva,sans-serif'>
<p id=3D"reply-intro">On 2024-09-03 13:27, William Torrez Corea wrote:</p>
<blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2=
px solid; margin: 0">
<div id=3D"replybody1">
<div dir=3D"ltr">
<div dir=3D"ltr">&nbsp;</div>
<div class=3D"v1gmail_quote">
<div class=3D"v1gmail_attr" dir=3D"ltr">On Sun, Sep 1, 2024 at 11:39=E2=80=
=AFPM &lt;<a href=3D"mailto:[email protected]" rel=3D"noreferrer">=
[email protected]</a>&gt; wrote:</div>
<blockquote class=3D"v1gmail_quote" style=3D"margin: 0px 0px 0px 0.8ex; bor=
der-left: 1px solid #cccccc; padding-left: 1ex;">
<div style=3D"font-size: 10pt; font-family: Verdana,Geneva,sans-serif;">
<p>With <em>systemctl status whatever.service</em> you can also do <em>jour=
nalctl -xeu whatever.service</em> and get the full status and error message=
s. Otherwise you just get the last 10 or so lines which isn't always the in=
teresting or useful part.</p>
<p>regards,</p>
<p>Glenn</p>
<p id=3D"v1m_3527207504182449937reply-intro">On 2024-09-02 15:04, William T=
orrez Corea wrote:</p>
<blockquote style=3D"padding: 0px 0.4em; border-left: 2px solid #1010ff; ma=
rgin: 0px;">
<div id=3D"v1m_3527207504182449937replybody1">
<div dir=3D"ltr">networking.service - Raise network interfaces<br />
<div>&nbsp;<span>-- </span></div>
<div dir=3D"ltr">
<div dir=3D"ltr"><br />With kindest regards, William.<br /><br /><em>Larry =
Wall invented a messy programming language -- and changed the face of the W=
eb</em><br /><br /></div>
</div>
</div>
</div>
<br />
<div style=3D"margin: 0px; padding: 0px; font-family: monospace;">&nbsp;</d=
iv>
</blockquote>
<p><br /></p>
</div>
-- <br />ISC funds the development of this software with paid support subsc=
riptions. Contact us at <a href=3D"https://www.isc.org/contact/" target=3D"=
_blank" rel=3D"noopener noreferrer">https://www.isc.org/contact/</a> for mo=
re information.<br /><br />dhcp-users mailing list<br /><a href=3D"mailto:d=
[email protected]" rel=3D"noreferrer">[email protected]</a><br=
 /><a href=3D"https://lists.isc.org/mailman/listinfo/dhcp-users" target=3D"=
_blank" rel=3D"noopener noreferrer">https://lists.isc.org/mailman/listinfo/=
dhcp-users</a></blockquote>
</div>
<br clear=3D"all" />
<div>&nbsp;</div>
<div>
<table class=3D"v1gmail-ajC" cellpadding=3D"0">
<tbody>
<tr class=3D"v1gmail-UszGxc v1gmail-ajv">
<td class=3D"v1gmail-gG" colspan=3D"2">&nbsp;</td>
<td class=3D"v1gmail-gL" colspan=3D"2">Sep 02 20:52:55 lulu-inspiron5437 dh=
client[4434]: DHCPDISCOVER on enp7s0 to 255.255.255.255 port 67 interval 2<=
br />Sep 02 20:52:55 lulu-inspiron5437 ifup[4434]: DHCPDISCOVER on enp7s0 t=
o 255.255.255.255 port 67 interval 2<br />Sep 02 20:52:57 lulu-inspiron5437=
 dhclient[4434]: No DHCPOFFERS received.<br />Sep 02 20:52:57 lulu-inspiron=
5437 ifup[4434]: No DHCPOFFERS received.<br />Sep 02 20:52:57 lulu-inspiron=
5437 ifup[4434]: No working leases in persistent database - sleeping.<br />=
Sep 02 20:52:57 lulu-inspiron5437 dhclient[4434]: No working leases in pers=
istent database - sleeping.<br />Sep 02 20:52:57 lulu-inspiron5437 avahi-au=
toipd(enp7s0)[4889]: Found user 'avahi-autoipd' (UID 107) and group 'avahi-=
autoipd' (GID 11&gt;<br />Sep 02 20:52:57 lulu-inspiron5437 avahi-autoipd(e=
np7s0)[4889]: Successfully called chroot().<br />Sep 02 20:52:57 lulu-inspi=
ron5437 avahi-autoipd(enp7s0)[4889]: Successfully dropped root privileges.<=
br />Sep 02 20:52:57 lulu-inspiron5437 avahi-autoipd(enp7s0)[4889]: Startin=
g with address 169.254.10.244<br />Sep 02 20:53:03 lulu-inspiron5437 avahi-=
autoipd(enp7s0)[4889]: Callout BIND, address 169.254.10.244 on interface en=
p7s0<br />Sep 02 20:53:07 lulu-inspiron5437 avahi-autoipd(enp7s0)[4889]: Su=
ccessfully claimed IP address 169.254.10.244<br />Sep 02 20:53:07 lulu-insp=
iron5437 systemd[1]: Finished networking.service - Raise network interfaces=
=2E<br />=E2=96=91=E2=96=91 Subject: A start job for unit networking.servic=
e has finished successfully<br />=E2=96=91=E2=96=91 Defined-By: systemd<br =
/>=E2=96=91=E2=96=91 Support: <a href=3D"https://www.debian.org/support" ta=
rget=3D"_blank" rel=3D"noopener noreferrer">https://www.debian.org/support<=
/a><br />=E2=96=91=E2=96=91 <br />=E2=96=91=E2=96=91 A start job for unit n=
etworking.service has finished successfully.<br />=E2=96=91=E2=96=91 <br />=
=E2=96=91=E2=96=91 The job identifier is 1878.<br />Sep 02 21:00:04 lulu-in=
spiron5437 dhclient[4434]: DHCPDISCOVER on enp7s0 to 255.255.255.255 port 6=
7 interval 4<br />Sep 02 21:00:08 lulu-inspiron5437 dhclient[4434]: DHCPDIS=
COVER on enp7s0 to 255.255.255.255 port 67 interval 10<br />Sep 02 21:00:18=
 lulu-inspiron5437 dhclient[4434]: DHCPDISCOVER on enp7s0 to 255.255.255.25=
5 port 67 interval 19<br />Sep 02 21:00:37 lulu-inspiron5437 dhclient[4434]=
: DHCPDISCOVER on enp7s0 to 255.255.255.255 port 67 interval 20<br />Sep 02=
 21:00:57 lulu-inspiron5437 dhclient[4434]: DHCPDISCOVER on enp7s0 to 255.2=
55.255.255 port 67 interval 8<br />Sep 02 21:01:05 lulu-inspiron5437 dhclie=
nt[4434]: No DHCPOFFERS received.<br />Sep 02 21:01:05 lulu-inspiron5437 dh=
client[4434]: No working leases in persistent database - sleeping.</td>
</tr>
</tbody>
</table>
</div>
<span class=3D"v1gmail_signature_prefix">-- </span><br />
<div class=3D"v1gmail_signature" dir=3D"ltr">
<div dir=3D"ltr"><br />With kindest regards, William.<br /><br /><em>Larry =
Wall invented a messy programming language -- and changed the face of the W=
eb</em><br /><br /></div>
</div>
</div>
</div>
</blockquote>
<p>Hi WIlliam,</p>
<p>Looks like there isn't a DHCP server on that network, or it's not plugge=
d in to the switch properly? Do you have a server or wifi router or somethi=
ng that should be serving up DHCP? Anything in the log files fon the server=
? Are there other systems on that network segment that are working?</p>
<p>regards,</p>
<p>Glenn</p>

</body></html>

--=_ed4b02f256c579568f78a300467283e1--

--===============6231178015451223295==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-- 
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
[email protected]
https://lists.isc.org/mailman/listinfo/dhcp-users

--===============6231178015451223295==--