I'm not able to communicate with Kibana server - python-3.x

I'm getting this error kibana server is not ready yet can anyone help.

Just stop and start your kibana service.
sudo systemctl stop kibana.service
sudo systemctl start kibana.service

Restart the Kibana By using following cmnds
sudo service kibana stop
sudo service kibana start

Related

Unit firewalld.service is masked

When I want to start the firewalld service, I got this error
[root#servera ~]# systemctl start firewalld
Failed to start firewalld.service: Unit firewalld.service is masked.
and I searched in the web and got a solution that run systemctl unmask firewalld, but it is not working, others get a message Removed symlink /etc/systemd/system/firewalld.service. but I got nothing.
When I want to enable this service, I got an error
[root#servera ~]# systemctl enable firewalld
Failed to enable unit: Unit file /usr/lib/systemd/system/firewalld.service is masked.
It's abnormal, because it's /usr/lib/systemd/system/firewalld.service, not /etc/systemd/system/firewalld.service
Any hints? Thanks!
I have tried
systemctl unmask firewalld
but it's no response and not working

jupyterlab 500 error from dataproc cluster

i have been trying to open jupyterlab from my dataproc cluster. i had been working on it last week and there seemed to be some issue with the kernel. so i signed out of jupyterlab and stopped the cluster. then i tried to open jupyterlab again from the link under web interfaces in cluster detail. however, since last wednesday, everytime i try this i get a 500 or 502 error. the error says "500. That's an error. That's all we know."
i'm not sure what to do here. i googled the issue and couldn't find anything that would help.
You can SSH into the master node with gcloud compute ssh <cluster-name>-m, then check the status of the following 3 services:
systemctl status jupyter
systemctl status knox
systemctl status google-dataproc-component-gateway
Restart them if needed:
sudo systemctl restart jupyter
sudo systemctl restart knox
sudo systemctl restart google-dataproc-component-gateway
Also, check the Knox log at /var/log/knox/gateway.log.

Failed to start couchbase-server.service: Unit couchbase-server.service is masked

couchbase service stopped , so i started it manually by exec following command:
sudo service couchbase-server start and got response
Failed to start couchbase-server.service: Unit couchbase-server.service is masked.
I have ubuntu 16.04LTS and couchbase 5.1
you can unmask your service
sudo systemctl unmask couchbase-server
sudo systemctl start couchbase-server
Go to $CouchbaseHome and run following command to start and stop manually
Start
 ./bin/couchbase-server \-- -noinput -detached
Shutdown
./bin/couchbase-server -k

Stopping postgresql from starting on ubuntu startup

Ubuntu 16.04.1 LTS
I have tried:
sudo update-rc.d -f postgresql remove
and
sudo vim /etc/postgresql/9.5/main/start.conf
then i change the word "auto" to "disabled"
Then i reboot the computer, and when it starts, i login and do:
sudo service --status-all | grep postgresql
Which returns:
[ + ] postgresql
So it is still starting when the server starts.
What is left for me to do? I don't want this service running when the computer starts, only when i manually start it with:
sudo service postgresql start
Use systemctl command to manage postgresql service:
stop service:
systemctl stop postgresql
start service:
systemctl start postgresql
show status of service:
systemctl status postgresql
disable service(not auto-start any more)
systemctl disable postgresql
enable service postgresql(auto-start)
systemctl enable postgresql
Ok. it's fixed thanks to Koen De Groote.
I did:
echo manual | sudo tee /etc/init/postgresql.override
and
sudo systemctl disable postgresql.service
and
sudo systemctl disable postgresql
....I don't know which one of them did it, but its not starting any more... Thank you...

Cannot restart network service

I was trying to configure a static IP address on my Linux machine (Fedora 19 ). However when I was trying to restart my network.services using systemctl restart network.service, I was unable to do so.
[root#xyz network-scripts]# systemctl restart network.service
Job failed. See system journal and 'systemctl status' for details.
I tried to reboot my system and re execute the command, but still I am getting the same error. Also I am enable to access internet on my system.
Can anyone help me out with this.
To restart network services, you can use this command
service networking restart
You can also use
service networking stop
then
service networking start
restart the nm-applet with this command from terminal:
killall nm-applet; nohup nm-applet &
or restart the the network manager service using:
sudo systemctl restart network-manager
Restore radio frequencies by running the following command;
sudo service NetworkManager restart
If that does not work, run this one;
rfkill unblock wifi

Resources