The elasticSearch runs fine on my centos as a non-service. I run it as "sh bin/elasticsearch". The client I installed using composer is PHP v2.0. It just won't do anything it used to do before. I used this before and I could search, index documents, make index. Right now I cannot do anything because of this error. The strangest thing is that ElasticSearch seems to be running fine, and I can also call it with curl like:
curl localhost:9200
Please advise on the PHP API failure? I tried:
1. Opening port 9200 on my centos 6 for all
2. Used every method from the book in PHP API: search, index, delete index, etc...always get the same result and an exception is thrown in the Elasticsearch/Client class:
“No alive nodes found in your cluster”
3. Changed the owner of the directory nodes to centos, apache, elasticsearch - no use.
ElasticSearch PHP client v2.0 keeps throwing "No alive nodes found in your cluster"
1.1k Views Asked by Vladimir Despotovic At
1
There are 1 best solutions below
Related Questions in PHP
- php Variable name must change in for loop
- register_shutdown_function is not getting called
- Query returning zero rows despite entries existing
- Retrieving *number* pages by page id
- Automatically closing tags in form input?
- How to resize images with PHP PARSE SDK
- how to send email from localhost using codeigniter?
- Mariadb max Error while sending QUERY packet PID
- Multiusers login redirect different page in php
- Imaginary folder when I use "DirectoryIterator" in PHP?
- CodeIgniter + XDebug: debug only working in the main controller, index() function
- PHP script timeout when I use sleep()
- posting javascript populated form to another php page
- AJAX PHP - Reload div after submit
- PHP : How can I check Array in array?
Related Questions in ELASTICSEARCH
- Elasticsearch schema for multiple versions of the same text
- Elasticsearch nested filter query
- Elasticsearch data model
- search with filter by token count
- Usage of - operator in elasticsearch
- Running multiprocessing on two different functions in Python 2.7
- How to get an Elasticsearch aggregation with multiple fields
- How to implement custom sort in elasticsearch?
- Custom Analyzer not working Elasticsearch
- How to implement full text search using Elasticsearch in Rails?
- UnresolvedAddressException in Logstash+elasticsearch
- Elasticsearch Fiddler No DNS
- Monolithic ETL to distributed/scalable solution and OLAP cube to Elasticsearch/Solr
- how to disable page query in Spring-data-elasticsearch
- Create Custom Analyzer after index has been created
Related Questions in CENTOS6
- OpenLDAP Error: entry -1 has no dn Slaptest won't work
- Ruby headless watir-webdriver Xvfb zombies
- How to change ulimit in CentOS6
- URL shows directory listing instead of website
- Selenium 2.45 with Firefox 35.0.1 not working in production only
- Symlinking unicorn_init.sh into /etc/init.d doesn't show with chkconfig --list
- Installing CouchDB on IaaS?
- Active Directory Integration Plugin
- A way to catching incoming emails
- CentOS6 - Backup all RPMs and installed programs
- How double quotes are added in LC_COLLATE?
- CENTOS 6.6 "Errno -1 repomd.xml does not match metalink for updates " when trying to use yum command to install openssl
- Slow Meteor MongoDB Subscription
- Error installing HHVM at the very end CentOS 6.6
- Chef failed to install MySQL: no resouce, method or variable named create
Related Questions in ELASTICSEARCH-API
- Do we need to close elastic search client when an exception is thrown?
- Why elastic search bulk insert uses \n delimiter, instead of using an array of json objects?
- Elasticsearch synonym_graph filter not giving all tokens
- Checking status of a logstash pipeline [no handler found for uri]
- Elastic Search Aggregation query parameter to visualize bar chart
- How to update value to null using Elasticsearch NEST APIs UpdateAsync method?
- Elasticsearch SEARCH-API ignores some existing indices when searching with wildcards
- ElasticSearch api parse nested string json dashboard
- ElasticSearch PHP client v2.0 keeps throwing "No alive nodes found in your cluster"
- Transitive Dependency: Using Elasticsearch Rest High Client problem in AEM
- How to update hashmap data in ElasticSearch using API Update (version 5) in Java?
- elastic search upsert array element Nodejs
- Elastic Search Kibana PDF Report
- Elasticsearch combining multiple buckets and aggregations
- Multiple functions in restify function to elasticsearch client
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Resolved by installing a fresh latest tarball elasticsearch server and running it straight like this: sh bin/elasticsearch.