cancel
Showing results for 
Search instead for 
Did you mean: 

System refresh

Former Member
0 Kudos

Hi,

I have refresh my QAS from PRD. Now database is up & R3trans -d is finished with returned code 000.

Now when i am trying to start sap with command startsap ,iam getting an error no start profiles found

:qasadm 53> R3trans -d
This is R3trans version 6.13 (release 640 - 10.07.07 - 13:48:00).
R3trans finished (0000).
:qasadm 54> startsap
no start profiles found
:qasadm 55>

I am working on SAP ECC 5 , with oracle DB & hp- unix .

thaks & Regards

Rudra

Accepted Solutions (1)

Accepted Solutions (1)

former_member185031
Active Contributor
0 Kudos

As the message says itself, check the profile exist or not. try to start sap with profile name.

cd /sapmnt/SID/profile

startsap profilename

Regards,

Subhash

Former Member
0 Kudos

Hi,

when i give command startsap qasmj than it start the sap.

:

qasadm 29> startsap qasmj

Checking QAS Database

-


ABAP Database is not available via R3trans

Starting SAP-Collector Daemon

-


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

  • This is Saposcol Version COLL 20.95 640 - V2.7.0 2008-03-12 HP-UX IA64

  • 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 6635) is already running .....

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

saposcol already running

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

Trying to start QAS database ...

Log file: /home/qasadm/startdb.log

QAS database started

/usr/sap/QAS/SYS/exe/run/startdb completed successfully

Checking QAS Database

-


ABAP Database is running

Starting SAP Instance DVEBMGS00

-


Startup-Log is written to /home/qasadm/startsap_DVEBMGS00.log

startede on host qasmj

startedhost qasmj

Starting SAP Instance DVEBMGS01

-


Startup-Log is written to /home/qasadm/startsap_DVEBMGS01.log

startede on host qasmj

:qasadm 30> stopsap name=QAS nr=01 sapdiahost=qasmj

no start profiles found

:qasadm 31>

But when i am trying to connect from gui than i recive an error ,partner not reached to host(IP.sapdp00)

this is my dev_w0 log

-


trc file: "dev_w0", trc level: 1, release: "640"

-


*

  • ACTIVE TRACE LEVEL 1

  • ACTIVE TRACE COMPONENTS all, M

*

M sysno 00

M sid QAS

M systemid 274 (HP (IA-64) with HP-UX)

M relno 6400

M patchlevel 0

M patchno 247

M intno 20020600

M make: single threaded, ASCII, 64 bit

M pid 8825

M

M

M Sat May 9 20:17:59 2009

M ***LOG Q01=> tskh_init, WPStart (Workproc 0 1 8825) [thxxhead.c 1145]

M calling db_connect ...

C Got ORACLE_HOME=/oracle/QAS/920_64 from environment

C got NLS_LANG='AMERICAN_AMERICA.WE8DEC' from environment

C Client NLS settings: AMERICAN_AMERICA.WE8DEC

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

C Connecting as /@QAS on connection 0 (nls_hdl 0) ... (dbsl 640 070308)

C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch

C 0 WE8DEC 1 6000000002a8f250 6000000002a98560 6000000002a97ef8

C Attaching to DB Server QAS (con_hdl=0,svchp=6000000002a97e28,srvhp=6000000002a9a328)

C Starting user session (con_hdl=0,svchp=6000000002a97e28,srvhp=6000000002a9a328,usrhp=6000000002aa3dc0)

C Now '/@QAS' is connected: con_hdl=0, nls_hdl=0, session_id=9.

C *** ERROR => ORA-1403 when accessing table SAPUSER

[dbsloci.c 11766]

C Disconnecting from connection 0 ...

C Close user session (con_hdl=0,svchp=6000000002a97e28,usrhp=6000000002aa3dc0)

C Now I'm disconnected from ORACLE

C Try to connect with default password

C Connecting as SAPPRD/<pwd>@QAS on connection 0 (nls_hdl 0) ... (dbsl 640 070308)

C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch

C 0 WE8DEC 1 6000000002a8f250 6000000002a98560 6000000002a97ef8

C Starting user session (con_hdl=0,svchp=6000000002a97e28,srvhp=6000000002a9a328,usrhp=6000000002aa3dc0)

C Now 'SAPPRD/<pwd>@QAS' is connected: con_hdl=0, nls_hdl=0, session_id=9.

C Database NLS settings: AMERICAN_AMERICA.WE8DEC

C DB instance QAS is running on qasmj

with ORACLE version 9.2.0.6.0 since MAY 09, 2009, 20:17:45

B Connection 0 opened (DBSL handle 0)

B Wp Hdl ConName ConId ConState TX PRM RCT TIM MAX OPT Date Time DBHost

B 000 000 R/3 000000000 ACTIVE NO YES NO 000 255 255 20090509 201759 qasmj

M db_connect o.k.

M ICT: exclude compression: .zip,.cs,.rar,.arj,.z,.gz,.tar,.lzh,.cab,.hqx,.ace,.jar,.ear,.war,.css,.pdf,.js,.gzip,.uue,.bz2,.iso,.sda,.sar,.gif

M ***LOG Q0I=> NiPGetHostByName: hostname 'qasmj

' not found: gethostbyname [niuxi.c 329]

M *** ERROR => ThSetGwParam : NiHostToAddr qasmj

failed [thxxhead.c 17229]

M *** ERROR => ThIPCInit: ThProfileRead [thxxhead.c 1944]

M ***LOG R19=> tskh_init, ThIPCInit ( TSKH-IPC-000001) [thxxhead.c 1366]

M in_ThErrHandle: 1

M *** ERROR => tskh_init: ThIPCInit (step 1, th_errno 17, action 3, level 1) [thxxhead.c 9708]

M

M Info for wp 0

M

M stat = 4

M reqtype = 1

M act_reqtype = -1

M rq_info = 0

M tid = -1

M mode = 255

M len = -1

M rq_id = 65535

M rq_source = 255

M last_tid = 0

M last_mode = 0

M int_checked_resource(RFC) = 0

M ext_checked_resource(RFC) = 0

M int_checked_resource(HTTP) = 0

M ext_checked_resource(HTTP) = 0

M report = > <

M action = 0

M tab_name = > <

M PfStatDisconnect: disconnect statistics

M Entering TH_CALLHOOKS

M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP

M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 730]

M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 255]

M Entering ThSetStatError

M Entering ThReadDetachMode

M call ThrShutDown (1)...

M ***LOG Q02=> wp_halt, WPStop (Workproc 0 8825) [dpuxtool.c 318]

 *My dev_disp log*

----


Edited by: rudra singh on May 10, 2009 8:57 AM

Former Member
0 Kudos

It seems that OPS$ mechanism is not working

400241 Problems with ops$ or sapr3 connect to Oracle

Note 534765 - db connect fails because of wrong db schema in environment

Bhudev

Former Member
0 Kudos

Hi,

when i am trying to set enviornment variable using vi editor than i am getting the following o/p.

:qasadm 38> vi .dbenv_qasmj.csh
a24y0Cs1A".dbenv_qasmj.csh" 140 lines, 4110 characters a0y0C# @(#) $Id: //bc/640
-2/src/ins/SAPINST/impl/tpls/ora/ind/DBENV.CSH#6 $a1y0C# Oracle RDBMS Environmen
setenv NLS_LANG3SEema  AMERICAN_AMERICA.WE8DECa0y0Ca24y0C".dbenv_qasmj.csh" 140
lines, 4110 charactersa0y0C

I am working on HP-Unix.

Thanks & Regards

Rudra

Former Member
0 Kudos

Hi

I have checked enviornment variable is set correctly.

I am pasting stderr log here

stderr1

5434) New Child Process created.
(5434) Starting local Command:
 Command:  ms.sapQAS_DVEBMGS00
           pf=/usr/sap/QAS/SYS/profile/QAS_DVEBMGS00_qasmj
***
*** MSG_SERVER died => main: MsSInit

stderr2

(5435) New Child Process created.
(5435) Starting local Command:
 Command:  dw.sapQAS_DVEBMGS00
           pf=/usr/sap/QAS/SYS/profile/QAS_DVEBMGS00_qasmj

***
*** work process W2 died => tskh_init: ThIPCInit

***
*** work process W1 died => tskh_init: ThIPCInit

***
*** work process W0 died => tskh_init: ThIPCInit

***
*** work process W3 died => tskh_init: ThIPCInit

***
*** work process W4 died => tskh_init: ThIPCInit

***
*** work process W5 died => tskh_init: ThIPCInit

***
*** work process W6 died => tskh_init: ThIPCInit

***
*** work process W7 died => tskh_init: ThIPCInit

***
*** DISPATCHER EMERGENCY SHUTDOWN => DpWPCheck: no more work processes
*** ICM up and operational (pid: 5439) ***
Shutdown ICM server ...............
*** ICM shutdown completed (pid: 5439) ***

stderr3

(

5436) New Child Process created.
(5436) Starting local Command:
 Command:  co.sapQAS_DVEBMGS00
           -F
           pf=/usr/sap/QAS/SYS/profile/QAS_DVEBMGS00_qasmj

stderr4

5437) New Child Process created.
(5437) Starting local Command:
 Command:  se.sapQAS_DVEBMGS00
           -F
           pf=/usr/sap/QAS/SYS/profile/QAS_DVEBMGS00_qasmj

Former Member
0 Kudos

Hi,

Please also check the entries in services file, entry in host file and also check the SWAP Space configured.

Please make sure that host and services files should have atleast 644 permissions.

With Regards,

Saurabh

Former Member
0 Kudos

Hi Rudra,

Please check the permission of your profile directory.

make it full permission like $chmod 777 /usr/sap/SYS/profile

and check the owner for that directory.

Thanks,

Sudip,

former_member204746
Active Contributor
0 Kudos

Rudra,

you must adapt the TERM variable to a proper value. Are you connected directly on the console? are you using a terminal emulator? If so, what model of terminal is it emulating?

Former Member
0 Kudos

Hi,

Thanks all of you for help.

I have resolved the issue. There was problem in DNS setting\

[Thr 01] ***LOG Q0I=> NiPGetHostByName2: hostname 'qasmj
' not found: gethostbyname_r [niuxi_mt.c 388]

[Thr 01] Mon May 11 13:39:45 2009
[Thr 01] *** ERROR => MsSInit: NihostToAddr rc=(NIEHOST_UNKNOWN) [msxxserv_mt. 1639]

I have configure the DNS now server is up.

Thanks & Regards

Rudra

Answers (3)

Answers (3)

stefan_ulrich2
Explorer
0 Kudos

Hello,

I had the same problem.

The solution was very simple. I must switch of the firewall of the server.

Stefan Ulrich

Former Member
0 Kudos

Hi,

Please varify that you have rename production profiles to Quality server profile(START_DVEBMGS<System number>_<hostname>).

If this is also ok, please try to fire the startsap command from /sapmnt/SID/profile directory with following way...

startsap pf=<START profile>

With Regards,

Saurabh

Former Member
0 Kudos

try following command

:qasadm 54> startsap.exe name=<SID> nr=<sysNumber> sapdiahost=<Hostname>

Former Member
0 Kudos

Hi,

my dev_disp log is

trc file: "dev_disp", trc level: 1, release: "640"
---------------------------------------------------

Sat May  9 20:17:58 2009
kernel runs with dp version 138(ext=102) (@(#) DPLIB-INT-VERSION-138)
length of sys_adm_ext is 312 bytes
sysno      00
sid        QAS
systemid   274 (HP (IA-64) with HP-UX)
relno      6400
patchlevel 0
patchno    247
intno      20020600
make:      single threaded, ASCII, 64 bit
pid        8816

***LOG Q00=> DpSapEnvInit, DPStart (00 8816) [dpxxdisp.c   1110]
	shared lib "dw_xml.sl" version 247 successfully loaded
	shared lib "dw_xtc.sl" version 247 successfully loaded
	shared lib "dw_stl.sl" version 247 successfully loaded
	shared lib "dw_gui.sl" version 247 successfully loaded
	shared lib "dw_mdm.sl" version 247 successfully loaded
*** ERROR => DpNetCheck: NiHostToAddr(qasmj
) failed (rc=-2) [dpxxtool2.c  3778]
***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  3882]
MtxInit: -2 0 0
DpSysAdmExtInit: ABAP is active
DpIPCInit2: start server >qasmj
_QAS_00                           <
DpShMCreate: sizeof(wp_adm)		7872	(984)
DpShMCreate: sizeof(tm_adm)		3082544	(15336)
DpShMCreate: sizeof(wp_ca_adm)		22800	(76)
DpShMCreate: sizeof(appc_ca_adm)	7600	(76)
DpShMCreate: sizeof(comm_adm)		216000	(432)
DpShMCreate: sizeof(vmc_adm)		0	(480)
DpShMCreate: sizeof(wall_adm)		(25648/36736/80/104)
DpShMCreate: SHM_DP_ADM_KEY		(addr: 00000000c4700000, size: 3405728)
DpShMCreate: allocated sys_adm at 00000000c4700000
DpShMCreate: allocated wp_adm at 00000000c47018a0
DpShMCreate: allocated tm_adm_list at 00000000c4703760
DpShMCreate: allocated tm_adm at 00000000c4703790
DpShMCreate: allocated wp_ca_adm at 00000000c49f40c0
DpShMCreate: allocated appc_ca_adm at 00000000c49f99d0
DpShMCreate: allocated comm_adm_list at 00000000c49fb780
DpShMCreate: allocated comm_adm at 00000000c49fb7a0
DpShMCreate: allocated vmc_adm_list at 00000000c4a30360
DpShMCreate: system runs without vmc_adm
DpShMCreate: allocated ca_info at 00000000c4a30390
DpShMCreate: allocated wall_adm at 00000000c4a303a0
MBUF state OFF
ThTaskStatus: rdisp/reset_online_during_debug 0
EmInit: MmSetImplementation( 2 ).
<ES> client 0 initializing ....
<ES> InitFreeList
<ES> block size is 4096 kByte.
Using implementation std
EsIUnamFileMapInit: shmget(IPC_PRIVATE,4290772992,IPC_CREAT | 0777) failed.
 errno = 22(Invalid argument)
EsStdInit: unable to allocate 4092 MB
EsStdInit: try to allocate 3272 MB
EsIUnamFileMapInit: shmget(IPC_PRIVATE,3430940672,IPC_CREAT | 0777) failed.
 errno = 22(Invalid argument)
EsStdInit: unable to allocate 3272 MB
EsStdInit: try to allocate 2616 MB
EsIUnamFileMapInit: shmget(IPC_PRIVATE,2743074816,IPC_CREAT | 0777) failed.
 errno = 22(Invalid argument)
EsStdInit: unable to allocate 2616 MB
EsStdInit: try to allocate 2092 MB
EsIUnamFileMapInit: shmget(IPC_PRIVATE,2193620992,IPC_CREAT | 0777) failed.
 errno = 22(Invalid argument)
EsStdInit: unable to allocate 2092 MB
EsStdInit: try to allocate 2048 MB
EsIUnamFileMapInit: shmget(IPC_PRIVATE,2147483648,IPC_CREAT | 0777) failed.
 errno = 22(Invalid argument)
EsStdInit: unable to allocate 2048 MB
EsStdInit: try to allocate 1636 MB
EsIUnamFileMapInit: ES base = 0xc000000040000000
EsStdInit: 1636 MB successfully allocated
EsIUnamFileMapInit: ES base = 0xc0000000c0000000
EsStdInit: 1636 MB successfully allocated
EsIUnamFileMapInit: ES base = 0xc000000130000000
EsStdInit: 820 MB successfully allocated
EsStdInit: Extended Memory 4092 MB allocated
<ES> 1022 blocks reserved for free list.
ES initialized.

Sat May  9 20:18:00 2009
rdisp/http_min_wait_dia_wp : 1 -> 1
***LOG Q0I=> NiPConnect2: SiPeekPendConn (239: Connection refused) [nixxi.cpp 8786]
*** ERROR => MsIAttachEx: NiBufConnect to qasmj/sapmsQAS failed (rc=NIECONN_REFUSED) [msxxi.c      647]
***LOG Q0L=> DpLoopInit, nomscon () [dpxxdisp.c   1579]
CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
CCMS: start to initalize 3.X shared alert area (first segment).
*** ERROR => W0 (pid 8825) died [dpxxdisp.c   13050]
*** ERROR => W1 (pid 8828) died [dpxxdisp.c   13050]
my types changed after wp death/restart 0xbf --> 0xbe
*** ERROR => MsIModTypes: not_attached [msxxi.c      1847]
*** ERROR => W2 (pid 8831) died [dpxxdisp.c   13050]
my types changed after wp death/restart 0xbe --> 0xbc
*** ERROR => MsIModTypes: not_attached [msxxi.c      1847]
*** ERROR => W3 (pid 8832) died [dpxxdisp.c   13050]
my types changed after wp death/restart 0xbc --> 0xb8
*** ERROR => MsIModTypes: not_attached [msxxi.c      1847]
*** ERROR => W4 (pid 8837) died [dpxxdisp.c   13050]
*** ERROR => W5 (pid 8840) died [dpxxdisp.c   13050]
my types changed after wp death/restart 0xb8 --> 0xb0
*** ERROR => MsIModTypes: not_attached [msxxi.c      1847]
*** ERROR => W6 (pid 8843) died [dpxxdisp.c   13050]
my types changed after wp death/restart 0xb0 --> 0xa0
*** ERROR => MsIModTypes: not_attached [msxxi.c      1847]

Sat May  9 20:18:40 2009
***LOG Q0I=> NiPConnect2: SiPeekPendConn (239: Connection refused) [nixxi.cpp 8786]
*** ERROR => MsIAttachEx: NiBufConnect to qasmj/sapmsQAS failed (rc=NIECONN_REFUSED) [msxxi.c      647]
*** ERROR => W7 (pid 8846) died [dpxxdisp.c   13050]
my types changed after wp death/restart 0xa0 --> 0x80
*** ERROR => MsIModTypes: not_attached [msxxi.c      1847]
*** DP_FATAL_ERROR => DpWPCheck: no more work processes
*** DISPATCHER EMERGENCY SHUTDOWN ***
increase tracelevel of WPs
killing W0-8825 (SIGUSR2)
*** ERROR => DpWpKill(8825, SIGUSR2) failed [dpxxtool.c   2508]
killing W1-8828 (SIGUSR2)
*** ERROR => DpWpKill(8828, SIGUSR2) failed [dpxxtool.c   2508]
killing W2-8831 (SIGUSR2)
*** ERROR => DpWpKill(8831, SIGUSR2) failed [dpxxtool.c   2508]
killing W3-8832 (SIGUSR2)
*** ERROR => DpWpKill(8832, SIGUSR2) failed [dpxxtool.c   2508]
killing W4-8837 (SIGUSR2)
*** ERROR => DpWpKill(8837, SIGUSR2) failed [dpxxtool.c   2508]
killing W5-8840 (SIGUSR2)
*** ERROR => DpWpKill(8840, SIGUSR2) failed [dpxxtool.c   2508]
killing W6-8843 (SIGUSR2)
*** ERROR => DpWpKill(8843, SIGUSR2) failed [dpxxtool.c   2508]
killing W7-8846 (SIGUSR2)
*** ERROR => DpWpKill(8846, SIGUSR2) failed [dpxxtool.c   2508]
NiWait: sleep (10000 msecs) ...
NiISelect: timeout 10000 ms
NiISelect: maximum fd=13
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Sat May  9 20:18:50 2009
NiISelect: TIMEOUT occured (10000 ms)
dump system status
Workprocess Table (long)			Sat May  9 14:48:50 2009
========================

No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program  Cl  User         Action                    Table
-----------------------------------------------------------------------------------------------------------------------
 0 DIA     8825 Ended         no      1   0             0                                                              
 1 DIA     8828 Ended         no      1   0             0                                                              
 2 UPD     8831 Ended         no      1   0             0                                                              
 3 ENQ     8832 Ended         no      1   0             0                                                              
 4 BTC     8837 Ended         no      1   0             0                                                              
 5 BTC     8840 Ended         no      1   0             0                                                              
 6 SPO     8843 Ended         no      1   0             0                                                              
 7 UP2     8846 Ended         no      1   0             0                                                              
Dispatcher Queue Statistics			Sat May  9 14:48:50 2009
===========================

+------+--------+--------+--------+--------+--------+
|  Typ |    now |   high |    max | writes |  reads |
+------+--------+--------+--------+--------+--------+
| NOWP |      0 |      3 |   2000 |      9 |      9 |
+------+--------+--------+--------+--------+--------+
|  DIA |      4 |      4 |   2000 |      4 |      0 |
+------+--------+--------+--------+--------+--------+
|  UPD |      0 |      0 |   2000 |      0 |      0 |
+------+--------+--------+--------+--------+--------+
|  ENQ |      0 |      0 |   2000 |      0 |      0 |
+------+--------+--------+--------+--------+--------+
|  BTC |      0 |      0 |   2000 |      0 |      0 |
+------+--------+--------+--------+--------+--------+
|  SPO |      0 |      0 |   2000 |      0 |      0 |
+------+--------+--------+--------+--------+--------+
|  UP2 |      0 |      0 |   2000 |      0 |      0 |
+------+--------+--------+--------+--------+--------+


max_rq_id		8
wake_evt_udp_now	0

wake events      	total     8,  udp     7 ( 87%),  shm     1 ( 12%)
since last update	total     8,  udp     7 ( 87%),  shm     1 ( 12%)


Dump of tm_adm structure:			Sat May  9 14:48:50 2009
=========================

Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)

Workprocess Comm. Area Blocks			Sat May  9 14:48:50 2009
=============================

Slots: 300, Used: 0, Max: 0
+------+--------------+----------+-------------+
|   id | owner        |   pid    | eyecatcher  |
+------+--------------+----------+-------------+

NiWait: sleep (5000 msecs) ...
NiISelect: timeout 5000 ms
NiISelect: maximum fd=13
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Sat May  9 20:18:55 2009
NiISelect: TIMEOUT occured (5000 ms)
DpHalt: shutdown server >qasmj
_QAS_00                           < (normal)
DpJ2eeDisableRestart
Switch off Shared memory profiling
ShmProtect( 57, 3 )
ShmProtect(SHM_PROFILE, SHM_PROT_RW
ShmProtect( 57, 1 )
ShmProtect(SHM_PROFILE, SHM_PROT_RD
DpWakeUpWps: wake up all wp's
Stop work processes...
Stop gateway
killing proc (8823) (SOFT_KILL)
*** ERROR => DpProcKill: kill failed (3: No such process) [dpuxdisp.c   417]
Stop icman
killing proc (8824) (SOFT_KILL)
Terminate gui connections