We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65dc8e4 commit 2d55a06Copy full SHA for 2d55a06
app/code/Magento/Elasticsearch/Setup/Validator.php
@@ -38,11 +38,15 @@ public function validate(): array
38
$errors = [];
39
try {
40
echo "Check elasticsearch8 server up or not with command line\n";
41
- shell_exec("curl localhost:9200/");
+ shell_exec("curl http://127.0.0.1:9200/");
42
43
$output = shell_exec('netstat -tuln');
44
echo "<pre>$output</pre>";
45
46
+
47
+ $output = shell_exec("cat /var/log/elasticsearch/elasticsearch.log");
48
+ echo "<pre>$output</pre>";
49
50
$client = $this->clientResolver->create();
51
if (!$client->testConnection()) {
52
$errors[] = 'Could not validate a connection to Elasticsearch.'
0 commit comments