Autoshutdown: missing IPs in the IP Range

  • Hello, why do I get this message in the log file and why is the IP 192.168.178.20 not displayed?

    _ping_range(): RANGE: 192.168.178.19..55'

    _ping_range(): pinglist_array: 192.168.178.19 192.168.178.30 192.168.178.31 192.168.178.32 192.168.178.33 192.168.178.34 192.168.178.35 192.168.178.36 192.168.178.37 192.168.178.38 192.168.178.39 192.168.178.40 192.168.178.41 192.168.178.42 192.168.178.43 192.168.178.44 192.168.178.45 192.168.178.46 192.168.178.47 192.168.178.48 192.168.178.49 192.168.178.50 192.168.178.51 192.168.178.52 192.168.178.53 192.168.178.54 192.168.178.55'

    Why are Ips 20 to 29 missing?

    Thank you very much for your help.

  • I not sure what is going on here. the script will automatically remove IP that is find for the nic but that a bit range. Can i have some verbose log form the system so i can see what going on. I will also try to simulate this

  • _ping_range(): pinglist_array: 192.168.178.19 192.168.178.20 192.168.178.21 192.168.178.22 192.168.178.23 192.168.178.24 192.168.178.25 192.168.178.26 192.168.178.27 192.168.178.28 192.168.178.29 192.168.178.30 192.168.178.31 192.168.178.32 192.168.178.33 192.168.178.34 192.168.178.35 192.168.178.36 192.168.178.37 192.168.178.38 192.168.178.39 192.168.178.40 192.168.178.41 192.168.178.42 192.168.178.43 192.168.178.44 192.168.178.45 192.168.178.46 192.168.178.47 192.168.178.48 192.168.178.49 192.168.178.50 192.168.178.51 192.168.178.52 192.168.178.53 192.168.178.54 192.168.178.55'


    it worked for me , so I will need the logs

  • Ok here a fix you can apply to 5.1.11 (released today) until the fix is release and it give it a bit of testing.


    Change the following in /usr/sbin/autoshutdown, line 83


    Code
    From: local -r server_ips="${3// /\\|}"
    
    To:   local -r server_ips="^\(${3// /\\|}\)$"


    This should fix it for you. can you confirm if it worked for you or not.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!