Skip to main content

Webmail Error alarm() with negative argument at /usr/local/cpanel/Cpanel/Form.pm line 89

Comments

31 comments

  • cPRex Jurassic Moderator
    Hey hey! Can you let me know what you're doing in the interface that triggers this error?
    0
  • Vs Nu
    Hey hey! Can you let me know what you're doing in the interface that triggers this error?

    The client is trying to access the webmail In jupiter them its only that error in Paper latern theme it shows that error but webmail page is getting loaded
    0
  • cPRex Jurassic Moderator
    Do you see any additional details in the cPanel error log? It says "plugin" so I'm wondering if there is something that is is not compatible with Jupiter on your system.
    0
  • Vs Nu
    Do you see any additional details in the cPanel error log? It says "plugin" so I'm wondering if there is something that is is not compatible with Jupiter on your system.

    [2022-12-27 18:23:58 +0000] warn [Internal Warning while parsing ./webmail/paper_lantern/index.html 2779344] alarm() with negative argument at /usr/local/cpanel/Cpanel/Form.pm line 89. at /usr/local/cpanel/Cpanel/Form.pm line 89. Cpanel::Form::parseform() called at cpanel.pl line 882 cpanel::cpanel::script("cpanel::cpanel", "-webmail", "./webmail/paper_lantern/index.html") called at cpanel.pl line 326 [2022-12-27 18:28:31 +0000] warn [Internal Warning while parsing ./webmail/jupiter/index.html 2790296] alarm() with negative argument at /usr/local/cpanel/Cpanel/Form.pm line 89. at /usr/local/cpanel/Cpanel/Form.pm line 89. Cpanel::Form::parseform() called at cpanel.pl line 882 cpanel::cpanel::script("cpanel::cpanel", "-webmail", "./webmail/jupiter/index.html") called at cpanel.pl line 326 [2022-12-27 18:28:31 +0000] die [Internal Death while parsing ./webmail/jupiter/index.html 2790296] Template::Exception: [TYPE]=[plugin] [INFO]=[Banner: plugin not found] [TEXT]=[ Taken from cpanel error_log file
    0
  • cPRex Jurassic Moderator
    Is that account still set to Paper Lantern? Or are there any plugins on that account?
    0
  • Vs Nu
    Is that account still set to Paper Lantern? Or are there any plugins on that account?

    Yes it was set to paper latern, what plugin you are saying ?
    0
  • cPRex Jurassic Moderator
    You'll have to switch the account's theme to Jupiter in order for things to work well.
    0
  • Vs Nu
    You'll have to switch the account's theme to Jupiter in order for things to work well.

    if i switch the theme to Jupiter then the page is not loading.. you can see the same error for jupiter theme
    0
  • cPRex Jurassic Moderator
    Can you please submit a ticket to our team so we can check that?
    0
  • Vs Nu
    Can you please submit a ticket to our team so we can check that?

    Can you please share the commands to troubleshoot
    0
  • cPRex Jurassic Moderator
    I don't have any special commands in mind on my end. Switching to Jupiter should just work without any errors. Does this happen on multiple mailboxes or just one account?
    0
  • Vs Nu
    I don't have any special commands in mind on my end. Switching to Jupiter should just work without any errors. Does this happen on multiple mailboxes or just one account?

    It happens for all the accounts, Changing to Jupiter does not fix the issue
    0
  • cPRex Jurassic Moderator
    Can you try repairing the mail theme with this command? mv -v /usr/local/cpanel/base/webmail/jupiter /root/jupiter_theme_backup
    and then perform a "/scripts/upcp --force" to update the server and replace those files?
    0
  • Vs Nu
    Can you try repairing the mail theme with this command? mv -v /usr/local/cpanel/base/webmail/jupiter /root/jupiter_theme_backup
    and then perform a "/scripts/upcp --force" to update the server and replace those files?

    Page is loading but with warning
    0
  • cPRex Jurassic Moderator
    We really need a ticket at this point - I don't have any other ideas on my end since the previous solution completely rebuilds the webmail files on the server.
    0
  • Vs Nu
    We really need a ticket at this point - I don't have any other ideas on my end since the previous solution completely rebuilds the webmail files on the server.

    Will Sync the following files fix the issue /usr/local/cpanel/Cpanel/Form.pm cpanel.pl
    0
  • cPRex Jurassic Moderator
    You could try, but I am not sure if that will make a difference.
    0
  • Vs Nu
    You could try, but I am not sure if that will make a difference.

    How to do that pls share the command for those files
    0
  • cPRex Jurassic Moderator
    It would be the same process as the previous test - moving the files aside, and then running the forced upcp.
    0
  • Vs Nu
    It would be the same process as the previous test - moving the files aside, and then running the forced upcp.

    Please confirm the location of files : /usr/local/cpanel/Cpanel/Form.pm cpanel.pl - Please share this files exact path
    0
  • cPRex Jurassic Moderator
    /usr/local/cpanel/Cpanel/Form.pm is the full path to the file in question.
    0
  • Vs Nu
    /usr/local/cpanel/Cpanel/Form.pm is the full path to the file in question.

    What about the file cpanel.pl ?
    0
  • cPRex Jurassic Moderator
    I'm hesitant to post commands about the cPanel files themselves because that could leave the machine unstable. Please submit a ticket so we can take a look.
    0
  • Vs Nu
    I'm hesitant to post commands about the cPanel files themselves because that could leave the machine unstable. Please submit a ticket so we can take a look.

    Ya i understand but as an last try i would try that if you share the location if it does not help i will raise ticket
    0
  • cPRex Jurassic Moderator
    On my test server, I actually don't see a cpanel.pl file, so I don't know the location of that.
    0
  • Vs Nu
    On my test server, I actually don't see a cpanel.pl file, so I don't know the location of that.

    So i need to do the file /usr/local/cpanel/Cpanel/Form.pm or /usr/local/cpanel/Cpanel/Form/
    0
  • cPRex Jurassic Moderator
    I literally don't know - we're just guessing based on the error message.
    0
  • quietFinn
    @Vs Nu Usually it's the 1st error that matters, the other errors are caused by the 1st.
    0
  • Vs Nu
    @Vs Nu Usually it's the 1st error that matters, the other errors are caused by the 1st.

    No luck yet !
    0
  • khalequzzaman17
    No solution yet!
    0

Please sign in to leave a comment.