Skip to main content
cPanel Technical Support has been heavily impacted by hurricane Beryl and our ability to respond to tickets has been hindered as a result. We appreciate your understanding and patience as we address these delays.

CPANEL-36160 - Internal Server Error for DDNS

Comments

31 comments

  • cPRex Jurassic Moderator
    Hey there! When this error is happening, what do you see inside the /etc/apache2/logs/error_log on the machine? I would expect any 500 errors to get logged in that file.
    0
  • BryanBarb
    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.
    0
  • cPRex Jurassic Moderator
    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.
    0
  • BryanBarb
    Thank you. No the error is coming after I enter the cpanelwebcall URL from the DDNS page. No cPanel errors.
    0
  • cPRex Jurassic Moderator
    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.
    0
  • BryanBarb
    Good to hear I'm not the only one :) Thank you and hope this is fixed soon.
    0
  • amet
    if it helps, below is the error I see in /usr/local/cpanel/logs/error_log when trying to access the /cpanelwebcall/ 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.
    0
  • cPRex Jurassic Moderator
    @amet - that error is a slightly different case, CPANEL-35716, which is scheduled to be fixed in version 96. There is currently a backport request for version 94 as well, but that hasn't happened just yet.
    0
  • BryanBarb
    Hello @cPRex Do you have a rough estimate when this issue will be fixed? Just so I can update my customer.
    0
  • cPRex Jurassic Moderator
    I don't have any type of ETA, but I do see our developers have already assigned the task to one of their teams and have started to work on it :D
    0
  • BryanBarb
    Thank you for the update :)
    0
  • cPRex Jurassic Moderator
    Sure thing!
    0
  • nikbr998
    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
    0
  • wickedcaffiene
    Same :( cpanel error log shows nothing to help debug the issue [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.. 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, line 2.
    0
  • cPRex Jurassic Moderator
    @wickedcaffiene - since this is something that needs to be fixed on our team there isn't a way to resolve this just yet. I do know they are working on this case now so I hope to have some updates within the next week on when this will be applied to a new version of cPanel.
    0
  • vendeka
    I hope it will be resolved soon.
    0
  • n9yty
    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. :)
    0
  • TCI
    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.
    0
  • amet
    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!!
    0
  • dmota
    HI, I'm having the same issue, Is there any kinda of update ?
    0
  • cPRex Jurassic Moderator
    @dmota - I don't have any updates to provide just yet as our developers are still working on this.
    0
  • lumous
    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.

    This also resolved the issue for me. @cPRex When the developers resolve this issue, can you please let us know if we need to roll this patch back before upgrading to 96?
    0
  • cPDavidL
    Hello @lumous! Rolling back should not be necessary for the fix to be applied in a future update.
    0
  • nikbr998
    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.

    Would anyone know if there is a similar workaround if I don't have access to /usr/.../cpanel_lib/Net/DNS dir? I am the customer of a hosting provider. I can install Net::DNS::Extlang using Cpanel - Perl Modules. I have access to my home directory only. and e.g. ~/perl and ~/.cpanel. I can find extlang dir and extlang.pm file a bit down in ~/perl, but do not know where to put them. ~/.cpanel does not include any 3rdparty dir. Would this be the right place to put the file/dir?: .cpanm/work/1618695364.13561/Net-DNS-Extlang-0.2/lib/Net/DNS Thanks.
    0
  • cPRex Jurassic Moderator
    You would not be able to apply this fix as the cPanel user as this is something your host would have to do.
    0
  • nikbr998
    You would not be able to apply this fix as the cPanel user as this is something your host would have to do.

    Got it! My provider's awesome support got it sorted within the hour. Now working for me as well :)
    0
  • cPRex Jurassic Moderator
    I'm glad they were able to take care of that so quickly!
    0
  • UANESI
    This worked for us thanks
    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. :)

    0
  • Clouseau
    I see a fix in here that takes a few minutes to fix the issue. Why hasn't this allready been resolved, almost 2 months has passed? You did raised the prices of licences brutally so where is the fast support and issue resolving?
    0
  • cPRex Jurassic Moderator
    Update - the team has a potential fix they are investigating, although I don't know which version it will be applied to just yet. I'll be sure to post again once I have another update.
    0

Please sign in to leave a comment.