I've seen similar threads here, but mine is happening with spamassassin script:
Maintenance ended; however, it did not exit cleanly (256). The following events were logged: “scripts/update_spamassassin_config”. Review the update logs to determine why the update failed.
Error appeared as:
When I ran the script by command line, “/usr/local/cpanel/scripts/update_spamassassin_config”, I got the following output:
Now I see the referenced IANA.pm line 538 contains the following:
$query{cidr} = [Net::CIDR::range2cidr(uc($query{inet6num} || $query{inetnum}))];
Is the IPV6 query causing a problem? I don't run IPV6!
Any suggestions?
Maintenance ended; however, it did not exit cleanly (256). The following events were logged: “scripts/update_spamassassin_config”. Review the update logs to determine why the update failed.
Error appeared as:
Code:
[2018-05-19 02:34:28 +1000] E [/usr/local/cpanel/scripts/update_spamassassin_config] The “/usr/local/cpanel/scripts/update_spamassassin_config” command (process 2586) reported error number 255 when it ended.
Code:
root@server [~]# /usr/local/cpanel/scripts/update_spamassassin_config
warn [update_spamassassin_config] Failed to update neighbor netblocks because of an error: at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/Net/Whois/IANA.pm line 538.
...propagated at /usr/local/cpanel/Cpanel/Net/Whois/IP/Cached.pm line 96.
at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/Net/Whois/IANA.pm line 538.
...propagated at /usr/local/cpanel/Cpanel/Net/Whois/IP/Cached.pm line 96.
$query{cidr} = [Net::CIDR::range2cidr(uc($query{inet6num} || $query{inetnum}))];
Is the IPV6 query causing a problem? I don't run IPV6!
Any suggestions?