Mail server error, Where do I run these commands in cpanel?

9 replies
My SMTP mail server is having an error, I found the solution: forums.cpanel.net/f43/t-remote_smtp-defer-53-retry-time-not-reached-any-host-72383 .html

The solution is in post 4 of the above link. The problem is that I don't know where to run these commands/scripts - can anyone help? I have cpanel access - is it in phpmyadmin? cron job?

Quote:

This can be caused by multiple things, however if it happens for each email, it's likely your exim databases are corrupt; to resolve this you should:

/usr/sbin/exim_tidydb -t 1d /var/spool/exim retry > /dev/null
/usr/sbin/exim_tidydb -t 1d /var/spool/exim reject > /dev/null
/usr/sbin/exim_tidydb -t 1d /var/spool/exim wait-remote_smtp > /dev/null

/scripts/courierup -- force
/scripts/eximup --force

If you did that, yet the problem persists, you can either seek professional help, or contact the cPanel support.

End Quote.


Thanks!
#commands #cpanel #error #mail #run #server
  • Profile picture of the author SteveJohnson
    They're run from an SSH/terminal connection to your server. If you don't know how, it would probably be a good idea to have the server admin do it.
    Signature

    The 2nd Amendment, 1789 - The Original Homeland Security.

    Gun control means never having to say, "I missed you."

    {{ DiscussionBoard.errors[5471959].message }}
  • Profile picture of the author automaton
    Try using Putty with your FTP credentials, change only the port to 22 instead of 21.
    Once you are logged in just execute those commands and that's it.
    {{ DiscussionBoard.errors[5472035].message }}
  • Profile picture of the author Holyknight0326
    Steve,I really appreciate your advice.


    If you know of any: could you point me to a website where I can get more instructions on this? I'm pretty tech savvy and can dissect the info - it looks like command lines I have to input.


    I looked into the SHH/Shell Access but I can only make SHH keys there.


    Thanks again
    {{ DiscussionBoard.errors[5472081].message }}
  • Profile picture of the author Holyknight0326
    automaton - I appreciate your reply.


    I'm not sure what you mean. I log into the cpanel via w ww.site.co m:2083

    w ww.site.co m:2022 is invalid. Could you clarify where I need to log into?


    Thanks man.
    {{ DiscussionBoard.errors[5472096].message }}
  • Profile picture of the author automaton
    I found a quite good tutorial here: Namecheap.com - How to access my hosting account via SSH? (SSH Access) - Knowledgebase. Please note that is for Namecheap hosting. Once you have successfully connected to your server via SSH you just run those commands:

    Code:
    /usr/sbin/exim_tidydb -t 1d /var/spool/exim retry > /dev/null 
    /usr/sbin/exim_tidydb -t 1d /var/spool/exim reject > /dev/null 
    /usr/sbin/exim_tidydb -t 1d /var/spool/exim wait-remote_smtp > /dev/null
    
    /scripts/courierup -- force
    /scripts/eximup --force
    The app's name is Putty. Hope this helps you.
    {{ DiscussionBoard.errors[5472332].message }}
  • Profile picture of the author Christian Little
    You'll need root access to run those commands, so send a ticket to your hosting company to do it.
    {{ DiscussionBoard.errors[5474052].message }}
  • Profile picture of the author wadeby
    If you don't have a server, you can't do this via hosting cpanel.
    {{ DiscussionBoard.errors[5474950].message }}
  • Profile picture of the author Holyknight0326
    I was able to execute the first 3 commands in putty but the last 2 commands say: No such file or directory.

    Is there something I have to execute first before /scripts? why is there a space between the first 3 and the bottom 2 commands?

    I appreciate yall's help
    {{ DiscussionBoard.errors[5528018].message }}
  • Profile picture of the author Christian Little
    Holyknight - you need to ask you host to do it. Anything in the /scripts directory requires root access to the server.
    {{ DiscussionBoard.errors[5528032].message }}

Trending Topics