cancel
Showing results for 
Search instead for 
Did you mean: 

Starting NW2004s preview on Ubuntu

Former Member
0 Kudos

Hi,

I have installed the NW200s preview on my Ubuntu 7.10 system. But i've problem to start the DB, i receive the following error message :

n4shost:n4sadm 42> pg startdb.log

-


Thu Dec 2 17:52:22 CET 2010

LOGFILE FOR STARTING DATABASE

Trying to start database ...

-


Thu Dec 2 17:52:22 CET 2010

Checking required environment variables

SAPSYSTEMNAME is >N4S<

Start database with xuserkey >c<

-


Thu Dec 2 17:52:22 CET 2010

Connect to the database to check the database state

dbmcli: connect check finished with return code: 0

Database not available

-


Thu Dec 2 17:52:22 CET 2010

Starting XServer

12916 XSERVER Found other running x_server with version 'X64/LINUX 7.6.00 Build 018-123-119-055'

12902 XSERVER started, 'already...'

-


Thu Dec 2 17:52:22 CET 2010

Starting database

Starting Database Instance...

Error! XUser not found!

Opening Database...

Error! XUser not found!

-


Thu Dec 2 17:52:22 CET 2010

Connect to the database to verify the database is now open

dbmcli check finished with return code: 0

Database start failed

Any idee about my problem ?

Kind regards,

Pierre

Accepted Solutions (1)

Accepted Solutions (1)

markus_doehr2
Active Contributor
0 Kudos

check with

xuser list

if there are any "shortcuts" for the users created.

--

Markus

Former Member
0 Kudos

Hi Markus,

Thanks for your fast response please find below the response on your command :

xuser list

n4shost:n4sadm 5>

No shortcuts appear .

Kind regards,

Pierre

markus_doehr2
Active Contributor
0 Kudos

Try the following command:

xuser -U DEFAULT -u sapn4s,sap -d N4S -n n4shost set

Then try to execute

R3trans -d

--

Markus

Former Member
0 Kudos

Markus,

See the result :

n4shost:n4sadm 10> xuser list

-


XUSER Entry 1

-


Key :DEFAULT

Username :SAPN4S

UsernameUCS2:S.A.P.N.4.S. . . . . . . . . . . . . . . . . . . . . . . . . . .

Password :?????????

PasswordUCS2:?????????

Dbname :N4S

Nodename :n4shost

Sqlmode :<unspecified>

Cachelimit :-1

Timeout :-1

Isolation :-1

Charset :<unspecified>

n4shost:n4sadm 11> R"^?

Unmatched ".

n4shost:n4sadm 12> R3trans -d

This is R3trans version 6.13 (release 700 - 20.02.06 - 16:15:00).

unicode enabled version

2EETW169 no connect possible: "DBMS = ADABAS D --- DBNAME = ''"

R3trans finished (0012).

markus_doehr2
Active Contributor
0 Kudos

The password for the user sapn4s seems to be wrong... Long ago, that I installed the preview, did you give a password during the installation?

--

Markus

Former Member
0 Kudos

The only password that i give during the installation was the password for the unix users. But nothing for the DB

Former Member
0 Kudos

If you managed the installation can you please give an detailed incstruction, for I also wanna try with unbuntu feisty cause I hate SuSE and SuSE hates my laptop

hannes_kuehnemund
Active Contributor
0 Kudos

Dear Pierre,

grep for 'xuser' in the install.sh, and execute the steps again:


cd /media/dvd
grep xuser install.sh
ERR_create_xuser_failed=9
        su -c "/sapdb/programs/bin/xuser -U DEFAULT -u sapn4s,sapn4sadm -d N4S -n n4shost -S SAPR3 -t 0 -I 0 set" -l n4sadm >/dev/null 2>&1
        su -c "/sapdb/programs/bin/xuser -U c -u control,sapn4sadm -d N4S -n n4shost -S SAPR3 -t 0 -I 0 set" -l n4sadm >/dev/null 2>&1
        su -c "/sapdb/programs/bin/xuser -U c_J2EE -u control,sapn4sadm -d N4S -n n4shost -S SAPR3 -t 0 -I 0 set" -l n4sadm >/dev/null 2>&1
        su -c "/sapdb/programs/bin/xuser -U w -u superdba,sapn4sadm -d N4S -n n4shost -S SAPR3 -t 0 -I 0 set" -l n4sadm >/dev/null 2>&1

Just execute the last four commands manually as user root. You may want to remove the '>/dev/null 2>&1' setting so see what is going one there.

Do you have the compat-libstdc++ package installed? You may need the libstdc++.so.5 for MaxDB to work properly ...

Thanks,

Hannes

Answers (0)