Page 1 of 1

Cron Daemon e-mails

Posted: Tue Feb 18, 2014 3:33 pm
by marl
similar to this topic : viewtopic.php?f=10&t=4525

how to fix? already tried changing the hostname from my vps panel, and also on hosts file.

Subject :
Cron <admin@hostname> sudo /usr/local/vesta/bin/v-update-sys-rrd
Msg :
sudo: unable to resolve host hostname

Re: Cron Daemon e-mails

Posted: Wed Feb 19, 2014 8:58 pm
by skid
The problem is that your hostname is not pingable. System can not resolve the name. You can fix it by adding hostname to the /etc/hosts/file. Hostname should be associated with the system ip
[root@nxt ~]# v-list-sys-ips
IP NETMASK NAT OWNER U_WEB_DOMAINS
--------- --------- --------- --------- ---------
173.192.110.166 255.255.255.248 NULL admin 3
[root@nxt ~]# hostname
nxt.vestacp.com
[root@nxt ~]# echo "173.192.110.166 nxt.vestacp.com" >> /etc/hosts
[root@nxt ~]#

Re: Cron Daemon e-mails

Posted: Thu Feb 20, 2014 4:37 am
by marl
nice! i think it's fixed now.. thank you!