In Progress CPANEL-36160 - Internal Server Error for DDNS

Operating System & Version
CentOS 7
cPanel & WHM Version
v94.0.2

BryanBarb

Member
Nov 5, 2020
6
1
3
Netherlaands
cPanel Access Level
DataCenter Provider
Hello,

I've updated my cPanel server to 94.x version. After that, my customer complains that he receives te following error:

Internal Server Error
500

Error ID 2fe5ff4102705


cpsrvd Server at redacted.nl

When removing and creating the URL's, it's working for 1 time and the error is received after the second time. I've already placed the ProxyPass in the Include editor configuration. It was working well with v92.x.
 
Last edited by a moderator:

BryanBarb

Member
Nov 5, 2020
6
1
3
Netherlaands
cPanel Access Level
DataCenter Provider
Hello @cPRex I've already looked at these files. Unfortunately, there are no usefull messages about this issue. There aren't even any lines stating something went wrong. The given error is from the cpsrvd Server So I don't think I'm gonna find it here.

Note: This server is running Litespeed. But again, it seems the cPanel webserver itself is having an issue.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,495
2,605
363
cPanel Access Level
Root Administrator
Thanks for the additional details. Is the error happening somewhere in the cPanel interface? If so, the log to check for that would be /usr/local/cpanel/logs/error_log, but I would recommend trying to run "/scripts/upcp --force" if that is the case.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,495
2,605
363
cPanel Access Level
Root Administrator
Thanks for the additional details. I was able to confirm this behavior on a test machine and I've opened case CPANEL-36160 for our developers to investigate this problem. I don't have any workarounds at this time but I'll be sure to update this thread as I get more details.
 

amet

Registered
Sep 29, 2020
3
0
1
UAE
cPanel Access Level
Root Administrator
if it helps, below is the error I see in /usr/local/cpanel/logs/error_log when trying to access the /cpanelwebcall/

Code:
cpsrvd 6b0176888fd5: Can't locate Net/DNS/Extlang.pm in @INC (you may need to install the Net::DNS::Extlang module) (@INC contains: /usr/local/cpanel /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/532/lib/perl5/532/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/532/lib/perl5/532 /opt/cpanel/perl5/532/site_lib/x86_64-linux-64int /opt/cpanel/perl5/532/site_lib) at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Net/DNS/Parameters.pm line 378.
 

nikbr998

Registered
Mar 17, 2021
3
0
1
Sweden
cPanel Access Level
Website Owner
Hi guys,
I just wanted to say that I am facing the same issue. Started trouble-shooting with my hosting provider, but they could not find any issues in their logs. Then I found this thread. Same symptom. I can set up my DDNS forwarder. Update IP once. Subsequent attempts give me Internal Server Error 500.
Cheers,
Niklas
 

wickedcaffiene

Registered
May 6, 2020
1
0
1
SA
cPanel Access Level
Root Administrator
Same :( cpanel error log shows nothing to help debug the issue

Code:
[2021-03-23 17:53:44 +0200] info [cpaneld] Internal Server Error: "GET /cpanelwebcall/xxxxx HTTP/1.1" 500 Error ID 30e6fc1f00e7
Found more info in the log..


Code:
cpsrvd 30e6fc1f00e7: Can't locate Net/DNS/Extlang.pm in @INC (you may need to install the Net::DNS::Extlang module) (@INC contains: /usr/local/cpanel /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/532/lib/perl5/532/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/532/lib/perl5/532 /opt/cpanel/perl5/532/site_lib/x86_64-linux-64int /opt/cpanel/perl5/532/site_lib) at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Net/DNS/Parameters.pm line 378, <GEN2> line 2.
 
Last edited:

n9yty

Registered
Mar 30, 2021
1
0
1
Illinois
cPanel Access Level
Website Owner
Also bit by this, we were just trying to set this up. The first request received a 200 response and worked, all subsequent ones are getting 500.

This is not probably recommended AT ALL, but it does provide a workaround:

cd /usr/local/cpanel/3rdparty/perl

Look at what version is the latest, in our case it is 532. The error_log above will give you a hint when you see the notice about the Net::DNS::Extlang module that is missing, the @INC paths will have the perl version in there.

cd 532
bin/cpan Net::DNS::Extlang

This will install the module and it then started working for us. It will break on the next update if the underlying issue is not fixed I'm sure, and the issue may simply be making sure this module gets installed.

Our primary interest in this function is to pair it with csf/lfd to help staff not get blocked by modesurity/etc, but not hardcode IPs that are changing. Seemed like a perfect fit if it works. Would be nice to have some MacOS GUI app they could run that just refreshed this URL periodically and showed the status, but that is another topic altogether. :)
 
Last edited:

TCI

Registered
Jul 22, 2007
2
1
53
I did manage to fix the error and hope this helps someone
(Disclaimer, worked for me and hoping it breaks nothing)

1. Install Net::DNS::Extlang using the Perl Module installer in WHM.
2. Copy the file /usr/local/share/perl5/Net/DNS/Extlang.pm to /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Net/DNS
3. Copy the folder /usr/local/share/perl5/Net/DNS/Extlang to /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Net/DNS

If this does not solve your issue and you want to roll back, remove the folder and file from /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Net/DNS that you copied there.
 

amet

Registered
Sep 29, 2020
3
0
1
UAE
cPanel Access Level
Root Administrator
I did manage to fix the error and hope this helps someone
(Disclaimer, worked for me and hoping it breaks nothing)

1. Install Net::DNS::Extlang using the Perl Module installer in WHM.
2. Copy the file /usr/local/share/perl5/Net/DNS/Extlang.pm to /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Net/DNS
3. Copy the folder /usr/local/share/perl5/Net/DNS/Extlang to /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Net/DNS

If this does not solve your issue and you want to roll back, remove the folder and file from /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Net/DNS that you copied there.
worked for me, thanks a lot!!