cancel
Showing results for 
Search instead for 
Did you mean: 

Netweaver 04 DEMO on SUSE

Former Member
0 Kudos

Hello,

I have received SAP Netweaver 04 DEMO and installed it on SuSE 9.

I installed SAP Netweaver and SAPGUI.

The next step was to get license.

I have requested it from SAP and received email with a key, but unfortuanatelly it does not match with the description on this page:

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6e64b3af-0e01-0010-f28b-b74cae56b7b8">SAP testdrive</a>

There was RPM package as described on this page.

I decided to use this command:

usr/sap/NW4/SYS/exe/run/saplicense -install

When I tried it for the first time, I have seen following error:

linux:~ # /usr/sap/NW4/SYS/exe/run/saplicense -install

      • SAPLICENSE (Release 640) ERROR ***

ERROR: Can not set DbSl trace function

DETAILS: DbSlControl(DBSL_CMD_IMP_FUNS_SET) failed with return code 20

RC-INFO: error loading dynamic db-library - check environment for:

dbms_type = <db-type> (e.g. ora)

DIR_LIBRARY = <path to db-dll> (e.g. /usr/sap/SID/SYS/exe/run)

LD_LIBRARY_PATH = <path do db and sap libs> (e.g. /oracle/SID/lib)

In the description I have found information, that MaxDB must be running, so I decided to start db. I have used following commands:

linux:~ # su - nw4adm

Directory: /sapmnt/home/nw4adm

nw4host:nw4adm 3> startsap db nw4host

no start profiles found

What did I wrong? Why there is no start profile defined? I have installed everything following SAP description and there where no errors.

Could anybody advise me what is wrong?

regards

Rafal

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I have solved part of the problem

I have found solution here:

http://listserv.sap.com/pipermail/linux.general/2006-July/004970.html

I just used following command:

ifconfig eth0:0 195.155.155.1

Now it works fine. I am able to start nw4host.

This was only part of my problem. After I started DB, I tried to enter sap licence using this command:

linux:~ # /usr/sap/NW4/SYS/exe/run/saplicense -install

but I receive following error:

      • SAPLICENSE (Release 640) ERROR ***

ERROR: Can not set DbSl trace function

DETAILS: DbSlControl(DBSL_CMD_IMP_FUNS_SET) failed with return code 20

RC-INFO: error loading dynamic db-library - check environment for:

dbms_type = <db-type> (e.g. ora)

DIR_LIBRARY = <path to db-dll> (e.g. /usr/sap/SID/SYS/exe/run)

LD_LIBRARY_PATH = <path do db and sap libs> (e.g. /oracle/SID/lib)

any suggestions?

regards

Rafal

Former Member
0 Kudos

Hi,

so far I am the only one who replies to my questions , but its ok. I should have done more search before I created new topic.

I have solved the issue with /usr/sap/NW4/SYS/exe/run/saplicense -install

The solution was very simple:

After I started the system I have to execute this command:

ifconfig eth0:0 195.155.155.1

log on as nw4adm using this command:

su - nw4adm

then I start NW4:

startsap nw4host

Afterwards I was able to execute:

/usr/sap/NW4/SYS/exe/run/saplicense -install

I successfully entered license key I have from SAP

There is one additional question I have wondering whether somebody can help.

As mentioned before I have to enter this command:

ifconfig eth0:0 195.155.155.1

before I can start NW4.

I don't know why description provided on this page:

<a href="http://listserv.sap.com/pipermail/linux.general/2004-October/004349.html">http://listserv.sap.com/pipermail/linux.general/2004-October/004349.html</a>

does not work.

Does anybody know the solution?

What do I have to change in system configuration, that I don't have to put ifconfig every time I reset the server.

Thank you in advance for your reply!

regards

Rafal

hannes_kuehnemund
Active Contributor
0 Kudos

Dear Rafal,

you can simplify all this by adding

#!/bin/sh
case "#!/bin/sh
case "$1" in
start)
ifconfig eth0:0 195.155.155.1
;;
stop)
ifconfig eth0:0 down
;;
*)
echo "usage: $0 {start|stop}"
;;
esac" in
start)
ifconfig eth0:0 195.155.155.1
;;
stop)
ifconfig eth0:0 down
;;
*)
echo "usage: [code]#!/bin/sh
case "$1" in
start)
ifconfig eth0:0 195.155.155.1
;;
stop)
ifconfig eth0:0 down
;;
*)
echo "usage: $0 {start|stop}"
;;
esac[/code] {start|stop}"
;;
esac

to

/etc/rc.d/sapnw4

Then make it executable

chmod +x /etc/rc.d/sapnw4

and link it to the runlevel folders by calling

ln -s /etc/rc.d/sapnw4 /etc/init.d/sapnw4
ln -s /etc/init.d/sapnw4 /etc/init.d/rc3.d/S99sapnw4
ln -s /etc/init.d/sapnw4 /etc/init.d/rc5.d/S99sapnw4

After rebooting, you should now have eth0:0 already configured.

Thanks

Hannes Kuehnemund

Former Member
0 Kudos

Hello Hannes,

I tested it and it works!

Thank you very much for your help!

regards

Rafal

Answers (0)