Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-1492

Error displays if system hostname does not resolve in reverse DNS

    Details

    • Type: Documentation
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: doc
    • Labels:
      None

      Description

      If your system hostname does not resolve in reverse DNS, you'll get this output:

      ]# ambari-server start
      Using python /usr/bin/python2.6
      Starting ambari-server
      Traceback (most recent call last):
      File "/usr/sbin/ambari-server.py", line 4491, in <module>
      main()
      File "/usr/sbin/ambari-server.py", line 4297, in main
      start(options)
      File "/usr/sbin/ambari-server.py", line 2453, in start
      if not check_reverse_lookup():
      File "/usr/sbin/ambari-server.py", line 825, in check_reverse_lookup
      host_ip = socket.gethostbyname(host_name)
      socket.gaierror: [Errno -2] Name or service not known

      This needs to be noted in the documentation. You can fix it by editing /etc/hosts to make the hostname reverse resolve.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  mhusnain Misha Ali
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: