Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Ambari-infra not starting

avatar
Super Collaborator

I am getting this error . I checked the Kerberos principals and keytab is there

[root@hadoop1 ambari-infra-solr]# klist -kte /etc/security/keytabs/ambari-infra-solr.service.keytab
Keytab name: FILE:/etc/security/keytabs/ambari-infra-solr.service.keytab
KVNO Timestamp         Principal
---- ----------------- --------------------------------------------------------
   1 07/12/17 11:53:23 infra-solr/hadoop1.tolls.dot.state.fl.us@TOLLS.DOT.STATE.FL.US (arcfour-hmac)
   1 07/12/17 11:53:23 infra-solr/hadoop1.tolls.dot.state.fl.us@TOLLS.DOT.STATE.FL.US (des3-cbc-sha1)
   1 07/12/17 11:53:23 infra-solr/hadoop1.tolls.dot.state.fl.us@TOLLS.DOT.STATE.FL.US (aes128-cts-hmac-sha1-96)
   1 07/12/17 11:53:23 infra-solr/hadoop1.tolls.dot.state.fl.us@TOLLS.DOT.STATE.FL.US (aes256-cts-hmac-sha1-96)
   1 07/12/17 11:53:23 infra-solr/hadoop1.tolls.dot.state.fl.us@TOLLS.DOT.STATE.FL.US (des-cbc-md5)
Connection failed to http://hadoop1.tolls.dot.state.fl.us:8886 (Execution of 'curl --location-trusted -k --negotiate -u : -b /var/lib/ambari-agent/tmp/cookies/f628f5b6-5c65-49c9-8c01-220695d98f74 -c /var/lib/ambari-agent/tmp/cookies/f628f5b6-5c65-49c9-8c01-220695d98f74 -w '%{http_code}' http://hadoop1.tolls.dot.state.fl.us:8886 --connect-timeout 5 --max-time 7 -o /dev/null 1>/tmp/tmpHevOMh 2>/tmp/tmpx3AL8s' returned 7. curl: (7) couldn't connect to host
000)
1 ACCEPTED SOLUTION

avatar
Super Collaborator

strange ........ I just deleted everything in the log folder and restarted ambari-infra and now its running fine!

View solution in original post

2 REPLIES 2

avatar
Super Collaborator

this is what log is showing

[root@hadoop1 ambari-infra-solr]# more solr-install.log
Waiting up to 30 seconds to see Solr running on port 8886/usr/lib/ambari-infra-solr/bin/solr: line 1423: /var/log/ambari-infra-s
olr/solr-8886-console.log: Permission denied
 [-]                                                                                                                         [/]
[root@hadoop1 ambari-infra-solr]# more solr-install.log
Waiting up to 30 seconds to see Solr running on port 8886/usr/lib/ambari-infra-solr/bin/solr: line 1423: /var/log/ambari-infra-s
olr/solr-8886-console.log: Permission denied
 [-]                                                                                                                         [-]  Still not seeing Solr listening on 8886 after 30 seconds!
tail: cannot open `/var/log/ambari-infra-solr/solr.log' for reading: No such file or directory

avatar
Super Collaborator

strange ........ I just deleted everything in the log folder and restarted ambari-infra and now its running fine!