Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Cron Daemon e-mails

General questions about VestaCP
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
marl
Posts: 14
Joined: Tue Feb 18, 2014 3:27 pm

Cron Daemon e-mails
  • Quote

Post by marl » Tue Feb 18, 2014 3:33 pm

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
Top

skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

Re: Cron Daemon e-mails
  • Quote

Post by skid » Wed Feb 19, 2014 8:58 pm

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

marl
Posts: 14
Joined: Tue Feb 18, 2014 3:27 pm

Re: Cron Daemon e-mails
  • Quote

Post by marl » Thu Feb 20, 2014 4:37 am

nice! i think it's fixed now.. thank you!
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password