my network has its dhcp and dns provided by dnsmasq. If you dont know about this tool, you should check it out - it provides unified dhcp, caching dns and bootp/tftp services to a lan. The nice thing is that a host will report its own hostname in dhcp, then dnsmasq will insert that into the dns so you can have self referential dns/dhcp.

The problem appears to be that warden may be giving up too easily on restart... I am seeing this in the warden.log:

Can not find valid hostname. Please check your DNS settings WARDEN not running. looking to stop mapr-core processes not started by warden Can not find valid hostname. Please check your DNS settings WARDEN not running. looking to stop mapr-core processes not started by warden Can not find valid hostname. Please check your DNS settings WARDEN not running. looking to stop mapr-core processes not started by warden Can not find valid hostname. Please check your DNS settings

this appears to happen after a bunch of normal log stuff.

Even though this pops up, the standard system services should be starting after the networking bootup has completed. Doesnt it? Ubuntu 12.04

asked 16 Apr '12, 12:24

ryan's gravatar image

ryan
1222
accept rate: 0%


Currently we keep hostname in /opt/mapr/hostname file which is filled up based on the results of following command:

/bin/hostname --fqdn

If above command is not functioning properly on your box you will get an error you described.

link

answered 16 Apr '12, 12:50

yufeldman's gravatar image

yufeldman ♦♦
1.9k27
accept rate: 25%

What is the order of dnsmasq startup in your configuration ? By default it starts as S15, while warden starts as S70, so there shouldn't be an issue of ordering of services here.

link

answered 08 May '12, 07:39

Nabeel's gravatar image

Nabeel ♦♦
2.2k147
accept rate: 24%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×8

Asked: 16 Apr '12, 12:24

Seen: 578 times

Last updated: 02 Nov '12, 05:04

powered by OSQA