Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

imap & pop3 failed to start

Discussion in 'E-mail Discussion' started by omenix, Aug 17, 2007.

  1. omenix

    omenix Active Member

    Joined:
    Aug 24, 2005
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    /dev/null
    Who ever having a nightmare when trying to use /scripts/restartsrv_cppop end keep getting

    Undefined subroutine &main::lock_file called at /scripts/restartsrv_imap line 63

    Just edit the /scripts/restartsrv_imap on line 63

    comment in the line

    For example:

    if ( $restart && !$disabled ) {

    my $lock_file = '/var/run/restartsrv_imap.lock';
    #lock_file($lock_file); <--- put # on this line

    I'm not sure if this is the correct way to do but my pop3 and imapd is hell yeah working.
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Odd, why are you trying to use cPPop? cPPop should not even be used as it's only used on servers running mbox and mbox is now deprecated.
     
    #2 cPanelDavidG, Aug 17, 2007
    Last edited: Aug 17, 2007
  3. rix

    rix Well-Known Member

    Joined:
    May 1, 2003
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    156
    Not only happens to cppop even though its depreciated. I'm having problem with eximstats

    # /scripts/restartsrv_eximstats
    Undefined subroutine &main::lock_file called at ./restartsrv_eximstats line 29.
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I'd recommend submitting a support ticket regarding this issue so our support staff can resolve this for you.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice