{"action":"created","issue":{"url":"https://api.github.com/repos/csirtgadgets/massive-octo-spice/issues/243","labels_url":"https://api.github.com/repos/csirtgadgets/massive-octo-spice/issues/243/labels{/name}","comments_url":"https://api.github.com/repos/csirtgadgets/massive-octo-spice/issues/243/comments","events_url":"https://api.github.com/repos/csirtgadgets/massive-octo-spice/issues/243/events","html_url":"https://github.com/csirtgadgets/massive-octo-spice/issues/243","id":87784014,"number":243,"title":"Connection Refused Problem","user":{"login":"CingulateCortex","id":1525133,"avatar_url":"https://avatars.githubusercontent.com/u/1525133?v=3","gravatar_id":"","url":"https://api.github.com/users/CingulateCortex","html_url":"https://github.com/CingulateCortex","followers_url":"https://api.github.com/users/CingulateCortex/followers","following_url":"https://api.github.com/users/CingulateCortex/following{/other_user}","gists_url":"https://api.github.com/users/CingulateCortex/gists{/gist_id}","starred_url":"https://api.github.com/users/CingulateCortex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CingulateCortex/subscriptions","organizations_url":"https://api.github.com/users/CingulateCortex/orgs","repos_url":"https://api.github.com/users/CingulateCortex/repos","events_url":"https://api.github.com/users/CingulateCortex/events{/privacy}","received_events_url":"https://api.github.com/users/CingulateCortex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-12T16:41:13Z","updated_at":"2015-06-15T12:50:01Z","closed_at":null,"body":"Hi\r\n\r\nIt seems it handled perl modules without problem. But somehow i get below error, connection refused. \r\n\r\n```\r\nmake[1]: Entering directory `/root/massive-octo-spice/elasticsearch'\r\n/usr/bin/curl -w \"\\n\" -XPUT 'http://localhost:9200/_template/cif_observables/' -d @observables.json\r\n<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">\r\n<html><head>\r\n<meta http-equiv=\"Content-Type\" CONTENT=\"text/html; charset=iso-8859-1\">\r\n<title>ERROR: The requested URL could not be retrieved</title>\r\n<style type=\"text/css\"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></style>\r\n</head><body>\r\n<h1>ERROR</h1>\r\n<h2>The requested URL could not be retrieved</h2>\r\n<hr>\r\n<p>The following error was encountered while trying to retrieve the URL: <a href=\"http://localhost:9200/_template/cif_observables/\">http://localhost:9200/_template/cif_observables/</a></p>\r\n<blockquote>\r\n<p><b>Connection to 127.0.0.1 failed.</b></p>\r\n</blockquote>\r\n\r\n<p>The system returned: <i>(111) Connection refused</i></p>\r\n\r\n<p>The remote host or network may be down.  Please try the request again.</p>\r\n<p>Your cache administrator is <a href=\"mailto:webmaster?subject=CacheErrorInfo%20-%20ERR_CONNECT_FAIL&amp;body=CacheHost%3A%20BEESPCESXIPS01.e-space.local%0D%0AErrPage%3A%20ERR_CONNECT_FAIL%0D%0AErr%3A%20(111)%20Connection%20refused%0D%0ATimeStamp%3A%20Fri,%2012%20Jun%202015%2016%3A44%3A00%20GMT%0D%0A%0D%0AClientIP%3A%20192.168.15.244%0D%0AServerIP%3A%20127.0.0.1%0D%0A%0D%0AHTTP%20Request%3A%0D%0APUT%20%2F_template%2Fcif_observables%2F%20HTTP%2F1.1%0AUser-Agent%3A%20curl%2F7.35.0%0D%0AHost%3A%20localhost%3A9200%0D%0AAccept%3A%20*%2F*%0D%0AProxy-Connection%3A%20Keep-Alive%0D%0AContent-Length%3A%20925%0D%0AContent-Type%3A%20application%2Fx-www-form-urlencoded%0D%0A%0D%0A%0D%0A\">webmaster</a>.</p>\r\n\r\n<br>\r\n<hr>\r\n<div id=\"footer\">Generated Fri, 12 Jun 2015 16:44:00 GMT by BEESPCESXIPS01.e-space.local (squid/3.0.STABLE19)</div>\r\n</body></html>\r\n\r\n/usr/bin/curl -w \"\\n\" -XPUT 'http://localhost:9200/_template/cif_feeds/' -d @feeds.json\r\n<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">\r\n<html><head>\r\n<meta http-equiv=\"Content-Type\" CONTENT=\"text/html; charset=iso-8859-1\">\r\n<title>ERROR: The requested URL could not be retrieved</title>\r\n<style type=\"text/css\"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></style>\r\n</head><body>\r\n<h1>ERROR</h1>\r\n<h2>The requested URL could not be retrieved</h2>\r\n<hr>\r\n<p>The following error was encountered while trying to retrieve the URL: <a href=\"http://localhost:9200/_template/cif_feeds/\">http://localhost:9200/_template/cif_feeds/</a></p>\r\n<blockquote>\r\n<p><b>Connection to 127.0.0.1 failed.</b></p>\r\n</blockquote>\r\n\r\n<p>The system returned: <i>(111) Connection refused</i></p>\r\n\r\n<p>The remote host or network may be down.  Please try the request again.</p>\r\n<p>Your cache administrator is <a href=\"mailto:webmaster?subject=CacheErrorInfo%20-%20ERR_CONNECT_FAIL&amp;body=CacheHost%3A%20BEESPCESXIPS01.e-space.local%0D%0AErrPage%3A%20ERR_CONNECT_FAIL%0D%0AErr%3A%20(111)%20Connection%20refused%0D%0ATimeStamp%3A%20Fri,%2012%20Jun%202015%2016%3A44%3A00%20GMT%0D%0A%0D%0AClientIP%3A%20192.168.15.244%0D%0AServerIP%3A%20127.0.0.1%0D%0A%0D%0AHTTP%20Request%3A%0D%0APUT%20%2F_template%2Fcif_feeds%2F%20HTTP%2F1.1%0AUser-Agent%3A%20curl%2F7.35.0%0D%0AHost%3A%20localhost%3A9200%0D%0AAccept%3A%20*%2F*%0D%0AProxy-Connection%3A%20Keep-Alive%0D%0AContent-Length%3A%20527%0D%0AContent-Type%3A%20application%2Fx-www-form-urlencoded%0D%0A%0D%0A%0D%0A\">webmaster</a>.</p>\r\n\r\n<br>\r\n<hr>\r\n<div id=\"footer\">Generated Fri, 12 Jun 2015 16:44:00 GMT by BEESPCESXIPS01.e-space.local (squid/3.0.STABLE19)</div>\r\n</body></html>\r\n\r\n/usr/bin/curl -w \"\\n\" -XPUT 'http://localhost:9200/_template/cif_tokens/' -d @tokens.json\r\n<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">\r\n<html><head>\r\n<meta http-equiv=\"Content-Type\" CONTENT=\"text/html; charset=iso-8859-1\">\r\n<title>ERROR: The requested URL could not be retrieved</title>\r\n<style type=\"text/css\"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></style>\r\n</head><body>\r\n<h1>ERROR</h1>\r\n<h2>The requested URL could not be retrieved</h2>\r\n<hr>\r\n<p>The following error was encountered while trying to retrieve the URL: <a href=\"http://localhost:9200/_template/cif_tokens/\">http://localhost:9200/_template/cif_tokens/</a></p>\r\n<blockquote>\r\n<p><b>Connection to 127.0.0.1 failed.</b></p>\r\n</blockquote>\r\n\r\n<p>The system returned: <i>(111) Connection refused</i></p>\r\n\r\n<p>The remote host or network may be down.  Please try the request again.</p>\r\n<p>Your cache administrator is <a href=\"mailto:webmaster?subject=CacheErrorInfo%20-%20ERR_CONNECT_FAIL&amp;body=CacheHost%3A%20BEESPCESXIPS01.e-space.local%0D%0AErrPage%3A%20ERR_CONNECT_FAIL%0D%0AErr%3A%20(111)%20Connection%20refused%0D%0ATimeStamp%3A%20Fri,%2012%20Jun%202015%2016%3A44%3A00%20GMT%0D%0A%0D%0AClientIP%3A%20192.168.15.244%0D%0AServerIP%3A%20127.0.0.1%0D%0A%0D%0AHTTP%20Request%3A%0D%0APUT%20%2F_template%2Fcif_tokens%2F%20HTTP%2F1.1%0AUser-Agent%3A%20curl%2F7.35.0%0D%0AHost%3A%20localhost%3A9200%0D%0AAccept%3A%20*%2F*%0D%0AProxy-Connection%3A%20Keep-Alive%0D%0AContent-Length%3A%20588%0D%0AContent-Type%3A%20application%2Fx-www-form-urlencoded%0D%0A%0D%0A%0D%0A\">webmaster</a>.</p>\r\n\r\n<br>\r\n<hr>\r\n<div id=\"footer\">Generated Fri, 12 Jun 2015 16:44:00 GMT by BEESPCESXIPS01.e-space.local (squid/3.0.STABLE19)</div>\r\n</body></html>\r\n\r\nmake[1]: Leaving directory `/root/massive-octo-spice/elasticsearch'\r\nsetting up /etc/cif/cif-smrt.yml config...\r\n[NoNodes] ** No nodes are available: [http://localhost:9200], called from sub Search::Elasticsearch::Transport::try {...}  at /usr/share/perl5/Try/Tiny.pm line 81.\r\nroot@server:~/massive-octo-spice#\r\n```"},"comment":{"url":"https://api.github.com/repos/csirtgadgets/massive-octo-spice/issues/comments/112055712","html_url":"https://github.com/csirtgadgets/massive-octo-spice/issues/243#issuecomment-112055712","issue_url":"https://api.github.com/repos/csirtgadgets/massive-octo-spice/issues/243","id":112055712,"user":{"login":"CingulateCortex","id":1525133,"avatar_url":"https://avatars.githubusercontent.com/u/1525133?v=3","gravatar_id":"","url":"https://api.github.com/users/CingulateCortex","html_url":"https://github.com/CingulateCortex","followers_url":"https://api.github.com/users/CingulateCortex/followers","following_url":"https://api.github.com/users/CingulateCortex/following{/other_user}","gists_url":"https://api.github.com/users/CingulateCortex/gists{/gist_id}","starred_url":"https://api.github.com/users/CingulateCortex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CingulateCortex/subscriptions","organizations_url":"https://api.github.com/users/CingulateCortex/orgs","repos_url":"https://api.github.com/users/CingulateCortex/repos","events_url":"https://api.github.com/users/CingulateCortex/events{/privacy}","received_events_url":"https://api.github.com/users/CingulateCortex/received_events","type":"User","site_admin":false},"created_at":"2015-06-15T12:50:01Z","updated_at":"2015-06-15T12:50:01Z","body":"```\r\n~/massive-octo-spice# service apache2 status\r\n * apache2 is running\r\n````\r\nApache is working checked. \r\n\r\nAlso elasticsearch service is running \r\n\r\n```\r\n~/massive-octo-spice# service elasticsearch status\r\n * elasticsearch is running\r\n```\r\nPort is listened \r\n\r\n```\r\n~/massive-octo-spice# lsof -i :9200\r\nCOMMAND   PID          USER   FD   TYPE DEVICE SIZE/OFF NODE NAME\r\njava    19565 elasticsearch  150u  IPv6 169204      0t0  TCP *:9200 (LISTEN)\r\n\r\n```\r\n\r\nBut make elasticsearch command still giving below\r\n\r\n```\r\n:~/massive-octo-spice# make elasticsearch\r\n( cd elasticsearch && make init )\r\nmake[1]: Entering directory `/root/massive-octo-spice/elasticsearch'\r\n/usr/bin/curl -w \"\\n\" -XPUT 'http://localhost:9200/_template/cif_observables/' -d @observables.json\r\n<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">\r\n<html><head>\r\n<meta http-equiv=\"Content-Type\" CONTENT=\"text/html; charset=iso-8859-1\">\r\n<title>ERROR: The requested URL could not be retrieved</title>\r\n<style type=\"text/css\"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></style>\r\n</head><body>\r\n<h1>ERROR</h1>\r\n<h2>The requested URL could not be retrieved</h2>\r\n<hr>\r\n<p>The following error was encountered while trying to retrieve the URL: <a href=\"http://localhost:9200/_template/cif_observables/\">http://localhost:9200/_template/cif_observables/</a></p>\r\n<blockquote>\r\n<p><b>Connection to 127.0.0.1 failed.</b></p>\r\n</blockquote>\r\n\r\n<p>The system returned: <i>(111) Connection refused</i></p>\r\n````"}}