The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

imap & pop3 failed to start

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

  1. omenix

    omenix Active Member

    Joined:
    Aug 24, 2005
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    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,279
    Likes Received:
    8
    Trophy Points:
    38
    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:
    6
    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,279
    Likes Received:
    8
    Trophy Points:
    38
    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