cancel
Showing results for 
Search instead for 
Did you mean: 

startsap issues "unable to get the database running"

Former Member
0 Kudos

I Have finished my installation successfully but I cant get sap to start. Below is the error log file:

Starting SAP-Collector Daemon

-


21:33:28 14.10.2005 LOG: Effective User Id is root

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

  • This is Saposcol Version COLL 20.87 640 - V1.12 for Linux

  • Usage: saposcol -l: Start OS Collector

  • saposcol -k: Stop OS Collector

  • saposcol -d: OS Collector Dialog Mode

  • saposcol -s: OS Collector Status

  • The OS Collector (PID 18140) is already running .....

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

saposcol already running

Running /usr/sap/A5P/SYS/exe/run/startdb

Trying to start A5P database ...

Log file: /home/a5padm/startdb.log

/usr/sap/A5P/SYS/exe/run/startdb: Terminating with error code 12

DB startup failed

=======================================================

-


Fri Oct 14 21:33:29 EDT 2005

starting database

SQL*Plus: Release 9.2.0.1.0 - Production on Fri Oct 14 21:33:29 2005

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

ERROR:

ORA-09925: Unable to create audit trail file

Linux Error: 13: Permission denied

Additional information: 9925

ORA-09925: Unable to create audit trail file

Linux Error: 13: Permission denied

Additional information: 9925

ORA-09925: Unable to create audit trail file

Linux Error: 13: Permission denied

Additional information: 9925

-


Fri Oct 14 21:33:34 EDT 2005

Connect to the database to verify, that the database is now open

R3trans check finished with return code: 12

      • ERROR: Startup of database failed

Notify Database Administrator.

/usr/sap/A5P/SYS/exe/run/startdb: Terminating with error code 12

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Directory permision problem I think.

Do a:

chown -R oraSID:dba /oracle/SID/920_64/rdbms/audit

Former Member
0 Kudos

Hi Adriaan,

My permissions seem to fine

Any other idea?

Thanks,

Damien

Former Member
0 Kudos

Please logon to the OS as the ora<sid> user and try to start Oracle directly using sql plus / other database tools. Apart from other files, also check the Oracle alert log file. Only when the database opens, then try starting from SAP tools.

The previous recommendation for searching OSS notes for the SQL error is valid. Also check to see what your passwords are. I also noticed that it tried to reconnect using the default password.

Is your OPS$ user setup valid in Oracle?

Regards,

Sanket

Former Member
0 Kudos

Thanks All!

I managed to get the database and R3 started by renaming the oraclient directory to its default name. I had changed it because of some errors I had during the installation.

I can dpmonn, gwmon and all seems to be ok.

I am unable to get a sagui connection to my appserver

host name: apmls11 msserver: sapmsA5P dp running on port 3200. Tried to connect to the server directly and it times out.

I have opened the ports on my router. just wondering if I should enable incoming connections for those ports on my YAST firewall at the OS level! should I?

Any help would be greatly appreciated

Thanks,

Damien

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

try to run 'R3trans -x' and examine the created trans.log file in the current directory for further messages.

Regards

Juergen

Former Member
0 Kudos

Hi Jurgen,

here is the extract of the trans.log file:

a5padm> more trans.log

4 ETW000 /usr/sap/A5P/SYS/exe/run/R3trans version 6.09 (release 640 - 26.10.04 - 15:45:42).

4 ETW000 ===============================================

4 ETW000

4 ETW000 date&time : 15.10.2005 - 12:40:28

4 ETW000 control file: <no ctrlfile>

4 ETW000 R3trans was called as follows: /usr/sap/A5P/SYS/exe/run/R3trans -x

4 ETW000 trace at level 2 opened for a given file pointer

4 ETW000 [dev trc ,00000] Sat Oct 15 12:40:28 2005 105 0.000105

4 ETW000 [dev trc ,00000] db_con_init called 21 0.000126

4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 56 0.000182

4 ETW000 [dev trc ,00000] Loading DB library '/usr/sap/A5P/SYS/exe/run/dboraslib.so' ...

4 ETW000 39 0.000221

4 ETW000 [dev trc ,00000] load shared library (/usr/sap/A5P/SYS/exe/run/dboraslib.so), hdl 0

4 ETW000 17302 0.017523

4 ETW000 [dev trc ,00000] Library '/usr/sap/A5P/SYS/exe/run/dboraslib.so' loaded

4 ETW000 31 0.017554

4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library /usr/sap/A5P/SYS/exe/run/dboraslib.so

4 ETW000 48 0.017602

4 ETW000 [dev trc ,00000] Version of '/usr/sap/A5P/SYS/exe/run/dboraslib.so' is "640.00", patchlevel (0.32)

4 ETW000 75 0.017677

4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library /usr/sap/A5P/SYS/exe/run/dboraslib.so

4 ETW000 28 0.017705

4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library /usr/sap/A5P/SYS/exe/run/dboraslib.so

4 ETW000 46 0.017751

4 ETW000 [dev trc ,00000] New connection 0 created 31 0.017782

4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255

, occ = NO

4 ETW000 35 0.017817

4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 29 0.017846

4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse:

4 ETW000 28 0.017874

4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255,

occ = NO

4 ETW000 31 0.017905

4 ETW000 [dev trc ,00000] Got ORACLE_HOME=/oracle/A5P/920_32 from environment

4 ETW000 332 0.018237

4 ETW000 [dev trc ,00000] -->oci_initialize 26 0.018263

4 ETW000 [dev trc ,00000] Client NLS settings: AMERICAN_AMERICA.US7ASCII 1584 0.019847

4 ETW000 [dev trc ,00000] Logon as OPS$-user to get SAPA5P's password 46 0.019893

4 ETW000 [dev trc ,00000] Connecting as /@A5P on connection 0 ... 23 0.019916

4 ETW000 [dev trc ,00000] Allocating service context handle 31 0.019947

4 ETW000 [dev trc ,00000] Allocating server context handle 26 0.019973

4 ETW000 [dev trc ,00000] Attaching to DB Server A5P (con_hdl=0,svchp=0x8bf4fbc,svrhp=0x8bf5aa4)

4 ETW000 75 0.020048

4 ETW000 [dev trc ,00000] Assigning server context 0x8bf5aa4 to service context 0x8bf4fbc

4 ETW000 18344 0.038392

4 ETW000 [dev trc ,00000] Allocating user session handle 63 0.038455

4 ETW000 [dev trc ,00000] Starting user session (con_hdl=0,svchp=0x8bf4fbc,srvhp=0x8bf5aa4,usrhp=0x8bfe604)

4 ETW000 41 0.038496

4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 12705

4 ETW000 3291 0.041787

4 ETW000 [dev trc ,00000] server_detach(con_hdl=0,stale=1,svrhp=0x8bf5aa4)

4 ETW000 31 0.041818

4 ETW000 [dev trc ,00000] Detaching from DB Server (con_hdl=0,svchp=0x8bf4fbc,srvhp=0x8bf5aa4)

4 ETW000 29 0.041847

4 ETW000 [dev trc ,00000] Deallocating server context handle 0x8bf5aa4 292 0.042139

4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '12705'

4 ETW000 56 0.042195

4 ETW000 [dev trc ,00000] Try to connect with default password 37 0.042232

4 ETW000 [dev trc ,00000] Connecting as SAPA5P/<pwd>@A5P on connection 0 ...

4 ETW000 31 0.042263

4 ETW000 [dev trc ,00000] Allocating server context handle 23 0.042286

4 ETW000 [dev trc ,00000] Attaching to DB Server A5P (con_hdl=0,svchp=0x8bf4fbc,svrhp=0x8bf5aa4)

4 ETW000 47 0.042333

4 ETW000 [dev trc ,00000] Assigning server context 0x8bf5aa4 to service context 0x8bf4fbc

4 ETW000 17507 0.059840

4 ETW000 [dev trc ,00000] Assigning username to user session 0x8bfe604 31 0.059871

4 ETW000 [dev trc ,00000] Assigning password to user session 0x8bfe604 32 0.059903

4 ETW000 [dev trc ,00000] Starting user session (con_hdl=0,svchp=0x8bf4fbc,srvhp=0x8bf5aa4,usrhp=0x8bfe604)

4 ETW000 30 0.059933

4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 12705

4 ETW000 5903 0.065836

4 ETW000 [dev trc ,00000] server_detach(con_hdl=0,stale=1,svrhp=0x8bf5aa4)

4 ETW000 32 0.065868

4 ETW000 [dev trc ,00000] Detaching from DB Server (con_hdl=0,svchp=0x8bf4fbc,srvhp=0x8bf5aa4)

4 ETW000 29 0.065897

4 ETW000 [dev trc ,00000] Deallocating server context handle 0x8bf5aa4 188 0.066085

4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '12705'

4 ETW000 41 0.066126

4 ETW000 [dblink ,00419] ***LOG BY2=>sql error 12705 performing CON [dblink#1 @ 419]

4 ETW000 70 0.066196

4 ETW000 [dblink ,00419] ***LOG BY0=>ORA-12705: invalid or unknown NLS parameter value specified [dblink#1 @ 419]

4 ETW000 32 0.066228

2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'A5P'"

Former Member
0 Kudos

Hi Damien,

seems that you have a NLS-Problem. As you can see in the log file there is an ORA-12705 error.

Goto the SAP Service Marketplace and search for notes containing ORA-12705. Check these notes (e.g. 592657, etc.)

Regards

Juergen