Apache Drill 'Failure in Starting Embedded drillbit' - apache

I have drill on a vm and was successfully able to connect to it. I restarted the vm after a power outage and now when I try to start drill in embedded mode - I get the following message
Error: Failure in starting embedded Drillbit: java.net.UnknownHostException: xxxx.localdomain: xxxx.localdomain: Name or service not known (state=,code=0)
Is there a dependency that I need to restart?

Please verify /etc/hosts has entry for that domain with the inet ip. Hope this resolve your problem.

Please add an entry to /etc/hosts like "127.0.0.1 yourhostname" which will solve this problem

Also works adding in /etc/hosts something like:
# keeping in mind that 192.168.0.10 is the ip of your server
127.0.0.1 localhost
192.168.0.10 your-server-01

Related

CANT START SQL IN XAMPP

I am facing some problem while starting sql in xampp. here is the screenshotenter image description here
Your SQL is attempting to use port 3306, which is already in use as stated in the error. Go into
Config > Service and Port Settings > Change 3306 to any other unused ports
Restart the service and see if it works.

redis cluster give client 127.0.0.1 ip

and after cluster started. each node show's it's ip:port as 127.0.0.1:3000x
and the client is on another machine. certainly can't reach 127.0.0.1:3000x
is there any configuration to ask the redis nodes use a subnet ip instead of 127.0.0.1?
I didn't found any host configuration in config.
*** FATAL CONFIG FILE ERROR ***
Reading the configuration file, at line 1
>>> 'host 10.1.130.193'
I found bind directive. and used it. each node tells me that IP address for this node updated to 10.1.130.193.
problem solved.
just use bind instead of host.

rabbitmq-server start failed with exitcode 1

I am trying to install open stack with pack stack using liberty on a single node on Centos7 it failed while trying to start rabbit mq-server with the
following error:
unable to connect to epmd (port 4369) on www: timeout (timed out)
I opened all the ports related to rabbitmq-server like 4369,5672, but no luck
Execution of '/usr/bin/systemctl start rabbitmq-server' returned 1
any help greatly appreciated
Thank you so much for your kind help.
RabbitMQ server fails if hostname does not match with hostname in /etc/hosts with hostname in /etc/hostname file ,
make sure you declare hosts like
ip fully qualified domain name hostname
--- -------------------------- -------------
x.x.x.x example.com subdomain

** server can't find hostname.com nxdomain

I am trying to set up an apache web server on my vm and im running into some issues. When I do an 'nslookup' on the hostname of the machine this is what I get:
nslookup rhel64.xxxxx.xxxxx.com
Server: xxx.xxx.32.1
Address: xxx.xxx.32.1#53
** server can't find rhel64.xxxxx.xxxxx.com: NXDOMAIN
I'm sure this is a common problem but I'm not sure how to fix it. It seems that dnsmasq can't resolve the hostname. Adding the hostname to /etc/hosts doesn't fix it.
Running on an RHEL6.4 machine.
Thanks in advance.
You should use a DNS server that is able to resolve the name; the one you are using now, at xxx.xxx.32.1,
isn't.
Adding the hostname to /etc/hosts doesn't fix it.
This is because nslookup does a DNS lookup always, it does not read the hosts file. Try using getent instead, for example I get:
$ getent hosts rhel64.xxxxx.xxxxx.com
176.74.176.178 rhel64.xxxxx.xxxxx.com
(By the way, you should use example.com as an example almost always, so you don't inadvertently link to adult-only websites)

No mapping found for [/crls/secureca.crl]

This is what appears many times in console of Jetty local webserver when testing J2EE Spring app.
2012-05-03 14:28:14,716 WARN [org.springframework.web.servlet.PageNotFound]
- <No mapping found for HTTP request with URI [/crls/secureca.crl]
in DispatcherServlet with name 'DefaultServlet'>
I've setup my localhost (OSX) like this:
sudo ipfw add 100 fwd 127.0.0.1,8080 tcp from any to any 80 in
To forward all requests to localhost/127.0.0.1 from :80 to :8080
Does anybody know if this is severe bug/warning and how to get rid of it ?
My mistake, I got (and only god knows why) in /private/etc/hosts
127.0.0.1 crl.verisign.com
127.0.0.1 crl.geotrust.com
So if anybody encounters the same issue, simply check your hosts file for crl, verisign, geotrust keywords and disable or delete matching lines.
Note that commenting in hosts file works like this
#127.0.0.1 crl.geotrust.com