Forum Discussion
Thanks Rupert,
I will give it a go, I will see if I can provide any more information about the config file, The only thing I can think of is to take the source and recompile it on the line that is rejecting the file. However if something else springs to mind I'll paste it here.
ITG.
Hi Rupert,
I have tried the Java snippet, but with no success, it would seem my situation may be slightly different (isn't it always).
So my output is as follows:
jenkins@ip-192-168-100-188:~$ java Main
Machine Name=ip-192-168-100-188/127.0.0.1
Network Interface=name:lo (lo)
The line in bold is always there (before my hosts change).
So I then try the host change anyway:
# Hack for SoapUI
192.168.100.188 ip-192-168-100-188
I believe I have the format right, however still the same output from Main.class.
Have I made a silly mistake or is something more awkward going on?
cheers
Pete
- rupert_anderson9 years agoValued Contributor
Hi,
Thanks for trying that out.
It seems it managed to resolve the lo network interface, unfortunately this doesnt have a mac address and you'll get the same error.
If you do ifconfig and check the eth0 interface, is 192.168.100.188 the ip of this interface e.g. does it say 'inet addr:192.168.100.188'? eth0 is the one that needs to get matched as it has the MAC address that the code is looking for.
Thanks,
Rupert