Druid setup ERROR: service serving this console is not responding - configuration

I am trying to setup druid in cluster mode.
The setup is completer and there is no error in the server logs.
Even the druid console is launching successfully, but getting below error:
"It appears that the service serving this console is not responding. The console will not function at the moment."
As you can see the status Apache druid is running successfully. But else where I am getting error message "Error: Request failed with status code 500"
Can anyone help me to resolve it?

Issue is resolved.
Need to add below config in all node and in all cluster folder runtime.properties
druid.host=<respective_server_ip>
Example: in all server nodes (master, data, query)
In master folder: coordinator-overlord
druid.host=<master_server_ip>
In data folder: historical, middleManager
druid.host=<data_server_ip>
In query folder: broker, router
druid.host=<data_server_ip>

Do not configure druid.host=localhost when deploying as cluster, it
will use the in-process function
InetAddress.getLocalHost().getCanonicalHostName() to get the
hostname, which is very convenient
Comment out below line in Druid configuration
conf/druid/cluster/_common/common.runtime.properties
#druid.host=localhost

Make sure that the zookeeper service is running.
If zookeeper is not running, start it.
And restart the services on the master server.

Related

Openshift Backup - Server Not Reachable

I had openshift 2 starter account where I had my application running.
Openshift 2 been shut down and now I got mail to migrate it to 3
But I don't have backup of an application
I am getting following errors
Upon rhc save-snapshot myapp I am getting following error.
Error in trying to save snapshot. You can try to save manually by
running: ssh 54f03dbd4382ec9101000159#myapp-myapps.rhcloud.com
'snapshot' > myapp.tar.gz
If I try to ssh application then connection is getting closed.
ssh 54f03dbd4382ec9101000159#myapp-myapps.rhcloud.com
Connection to myapp-myapps.rhcloud.com closed.
If I try to restart application from console then I am getting error
could not open session
could not open session
could not open session Failed to execute: 'control restart' for
/var/lib/openshift/54f03dbd4382ec9101000159/mysql Failed to execute:
'control restart' for
/var/lib/openshift/54f03dbd4382ec9101000159/phpmyadmin Failed to
execute: 'control restart' for
/var/lib/openshift/54f03dbd4382ec9101000159/php
EDIT : I get following error in browser when I try to open my site.
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /.
Reason: Error reading from remote server
Apache/2.2.15 (Red Hat) Server at www.mydomain.com Port 80
Need your suggestions. Thanks.
There are a new post on OpenShift blog:
Updated October 3, 2017
We understand how important your data is, and
we have made a one-time exception to allow you to access your
OpenShift Online v2 data. You have until October 5, 2017 at 4:00 PM
UTC to perform a backup of your application. If you have not used it
before, you can download the rhc tool here.
Then you can perform your backup until the 2017/10/05.
Reading around (don't know exactly where) I found that the payed accounts still working until decebmber 31th, so I updated to bronze and could restart the service and backup it. Don't know exactly if is because the upgrade or if was fixed some issue.

MySQL Server command mysqld is not working

(Windows 7) I just installed MySQL Server 5.7 using the MSI installer, therefore as I understand, it is installed as Windows Service.
I am having trouble launching the server using the command:
C:\>mysqld
After issuing this command in command line, nothing happens. The cursor just keeps blinking and I get stuck.
If I try to launch the server using Windows Services I get the following message:
"The MySQL104 service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs."
*(MySQL104 is the server name that I specified during the installation)
Also if I try to run this service via command line as service using command:
C:\>net start MySQL104
I get the answer:
C:\>net start MySQL104
The MySQL104 service is starting.
The MySQL104 service could not be started.
The service did not report an error.
More help is available by typing NET HELPMSG 3534.
C:\>net helpmsg 3534
The service did not report an error.
Right now the only way for me to reboot the server is to reboot my whole system, for it starts automatically at system startup.
I am running the command line as administrator. I am out of ideas.
The service is actually started, with no logs. You can run queries. (the .err log file in data folder also says this).
Check the my.ini configure file
Check the my.err(the file name is depend on your configure) for any error information
Fix all the errors

phpMyAdmin Service Unavailable

I have just installed fresh fedora 21, httpd, mysql and phpMyAdmin. I get an error if I visit localhost/phpMyAdmin
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Mysql seems to work fine, I can connect to it.
In the file /etc/php.ini look for open_basedir parameter and assign the path of the app for example /var/www/html/phpmyadmin. If you have multiple dirs concatenate them with :
open_basedir=/usr/share/webapps/:/etc/webapps/:/tmp/:/srv/http/arch/cacti/:/var/www/html/phpmyadmin
Don`t forget to restart the httpd server.

file system task error an error occurred with the following error message the device is not ready in ssis

I have an File System Task that copies a file from one directory to another. But i executing package with different machine very first time I got device is not ready error message from file system tack component.
Any one guide me.
If you are executing package from SQL Server Job check credentials from which SQL Agent Service is running. If credentials is OK then it maybe network (DNS) or Active Directory issue.

MissingEndpointException: The attempt to connect to the report server failed.

i get this error when i try connecting generating report
MissingEndpointException: The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version.
Another solution, make sure your Reporting service is working. Try restarting the service.
Scan the logfiles in C:\Program Files\Microsoft SQL Server\MSSQL.1\Reporting Services\LogFiles and find the following exception: Microsoft.SqlServer.ReportingServices2008.RSConnection+MissingEndpointException: The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version. ---> System.Net.WebException: The request failed with HTTP status 404:.
It might be possible that you have configured the /reportserver/ app to not be reachable via http://localhost/... Try following the below things:
1) add the localhost hostheader to the web-site which hosts the /reportserver/ and make sure the app is then reachable via that path
2) edit the file C:\Program Files\Microsoft SQL Server\MSSQL.1\Reporting Services\ReportManager\RSWebApplication.config and add the full url to the ReportServer into the ReportServerUrl tag (no ending / nessesary) AND remove the value from ReportServerVirtualDirectory (otherwise you get nasty, unprecise exceptions). THEN you must recycle the app-pool used by the Report-Manager so that config file is being reload.
I know that this post was long time ago but I posted the answer here in case there's other people facing the same problem.
What I did to resolve this issue is change the URL from Report Manager URL to Web Service URL.
Click here for more details