on 06-16-2009 6:01 PM
I'm trying now since a few hours to find out the cause of the above error.
I am installing a new Solaris 10 zone (as I did a hundred times before successfully). The installation starts nicely (as usual) but then fails just with
<...>
extracting: -r-xr-x--- 46999968 2009-05-11 17:08:39 pgm/slowknl
checking unpacked archive... ok
error occured while executing /sapdb/programs/bin/dbmcli -R /sapdb/BIQ/db inst_reg -k /sapdb/BIQ/db
/sapdb/programs/bin/dbmcli -R /sapdb/BIQ/db inst_reg -k /sapdb/BIQ/db: ERR
/sapdb/programs/bin/dbmcli -R /sapdb/BIQ/db inst_reg -k /sapdb/BIQ/db: -24913,ERR_SERVICEDB: Cannot regist
er service database instance for /sapdb/BIQ/db
installation exited abnormally at Tu, Jun 16, 2009 at 18:55:05
<...>
Users have been created as before, permissions are identical to other systems etc. I don't see a difference.
If I execute the same command as user root I'm getting the same error message.
What can be the problem?
Markus
Hello Markus,
1. Please update the thread with the output of the following commands as root user:
ls -l /etc/opt/sdb
ls -l /sapdb/data
ls -l /sapdb/data/config
/sapdb/programs/bin/xinstinfo BIQ
/sapdb/programs/bin/dbmcli db_enum -s
/sapdb/programs/bin/dbmcli -R /sapdb/BIQ/db inst_reg -k /sapdb/BIQ/db
ls -l /sapdb/data/wrk/dbmsrv*
2. Please check the files /sapdb/data/wrk/dbmsrv<u2026>.prt, /sapdb/data/wrk/dbmsrv<u2026>.err
& post additional information from those files.
Thank you & best regards, Natalia Khlopina
Edited by: Natalia Khlopina on Jun 16, 2009 10:53 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Natalia,
bash-3.00# ls -l
total 4
-rw-rw-r-- 1 maxdb maxdba 62 Jun 16 18:54 SAP_DBTech.ini
-rw-rw-rw- 1 maxdb maxdba 68 Jun 16 18:55 SAP_DBTech.ini_lock
bash-3.00# cat SAP_DBTech.ini_lock
bash-3.00# ls -l /etc/opt/sdb
-r--r--r-- 1 root sapinst 94 Jun 16 18:54 /etc/opt/sdb
bash-3.00# ls -l /sapdb/data
total 27
drwxrwxr-x 3 maxdb maxdba 5 Jun 16 18:55 config
drwxrwx--- 2 maxdb maxdba 2 Jun 16 18:54 dbspeed
drwxrwx--- 2 maxdb maxdba 2 Jun 16 18:54 diag
drwxrwxr-x 2 maxdb maxdba 2 Jun 16 18:54 fifo
drwxrwxr-x 2 maxdb maxdba 2 Jun 16 18:54 ipc
drwxrwxr-x 3 maxdb maxdba 3 Jun 16 18:54 pid
drwxrwx--- 2 maxdb maxdba 2 Jun 16 18:54 pipe
drwxrwxr-x 2 maxdb maxdba 2 Jun 16 18:54 ppid
drwxrwx--- 2 maxdb maxdba 5 Jun 16 18:55 wrk
bash-3.00# ls -l /sapdb/data/config/
total 7
-rw-r--r-- 1 maxdb maxdba 13 Jun 16 18:55 Databases.ini
-r--r--r-- 1 maxdb maxdba 53 Jun 16 18:55 Installations.ini
drwxr-xr-x 2 root sapinst 4 Jun 16 18:54 install
splitting in several answers, if more than 2.500 characters the formatting is getting los...
bash-3.00# /sapdb/programs/bin/xinstinfo BIQ
IndepData : /sapdb/data
IndepPrograms : /sapdb/programs
Installationpath of serverdb <BIQ> not found!
ERR 20010 RTE Could not open file /sapdb/data/config/BIQ for read, rc = 2
bash-3.00# /sapdb/programs/bin/dbmcli db_enum -s
OK
bash-3.00# /sapdb/programs/bin/dbmcli -R /sapdb/BIQ/db inst_reg -k /sapdb/BIQ/db
ERR
-24913,ERR_SERVICEDB: Cannot register service database instance for /sapdb/BIQ/db
> ls -l /sapdb/data/wrk/dbmsrv*
bash-3.00# ls -l /sapdb/data/wrk/dbmsrv*
-rw-rw---- 1 maxdb maxdba 0 Jun 16 18:55 /sapdb/data/wrk/dbmsrv_biqual.err
-rw-rw---- 1 maxdb maxdba 4253 Jun 16 20:41 /sapdb/data/wrk/dbmsrv_biqual.prt
> 2. Please check the files /sapdb/data/wrk/dbmsrv<u2026>.prt, /sapdb/data/wrk/dbmsrv<u2026>.err
> & post additional information from those files.
2009-06-16 20:41:08 0x00005350 INF 421 DBMSrv Command 'dbm_version' was executed since 2009-06-16
20:41:08.
2009-06-16 20:41:08 0x00005350 ERR -24580 DBMSrv ERR_COMMAND_FAILED: Command 'dbm_version' has ended
and failed with return code -24993.
0x00005350 ERR -24999 DBMSrv ERR_ERR: Common error
0x00005350 ERR -24772 DBMSrv ERR_REPLY_2MSG: Conversion of a reply into a messag
e list was unsuccessful
2009-06-16 20:41:08 0x00005350 INF 283 DBMSrv Command 'inst_reg -k /sapdb/BIQ/db ' is being executed.
2009-06-16 20:41:08 0x00005350 ERR -24913 DBMSrv ERR_SERVICEDB: Cannot register service database instance for .M760605
0x00005350 ERR -24832 DBMSrv ERR_SHMNOTAVAILABLE: Shared memory not available
0x00005350 ERR -24993 DBMSrv ERR_RTEEXT: Runtime environment error
0x00005350 ERR -24778 DBMSrv 1,could not get curr. dir:
0x00005350 ERR -24778 DBMSrv 13,Permission denied
2009-06-16 20:41:08 0x00005350 ERR -24580 DBMSrv ERR_COMMAND_FAILED: Command 'inst_reg' has ended an
d failed with return code -24913.
I should have added that this is a SAP installation (system copy approach) using sapinst so the call for the installation is generated by sapinst - so are the permissions of the directories.
All shared memory parameters are set in /etc/project and /etc/user_attr (according to note 724713).
Markus
bash-3.00# ls -l /etc/opt/sdb
-r--r--r-- 1 maxdb maxdba 94 Jun 16 18:54 /etc/opt/sdb
--> restarted installation (sapinst)
<...>
checking unpacked archive... ok
error occured while executing /sapdb/programs/bin/dbmcli -R /sapdb/BIQ/db inst_reg -k /sapdb/BIQ/db
/sapdb/programs/bin/dbmcli -R /sapdb/BIQ/db inst_reg -k /sapdb/BIQ/db: ERR
/sapdb/programs/bin/dbmcli -R /sapdb/BIQ/db inst_reg -k /sapdb/BIQ/db: -24913,ERR_SERVICEDB: Cannot register service database instance for /sapdb/BIQ/db
installation exited abnormally at Tu, Jun 16, 2009 at 20:52:07
2009-06-16 20:52:07 0x000057a5 INF 421 DBMSrv Command 'dbm_version' was executed since 2009-06-16 20:52:07.
2009-06-16 20:52:07 0x000057a5 ERR -24580 DBMSrv ERR_COMMAND_FAILED: Command 'dbm_version' has ended
and failed with return code -24993.
0x000057a5 ERR -24999 DBMSrv ERR_ERR: Common error
0x000057a5 ERR -24772 DBMSrv ERR_REPLY_2MSG: Conversion of a reply into a message list was unsuccessful
2009-06-16 20:52:07 0x000057a5 INF 283 DBMSrv Command 'inst_reg -k /sapdb/BIQ/db ' is being executed.
2009-06-16 20:52:07 0x000057a5 ERR -24913 DBMSrv ERR_SERVICEDB: Cannot register service database instance for .M760605
0x000057a5 ERR -24832 DBMSrv ERR_SHMNOTAVAILABLE: Shared memory not available
0x000057a5 ERR -24993 DBMSrv ERR_RTEEXT: Runtime environment error
0x000057a5 ERR -24778 DBMSrv 1,could not get curr. dir:
0x000057a5 ERR -24778 DBMSrv 13,Permission denied
2009-06-16 20:52:07 0x000057a5 ERR -24580 DBMSrv ERR_COMMAND_FAILED: Command 'inst_reg' has ended and failed with return code -24913.
0x000057a5 ERR -24913 DBMSrv ERR_SERVICEDB: Cannot register service database instance for /sapdb/BIQ/db
2009-06-16 20:52:07 0x000057a5 INF 226 DBMSrv DBM Server client disconnected: PID 22435 on computer
Found the problem:
biqual:sqdbiq 1% dbmcli dbm_version -s
RTE_CallSdbStarter(): Current working directory does not exist or path is too long, errno is 13
RTE_CallSdbStarter(): Cannot change to relative path /sapdb/BIQ/db/pgm
RTE_CallSdbStarter(): No absolute path for: /sapdb/BIQ/db/pgm/dbmsrv
Error! Connection failed to node (local) for database (no dbname):
Reading header from pipe:(0:NO ERROR(0)
The sqdbiq user was not permitted to read and step into /sapdb.
I have NO CLUE why sapinst did not change the permissions of that directory.
Neverless, it works now - thank you very much for your assistance and ideas what do check.
Markus
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.