10-23-2017 9:49 AM
vm-settings.jpgyast2-settings.jpgI keep constantly getting the same error message everytime I try to install ABAP 7.5 on opensuse as per the instructions in the link below.
I have configure the vm harddrive to 150G to allow for enough space and the network adapter for the vm defaulted to 'NAT'. On the linux operating system, I have downloaded and installed the uuidd, ensuring the service up and running, entered the hosts and hostname in each file using the relevant commands, but i still keep getting the error message below when executing ./install.sh:
The hostname you have chosen is either configured on a loopback device or not active on this server, please check your configuration and hostname selection. If you are confident about your choice of hostname, start the install script with -s flag to skip the hostname check
please see attached files of both my VM and YAST2 setting.
Can anyone help?
10-23-2017 10:01 AM
Your attachments are missing.
Nevertheless, the error might be due to your hostname pointing to 127.0.0.1
When I used SAP on Linux (cloud is so much easier 🙂 ), I set up a static address or configured it on my dns server. For VMware I set it up as a shared network rather than NAT.
10-23-2017 11:40 AM
Hi Mike,
Thanks for replying, the attachments have now been uploaded.
How do I configure the VM to work on a shared network?
10-23-2017 12:13 PM
Sorry, forgot VMware calls it bridged. It means it's sharing the physical machine's network card and getting it's address details from the same DNS server as your machine. Using NAT, VMware just supplies an IP address and nobody is responsible for names and it won't be accessible from the outside.
10-23-2017 1:24 PM
Many Thanks Mike.
I will give it a go and let you know if the ./install.sh executes without the error.
10-23-2017 2:14 PM
Hi Mike,
I've changed the settings on the VM. See attachment. Do they look correct?
I have also tried to execute the ./install.sh and still get the same error. Do I need to change anything in my network settings (YAST2)?vm-network-adapter.jpg
10-23-2017 3:04 PM
Yes, VMware is OK like that.
Wasn't sure it would need it, but a domain could be what's missing.
From a command line, do:
hostname --fqdn
and see if it gives you anything after the vhcalnplci
If there is something, type this in under 'Domain' in YaST.
Else put anything in there, e.g. 'local' In this case your full hostname will be vhcalnplci.local - it might be that the install is verifying that you have a fqdn.
10-23-2017 3:24 PM
Hi Mike,
I've enter the command and nothing after the hostname. In the instructions it asks me enter 10.0.2.15 vhcalnplci vhcalnplci.dummy.nodomain which I did. Is the later part in italic the domain name as it doesn't show up in YAST and do I need to enter that rather than local?
If I was to write in local, is the screenshot correct? It also shows an error message stating 'it's not recommended to use .local as domain name due to multicast DNS. Am I ok to proceed with this?
Many Thanks Matt
10-23-2017 3:52 PM
dummy.nodomain in YaST should be correct in your case.
However, either set up an explicit host and IP, or configure a hostname via YaST. But not both.
Using bridged networking you will get an IP address assigned by your external DNS, and telling the system that it's 10.0.2.15 is most likely incorrect. The other alternative is to set up an explicit IP via YaST or ifconfig and configure it all manually.
The address itself must also match your local subnet. Check whether your local machine's IP address starts with 10.0.
10-23-2017 7:59 PM
Hi Mike,
Sorry for my lack of understanding here. It the first time I have installed ABAP on Linx, usually install it on windows. I currently have ABAP 7.3 installed on another VM.
If I write local into the VM, will the error message that I stated in my previous reply break anything?
Also, what do you mean by setting up an explicit host and IP address. Could you guide me through this? My laptop is running windows 10, VM is on Linux operating system
10-23-2017 9:19 PM
The principle is not specific to Linux. You're doing the Linux equivalent of setting one config up via the control panel (YaST) and then partially editing the registry (hosts, resolv.conf etc.) to possibly do something different.
I had a quick look at the blog and it doesn't mention YaST for setting up the networking, so I think by doing so and following the host file editing instructions you've ended up in the situation above.
Also, the blog provides an IP address. As I mentioned, make sure that this matches your setup. Private IP ranges are in of the ranges given here: https://en.wikipedia.org/wiki/Private_network, so under VMware bridging you have a 1 in 3 chance of getting it right by following the blog. Please use an IP address that matches your VMware host network.
So if your VMware host has an IP address of 172.16.1.12, then choose something like 172.16.1.50 to be in the same routing block. Then enter dummy.nodomain as your domain in the section you first sent the screenshot of. This should work.
You should be able to do this setup entirely from YaST. If you go this route, also find the network settings where you can specify whether the IP address is dynamic or static. Write the address there.
10-25-2017 11:55 AM
Hi Mike,
I am right in obtaining the IP address for the local machine by viewing the properties of VMNet8 network adapter?
When I execute sudo ifconfig nothing shows up in the VM. Is this because it's using bridge?
10-25-2017 12:18 PM
Not sure which one you mean by 'local machine'. The host is the one running VMware and the guest is the virtual machine.
Under windows you can get the IP via control panel/system properties somewhere (they keep rearranging it), or by running ipconfig from a command line. In the guest machine (Linux), do an ifconfig from the command line to get the current IP. It should show you something, or it's desperately broken if not.
10-25-2017 1:31 PM
Got the IP address of the host machine and entered this into the hosts file on this guest Linux VM using the relevant command. It passed the hostname check but now I have another error message stating 'Abort execution because of step return nw.syscopy.storagecopy.HostIsNotLocal, please check log files in tmp directory...
10-25-2017 9:03 PM
No you cannot use the same IP address. Every machine must have it's own address. See my earlier example, choose a higher number, e.g. 50 or 150, at the end (assuming you're on a home network??) and you should be OK.
10-26-2017 9:52 AM
Hi Mike,
Sorry I did change the last digit to a different number to that of the IP address. I am right in thinking that you can have an IP address for both the machine and the home WIFI connection. Which one should I be using? If I switch my WIFI connection of and execute the ipconfig, the IP address for VMNet1 and VMNet1 show up but nothing for Ethernet adapter
Thanks for all your help so far.