Question

Email Spam Message Repeatly

Posted September 29, 2014 3.8k views

Hi,

I am receiving the below Email every 10 Mins? Do any one have idea on it.. I have created the skbabu as a new user. And I have installed Vesta Control panel. There are the last activities I did:

From: Cron Daemon root@skbabu
Date: 28 September 2014 11:00
Subject: Cron admin@skbabu sudo /usr/local/vesta/bin/v-update-sys-rrd
To: XXXXXXXXXX@gmail.com

sudo: unable to resolve host skbabu

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

1 answer

Hello

This appears to be an email your vesta control panel is sending due to a cronjob running.

You will need to disable the cronjob or fix your vesta control panel setup.

  • Do I want to suspend all my jobs raining under “CRON”, could anyone explain me why CRON jobs are running and what will happen if I suspend or delete the Job?

  • @santhoshsri2002 Cron jobs are simply recurring processes that run a command. You could disable them, but presumably they are doing a task that is needed. If you want them to not send any more mail, you could append > /dev/null 2>&1 to the end of the commands so they discard any output rather than email you, like so:

    sudo /usr/local/vesta/bin/v-update-sys-rrd > /dev/null 2>&1
    

    Though this may cause you to miss an error that you want to know about. The error sudo: unable to resolve host skbabu means that you local hostname can’t be resolved. What are the contents of /etc/hostname and /etc/hosts ?

Submit an Answer