cancel
Showing results for 
Search instead for 
Did you mean: 

Eclipse for Mac - Logon failed - hostname unknown

smith_john
Active Participant

Hi,

Please help. Today my logons to SAP via eclipse stopped working, I get the message "Logon to system xxx failed (hostname 'Neil's-MacBook-Pro.local' unknown)"

This was working last week.

I've tested in windows and the connections work, but I know thats not exactly comparing apples with apples.

I'm using Eclipse Neon for Mac

Accepted Solutions (1)

Accepted Solutions (1)

smith_john
Active Participant

ok, I fixed it... found a post in the archives.

The solution is to add an entry the Macs /etc/hosts file with 127.0.0.1 and My Computer Name

0 Kudos

Great.

Thanks,
Mark

Former Member
0 Kudos

Hi Neil,

Can you please advise where we have to make host file entries in MAC or SAP SERVER machine.

smith_john
Active Participant
jandrivay
Participant
0 Kudos

Hi Neil,

can you show what is the command like ?

smith_john
Active Participant
0 Kudos

Hi Stedward.

I switched back to PC last year so I can't show you from my own computer... however if you click the link I posted above there are examples

Answers (3)

Answers (3)

smith_john
Active Participant

Hi Mark,

In my SAPGUI for Java logon pad I have 4 of our servers setup, on each one I'm using the advanced tab "expert mode" to define the SAP Router and Server string. As I said this worked last week and Eclipse was happy to use this info to logon to the system.

Now strangely, it stopped working.

FabioPagoti
Active Contributor
0 Kudos

I had the very same error when upgrading from SAP GUI for Java 731 to 740. Luckily the solution of changind etc/hosts worked for me. On a very fresh system, installing SAP GUI 740 directly worked fine. 2 weeks ago I didn't have this same problem.

towell
Explorer
0 Kudos

I prefered editing the /etc/hosts file.
I my case, I had to append ".local.local" to my computers name:


127.0.0.1 MYHOSTNAME.local.local

0 Kudos

Hi Neil,

Check the "Advanced" tab in the connection properties pop-up.
On the advance tab, you should provide the following setting.

check the “Expert Mode” and add
conn=/H/<HOSTNAME>/S/32<INSTANCE_NO>

eg.
conn=/H/127.0.0.1/S/3200

Thanks,
Mark