• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

unknown host  RSS feed

 
Ranch Hand
Posts: 626
Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am running Lion OS X and while testing I have a problem for running it then I figure out I have following error.

Could not resolve the DNS name of unknowne4ce8f3898fc

From mac group I got the confirmation that error is for unknown host.

I have never noticed but now when I go back to my terminal it shows me

unknowne4ce8f3898fc:hadoop hadoop-user$

Why would terminal shows me with the unknown host then having my machine name in the start.

How to fix this?

-Jignesh
 
Jignesh Patel
Ranch Hand
Posts: 626
Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Surprisingly when I look at Web Sharing I got following message.
Your personal website, in the Sites folder in your home folder, is available at this address

http://unknowne4ce8f3898fc/~jignesh/
And when I click on the link I am able to open folder by name Jignesh.

same is applicable for remote login.
To login to this computer remotely type ssh

For the remote management:On
other users can manage your computer using the address unknowne4ce8f3898fc

While my Computer name is Jignesh MacBookPro

Looks like while configuring ssh proper name is not given and that is the problem. How to fix this? And even I fix this, does this screw up my ssh setup?

-Jignesh
 
Rancher
Posts: 4686
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I see a similar problem. My MBP doesn't know that its name is specified via TCP/IP, DNS, etc.

I don't have a problem with SSH, but I do have a problem using the Apache java mail library to send mail. My mail sender requires that client machines know there own name, and
report it in the HELO message to SMTP.

For SSH, you probably want to make sure you have a config file in your .ssh directory and have it contain lines such as:



Host *
ForwardX11 yes
XAuthLocation /opt/X11/bin/xauth


This is because OS-X stores the X11 data in a non-Unix standard location.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!