Dhclient doesn't exit on linux when terminating the mudfish core from web gui

OS: centos 7
version: 5.3.3

Problem: When using mudfish on linux, after stopping mudfish from web gui, dhclient on tap1 doesn’t exit.

Therefore, when you start mudfish again, the previous dhclient stops tap0 from getting into mudfish network, and user receives MUDEC_00044 or MUDEC_00045

[STDOUT]

Tue, 02 Mar 2021 01:09:31 GMT [0.229121] [INFO] mudfish v5.3.3 (for amd64)
Tue, 02 Mar 2021 01:09:31 GMT [0.229201] [INFO] Timestamp: Mon Mar 1 20:09:31 2021

Tue, 02 Mar 2021 01:09:31 GMT [0.229218] [INFO] Connection protocol: udp_p10012
Tue, 02 Mar 2021 01:09:31 GMT [0.229230] [INFO] MTU is adjusted from 1450 to 1430 for FEC feature.
Tue, 02 Mar 2021 01:09:31 GMT [0.229255] [INFO] Authenticating…
Tue, 02 Mar 2021 01:09:31 GMT [0.326216] [INFO] Fetching the static nodes…
Tue, 02 Mar 2021 01:09:32 GMT [1.013250] [INFO] Fetched 509 static nodes from the master.
Tue, 02 Mar 2021 01:09:32 GMT [1.016605] [INFO] New tap(4) interface is created: tap0
Tue, 02 Mar 2021 01:09:32 GMT [1.017051] [INFO] No load calculation for clock.
Tue, 02 Mar 2021 01:09:32 GMT [1.020186] [INFO] Uses the macaddr for msk(4) (cached).
Tue, 02 Mar 2021 01:09:32 GMT [1.020283] [INFO] msk0: Ethernet address: 36:c1:0b:ed:2a:98
Tue, 02 Mar 2021 01:09:32 GMT [1.021032] [INFO] Ready
Tue, 02 Mar 2021 01:09:32 GMT [1.120610] [INFO] Listening the management console at 127.0.0.1:39036
Tue, 02 Mar 2021 01:09:33 GMT [2.021222] [INFO] Waiting until the client’s ready to handle the routing path list.
Tue, 02 Mar 2021 01:09:33 GMT [2.042942] [INFO] Commander said: dhclient(6936) is already running - exiting.

This version of ISC DHCP is based on the release available
on ftp.isc.org. Features have been added and other changes
have been made to the base software release in order to make
it work better with this distribution.

Please report for this software via the CentOS Bugs Database:
http://bugs.centos.org/

Tue, 02 Mar 2021 01:09:33 GMT [2.043005] [INFO] Commander said: exiting.
Tue, 02 Mar 2021 01:09:33 GMT [2.044410] [INFO] Commander said: CMD ;dhclient -1 tap0 R 13644 Status: 0100 Bad exit code: 0100 sig 0 exit 1
Tue, 02 Mar 2021 01:09:36 GMT [5.021341] [INFO] Waiting until the client’s ready to handle the routing path list.
Tue, 02 Mar 2021 01:09:39 GMT [8.021494] [INFO] Waiting until the client’s ready to handle the routing path list.
Tue, 02 Mar 2021 01:09:42 GMT [11.021639] [INFO] Waiting until the client’s ready to handle the routing path list.
Tue, 02 Mar 2021 01:09:45 GMT [14.021796] [INFO] Waiting until the client’s ready to handle the routing path list.
Tue, 02 Mar 2021 01:09:48 GMT [17.021911] [INFO] Waiting until the client’s ready to handle the routing path list.
Tue, 02 Mar 2021 01:09:51 GMT [20.022039] [INFO] Waiting until the client’s ready to handle the routing path list.
Tue, 02 Mar 2021 01:09:54 GMT [23.022143] [INFO] Waiting until the client’s ready to handle the routing path list.
Tue, 02 Mar 2021 01:09:57 GMT [26.022262] [INFO] Waiting until the client’s ready to handle the routing path list.
Tue, 02 Mar 2021 01:10:00 GMT [29.022401] [INFO] Waiting until the client’s ready to handle the routing path list.
Tue, 02 Mar 2021 01:10:03 GMT [32.022548] [WARN] MUDEC_00044: The client isn’t ready yet
Tue, 02 Mar 2021 01:10:03 GMT [32.022590] [INFO] Waiting until the client’s ready to handle the routing path list.
Tue, 02 Mar 2021 01:10:06 GMT [35.022714] [INFO] Waiting until the client’s ready to handle the routing path list.
Tue, 02 Mar 2021 01:10:09 GMT [38.022852] [INFO] Waiting until the client’s ready to handle the routing path list.
Tue, 02 Mar 2021 01:10:12 GMT [41.022999] [INFO] Waiting until the client’s ready to handle the routing path list.
Tue, 02 Mar 2021 01:10:15 GMT [44.023147] [INFO] Waiting until the client’s ready to handle the routing path list.
Tue, 02 Mar 2021 01:10:18 GMT [47.023291] [INFO] Waiting until the client’s ready to handle the routing path list.
Tue, 02 Mar 2021 01:10:19 GMT [48.664719] [INFO] Fetching new static node SID 43…
Tue, 02 Mar 2021 01:10:19 GMT [48.791362] [INFO] re25: Ethernet address: 7e:68:49:3c:c1:76
Tue, 02 Mar 2021 01:10:19 GMT [48.791433] [INFO] re25: Associating with ip 14.63.185.131 port 10012
Tue, 02 Mar 2021 01:10:19 GMT [48.791604] [INFO] re25: Connected to 14.63.185.131:10012 (UDP)
Tue, 02 Mar 2021 01:10:21 GMT [50.023412] [INFO] Waiting until the client’s ready to handle the routing path list.
Tue, 02 Mar 2021 01:10:24 GMT [53.023534] [INFO] Waiting until the client’s ready to handle the routing path list.
Tue, 02 Mar 2021 01:10:27 GMT [56.023672] [INFO] Waiting until the client’s ready to handle the routing path list.
Tue, 02 Mar 2021 01:10:30 GMT [59.023814] [INFO] Waiting until the client’s ready to handle the routing path list.
Tue, 02 Mar 2021 01:10:33 GMT [62.023927] [ERROR] MUDEC_00045: The client doesn’t response with DHCP protocol
Tue, 02 Mar 2021 01:10:33 GMT [62.023970] [INFO] Waiting until the client’s ready to handle the routing path list.

Thank you for reporting this issue. :slight_smile: However I’d fixed this issue on the code but requires another release. Please wait it until next release.

However meanwhile it looks you need to terminate mudrun process manually.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.