Cron Daemon e-mails
Cron Daemon e-mails
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 :
how to fix? already tried changing the hostname from my vps panel, and also on hosts file.
Subject :
Msg :Cron <admin@hostname> sudo /usr/local/vesta/bin/v-update-sys-rrd
sudo: unable to resolve host hostname
Re: Cron Daemon e-mails
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
nice! i think it's fixed now.. thank you!