Security Advisor Notification
This morning, I ran Security Advisor and got the same message in it. Since then, I have downloaded the latest update and installed, then ran "yum clean all" command, rebooted the server, but the problem still persist. What can be the issue or something that I am doing wrong? Other than this, everything cleared out including external DNS tests and SSL tests.
-
Hey there! What happens if you run the /usr/bin/needs-restarting command manually on the server? Does it provide any helpful output? 0 -
Hey there! What happens if you run the /usr/bin/needs-restarting command manually on the server? Does it provide any helpful output?
Not exactly. It only says "This system is receiving updates from CloudLinux Network server." and that was it... [QUOTE] [root@host03 ~]# /usr/bin/needs-restarting This system is receiving updates from CloudLinux Network server. [root@host03 ~]#0 -
Months later, still no update on this? I am getting the same thing. OS CloudLinux v8.7.0 STANDARD standard cPanel Version 110.0.5 0 -
At this point I don't see any updates. I've reached out to that dev team, but I'm not going to hear anything over the weekend. I'm going to see if I can get some more details on this next week and I'll let you know. 0 -
I do see that one of our development teams is looking into the case, but I don't have any other information to share at this point. 0 -
Updates on this would be appreciated, specially since now CloudLinux 8 is needed for latest cPanel update. 0 -
I don't have any additional updates to provide at this time. 0 -
We are waiting for this too. Thanks! 0 -
Even i started getting this error email Maintenance ended; however, it did not exit cleanly (256). The following events were logged: "scripts/find_outdated_services". Review the update logs to determine why the update failed. 2023-06-28 00:37:17 +0530] E [/usr/local/cpanel/scripts/find_outdated_services] STDOUT: This system is receiving updates from CloudLinux Network server.
0 -
If you manually run the outdated services command, does it show any output? 0 -
Hello, If possible, please verify that the two issues mentioned below are connected to the issue the OP mentioned. We believe they are connected to each other and we've been having them for months. One issue is that we receive once a week a Security Advisor Notification saying: [QUOTE]Failed to check whether active services are up-to-date: "/usr/bin/needs-restarting" reported error code "1" when it ended: Traceback (most recent call last): File "/usr/bin/needs-restarting", line 101, in main.user_main(MAPPING[command] + args, exit_code=True) File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 201, in user_main errcode = main(args) File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 67, in main return _main(base, args, cli_class, option_parser_class) File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 106, in _main return cli_run(cli, base) File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 122, in cli_run cli.run() File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 1055, in run return self.command.run() File "/usr/lib/python3.6/site-packages/dnf-plugins/needs_restarting.py", line 270, in run for ofile in list_opened_files(uid): File "/usr/lib/python3.6/site-packages/dnf-plugins/needs_restarting.py", line 77, in list_opened_files lines = smaps_file.readlines() File "/usr/lib64/python3.6/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 3243: ordinal not in range(128)
If we run [QUOTE]/usr/bin/needs-restarting
we get [QUOTE]This system is receiving updates from CloudLinux Network server
as mentioned above. Second issue is that we constantly since January 2023 get weekly messages saying [QUOTE]cPanel & WHM update failure in upcp script
with logs containing the following: [QUOTE] Processing: Restarting any outdated services - Processing command `/usr/local/cpanel/scripts/find_outdated_services --auto` [/usr/local/cpanel/scripts/find_outdated_services] Looking for outdated services " [/usr/local/cpanel/scripts/find_outdated_services] This system is receiving updates from CloudLinux Network server. [/usr/local/cpanel/scripts/find_outdated_services] 328 files removed E [/usr/local/cpanel/scripts/find_outdated_services] STDOUT: This system is receiving updates from CloudLinux Network server. E [/usr/local/cpanel/scripts/find_outdated_services] E [/usr/local/cpanel/scripts/find_outdated_services] E [/usr/local/cpanel/scripts/find_outdated_services] STDERR: Traceback (most recent call last): E [/usr/local/cpanel/scripts/find_outdated_services] File "/usr/bin/needs-restarting", line 101, in E [/usr/local/cpanel/scripts/find_outdated_services] main.user_main(MAPPING[command] + args, exit_code=True) E [/usr/local/cpanel/scripts/find_outdated_services] File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 201, in user_main E [/usr/local/cpanel/scripts/find_outdated_services] errcode = main(args) E [/usr/local/cpanel/scripts/find_outdated_services] File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 67, in main E [/usr/local/cpanel/scripts/find_outdated_services] return _main(base, args, cli_class, option_parser_class) E [/usr/local/cpanel/scripts/find_outdated_services] File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 106, in _main E [/usr/local/cpanel/scripts/find_outdated_services] return cli_run(cli, base) E [/usr/local/cpanel/scripts/find_outdated_services] File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 122, in cli_run E [/usr/local/cpanel/scripts/find_outdated_services] cli.run() E [/usr/local/cpanel/scripts/find_outdated_services] File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 1055, in run E [/usr/local/cpanel/scripts/find_outdated_services] return self.command.run() E [/usr/local/cpanel/scripts/find_outdated_services] File "/usr/lib/python3.6/site-packages/dnf-plugins/needs_restarting.py", line 270, in run E [/usr/local/cpanel/scripts/find_outdated_services] for ofile in list_opened_files(uid): E [/usr/local/cpanel/scripts/find_outdated_services] File "/usr/lib/python3.6/site-packages/dnf-plugins/needs_restarting.py", line 77, in list_opened_files E [/usr/local/cpanel/scripts/find_outdated_services] lines = smaps_file.readlines() E [/usr/local/cpanel/scripts/find_outdated_services] File "/usr/lib64/python3.6/encodings/ascii.py", line 26, in decode E [/usr/local/cpanel/scripts/find_outdated_services] return codecs.ascii_decode(input, self.errors)[0] E [/usr/local/cpanel/scripts/find_outdated_services] UnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 1669: ordinal not in range(128) E [/usr/local/cpanel/scripts/find_outdated_services] E [/usr/local/cpanel/scripts/find_outdated_services] E [/usr/local/cpanel/scripts/find_outdated_services] Cpanel::Exception::ProcessFailed::Error/(XID xy77mh) "/usr/bin/needs-restarting" reported error code "1" when it ended: Traceback (most recent call last): E [/usr/local/cpanel/scripts/find_outdated_services] File "/usr/bin/needs-restarting", line 101, in E [/usr/local/cpanel/scripts/find_outdated_services] main.user_main(MAPPING[command] + args, exit_code=True) E [/usr/local/cpanel/scripts/find_outdated_services] File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 201, in user_main E [/usr/local/cpanel/scripts/find_outdated_services] errcode = main(args) E [/usr/local/cpanel/scripts/find_outdated_services] File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 67, in main E [/usr/local/cpanel/scripts/find_outdated_services] return _main(base, args, cli_class, option_parser_class) E [/usr/local/cpanel/scripts/find_outdated_services] File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 106, in _main E [/usr/local/cpanel/scripts/find_outdated_services] return cli_run(cli, base) E [/usr/local/cpanel/scripts/find_outdated_services] File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 122, in cli_run E [/usr/local/cpanel/scripts/find_outdated_services] cli.run() E [/usr/local/cpanel/scripts/find_outdated_services] File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 1055, in run E [/usr/local/cpanel/scripts/find_outdated_services] return self.command.run() E [/usr/local/cpanel/scripts/find_outdated_services] File "/usr/lib/python3.6/site-packages/dnf-plugins/needs_restarting.py", line 270, in run E [/usr/local/cpanel/scripts/find_outdated_services] for ofile in list_opened_files(uid): E [/usr/local/cpanel/scripts/find_outdated_services] File "/usr/lib/python3.6/site-packages/dnf-plugins/needs_restarting.py", line 77, in list_opened_files E [/usr/local/cpanel/scripts/find_outdated_services] lines = smaps_file.readlines() E [/usr/local/cpanel/scripts/find_outdated_services] File "/usr/lib64/python3.6/encodings/ascii.py", line 26, in decode E [/usr/local/cpanel/scripts/find_outdated_services] return codecs.ascii_decode(input, self.errors)[0] E [/usr/local/cpanel/scripts/find_outdated_services] UnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 1669: ordinal not in range(128) E [/usr/local/cpanel/scripts/find_outdated_services] E [/usr/local/cpanel/scripts/find_outdated_services] at /usr/local/cpanel/Cpanel/ChildErrorStringifier.pm line 161. E [/usr/local/cpanel/scripts/find_outdated_services] Cpanel::ChildErrorStringifier::to_exception(Cpanel::SafeRun::Object=HASH(0x2b23498)) called at /usr/local/cpanel/Cpanel/ChildErrorStringifier.pm line 140 E [/usr/local/cpanel/scripts/find_outdated_services] Cpanel::ChildErrorStringifier::die_if_error(Cpanel::SafeRun::Object=HASH(0x2b23498)) called at /usr/local/cpanel/Cpanel/SafeRun/Object.pm line 680 E [/usr/local/cpanel/scripts/find_outdated_services] Cpanel::SafeRun::Object::die_if_error(Cpanel::SafeRun::Object=HASH(0x2b23498)) called at /usr/local/cpanel/Cpanel/ProcessCheck/Outdated.pm line 274 E [/usr/local/cpanel/scripts/find_outdated_services] Cpanel::ProcessCheck::Outdated::_outdated_services_default() called at /usr/local/cpanel/Cpanel/ProcessCheck/Outdated.pm line 68 E [/usr/local/cpanel/scripts/find_outdated_services] Cpanel::ProcessCheck::Outdated::outdated_services() called at /usr/local/cpanel/scripts/find_outdated_services line 88 E [/usr/local/cpanel/scripts/find_outdated_services] scripts::find_outdated_services::__ANON__() called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/Try/Tiny.pm line 100 E [/usr/local/cpanel/scripts/find_outdated_services] eval {...} called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/Try/Tiny.pm line 91 E [/usr/local/cpanel/scripts/find_outdated_services] Try::Tiny::try(CODE(0x24a8018), Try::Tiny::Catch=REF(0x20a2330)) called at /usr/local/cpanel/scripts/find_outdated_services line 108 E [/usr/local/cpanel/scripts/find_outdated_services] scripts::find_outdated_services::run(scripts::find_outdated_services=HASH(0x2075490)) called at /usr/local/cpanel/scripts/find_outdated_services line 73 E [/usr/local/cpanel/scripts/find_outdated_services] The "/usr/local/cpanel/scripts/find_outdated_services --auto" command (process 78659) reported error number 255 when it ended.
If we run [QUOTE]/usr/local/cpanel/scripts/find_outdated_services
we get [QUOTE]Looking for outdated services " This system is receiving updates from CloudLinux Network server. 321 files removed warn [find_outdated_services] This system is receiving updates from CloudLinux N etwork server. The system did not find any outdated services.
Is there anything we can do from our side to resolve any of the issues?0 -
@KJ - yes, that sounds like the same case. I don't have a resolution at this time, but I can see our team is working on the issue. 0 -
Thank you for verifying it! 0 -
Sure thing! 0 -
@KJ - yes, that sounds like the same case. I don't have a resolution at this time, but I can see our team is working on the issue.
That's good to hear, I've been noticing the advisor catching this as of late. I was initially worried but sounds like it'll be a small annoyance until patched. That being said manually running the command only displays the same "This system is receiving updates from the Cloudlinux network" but doesn't display any services. Should a service need to be restarted will it still show in the log with the CL line?0 -
Yes, I would still expect a service that needs to be restarted to show up. 0 -
hello, is there any update? 0 -
hello, is there any update?
sloved : 1- usr/bin/needs-restarting 2- yum clean all 3- reboot0 -
Why is it taking over a year for this to be fixed? I'm also getting this.
Failed to check whether running executables are up-to-date: The system received unexpected output from “/usr/bin/needs-restarting”: This system is receiving updates from CloudLinux Network server.
0 -
why all consumed time to solve such issue
0 -
Here is the article that didn't get copied over as part of the Forums migration:
I did reach out to the team again just now and while I don't have any type of ETA or anything, they are aware of the case.
0 -
Update - this is fixed in version 120 as of right now with a backport requested to 118 .
1 -
I am now on version 120, however issue persists.
0 -
Jihad Abou-Saleh - I don't have any other reports of the issue happening on my end after the 120 update. Could you provide a screenshot of the error or text of the email you're seeing?
0 -
Failed to check whether running executables are up-to-date: The system received unexpected output from “/usr/bin/needs-restarting”: This system is receiving updates from CloudLinux Network server.
0 -
If you manually run "/usr/bin/needs-restarting" what does that show?
0 -
No, when running the Security Advisor
0
Please sign in to leave a comment.
Comments
44 comments