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.

xinetd had to be closed...

Discussion in 'General Discussion' started by jez9999, Aug 23, 2005.

  1. jez9999

    jez9999 Well-Known Member

    Joined:
    Jun 10, 2005
    Messages:
    87
    Likes Received:
    0
    Trophy Points:
    6
    I wasn't receiving any e-mail via POP, even though I could see that my mailbox contained about 130 mails, via webmail. I tried to run /scripts/restartsrv_cppop, but I kept getting a message that it was waiting to bind to port 110, which was already in use. After a bit of netstat'ing, I discovered that xinetd (xinetd -stayalive -pidfile /var/run/xinetd.pid) was setup to LISTEN on there constantly, so I did a kill -9 on it and ran /scripts/restartsrv_cppop again, this time cppop starting fine.

    Now I can download my e-mail ok, but I was wondering whether xinetd needed to be running for any reason; it was listening on the pop3, pop3s and imap ports. If it doesn't need to be running and indeed prevents cppop from running, how did it manage to start running on my server?
     
  2. 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've clearly got an additional pop3 daemon running in xinetd. Have a look in /etc/xinetd.d/* usually the only file in there that should have "disable = no" is cpimap (though some OS's might also have ssh running through TCP Wrappers, so take care with that). So, any pop related entries should be set to "disable = yes" and then restart xinetd.
     
  3. jez9999

    jez9999 Well-Known Member

    Joined:
    Jun 10, 2005
    Messages:
    87
    Likes Received:
    0
    Trophy Points:
    6
    Aha, yes; it seems both /usr/sbin/stunnel and /usr/sbin/popa3d were running when they shouldn't have been. I've seen previous problems about popa3d on the forums but stunnel? Does that usually come along with it?
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I've not seen stunnel running from within xinetd before. The main thing for your issue would be to do the pop daemons. Might be best to leave the others.
     
Loading...
Similar Threads - xinetd closed
  1. popeye
    Replies:
    10
    Views:
    2,446

Share This Page