Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 15 of 15
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge DWHS.net's Avatar
    Join Date
    Jul 2002
    Location
    LA, Costa RIca
    Posts
    1,356

    Default I changed our second email port to a new port and the old exim installation

    So now there is three exims running, how can I remove the second one?

  2. #2
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    1,346
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: I changed our second email port to a new port and the old exim installa

    Hello

    Could you provide more details about the exact steps you took, and paste a list of the current Exim processes that are running?

    Thank you.
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge DWHS.net's Avatar
    Join Date
    Jul 2002
    Location
    LA, Costa RIca
    Posts
    1,356

    Default Re: I changed our second email port to a new port and the old exim installa

    Quote Originally Posted by cPanelMichael View Post
    Hello

    Could you provide more details about the exact steps you took, and paste a list of the current Exim processes that are running?

    Thank you.
    exim exim-4.69-30_cpanel_maildir up
    exim-26 up
    exim-587 up

    I added exim on 26 then switched it to 587 and now 26 still remains running. I want to remove it.

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: I changed our second email port to a new port and the old exim installa

    How did you add exim on 26? In WHM > Service Manager or somewhere else?

    You should probably restart exim itself to see what happens. If that doesn't work, check the following locations for exim-26:

    /var/run/chkservd/exim-26
    /etc/chkserv.d/exim-26

    Remove or move those files. Additionally, check /etc/chkserv.d/chkservd.conf file and remove any line such as:

    Code:
    exim-26:1
    At that point, restart chkservd:

    Code:
    /scripts/restartsrv_chkservd
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge DWHS.net's Avatar
    Join Date
    Jul 2002
    Location
    LA, Costa RIca
    Posts
    1,356

    Default Re: I changed our second email port to a new port and the old exim installa

    Yes all three where through cpanel, first was on install, 26 I added with service manager, the third was 26 switch to 587 on service manager.

    /var/run/chkservd/exim-26
    /etc/chkserv.d/exim-26

    These both gave file not there errors

    There is no 26 on this file:

    /etc/chkserv.d/chkservd.conf

    The server status still shows 26 up and running even after restarting exim.

  6. #6
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: I changed our second email port to a new port and the old exim installa

    Could you check in /etc/exim.conf to see if 26 is listed?

    Code:
    grep 26 /etc/exim.conf
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  7. #7
    cPanel Partner NOC cPanel Partner NOC Badge DWHS.net's Avatar
    Join Date
    Jul 2002
    Location
    LA, Costa RIca
    Posts
    1,356

    Default Re: I changed our second email port to a new port and the old exim installa

    nothing showed up, thanks for the help btw

  8. #8
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: I changed our second email port to a new port and the old exim installa

    If nothing showed up, then exim itself is not binding on port 26. Please try this now:

    Code:
    lsof -i :26
    netstat -an | grep :26
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  9. #9
    cPanel Partner NOC cPanel Partner NOC Badge DWHS.net's Avatar
    Join Date
    Jul 2002
    Location
    LA, Costa RIca
    Posts
    1,356

    Default Re: I changed our second email port to a new port and the old exim installa

    Nothing on both, I'm guessing it's a cpanel service monitor error and 26 really isn't there?

  10. #10
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: I changed our second email port to a new port and the old exim installa

    Where are you even seeing the 3 ports running? You have not provided the actual area you are seeing them as listed in WHM or root SSH by what command or section. Given all that we've gone through to check, it definitely doesn't appear that exim-26 is running at all on the machine.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  11. #11
    cPanel Partner NOC cPanel Partner NOC Badge DWHS.net's Avatar
    Join Date
    Jul 2002
    Location
    LA, Costa RIca
    Posts
    1,356

    Default Re: I changed our second email port to a new port and the old exim installa

    Quote Originally Posted by cPanelTristan View Post
    Where are you even seeing the 3 ports running? You have not provided the actual area you are seeing them as listed in WHM or root SSH by what command or section. Given all that we've gone through to check, it definitely doesn't appear that exim-26 is running at all on the machine.
    I agree it shows in the "server status" section in the WHM.

  12. #12
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: I changed our second email port to a new port and the old exim installa

    That area is populated by these files:

    /var/run/chkservd/exim-26
    /var/run/chkservd/restart_track/exim-26

    Please ensure again that any such files have been either removed or moved.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  13. #13
    cPanel Partner NOC cPanel Partner NOC Badge DWHS.net's Avatar
    Join Date
    Jul 2002
    Location
    LA, Costa RIca
    Posts
    1,356

    Default Re: I changed our second email port to a new port and the old exim installa

    Quote Originally Posted by cPanelTristan View Post
    That area is populated by these files:

    /var/run/chkservd/exim-26
    /var/run/chkservd/restart_track/exim-26

    Please ensure again that any such files have been either removed or moved.
    I ran both of these and got a permission error


    root@dwhs69 [~]# /var/run/chkservd/exim-26
    -bash: /var/run/chkservd/exim-26: Permission denied
    root@dwhs55 [~]# /var/run/chkservd/restart_track/exim-26
    -bash: /var/run/chkservd/restart_track/exim-26: Permission denied
    root@dwhs69 [~]#

  14. #14
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: I changed our second email port to a new port and the old exim installa

    These aren't ones to run as they aren't executable files. That doesn't mean they don't exist. Move the files if they exist:

    Code:
    mv /var/run/chkservd/exim-26 /root/exim-26.bak
    mv /var/run/chkservd/restart_track/exim-26 /root/exim-26.bak2
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  15. #15
    cPanel Partner NOC cPanel Partner NOC Badge DWHS.net's Avatar
    Join Date
    Jul 2002
    Location
    LA, Costa RIca
    Posts
    1,356

    Default Re: I changed our second email port to a new port and the old exim installa

    Aha, perfect, that was it!

    Thanks again for all the help.

Similar Threads & Tags
Similar threads

  1. Making Exim deliver incoming email on non-standard port
    By meeven in forum E-mail Discussions
    Replies: 7
    Last Post: 10-09-2008, 08:58 AM
  2. changed ssh port - cant login on new port
    By 4u123 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 03-21-2006, 10:02 AM
  3. SMTP Port 26 (extra exim port) Cron Reset?
    By EcpHosting in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-04-2003, 01:34 AM
  4. ISP's Blocking Port 25!!! Help!!! Can't Get Exim On Port 26
    By nitromax in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 10-21-2002, 11:35 AM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube