Skip to Content

SAP NetWeaver AS ABAP 7.40 SP8 – Developer Edition to Download: A Step by Step Guide for Linux Newbies

ABAP 7.40 SP8 is avaible as free download – but only on Linux! This should not be an insurmoutable obstacle for all those who in the past used forwenting console tools. Here we are with a step by step guide.

(For hardware and operation system requirements see the introduction page.)

There are different possibilities for using a Linux operation system together with Windows or  Mac OS. And there different Linux OS versions available. This guide is using

  • Windows 7 Enterprise, 64-bit 6.1.7691, Service Pack 1 as host OS version
  • VMware Workstation 12 Player Version 12.0.0 to run a Linux operating system as guest OS version
  • Ubuntu Desktop 14.04.3 LTS, Ubuntu 15.04 and Ubuntu 15.10.

Ubuntu 14.04 is the long term support version coming with several years of security and maintenance updates wheras 15.04 is the latest version but coming only with several months of updates. In 15.04 and 15.10 some steps are more comfortable (e.g. run the libuuid deamon) and if you only want to use it for a preview I recommend to use 15.04. If you plan to use it for a longer period I suggest to follow Ubuntu’s recommendation.

Currently Ubuntu offers 15.10 with a new Linux kernel. The ABAP kernel has not yet been validated against the new Linux one. So the ABAP server is not released for it. This means that you will be greeted by a dump each time you log on to the system. I tested some development scenarios and the server is working correctly. Of course my test coverage is by far not suffiencient. But if you can live with this ugly feature warning from a productive usage and eventually some issues, the installation with Ubuntu 15.10 is far more easy.

Preparing the OS

Download and install the VMware player and OS

You can get the VMware player VMware Workstation 12 Player Version 12.0.0 at Try VMware Workstation Player. Deliver a virtual desktop to your employees. | United States. Download it for Windows 64-bit íf you are on Windows and install it. If you are asked for installing VMware Tools, do it. It allows for example resizing the windows. If you want to learn more about VMware Player goto the VMware documentation site at VMware Documentation.

Then you can proceed downloading Ubuntu Desktop 14.04.3, 15.04 or 15.10 at Download Ubuntu Desktop | Download | Ubuntu. This creates an .iso file in the download folder.

Now start the VMware Player.

CreateVM_1.JPG

Select the option to Create a New Virtual Machine. The system prompts you to enter the path to the downloaded Ubuntu version.

CreateVM_2.JPG

Then you can enter your full name and credentials.

CreateVM_3.JPG

The full name is used for display in the tools, on OS level you work always with the user name.

On the next screen you can change the name of the virtual machine which is visible in the VM player.

CreateVM_4.JPG

Now we are asked to specify the disk capacity. We need 100 GB disk size and I recommend to store the virtual disk as a single file.

CreateVM_5.JPG

On the following screen customize the hardware before finishing the wizard.

CreateVM_6.JPG

Set the

  • Memory to 4000 MB
  • number of processors to 4
  • Replication of the physical network connection.

CreateVM_7.JPG

Close this popup and press finish. Ubuntu will be installed. This takes about 5 minutes, time for a short coffee. After the installation the system prompts you to a login screen.

CreateVM_8JPG.JPG

Enter your password from the second screen of the wizard and: Welcome to Linux.

You will see that Ubuntu installs the VM with the hostname ubuntu.You can verify this in opening a terminal window and entering the command

    hostname

In 14.04 you get a terminal by searching for xterm: press the first button in the Launcher. Once you have a terminal, you can lock to the Launcher with the right mouse menu.

In 15.10 you can just open a terminal with the right mouse menu.

Users in Linux

The wizard created a user, in this case the user hillenbrand, with his home directory and authorizations with respect to this directory. He can read and write the files in his home but he is not allowed to write other directories. By default Linux has a superuser root with read and write authorizations in system directories. As default, he has no password and he is locked for remote access.

During the preparation and installation steps you will need super user authorizations. There are different means to change the priviledges:

1. Change the user

    su <username>

This command requires the password of the target user. Unless you change the settings for the superuser root, you cannot use it to log in with root. But you will need it to operate the ABAP server with the SAP system user.

2. Change to root

    sudo -i

This command requires the password of the current user and logs in as superuser root.

3. Exit the login as different user

    exit

This command returns to the user from which you switched.

4. Execute commands with superuser priviledges

    sudo <command>

This command requires the password of the current user and executes the command with the authorizations of the user root. I will use it in this blog. I prefer it, because it does not switch the home directory and you can use it when it is necessary. The disadvantage is, that you have to enter the password each time you are using it.

If you want to learn more about users and switching users you can search the web. In Wikipedia for example there is an article about sudo: http://en.wikipedia.org/wiki/Sudo and there are some more considerations about changing users in http://askubuntu.com/questions/57040/what-is-the-difference-between-su-sudo-bash-and sudo-sh.

Configuring the system

Users in a Corporate Network

If you are in a corporate network you have to configure the proxy server otherwise you cannot connect to the system. Users in their own network not using a proxy server can skip this section.

Open the settings menue in the upper right corner and select System Settings.

Proxy_1.JPG

Select the Network icon.

Proxy_2.JPG

Select Network proxy and the Method manual. And enter your proxy server.

Proxy_3.JPG

Press enter so save the setting.

Depending on your corporate network settings you have to manipulate the file /etc/apt/apt.conf. I’m using the editor nano which is quite basic but sufficient for our purposes. Manipulating the file needs root user priviledges. So open a terminal window and enter the command

    sudo nano /etc/apt/apt.conf

In our setting I added the line

    Acquire::http::proxy http://proxy.wdf.sap.corp:8080

and saved the file and closed it.

It is possible that this is different in your environment. Search for proxy settings with Ubuntu in the internet.

Then these new settings have to be activated with the command

    sudo apt update

So far for the proxy configuration.

Changing the keyboard mapping

If you want to adapt the keyboard mapping to your one, open a terminal window and enter the command

    sudo dpkg-reconfigure keyboard-configuration

This opens a dialogue where you can select your keyboard and language. After having finished the dialogue check your keyboard mapping. It should work now.

Installing some necessary or helpful tools

CSH (Berkeley  Unix C shell) – required

Ubuntu comes with the shell bash. A shell allows you to type in commands into a console. We have already used some bash commands in this tutorial. To install the ABAP server we need a different one: CSH. If you want to learn more about shells you can search the web or goto the Ubuntu Wiki: ChangingShells – Ubuntu Wiki.

    sudo apt-get install csh

installs the required shell. You will not see any difference.

Secure Shess SSH – optional

SSH is a secure network protocol which allows you to connect to your server with WINscp for example. This is quite helpful if you want to navigate the directories with tools you are familiar with. For details about SSH search in the web or go to Wikipedia: https://en.wikipedia.org/wiki/Secure_Shell.

    sudo apt-get install ssh

installs this tool. We have to configure the service. Open the file /etc/ssh/sshd_config with an editor.

    sudo nano /etc/ssh/sshd_config

and enter the following line to be able to connect as root user which is sometimes useful. (But of course you can also login with your own user.)

    PermitRootLogin yes

Save the file and restart the service:

    sudo service ssh restart

Connecting to the server with WINscp – optional

To connect to the server you need its IPadress. You’ll get it entering the command

    ifconfig

Above we have allowed for login in with the root user. But you still need a password for the root user. To set a password for the user root enter the command

    sudo passwd root

Now start WINscp and create a new folder. Enter the IP address as hostname and user root. Save the configuration and login. You are asked to enter a password.

Winscp_1.JPG

On the left hand side you browse the files of your computer (the host) and on the right hand side you see the file system of your Ubuntu one (the guest). You can navigate and copy files from here and there.

Installing Libuuid – required

The ABAP server exposes a function to generate GUIDs. To guarantee the uniqueness of these identifiers you have to install the uuid library.

    sudo apt-get install uuid

installs the library. With Ubuntu 15.04 you can skip the following description and continue with the section Activating and Testing the Liquid. Ubuntu 15.0 installs the service and registers a daemon which is automatically activated after each restart of the system. So that you do not have to care any more for starting the daemon. With Ubuntu 14.04 this is not that simple.

Libuuid in Ubuntu 14.04

Unfortunatly Ubuntu 14.04 does not provide this handy support installing the libuuid. We have to do some manual steps. Let’s go.

We need the uuid service, a daemon and a script to start the daemon at each restart of the system automatically.

The uuidd daemon has to be owned and run by the root user. The installation uses a different one. We have to change this. The daemon is created in the directory /usr/sbin. So change the directory:

    cd /usr/sbin

    ls -l

The second command lists the content of the actual directory, the parameter -l is to display details. You will get a list where the uuidd daemon is marked. The user is not correct.

uuid_1.JPG

To change the user we will use the chown command as follows. If you want to get information about a command enter the command followed by –help. But now we will change the user and user group of the uuidd daemon.

    sudo chown root:root uuidd

Enter again the list command (ls -l), you will see now that the owner and group has been changed and the daemon is not marked any more. Now we create a user and user group uuidd. The user uuidd must be a system user, added to the user group uuidd with the home directory /var/run/uuidd.

    sudo addgroup –system uuidd

    sudo adduser –system –ingroup uuidd –home /var/run/uuidd uuidd

Users and user groups are contained in the files /etc/passwd and /etc/group. You can list the files for users and user groups with the following commands respectively.

    cat /etc/passwd

    cat /etc/group

We to create the script to trigger the daemon when the machine is started. Fortunately we can get it from the internet. I downloaded the version from and renamed it to uuidd. A version is available at util-linux/uuidd.rc.in at master · karelzak/util-linux · GitHub. With WINscp I copied it to the directory /etc/init.d. You need root user priviledges to add files to this directory. After having copied the file, open the properties and add execution rights for all users.

uuid_2.JPG

It’s still not finished. Unfortunately in my installation the authorizations had not been enough to create files in the uuidd directory. I had to add temporarily more in the script. So open the file with an editor.

    sudo nano /etc/init.d/uuidd

You can also use WINscp to edit the file. Change the variable UUID_DIR to /var/run/uuidd and add the command

    chmod 777 $UUIDD_DIR

after the command to create the temporary directory: mkdir -p $UUIDD_DIR. The authorizations 777 are disputable, but using them, it worked. Save the file.

uuid_3.JPG

Finally we are done installing the uuid service and daemon (uuidd).

Activating and Testing Libuuid

The command

    sudo update-rc.d uuid defaults

updates the startup service and registers the uuidd daemon. I restarted the guest operating system. Running the command

    sudo uuidd

should now show the message that the uuidd daemon is already running.

uuid_4.JPG

Hostname

The ABAP installation requires a hostname which does not exceed 13 characters. the hostname ubuntu fullfills this requirement. In addition the hostname hast to be addressable. Therefore we have to map the IP address to the hostname. So open the file /etc/hosts with an editor.

    sudo nano /etc/hosts

and mapp the IP address to ubuntu. You get the address with the command ifconfig. Take care to delete or comment the old mapping.

etc_hosts.JPG

Test the setting with

    ping ubuntu

This should return packages.

We are  done now with the preparations and can start the ABAP installation.

Installing and Configuring SAP NetWaever AS ABAP

Prerequisites

If you installed the optional tools, you can skip this section. If not take care that the libaio service is installed (sudo apt-get install libaio). This service is required for the ASE installation.

ABAP Backend installation

Now we are going to use the downloaded files. There should be 8 .rar files. Open your home directory on Ubuntu and create a folder for these files. Copy the files into this directory. You can use WINscp on Windows or use the sharing service described below.

ABAP_1.JPG

Open the properties of this folder and share it. You’ll get a message that the sharing service is not installed. Press the install button. When it is finished, close the window and restart the session.

ABAP_2.JPG

Creating the share. you are asked to add the permissions automatically. Confirm it and close the window. You can now access the folder with the explorer of the host system which is quite comfortable to copy and extract the files.

Connect via the IP address to the folder and copy the files. Select the part1 of the .rar files and extract it. This takes some time – time for a break.

You can also unrar the files on OS level. To do this, you have to install the package unrar.

    sudo apt-get install unrar

To unrar the files use the command unrar with the option x so that the full paths are extracted.

    sudo unrar x TD74SPS8_part1.rar

After the extraction, you can delete the .rar files. In our directory we have following folders and files

  • client folder containing the Java and Win GUI. You will need it later on to install the frontend on the host
  • img folder with some icons
  • server folder containing the backend files
  • install.sh – the installation script
  • readme document
  • license agreement – which you should read

To start the installation script we have to switch back to the terminal window. Change to the folder with the installation script install.sh and enter the command

    sudo sh ./install.sh

without any options. You will see a message that the hostname will be ubuntu. Confirm it. It continues with the licence agreement. Read it and agree. Then you are prompted to enter a password which you will need to operate the ABAP server. Ensure that the password exceeds 7 characters, contains capital letters and digits but does not contain special characters. And then it takes about 20 minutes. Time for lunch.

The system should return with the message: Installation of NPL successful.

Frontend Installation

The installation comes with SAPGUI for Java and Windows in the Client folder. You can use the Java GUI on the guest or host system. The Win GUI can only be used on Windows host system. Execute the appropriate .exe file either on the guest or host system. This guide uses the Win GUI on the host system.

After the wizard has finished, you can open the SAPLOGON and create a user specified system with the following attributes.

    Application server: your IP address (to find out use the command ifconfig, see above)

    Instance Number: 00

    System ID: NPL

frontend_1.JPG

Finish the wizard. And connect to the system via double click.

You can logon with the user developer in client 001. His password is abCd1234. If you are greeted by a short dump, there is something wrong with the uuidd daemon and the guids created in your system may not be unique. Even with this dump you can start exploring the system. But it is not yet ready for developing.

Install the Eclipse development tools on your host. You will find the description and links at SAP Development Tools for Eclipse.

Post Installation Steps

Hostnames

You will certainly use browser applictions (WebDynpro or SAPUI5 applications) with your host browser. Therefore you have to configure the hostnames and map them. SAPUI5 requires full qualified domain names. We have to maintain this in the ABAP profile parameter. You can use the transaction rz10 but as console tool expert, change the profile directly in the file system – it is easier.

You find the profile directory in /usr/sap/NPL/SYS/profile. List the entries. You will find the file NPL_DVEBMGS00_ubuntu. Open it with an editor: nano or if you are still connected with WINscp you can search and edit the file from there. Add the following parameter

    icm/host_name_full = $(SAPLOCALHOST).dummy.nodomain

PIS_1.JPG

To activate the new profile setting you have to restart the server. For this have look into the section Operating the ABAP server. After the restart the server can use full qualified host names. But wait, there are more parameters to be changed.

As we want to use the host browser we have to map the names in /etc/hosts of our host computer. Open the file hosts in Windows/System32/drivers/etc and add the mapping of the hostnames to your IP address. Remember the host name is ubuntu and full qulified name ubunut.dummy.nodomain. Edit the file with notepad. You need administration authorizations.

PIS_2.JPG

If you want you can restart and explore the feature gallary in the main menu.

Correct the sizing

The system default settings for the memory size are not appropriate for this installation. So change the profile NPL_DVEBMGS00_ubuntu again with WINscp if you like and change the parameter PHYS_MEMSIZE

    PHYS_MEMSIZE = 30%

PIS_7.JPG

Save the file and restart the system. The system should now work properly.

Install the developer license

To use the server for developing you need a minisap license. It is a temporary license free of charge, valid for 90 days and it can be extended on demand. So lauch transaction slicense.

PIS_4.JPG

You see the hardware key which you will need later on and you can also see that the system comes with a restricted temporay license.

Now open the link SAP Sneak Preview License Key Request. Enter your name and email address. Select NPL- SAP NetWeaver 7.x (Sybase ASE) and enter your hardware key. Read and accept the license agreement and submit the form. You will receive an email with the key file attached.

PIS_5.JPG

After having received the email with the license key, store the key and go back to the transaction slicense. Select your entry and press the Install button. You will be asked for the path to the key enter it and continue. That’s it. The license is now changed to type Demosystem.

PIS_6.JPG

You can start creating your own development objects.

Operating the ABAP server

Basically you will need two commands for starting and stopping the server in a controlled way. Open a terminal window. You have to execute these commands with the user npladm created by the installation with the password you entered during the ABAP server installation. So change the user.

    su npladm

Remember the su command requires the password of the target user, the npladm user. This is the password you entered during the installation of the ABAP server.

To start or stop the server, enter either startsap or stopsap.

    startsap

    stopsap

Find some more installation options, created users and folders and operation hints at SAP NetWeaver AS ABAP 7.40 SP8 – Developer Edition to Download: Consise Installation Instruction. Explore the SCN ABAP space to get some ideas on our AS ABAP. Enjoy!

102 Comments
You must be Logged on to comment or reply to a post.
  • Hi,

    Thanks for the document. I’m trying to install the Java frontend in Ubuntu, but I’m getting an error as follows:

    Schermata 2015-10-23 alle 19.40.48.png

    Do you have any clue?

    Thanks again and bye,

    Flavio

  • Alright, I reached the end .

    After changing the parameters , used SAPSTOP to stop the sap instance and then i used SAPSTART .. been waiting for over an hour now.. the system is using 100% cpu but no result .

    how long does it normally take to SAPSTART this isntance?

    Thanks

    Amarpreet

    • Hi Amarpreet,

      I did some tests with Ubunut 15.10. I could not reproduce your issues with starting the ABAP server. In my installation it took only some minutes. What are your hardware parameters?

      Kind regards

      Thea

  • The first time I download it, the first two files were zip files and I had trouble unzipping them. The second time I downloaded it, a few days later and they were rar files.  I had to use 7zip for ubuntu and finally was able to unpack all the rar files. Otherwise the instructions have been spot on so far…

  • Thanks for the great document!

    Please don´t try the installation with ubuntu 15.10 until PAM gives some information about the support…

    … why must fatal errors appear after everything has been finished?

    2015-10-25 02_35_58-Start.png

    … Loop back… ones again… 😉

    • Hi Jens,

      the ABAP server is not released for that linux kernel version – that means it is not validated and this is why there is a dump. But most probably the system works. So if you do not care about this first dump then you can give it a try.

      Kind regards

      Thea

  • Hi all,

    I installed NetWeaver on Ubuntu 15.10 in VirtualBox. I received the message:

    Installation of NPL successful.

    1.) I am not able to access the system via WinSCP. (I need to install an ftp- server in Ubuntu?)

    2.) When entering

         su npladm

         startsap

    I see:

    ubuntu2_startsap.PNG

    opening the startdb.log I find that the ASE instance is not available and no Sybase processes are running.

    ubuntu2_startsap1.PNG

    Anybody solved this problem already?

    • I have the same problem , everything works until i restart the VM OS .

      if i STOPSAP and then STARTSAP without restarting the VM OS the instance starts without any problems.


      I’m using the Ubuntu 15.X

      Steps to reproduce the error ;

      1. install > Login to sap (everything works ) > STOPSAP > restart VM OS > STARTSAP ( stuck ) .

      Does anybody know what a possible solution might be ?

      thanks

      Amarpreet.

        • I’m using VMWare fusion 8.x on Mac El capitan, 4 GB ram, the Virtualization engine is set to automatic.

          i don’t think its anything to do with virtualization engine etc… as after the install the system works as long as i dont restart the VM OS .

          What do you think , any ideas .

          thanks

          Amarpreet

      • Looks like I am having the problem again after restarting the VM (Virtualbox).


        Content of /sybase/NPL/startdb.log :

        —————————— Mi 28. Okt 16:40:07 CET 2015

        LOGFILE FOR STARTING SYBASE ASE

        starting database NPL …

        —————————— Mi 28. Okt 16:40:07 CET 2015

        checking required environment variables

        —————————— Mi 28. Okt 16:40:07 CET 2015

        check if Sybase ASE processes are running

        ASE instance not available

        There are no Sybase processes running –

        Database is probably already stopped.

        —————————— Mi 28. Okt 16:40:07 CET 2015

        check if Sybase Backupserver is running

        Backupserver instance not available

        Database not available

        can it be, that the npladm or my user is missing the environment variables of sybase? unfortunately, I don’t know how to do this.

        Anybody knows, how to do this?

        @manfred: I am running Windows 10 Pro, VirtualBox 5.0.8 and haven’t activated under Windows the Hyper-V. However, I am able to run my VM with 6 cores of my core i7 5820k Prozessor.

        -Do I need to activate an Hyper-V aquevalent?

  • Hi,

    I’m installing as per the instructions above, using the Ubuntu Desktop 14.04.3

    version.  All of the preparation steps went fine but the SAP installation has

    ended with the following error:

    ERROR 2015-10-27 10:18:19.444 (root/sapinst) [iaxxbjsmod.cpp:105]

    id=modlib.jslib.caughtException errno=MUT-03025
    Caught ESAPinstException in module call: Assertion failed: Unable to find

    database home folder..

    I can see that there are files within /sybase and so I suspect that the

    installation doesn’t know where to look.

    I can see that there are no environment variables set for Sybase.  I tried

    setting the SYBASE environment variable myself for my own user and for root and

    then re-running the installation, but it still fails with the same error.

    I’ve spent a few hours on trying to resolve and so am close to starting again

    from scratch, but thought I’d check to see if anybody else had any ideas first!  Has anybody come across this before?

    I’d be grateful for any advice anybody can give.

    Steven.

  • My installations fails with this error “Assertion failed: Unable to generate a new password for database login ‘sa'”

    I’m using Ubuntu 14.04 and I have installed packages libaio-dev and libaio1. Any ideas?

    • Hi George,

      did you import the license as described in the post installation steps?

      The solution comes with a temporary license with which you can navigate the system. The developer key depends on the user and license. The one which comes with the solution is configured for the minisap license and the user DEVELOPER or BWDEVELOPER. So normally after having istalled the correct license, you should not be asked for the key.

      Kind regards

      Thea

  • Sorry, for posting this here double, but nobody is answering to my question above. I installed under ubuntu 15.10 and followed the how-to guide precisely. I got everything running and installed also the new license.

    Unfortunately, after the first reboot of the VM, I can’t use the installation of SAP anymore, as the Sybase ASE Instance is not running.

    ubuntu2_startsap1.PNG

    Why it is not running?

    Please, anybody can help?

    Best regards,

    Achim

    ***********************************************************************************************

    Work around found 🙂

    lol, I just had the idea of starting the system as the SAP Database Administrator.

    typing: RUN_NPL

    By that, I got the Sybase ASE running, then logged in with my user and started with the npladm SAP (su npladm, startsap).

    Best regards

    Achim

    • This one was doing my head in too.

      I dug a little deeper into the logs and found the following, which I did remember reading in the install notes:

      log_file.PNG

      log.PNG

      Required.PNG

      On Debian a simple command “dpkg-reconfigure locales” to set back to required locale “en_US.UTF-8” for sybase and all ok. I can now run “startsap” no problems.

      Hope this helps.

      Cheers,

      Dave

      • David

        thank you 🙂 I was finding the workaround already to not shut down the VM, but sometimes I am updating the system and am saving by your help some time 🙂

        Cheers

        Achim

        • No worries at all. I’m glad this is also working for you.

          It does make the startup and shutdown process a lot easier.

          Cheers,

          Dave

  • and enter the following line to be able to connect as root user which is sometimes useful. (But of course you can also login with your own user.)

        PermitRootLogin yes

    Not just add this line, BUT replace the following:

      PermitRootLogin without-password

    otherwise you won’t be able to the server via WinSCP.

    P.S. had this problem by myself.

  • Hi all,

    I successfully installed on Ubuntu 15.04. A couple of things I noticed:

    1. The database requires the package libaio-dev to be installed
    2. If you configure multiple network adapters in your VM the hostname check will fail. Best disable all but the first one through “sudo ifconfig eth# down” and comment out unwanted lines in /etc/hosts about those adapters before running the installer.
    3. Changeing the network configuration after installation may break the initial license. Only sap* is allowed to log in when the license is invalid. Finish network configuration before requesting a license key as changes to your primary network adapter (eth0) have an effect on your active hardware key.
    4. sudo sh ./install.sh didn’t work for me, neither did sudo bash ./install.sh. I set the execute bit (chmod +x install.sh) and ran the script with: sudo ./install.sh

    Cheers!

    Jurjen

    • Hallo Jurjen,

      I need to renew my license using user sap*. Do you by any chance know what is the default password for this user or which password should be used? I tried the password of the linux npladm user but no success.

      Thanks in advance!

      George

      • Hi,

        the password is the master password you used during the instance creation. It should also be possible to renew the license with the user DEVELOPER.

        Kind regards

        Thea

  • Hello,

    so far, the easiest install of NW trial ever.

    The only hiccup was syntax error while executing the install.sh using sh on Ubuntu 15.10. The alternative was to use bash instead.

    Regards,

    JN

        • Yes, I can.

          to fix the line 79 I changed the operator logical.


          from:

          if [ ! “${myip}” == “${hostip}” ]; then

          to this:

          if [ “${myip}” != “${hostip}” ]; then

          And the another error I erased  the word “function” in two methods, these:

          from:

          function update_sysctl_conf() { …  }

          to this:

          update_sysctl_conf() {  …  }

          from:

          function calculate_sysctl() {  … }

          to this:

          calculate_sysctl() { … }

          and I executed the script again and worked…

          I hope that this help you…

          Victor Hugo

  • Hi Peter

    Thanks for the heads up, very much appreciated, encourages me a lot to continue with my efforts to provide SAP software to people like you:-(

    No matter what, feel free to contact me over PM and I will try to help you across the problems. You seem to have problems with your network setup judging from the errors reported above. So I suggest you consult the readme in the download root folder for prerequisites. Then feel free to come back to me.

    Manfred

  • Hello,

    Thank you for the information and work.

    I installed Ubuntu 15.04 in VM 12 on Win 2008 R2 host.

    I copied the files using WINscp.

    I am getting corrupt header error when I unrar from OS

    second time corrupt header found.PNG

    I downloaded a new batch of rar files, went thru install process – same error same place.

    Any ideas?

    Thank you and Kind Regards,

    Scott

  • Hello,

    I have successfully installed and can log in and execute EPM sample applications.

    However, I am not able to complete the license registration form because the System ID drop down does not work.

    Is there another way to register the system?

    Kind Regards,

    Scott

    • Hi Scott

      Know what you mean. You can try with a different browser on the minisap page or use the cursor key to scroll down the list. Bit shaky but sooner or later you will find the NPL ASE entry

      Not sure who meesed the dro down boxes down, probably us:-)

      Hope this helps to get you across

      Manfred

  • Hello,

    I’ve just finished a fresh install on ubuntu 15.10, hosted on a Mac, NPL installation successful.

    Trying to setup the frontend (javaGUI, also successfully installed) on the guest, I cannot proceed further. Here is the screen-shot when lauching the SAP logon and trying to create a connection:

    Schermata 2015-12-24 alle 04.40.48.png

    I cannot select anything here, apart Description.

    Do you have any suggestion?

    Thanks a lot and regards,

    Flavio

    • Hi Flavio,

      Please check the link below. There you will find the instructions to setup the connection string.

      https://sapbasis.wordpress.com/2007/08/22/installation-and-configuration-of-sapgui-for-java-on-linux/

      Steps

      1. Run executable file called guilogon (reside on/opt/SAPClients/SAPGUI700rev1/bin). It willpop up SAPGUI for Java window.
      2. Click New button.
      3. Fill the Description column as you like.
      4. Click Advanced Tab.
      5. Give check (V) to Use Expert Configuration
      6. Fill the connection string. If your server using load balancing configuration, use this connection string
        conn=/M/(IP_Address_Message_Server)/S/36(system_number)/G/(nama_group)
        and use this connection string configuration if yor SAP R/3 server are not using load balancing system,
        conn=/H/(IP_Address_server_SAP)/S/32(system_number).

      Best regards,

      Christian

      • Hi Christian,

        thank you very much indeed for your detailed answer.

        I’ve tried to follow the steps but unfortunately I’m getting the connection refused error:

        Schermata 2015-12-24 alle 13.51.48.png

        These are my connection settings:

        Schermata 2015-12-24 alle 13.53.10.png

        where ip address is coming from ifconfig

        Schermata 2015-12-24 alle 13.47.26.png

        I’ve installed the latest java, as follows:

        Schermata 2015-12-24 alle 14.05.32.png

        Do you have any other suggestion?

        Thanks again and best regards,

        Flavio

  • Good day.

    When trying to install following the steps above error occurs with the command:

    sudo sh ./install.sh

    When attempting to use the command:

    sudo bash ./install.sh

    Also gave error.

    As attached images.

    The installation file to change:

    from:

    if [! “$ {} Myip” == “$ {} hostip”]; Then

    to this:

    if [ “$ {} myip” = “$ {} hostip”!]; Then

    ERROR 02/04/2016 03: 30: 28,124 (root / SAPinst) id = controller.stepExecuted errno = FCO-00011

    The step askInstances step with key | offlineadjustment_dialogs | ind | ind | ind | ind | 0 | 0 | askInstances was executed with status ERROR (Last Reported error by the step: Caught ESAPinstException in module call:

    (SAPINST_SKIP_DIALOGS = true)

      Validator of step | offlineadjustment_dialogs | ind | ind | ind | ind | 0 | 0 | askInstances reports an error:

        <Html> <head> </ head> <body> Host ‘ubuntu’ is not location. </ Body> </ html>

    . To solve que problem start the installation without using SAPINST_START_GUI option ..).

    How to solve?

    Erro2.PNG

  • When trying to log into NPL with the SAPGUI for windows I am receiving “Anmeldung nicht möglich (Fehler bei der Lizenzprüfung)”.

    I forgot to extend the license. Can I do that, still? Also, I forgot my password that I gave to the user developer. Will I be locked after some erratic password entries?Screenshot (98).png

    • Hi Stetcher,

      If it has standard settings, it will lock userid after 3 tries.

      You can try to log on with DDIC or SAP* using the password you set during the installation.  Then you should be ale to unlock developer and reset pw.

      Hope this helps,

      Scott

      • Unfortunately, I just was able to not receive the license error, by trying to login with the SAP* User. However, I didn’t give it a new password during the installation process. I realized too late.

        *********************************************************************************************************

        User name Password Description
        DDIC DidNPLpw2014 Data Dictionary User
        SAP* DidNPLpw2014 SAP Administrator
        DEVELOPER abCd1234 Developer User
        BWDEVELOPER abCd1234 Developer User

        *********************************************************************************************************

        Now the only user, that I could login is locked: SAP*


        I will need to install SAP Trial again?!?

  • I have updated linux and am receiving now after:

    su npladm

    startsap

    “No instance profiles found

    please send the tracefile /home/npladm/startsap.trc to support”

    Trace of system startup/check of SAP System NPL on Tue Aug  2 23:52:52 CEST 2016

    {23:52:52 ## Main() start: @=/usr/sap/NPL/SYS/exe/uc/linuxx86_64/startsap

    @(#) $Id: //bas/742_REL/src/krn/startscripts/startsap#1 $

    BASENAME=startsap

    {23:52:52 ## check_user() start: @=npladm

    }23:52:52 ## check_user() done

    #=0

    @=

    {23:52:52 ## setPlatform() start

      PLATFORM=linuxx86_64

    }23:52:52 ## setPlatform() done

    {23:52:52 ## setPing() start

      PING=/bin/ping

    }23:52:52 ## setPing() done

    {23:52:52 ## setIfconfig() start

      IFCONFIG=/sbin/ifconfig

    }23:52:52 ## setIfconfig() done

    {23:52:52 ## setRootDir() start: @=

      USR_SAP=/usr/sap

      USR_SAP_SID=/usr/sap/NPL

      PROFILE_DIR=/usr/sap/NPL/SYS/profile

      DIR_LIBRARY=/usr/sap/NPL/SYS/exe/run

    }23:52:52 ## setRootDir() done

    {23:52:52 ## setDbUser() start: @=

    }23:52:52 ## setDbUser() done

    {23:52:52 ## setVHostArray() start

      _PROFILES=/usr/sap/NPL/SYS/profile/NPL_ASCS01_ubuntu1 /usr/sap/NPL/SYS/profile/NPL_DVEBMGS00_VHCALNPLCI /usr/sap/NPL/SYS/profile/NPL_DVEBMGS00_ubuntu1

      _nrProfiles=3

      {23:52:52 ## pushVHostsFromProfile() start: @=/usr/sap/NPL/SYS/profile/NPL_ASCS01_ubuntu1 /usr/sap/NPL/SYS/profile/NPL_DVEBMGS00_VHCALNPLCI /usr/sap/NPL/SYS/profile/NPL_DVEBMGS00_ubuntu1

       _DUMMY=NPL_ASCS01_ubuntu1

       _VHOST=ubuntu1

       {23:52:52 ## isVHostLocal() start: ubuntu1

        VHOST=ubuntu1

        _IS_LOCAL=0

       }23:52:54 ## isVHostLocal() done: 0

       _DUMMY=NPL_DVEBMGS00_VHCALNPLCI

       _VHOST=VHCALNPLCI

       {23:52:54 ## isVHostLocal() start: VHCALNPLCI

        VHOST=VHCALNPLCI

        _IS_LOCAL=0

       }23:52:54 ## isVHostLocal() done: 0

       _DUMMY=NPL_DVEBMGS00_ubuntu1

       _VHOST=ubuntu1

       {23:52:54 ## isVHostLocal() start: ubuntu1

        VHOST=ubuntu1

        _IS_LOCAL=0

       }23:52:55 ## isVHostLocal() done: 0

       VHOSTS=

      }23:52:55 ## pushVHostsFromProfile() done

      VHOSTS=

    }23:52:55 ## setVHostArray() done

    {23:52:55 ## set_instance() start

      NINST=

      INSTFOUND=0

      NINSTFOUND=0

      hasABAP=0

      hasJava=0

      hasSpecial=0

    }23:52:55 ## set_instance() done

    {23:52:55 ## setVHostArray() start

      _PROFILES=/usr/sap/NPL/SYS/profile/NPL_ASCS01_ubuntu1 /usr/sap/NPL/SYS/profile/NPL_DVEBMGS00_VHCALNPLCI /usr/sap/NPL/SYS/profile/NPL_DVEBMGS00_ubuntu1

      _nrProfiles=3

      {23:52:55 ## pushVHostsFromProfile() start: @=/usr/sap/NPL/SYS/profile/NPL_ASCS01_ubuntu1 /usr/sap/NPL/SYS/profile/NPL_DVEBMGS00_VHCALNPLCI /usr/sap/NPL/SYS/profile/NPL_DVEBMGS00_ubuntu1

       _DUMMY=NPL_ASCS01_ubuntu1

       _VHOST=ubuntu1

       {23:52:55 ## isVHostLocal() start: ubuntu1

        VHOST=ubuntu1

        _IS_LOCAL=0

       }23:52:57 ## isVHostLocal() done: 0

       _DUMMY=NPL_DVEBMGS00_VHCALNPLCI

       _VHOST=VHCALNPLCI

       {23:52:57 ## isVHostLocal() start: VHCALNPLCI

        VHOST=VHCALNPLCI

        _IS_LOCAL=0

       }23:52:57 ## isVHostLocal() done: 0

       _DUMMY=NPL_DVEBMGS00_ubuntu1

       _VHOST=ubuntu1

       {23:52:57 ## isVHostLocal() start: ubuntu1

        VHOST=ubuntu1

        _IS_LOCAL=0

       }23:52:59 ## isVHostLocal() done: 0

       VHOSTS=

      }23:52:59 ## pushVHostsFromProfile() done

      VHOSTS=

    }23:52:59 ## setVHostArray() done

    {23:52:59 ## set_instance() start

      NINST=

      INSTFOUND=0

      NINSTFOUND=0

      hasABAP=0

      hasJava=0

      hasSpecial=0

    }23:52:59 ## set_instance() done

    No instance profiles found

    Exit code 8″

    Anyone can help me please?

  • Hi,

    I’m running it for a long time with no issues. But since today, I simple cannot startsap. I logged into sybnpl and tried RUN_NPL and look what I found:


    Do you have any information if the Sybase license already expired (Oct 31 2016), of could be some thing else?

    IP and hostname didn’t changed. /etc/hosts file was checked.
    I also tried to dpkg-reconfigure locales

    Thank you!
    Flavio

  • Anybody knows how to solve it :         Assertion failed: Unable to generate a new password for database login sa if password is more than 30 length : to solve this problem start without using SAPINST_START_GUI
    Now my password is NexT123q but it still doesnt work

  •  

    Hi All,

    I am using ubuntu 16.04. When i am trying to install via ./install.sh -g or ./install.sh, i got error as shown in attached file. Coould you please advise me what needs to be done. Below is my hostfile setting

    127.0.0.1 localhost
    127.0.1.1 ubuntuabap

    # The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters

  • I was following this guide to install version 750. It is a great guide, the only issue I had was using a hostname of my own choosing. Only when I used the suggested one (vhcalnplci) did the server installation conclude successfully. Hope this helps somebody, cheers.