[CPANEL-20560] Update failure with scripts/update_spamassassin_config
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?
[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.
When I ran the script by command line, "/usr/local/cpanel/scripts/update_spamassassin_config", I got the following output:
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.
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?
-
Hi @gnetwork-cp That's definitely an unusual error, I've not seen it before. Can you show me the results of the following: ps faux |grep spam[d] cat /etc/cpspamd.conf
Thanks!0 -
Hi @gnetwork-cp That's definitely an unusual error, I've not seen it before. Can you show me the results of the following:
ps faux |grep spam[d] cat /etc/cpspamd.conf
Thanks!
Here it is:root@server [~]# ps faux |grep spam[d] root 1459 0.0 4.9 221484 99456 ? Ss 02:12 0:10 /usr/local/cpanel/3rdparty/perl/526/bin/perl -T -w /usr/local/cpanel/3rdparty/bin/spamd --max-spare=1 --max-children=3 --allowed-ips=127.0.0.1,::1 --pidfile=/var/run/spamd.pid --listen=5 root 1977 0.0 5.8 247604 116172 ? S 02:12 0:23 \_ spamd child root@server [~]# cat /etc/cpspamd.conf maxspare=1 maxchildren=3
I should mention that yesterday I changed my VPS plan with the provider (reduced resources) but still have the same IP address. Could that be a part of the problem?0 -
+1 I'm seeing EXACTLY the same issue... any ideas yet? running the command by hand gives this... #/usr/local/cpanel/scripts/update_spamassassin_config --verbose 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. 0 -
We are experiencing the same problem on both our vps with different vendors and different dc's 0 -
+1 also experiencing the exact same behaviour. Also a VPS. 0 -
+1 I'm having the same issue as well 0 -
+1 here too. CLOUDLINUX 6.9 standard v70.0.42, following upgrade. 0 -
+1, We have the same issue for past 2 days. CLOUDLINUX 6.9 standard v70.0.42, following upgrade. 0 -
+1 Same error 0 -
Same exact error same scenario. CLOUDLINUX 6.9 VPS v70.0.42 Confirmed. /usr/local/cpanel/scripts/update_spamassassin_config --verbose 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. 0 -
Yup, this seems to break it $response = Net::Whois::IANA->new()->whois_query( -ip => $address ); GDPR changes causing issues? I didn't read too much into changes which will be introduced to WHOIS systems due to GDPR, but this could be caused by that. Is there any way to not use whois during the update? 0 -
Hi everyone, We now have a case on this CPANEL-20560 to address the issue. Thank you all for updating this thread. I'll update here once it's resolved. Thanks! 0 -
Error has disappeared! 0 -
Hello, This is solved in cPanel & WHM version 70.0.46: Fixed case CPANEL-20560: Avoid exception on invalid whois data. Version 70.0.46 is now published to the CURRENT build tier. We'll update this thread again once it's published to the RELEASE build tier. Thank you. 0 -
Hello, Version 70.0.46 is now published to the RELEASE release tier. Thank you. 0
Please sign in to leave a comment.
Comments
15 comments