cancel
Showing results for 
Search instead for 
Did you mean: 

Installation of NPL failed error

Former Member

Hi ,

I am trying to install ABAP server on my system..but failing continuously(5 times)..

due to only one error…

“Installation of NPL failed .Please check log files in /tmp/sapinst_instdir..”

Please, can anybody let me know how to check this log files so that I can find the reason for installation failure.

I have downloaded ABAP 7.51SP02(Since SP01 has licence expired issue) still not able to installed.

I am using Win10..and installing ABAP on Oracle Virtualbox.

Please your help will be much appreciated..

Accepted Solutions (0)

Answers (13)

Answers (13)

Former Member

Hey, try to change your host file entry to: 10.0.2.15 vhcalnpli.dummy.nodomain vhcalnpli (you can see the correct syntax in your hostfile, it is <IP address> <FQDN> <short-hostname>). That helped me 🙂

You can also check my comment for further information at the Newbies Guide.

Greetz Christian

prashantptnk
Employee
Employee
0 Kudos

i tried the above steps, also downloaded and pasted the new licence file. but still i am getting the NPL installation failed error for NW7.51. Any help is appreciated.

Thanks

Prashant

Former Member

I tried to understand the logfile and the root cause might be that the database logons of sapsa and SAPSR3 are in too quick succession and the database in the isql64 command is not specified. This could be a timing issue which occurs not always and is something SAP has to check and to correct.

With this assumption I tried the installation with the "-g" option which provides the SAPINSTGUI and where you can interactively change the various settings. This requires a "working X environment" which is given with openSUSE 42.3 and that the DHCP-server provides a DNS domain name. I am running SAP in my local network and configured my router accordingly.

When you start "./install.sh -g" in the console URLs are provided which you can copy and paste into the Firefox browser on the VM (also there with openSUSE). You have to logon as root. First I got a page telling me that the plattform is not supported at all 😞

But ignoring this and pressing the Stop-Button in the Browser the console provides a second URL and I can proceed. I did not make any changes to the proposals. Only thing I changed was the time zone of the OS to UTC because this was a warning in the installation check.

When installation is running same error as before occurs 😞

But in the browser I have a chance to set another password for SAPSR3 with another URL is provided in the console. Even if I use the same one as before it ended with the successful installation and I could start SAP and logon with the GUI. It seems that this way resolved the timing issue.

It is solved for me now and hope and helps also others. Nevertheless I appreciate SAPs comments on my investigations and may be a smoother installation with the next version.

UweFetzer_se38
Active Contributor
  • Please login into the Linux Virtual Machine on the Virtualbox.
  • Go to the mentioned folder "CD /tmp/sapinst_instdir" and list the files with "LS"
  • The content of the file you can display with "CAT <filename>".

If you have installed a graphical user interface on you Linux you can of course browse the files with one of the file explorers.

Former Member
0 Kudos

Hi Uwe,

Thanks for your answer.

But I am still unable to locate this file from Linux shell(Please check the attached print screen).

I am having GUI installed on Linux , but cannot see the folder /tmp.

As it says"unable to locate said folder.As I tried it both with my normal user logon and "Root" user as well.

Please help.

Thanks in advance.linux-xterm.png

UweFetzer_se38
Active Contributor
0 Kudos

This is really strange.

But maybe it's the same problem like I had some years ago. I installed the system during the time, when the cleanup job of Linux deleted the tmp content.

Please have a look at the folder /etc/cron.daily. Is there a file called "tmpwatch"? Move the file to another folder and try again.

After the successful Installationen, don't forget to move the file back to the original folder.

fabianlupa
Contributor
0 Kudos

NW73 is a subdirectory so either use the full absolute path or a relative path with cd

Former Member
0 Kudos

linux-etc.pngHi Uwe,

I checked the /etc/cron.daily , but I did not find the "tmpwatch" file.

Yes, it is a very strange issue.

Could it be problem in OpenSuse version?

I am using 4.4.85-22-deafult version of OpenSuse 64-bit .

Thanks,
Pavan

Former Member
0 Kudos

Hi Fabian,

Would you be kind to let me exactly which path should I use with NW73?

Thanks,

Pavan

UweFetzer_se38
Active Contributor
0 Kudos

Can you please install again with the option "-g" (install.sh -g). It will start the Inst GUI, where you probably see more information on why the installation aborted.

See also "SAP AS ABAP 7.51 Developer Edition: FAQs"

Former Member
0 Kudos

I have the same error. Was the problem solved?

UweFetzer_se38
Active Contributor
0 Kudos

Hi Lu Lu,

which error? If you don't see the error message, please start the installation with "install.sh -g".

Former Member
0 Kudos

Hi Uwe Fetzer.

I tried to install with this option but I still have the same error:
“Installation of NPL failed .Please check log files in /tmp/sapinst_instdir for possible root cause.”

joao_medeiros
Explorer
0 Kudos

I'm having this problem in Ubunto 64.

Can someone help me?
Matt_Fraser
Active Contributor

Converted from Answer to Comment, as it's a "me too" comment, not an answer.

UweFetzer_se38
Active Contributor
0 Kudos

Just have seen that you used "cd /NW73" to go to the folder NW73. Please try again without the "/" -> just "cd NW73".

UweFetzer_se38
Active Contributor
0 Kudos

"Please check log files in /tmp/sapinst_instdir for possible root cause.”

Without the error messages in the logfiles we can't help you.

UweFetzer_se38
Active Contributor
0 Kudos

If you start the installation with the "Start GUI"-option you have to be within a graphical mode (a terminal within an X Window).

If you want to install the system just by using a terminal (just SSH), you can't use the GUI option.

joao_medeiros
Explorer
0 Kudos

I want to install the server in a virtual machine. But I will install "SAPGUI" on my main system,Windows 10. Am I not doing this correctly?

UweFetzer_se38
Active Contributor
0 Kudos

The system installation has its own "Installation GUI" (has nothing to do with SAPGUI).

There is a GUI mode and a "text only" mode.

joao_medeiros
Explorer
0 Kudos

How can I only execute text mode?
To install, I follow these steps:


"sudo chmod +x install.sh

sudo ./install.sh"

UweFetzer_se38
Active Contributor
0 Kudos

This is already the "text only" mode.

You may compare your installation steps with the "Newbies Guide: Installing ABAP AS 751 SP02 on Linux"

joao_medeiros
Explorer
0 Kudos

Okay, thanks, I'll try to install it this way.

ChristianHeck
Explorer
0 Kudos

I have the same error “Installation of NPL failed .Please check log files in /tmp/sapinst_instdir..”

Could it be possible, that the NPL installation fails because of a missind licence?

I have checked this page here to generate a new one, but it will required the hardware key, which I unfortuantely don't know.

https://go.support.sap.com/minisap/#/minisap

Thaaks for your help.

Christian

UweFetzer_se38
Active Contributor
0 Kudos

No, you enter the new license AFTER the installation (with transaction SLICENSE, see installation instructions).

Have you checked the log files already?

ChristianHeck
Explorer
0 Kudos

OK,

it has nothing to do with the license. I just figured out, that it is valid till end of March 2018 by doing this:

cat /sybase/NPL/SYSAM-2_0/licenses/SYBASE_ASE_TestDrive.lic
ChristianHeck
Explorer
0 Kudos

Hello Uwe,

after checking sapinst.log I was able to see the error reason.

It sais

The step DeleteLicense with step key .... was executed with status ERROR: Deleting SAP license failed, see output of logfile ..."dev_likey"

So I checked it, and it reported as followed

ERROR: -1 in function StartSelect (execute) [line 25488]
(21) [ZZZZZ] [SAP] [ASE ODBC Driver] .... WARNING - Fatal Error 823 occured.... Please note the error and time and contact a user with System Administrator (SA) authorization.
....
(208) [42000] [SAP] [ASE ODBC Driver] .... SVERS not found. Specifiy owner .objectname or use sp_help to check wether the object exists
....
sql statement is ==> SELECT VERSION FROM SVERS
....
SVERS does not exist on database

Can you forward this to development, or is there a simple solution for this.

Thanks

Christian

UweFetzer_se38
Active Contributor
0 Kudos

You've downloaded and installed the NW7.51 SP2 system from https://tools.hana.ondemand.com/#abap ?

The database license of the 7.50 version indeed expired already.

ChristianHeck
Explorer
0 Kudos

Hello,

yes, I have downloaded the latest version NW7.51 SP02.

I don't think the license has expired. I was able to read it, being valid till March 2018

cat /sybase/NPL/SYSAM-2_0/licenses/SYBASE_ASE_TestDrive.lic
UweFetzer_se38
Active Contributor
0 Kudos

Forwarded, but please don't expect an answer before Wednesday (Holiday tomorrow in D)

Former Member
0 Kudos

Hi,

"This is really strange.

But maybe it's the same problem like I had some years ago. I installed the system during the time, when the cleanup job of Linux deleted the tmp content.

Please have a look at the folder /etc/cron.daily. Is there a file called "tmpwatch"? Move the file to another folder and try again.

After the successful Installationen, don't forget to move the file back to the original folder"

I tried above .I moved the entire directory /cron.daily.to some other directory and it worked.and restarted installation.

SAP was installed.

But I am left with other problem:

When I am trying to login from SAP Gui I am getting below error.

"Connection to partner 127.0.0.1:sapdp00 broken ,

"conncetion reset by peer".

I checked "sapcontrol -nr 00 -function GetProcessList" in linux shell:

and below is the result:

please see screen shot;

Dispathcer is stopped.

can any body please let me know how to start dipatcher from Linux terminal?

or any other place.


Thanks,

Pavandisp.png

joao_medeiros
Explorer
0 Kudos

Hi, the same error appeared

I'm installing the version 7.50

UweFetzer_se38
Active Contributor

Hi Pavan,

the 7.51 installation works now? Same download? Great to hear.

Can you please open another question for this problem?

Thank you

Former Member
0 Kudos

I have used the recommendations, changed the license and continue with the same problem "NPL failed". I really do not know what else to do.

kyo_choi2
Participant
0 Kudos

Excellent. Thanks. I spent 3 days at least trying to re-install the 7.5; finally able to using your instruction. Thank you.

Former Member
0 Kudos
Former Member
0 Kudos

Hi,

I have the same problem as well as with the link, where to get new SYBASE_ASE_TestDrive.lic ?

Regards,

Aleh

Former Member
0 Kudos

Thimo, I am having this problem to install SAP Developer, and I want to do this steps than you said.

But the link to donwload ASE License i'ts doesn't working anymore, can you disponibilize this for us ?

Best Regarts

Felipe

robsen17
Member
0 Kudos

Hello,

i tried to install ABAP NW 7.51 SP2 totally new. So I have no Folder Sybase....

I have the same problem.

The system says

Step return modlib.jslib.caughtExeption

For me its over. I give up

0 Kudos

Hey there,

I had the same issue during the Installation of ABAP NW 7.50 and now with ABAP NW 7.51. So I tried a little bit and finally I solved that problem.

After the failed Installation( Installation of NPL failed..), try to Install again...maybe it solve the problem. If not try the following steps:

- Download the new ASE license -> klick (you can use the Firefox in your Virtual Maschine)

- Open the Terminal and type sudo -i to get root access.

- After that, type chmod -R 777 /sybase to get the write/read authorization for the sybase folder

- click on Activities, choose Files

- In the new window click on Other Locations->Computer->sybase->NPL->SYSAM-2_0->licenses

- Delete the SYBASE_ASE_TestDrive.lic file and copy the new downloaded ASE license in that folder. (copy&paste or drag&drop)

- Install again -> Installation of NPL success.

I know it's not the best way but it works for me 🙂

Greetz Thimo


Former Member
0 Kudos

Hi,

Download the new ASE license does not work for me. I am getting following message: "Share is no longer available; contact the owner if you need access". how can I handle it?

kyo_choi2
Participant
0 Kudos

Thanks. Finally able to re-install.

Former Member
0 Kudos

Has anyone fixed this issue?

julieplummer20
Product and Topic Expert
Product and Topic Expert
0 Kudos

Yes. Update your ASE license. If that fails, follow Norbert's instructions:

https://answers.sap.com/questions/322933/sap-nw-as-abap-750-sp2-install-issue.html

Best wishes Julie.

Former Member
0 Kudos

u fixed problem ?

Former Member
0 Kudos

for me it works that way

Former Member
0 Kudos

Same problem! sapinst.log says:

WARNING 2017-10-18 12:05:24.889 (root/sapinst) id=modlib.jslib.childAppReturn
Execution of the command "isql64 -w999 -USAPSR3 -Svhcalnplci:4901 -X" finished with return code 255. Output:
Password:
Msg 10513, Level 16, State 1:
Server 'NPL':
Temporary database based on specified binding could not be assigned. Since binding is hard, this results in a login failure.
Msg 4002, Level 14, State 1:
Server 'NPL':
Login failed.
CT-LIBRARY error:
ct_connect(): protocol specific layer: external error: The attempt to connect to the server failed.

See also here:

https://answers.sap.com/questions/322933/sap-nw-as-abap-750-sp2-install-issue.html

I checked the license, it is valid. I have latest download 7.51 SP2 on ASE 16.0

Nevertheless after the failure I was aber to log on the database with the isql64 comman and it worked supringly.

Made some investigations what binding in the context means and executed ASE sp_tempdb. Hardness of login SAPSR3 bound to database saptmpdb is HARD while for sapsa it is SOFT. And default database is tempdb and not saptempdb. According to the documentation of ASE this causes such an error, but I am not an ASE/ database expert.

Waiting for further hints/ resolution in these two threads now.