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.

cppop problems

Discussion in 'General Discussion' started by rip_curl, Mar 6, 2006.

  1. rip_curl

    rip_curl Well-Known Member

    Joined:
    Jan 30, 2005
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    My clients can't get email by cppop

    Every time I get mails
    pop failed @ Mon Mar 6 14:13:34 2006. A restart was attempted automagicly.

    What should I check firstly?
     
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    You could try running /scripts/restartsrv_cppop and see if it gives a more detailed error message.

    It might also be worth checking /var/log/messages for errors.
     
  3. Tagor

    Tagor Well-Known Member

    Joined:
    Mar 6, 2004
    Messages:
    193
    Likes Received:
    0
    Trophy Points:
    16
    Try restarting cpanel (service cpanel restart). I guess you will get an syntax error. There seems to be some bug in the latest version of cPanel. I fixed this by copying the corrupt file from a second server.
     
  4. rip_curl

    rip_curl Well-Known Member

    Joined:
    Jan 30, 2005
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    /scripts/restartsrv_cppop - work without errors

    /var/log/messages - there is no nothing wrong.
    but some times cppop is not working. what's the ...
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    If it's a persistent problem for you, you might want to consider converting over to maildir and courier-imap/pop3 which usually does away with issues with the older cppop daemon.
     
  6. theravenz

    theravenz Registered

    Joined:
    Aug 23, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hey,

    Sorry to use your topic to post my problems but i thought it would be easier than having 2 theads on the go :P

    anywasy i tried restarting pop and i got this error..

    root@fortune [/home/theraven]# /scripts/restartsrv_cppop
    Undefined subroutine &main::myheaders called at bin/cppop.pl line 1760.

    Im soo novice at this stuff i have no idea what needs to be fixed to reenable pop to work again for my customers

    oh and one other thing i tried restarting cpanel

    root@fortune [/home/theraven]# service cpanel restart
    bash: service: command not found

    been trying everything to get pop working..
    Reinstalled Exim4
    Basically imap works as i have been telling customers to use webmail.. its just the popaccess thats not working at all

    Right now my Hosting Provider forgot to swap the ip address on my cpanel account so i have been without whm for 3 days untill they swap it..
    So i'd appriciate if you could help me out with shell access as cpanel is unaccessible
     
    #6 theravenz, Mar 6, 2006
    Last edited: Mar 6, 2006
  7. rip_curl

    rip_curl Well-Known Member

    Joined:
    Jan 30, 2005
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    thnx

    what should i make now?
     
  8. rip_curl

    rip_curl Well-Known Member

    Joined:
    Jan 30, 2005
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    ^
    |
    up

    help please
     
  9. SeanLee

    SeanLee Well-Known Member

    Joined:
    May 23, 2004
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    How does one go about doing this in cPanel WHM?

    -Sean
     
  10. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You have to do it from root shell by running /script/convert2maildir
     
  11. kullnd

    kullnd Registered

    Joined:
    Jul 10, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Having issues too...



    Ok, I am also having an issue with my POP service... I have never delt with CPPOP before until recently, nor have I delt with Cpanel ... I'm a bit hesitent to go into the shell and start throwing crap around since I really dont know my new server all that well.. Anyway, I tried to run the above POP restart script and this is what I get... BTW, when users try to get POP email they get authentication errors, I was away for awhile and something did an update which killed my WHM, Cpanel, and POP ... I had the service provider fix my WHM and Cplanel, but POP is still down. Back to the script, this is what I get:

    root@host [/scripts]# ./restartsrv_cppop
    Waiting to bind to port 110 (Address already in use)....
    Waiting to bind to port 110 (Address already in use)....
    Waiting to bind to port 110 (Address already in use)....
    Waiting to bind to port 110 (Address already in use)....


    I'm used to running the plain old pop3d, ... I am looking through my running services and I do not see anything that looks to me like a pop service, however in WHM I have a green "up" for pop... I dunno.. here is a list of my services, mabey someone can point out which of them is my pop service since I seem to be retarted with this new server of mine. (I'm used to my basic old Slackware system with no panels and whm and such) /// Also, what is this mailmanctl service?


    root@host [/scripts]# ps -A
    PID TTY TIME CMD
    1 ? 00:00:12 init
    26556 ? 00:00:19 syslogd
    30587 ? 00:00:00 named
    30588 ? 00:00:09 named
    30589 ? 00:00:01 named
    30590 ? 00:00:02 named
    30591 ? 00:00:03 named
    30624 ? 00:00:00 named
    31008 ? 00:00:20 sshd
    31829 ? 00:00:56 clamd
    32693 ? 00:00:09 clamd
    936 ? 00:00:00 exim
    942 ? 00:00:04 exim
    947 ? 00:00:00 exim
    952 ? 00:01:03 antirelayd
    1647 ? 00:02:27 spamd
    1816 ? 00:00:24 httpd
    1824 ? 00:00:03 crond
    1895 ? 00:00:00 mysqld_safe
    1985 ? 00:00:01 mysqld
    2017 ? 00:00:10 mysqld
    2049 ? 00:00:00 mysqld
    2119 ? 00:00:00 mysqld
    2120 ? 00:00:00 mysqld
    2208 ? 00:00:00 mysqld
    2290 ? 00:03:38 mysqld
    2368 ? 00:02:58 mysqld
    2371 ? 00:00:02 httpd
    2372 ? 00:00:02 httpd
    2373 ? 00:00:02 httpd
    2374 ? 00:00:02 httpd
    2375 ? 00:00:02 httpd
    2376 ? 00:00:00 mysqld
    2377 ? 00:00:01 mysqld
    2652 ? 00:00:01 pure-ftpd
    2655 ? 00:00:00 pure-authd
    2851 ? 00:00:00 saslauthd
    2882 ? 00:00:00 portsentry
    2894 ? 00:00:15 loadmon
    2911 ? 00:00:02 httpd
    3246 ? 00:00:02 httpd
    28960 ? 00:00:02 httpd
    16996 ? 00:00:01 httpd
    11604 ? 00:01:01 eximstats
    11828 ? 00:00:25 cpanellogd
    11905 ? 00:00:00 entropychat
    11912 ? 00:00:00 melange
    8370 ? 00:00:03 xinetd
    8845 ? 00:00:01 httpd
    19896 ? 00:00:01 exim
    20202 ? 00:00:21 chkservd
    28624 ? 00:00:00 spamd
    2560 ? 00:00:00 stunnel-4.04loc
    2966 ? 00:00:06 spamd
    10484 ? 00:00:00 stunnel-4.04loc
    27163 ? 00:00:00 sshd
    27195 pts/0 00:00:00 bash
    24915 ? 00:00:00 mailmanctl
    24922 ? 00:00:00 python
    24923 ? 00:00:00 python
    24924 ? 00:00:00 python
    24928 ? 00:00:00 python
    24960 ? 00:00:00 python
    24997 ? 00:00:00 python
    24999 ? 00:00:00 python
    25000 ? 00:00:00 python
    7737 ? 00:00:00 clamd
    9437 ? 00:00:00 mysqld
    9861 ? 00:00:00 cpsrvd
    10643 pts/0 00:00:00 ps



    Sorry for the long post...
    Nate

    :rolleyes:
     
  12. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    IT's probably running up another daemon through xinetd. Check /etc/xinetd.d/ and set any pop3 files to disable yes, then restart xinetd.
     
  13. mathew_p_a

    mathew_p_a Member

    Joined:
    Apr 8, 2005
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    port 110

    You can check what is using the port 110. Find this out using the " netstat -lpn " command . Try killing the process using the port and restart the pop daemon.
     
  14. networxhosting

    networxhosting Well-Known Member
    PartnerNOC

    Joined:
    Apr 22, 2003
    Messages:
    80
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Hamilton, Ontario, CANADA
    Similar Problem as Kullnd

    I just had a similar problem to the one Kullnd listed.

    I ran netstat -lnp and there were no applications associated with the open connections (listed just a - ). I was taking too long to figure out how to clear these stale connections so I rebooted the server which fixed the problem. However in the future I would rather not reboot my server. Any idea if there's away to remove these stale connections. They must be in files somewhere on the system.
     
  15. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    That's probably a problem with your kernel, or compilation of netstat (most commonly seen on VPS systems, for example). Most commonly, though, it will be a process run up through xinetd, so that's moot. However, if you don't see the PID in netstat then you could try lsof:

    lsof -i -n -P | grep 110
     
Loading...

Share This Page