check_perms line 432 324
I have looked everywhere for a solution to resolve this consistent error in upcp and check_perms
[2025-01-18 12:46:28 -0500] Processing: Repairing Mailman Permissions
[2025-01-18 12:46:28 -0500] - Processing command `./check_perms -f --noarchives`
[2025-01-18 12:48:24 -0500] E [./check_perms] Traceback (most recent call last):
[2025-01-18 12:48:24 -0500] E [./check_perms] File "./check_perms", line 432, in <module>
[2025-01-18 12:48:24 -0500] E [./check_perms] checksetuidwrap()
[2025-01-18 12:48:24 -0500] E [./check_perms] File "./check_perms", line 324, in checksetuidwrap
[2025-01-18 12:48:24 -0500] E [./check_perms] print _('%(wrapper)s must be set-uid'),
[2025-01-18 12:48:24 -0500] E [./check_perms] NameError: global name '_' is not defined
[2025-01-18 12:48:24 -0500] E [./check_perms] The “./check_perms -f --noarchives” command (process 1098678) reported error number 1 when it ended.
"check_cpanel_pkgs --fix --targets mailman" runs cleanly. No errors.
I would welcome and appreciate any suggestions for how to address this.
-
Hey there! In the past, I've seen this happen due to a bad mailman update. Could you try this to resolve the issue?
rpm -e --nodeps cpanel-mailman
/usr/local/cpanel/scripts/check_cpanel_rpms --fix --targets=mailmanThat will remove and reinstall the package without touching anything else on the system. Can you try that and then let me know if the errors persist?
0 -
I've tried that twice to no avail (and it's not rpms, but pkgs, in that command).
Here's my conversation with the Mailman group:
On 1/22/25 17:55, Webmaster EnergyJustice via Mailman-Users wrote:
> Hello, all,
>
> I looked through the archives, FAQ, and bug reports, and couldn't find
> information on this error.
>
> [2025-01-22 19:39:30 -0500] E [./check_perms] Traceback (most recent call
> last):
> [2025-01-22 19:39:30 -0500] E [./check_perms] File "./check_perms", line
> 432, in <module>
> [2025-01-22 19:39:30 -0500] E [./check_perms] checksetuidwrap()
> [2025-01-22 19:39:30 -0500] E [./check_perms] File "./check_perms", line
> 324, in checksetuidwrap
> [2025-01-22 19:39:30 -0500] E [./check_perms] print ('%(wrapper)s must be
> set-uid'),
> [2025-01-22 19:39:30 -0500] E [./check_perms] NameError: global name ' ' is
> not defined
> [2025-01-22 19:39:30 -0500] E [./check_perms] The “./check_perms -f
> --noarchives” command (process 1565723) reported error number 1 when it
> ended.
>
> I'm running MM under cPanel.
And this is a cPanel issue. Our check_perms
<https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/vi >ew/head:/bin/check_perms
contains no checksetuidwrap() function and doesn't have a --noarchives
option. See <https://wiki.list.org/DOC/Mailman%20and%20CPanel > for what
info we have about cPanel.================
I'm wondering if cPanel knows about this.
0 -
It would be best to submit a ticket so this can be investigated directly on the server.
0 -
Our server is with JaguarPC. I guess they provide cPanel support directly? We're not trying to rip anyone off. When I tried to create a ticket, I was told I needed a license.
0 -
Correct - you'd want to reach out to your provider and if they can't solve the issue they would escalate it to us.
0
Please sign in to leave a comment.
Comments
5 comments