Your elasticsearch don’t want to accept connexions or queries anymore after a restart or a “Java heap” memory problem ?
# curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'
"cluster_name" : "elasticsearch",
"status" : "red",
You will need to check if one the of indexes is “red” status by requesting the indices list. The command is:
# curl 'localhost:9200/_cat/indices?v'
health status index pri rep docs.count docs.deleted store.size pri.store.size
red open my_index-2014.07.21 3 1 10107061 0 1.7gb 1.7gb
yellow open my_index-2014.07.22 3 1 6728769 0 1.1gb 1.1gb
What is not said in Elasticsearch documentation is that you will need to delete the datas of the index that is in “red” status to be able to restart elasticsearch. I didn’t find any tool to repair indexes… So datas are losts. You was putting them in the cloud, they gone to space…
That experience made me want to move to another noSQL database… To Be Continued :)
The equivalent of a “show inventory” or a “show interfaces transceiver” on a Cisco ASR 9000 is “show controller”:
# show controller tenGigE 0/0/0/0
Media type: R fiber over 1310nm optics
Part number: FTLXxxxxxxxxL
Serial number: AxxxxxU
# show controller tenGigE 0/0/0/0 internal
Pluggable Type : SFP-10G-LR
# show controller tenGigE 0/0/0/1 internal
Pluggable Type : DWDM-SFP-5494
It shows you the phy details of a specific interface transceiver, while “internal” shows you its type (LR, SR, DWDM, …)
I didn’t find any patch to enable STARTTLS on client side in ClamSMTP when accepting direct (port 25) connexions, so I wrote it.
You can find my code here on GitHub : https://github.com/beaujean/ClamSMTP-TLS/
Two options have been added to the clamsmtp.conf file:
It’s originally from http://thewalter.net/stef/software/clamsmtp/ by Stefan Walter. A git repository was actually here http://thewalter.net/git/cgit.cgi/clamsmtp/ but didn’t include the /common/ directory.
In Terminal, use:
- Shift + Fn Up for PageUp
- Shift + Fn Down for PageDown
- Shift + Fn Left for Home
- Shift + Fn Right for End
That’s simple. Works for all cases l know: screen, tmux, mutt, vim, irssi, less, man pages, …
Bonus: the tilde ~ symbol can be done with “Shift + Alt n” !
This blog is almost about Linux system administration, Cisco networking administration, PERL and C development.
Have you ever felt that it was happened only to you ? So many forums and web pages but any of them relating your problem ? Googled hours for nothing ?
It happened to me a lot of times, so I decided to share here all situations and solutions I didn’t find on the Net with the hope it will help you now :-)