cancel
Showing results for 
Search instead for 
Did you mean: 

SAP not starting

former_member190251
Participant
0 Kudos

Hi All,

SAP is not starting up, on check I am getting the below errors. Please let me know incase of any suggestions.

R3trans:

C:\>R3trans -d

This is R3trans version 6.05 (release 46D - 30.09.03 - 16:30:42).

R3trans finished (0000).

Dev_W0 log:

---------------------------------------------------

trc file: "dev_w0", trc level: 1, release: "46D"

---------------------------------------------------

*

*  ACTIVE TRACE LEVEL           1

*  ACTIVE TRACE COMPONENTS      all, M

*

B  

B Mon Jan 27 16:52:42 2014

B  create_con (con_name=R/3)

B  Loading DB library 'K:\usr\sap\NEP\sys\exe\run\dboraslib.dll' ...

B  Library 'K:\usr\sap\NEP\sys\exe\run\dboraslib.dll' loaded

B  Version of library 'K:\usr\sap\NEP\sys\exe\run\dboraslib.dll' is "46D.00", patchlevel (0.1663)

B  New connection 0 created

M  relno      4640

M  patchlevel 0

M  patchno    1674

M  intno      0

M  pid        10836

M  

M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 10836) [dpxxdisp.c   958]

I  MtxInit: -2 0 0

X  EmInit: MmSetImplementation( 2 ).

X  <ES> client 0 initializing ....

X  Using implementation std

M  <ES> Memory Reset enabled

X  ES initialized.

M  ThSysUsrCheck: clear T0

M  calling db_connect ...

C  Got ORACLE_HOME=J:\oracle\NEP\102 from environment

C  Got TNS_ADMIN=\\ampsv04308dev\SAPMNT\NEP\sys\profile\oracle from environment

C  Got NLS_LANG=AMERICAN_AMERICA.WE8DEC from environment

C  Logon as OPS$-user to get SAPR3's password

C  Connecting as /@NEP on connection 0 ...

C  

C Mon Jan 27 16:52:43 2014

C  *** ERROR => OCI-call 'olog' failed: rc = 1017

[dboci.c      2435]

C  *** ERROR => CONNECT failed with sql error '1017'

[dboci.c      7003]

C  Try to connect with default password

C  Connecting as SAPR3/<pwd>@NEP on connection 0 ...

C  

C Mon Jan 27 16:52:44 2014

C  *** ERROR => OCI-call 'olog' failed: rc = 1017

[dboci.c      2435]

C  *** ERROR => CONNECT failed with sql error '1017'

[dboci.c      7003]

C  Got TNS_ADMIN=\\ampsv04308dev\SAPMNT\NEP\sys\profile\oracle from environment

C  Got NLS_LANG=AMERICAN_AMERICA.WE8DEC from environment

C  Logon as OPS$-user to get SAPR3's password

C  Connecting as /@NEP on connection 0 ...

C  

C Mon Jan 27 16:52:45 2014

C  *** ERROR => OCI-call 'olog' failed: rc = 1017

[dboci.c      2435]

C  *** ERROR => CONNECT failed with sql error '1017'

[dboci.c      7003]

C  Try to connect with default password

C  Connecting as SAPR3/<pwd>@NEP on connection 0 ...

C  *** ERROR => OCI-call 'olog' failed: rc = 1017

[dboci.c      2435]

C  *** ERROR => CONNECT failed with sql error '1017'

[dboci.c      7003]

B  ***LOG BY2=> sql error 1017   performing CON [dbsh    0707 ]

B  ***LOG BY0=>  [dbsh    0707 ]

B  ***LOG BY2=> sql error 1017   performing CON [dblink  0627 ]

B  ***LOG BY0=>  [dblink  0627 ]

M  ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c   1124]

M  in_ThErrHandle: 1

M  *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3) [thxxhead.c   8076]

M  

M  Info for wp 0

M  

M    stat = 4

M    reqtype = 1

M    act_reqtype = -1

M    tid = -1

M    mode = 255

M    len = -1

M    rq_id = -1

M    rq_source = 255

M    last_tid = 0

M    last_mode = 0

M    int_checked_resource = 0

M    ext_checked_resource = 0

M    report = >                                        <

M    action = 0

M    tab_name = >                              <

M  

M  *****************************************************************************

M  *

M  *  LOCATION    SAP-Server ampsv04308dev_NEP_10 on host ampsv04308dev (wp 0)

M  *  ERROR       tskh_init: db_connect

M  *

M  *  TIME        Mon Jan 27 16:52:45 2014

M  *  RELEASE     46D

M  *  COMPONENT   Taskhandler

M  *  VERSION     1

M  *  RC          13

M  *  MODULE      thxxhead.c

M  *  LINE        8170

M  *  COUNTER     1

M  *

M  *****************************************************************************

M  

M  Entering ThSetStatError

M  call ThrShutDown (1) ...

M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 10836) [dpnttool.c   301]

DBA_USER:

SQL> select username,account_status from dba_users;

USERNAME                       ACCOUNT_STATUS

------------------------------ ------------------------

OPS$NEPADM                               OPEN

TIVOLI                                               OPEN

OUTLN                                              OPEN

OPS$ZA\AMP043NEPADM            OPEN

DBSNMP                                                 OPEN

OPS$AMPSV04308DEV\NEPADM       OPEN

OPS$ZA\AMPSVC-043NEP           OPEN

SAPR3                                                        OPEN

OPS$AMPSV04308DEV\SAPSERVICER3      OPEN

OPS$ampsv04308dev\nepadm       OPEN

SYS                                                          OPEN

USERNAME                       ACCOUNT_STATUS

------------------------------ ------------------------

SYSTEM                         OPEN

TSMSYS                         EXPIRED

DIP                            EXPIRED & LOCKED

ORACLE_OCM                     EXPIRED & LOCKED

15 rows selected.

Accepted Solutions (0)

Answers (5)

Answers (5)

Girwar
Participant
0 Kudos

Most likely this is issue with the OPS$. Check various OSS notes recommended above and available in service market place.

As suggested by Ashutosh Chaturvedi follow the Note 400241 - Problems with ops$ or sapr3 connect to Oracle

Also check 1576837 - ORA-01017: invalid username/password;

Also, dig in ORACLE/<SID>/SAPTRACE/USERTRACE and other Dev_Disp and Message server to get more relevant information.


Former Member
0 Kudos

Hi,

This may be a problem with Database, so dispatcher is not restarted.

Make copy of srv file from D:\usr\sap\SMP\DVEBMGS<Instance NUMBER>>\exe

and restart the server.

Regards,

Kiran Kumar

Former Member
0 Kudos

Hi,

It seems you changed the password directly from Oracle (of your schema owner) which is causing to this.

Disable the password parameters (if configured at database) -->

Change the password using brconnect (as mentioned by Rishi) -->

Check the database connectivity using R3trans -d ->

Post the trans.log and dev_w0 log, if issue still exists.

*ORA 1017 key word gives you hundreds of links in SDN/Google.

Regards,

Nick Loy

Former Member
0 Kudos

Hi Subbu,

Its clear from your log that DB is not able to connect.

Most likely the issue is with password.

Check with the SAP Note 556232 - Environment settings for R/3/Oracle on Windows.

Also, as it has been suggested above, check 400241 - Problems with ops$ or sapr3 connect to Oracle.

Please let us know if the issue is not resolved yet.

Regards,

Sujit.

Former Member
0 Kudos

Hi Subbu

Please ensure that you have maintained the password like this :

brconnect -u / -f chpass -o SAPR3 -p <Password>


Also can you confirm on the following :


a) R3trans -d  output ? 

b) when you issue startsap ---> what is the output in the dev_disp  and dev_ms files.


Thanks

Rishi

former_member185239
Active Contributor
0 Kudos

Hi Subbu,

followed the Note 400241 - Problems with ops$ or sapr3 connect to Oracle

Also paste the trans.log file

Follow the blog written by Juan Reyes

http://scn.sap.com/community/netweaver-administrator/blog/2013/06/20/logical-basic-abap-system-start...

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Dear Subbu,

Have you changed the schema owner password(SAPR3).Let us know.

Regards

Maruthi