Solved Majordomo issue on Debian 11 after upgrade - Compilation failed in require at /etc/virtual/majordomo/resend line 99.

galq

Verified User
Joined
Aug 12, 2021
Messages
11
Hello,

I have made upgrade to debian 11 and then run upgrade packages via custombuild. Now then I am sending message to distribution list I am getting such error:
Compilation failed in require at /etc/virtual/majordomo/resend line 99.

Content of resend:
98 require "ctime.pl"; # For logging purposes
99 require "majordomo.pl";
100 require "majordomo_version.pl";
101 require "config_parse.pl";

I have found bugfix in 1.62 but with no results: https://directadmin.com/features.php?id=2931
I have already use lib added in majordomo.cf and I have been trying to symlink this files to paths in @INC.
I also tried to rewrite all files included with 'require' as well as resend script wrapper with use lib '.' and find::lib to point local dir or direct path to /etc/ but with same result, fails on require.

I remember that during build all with custombuild I had some missing perl modules and I have installed only via apt: libmoosex-types-netaddr-ip-perl (but that shouldn;t have any impact).
 
I cannot edit my post so will add a little to this, excuse me if what have written it chaotic.

I am getting such error if sending to the address defined as 'distribution list'. Previously such addresses were working ok.
I have been trying to rewrite resend script using with usage of FindBin module and pointing at script parent directory or
putting in scripts: resend/majordomo.pl/test_config.pl use lib '.' as well as changing require method to use but without success.
I tried to even to symlink and put files in the @INC directory where (line 98 require method) ctime.pl is loaded but also without success.
I am writing quite regular in perl but honestly cannot understand why it cannot find this files to include.

I also tried to use in DA scripts dir majordomo.pl which reinstalls majordomo and patches it but effect is the same.

Any ideas what to check or what is wrong really appreaciated.
 
FYI: Issue was solved with support, custombuild was no downloading new version of majordomo, had to wget lastest majordomo from directadmin server and run install script.
 
Back
Top