Page 1 of 1

Cron Daemon

Posted: Wed Jan 29, 2014 10:58 am
by nccdebug
Hi,

I got this cron error; what could be the problem?

Cron <admin@mywebsite> sudo /usr/local/vesta/bin/v-update-sys-queue backup‏

sudo: unable to resolve host
mywebsite.com

Re: Cron Daemon

Posted: Mon Feb 10, 2014 9:21 am
by skid
Do you still see this error?

Re: Cron Daemon

Posted: Wed Feb 19, 2014 4:43 pm
by nccdebug
yes

Signal 11 (SEGV) caught by ps (procps version 3.2.8).
Please send bug reports to <[email protected]> or <[email protected]>

Re: Cron Daemon

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 ~]#