Skip to Content
0
Jan 09, 2012 at 07:50 AM

ERS does not start

545 Views

I have NW7.3 based central servers installed on a Z/OS host with DB2. There are four SAP instances on the same LPAR i.e. 4 sap systems on same box.

1. Now, all my sap directories and files under /usr/sap/SID are for sidadm:sys1 and not sidadm:sapsys. Is that correct ? The permissions are mostly rwxr-xr-x

2. I have enqueue replication server on the same host as my central services instance. I understand that this should not happen by its definition but I dont need an ERS server.. we have installed that just because of compulsion in NW7.3...

I tried to start SCS using sidadm> startsap SCS40 and it was successful.

SIDadm> ps -ef | grep SID
  SIDadm   67109886   83889781  - 12:42:30 ttyp0004  0:00 grep SID
  SIDadm       3431          1  - 12:41:28 ?         0:00 /usr/sap/SID/SCS40/exe/sapstartsrv pf=/usr/sap/SID/SYS/profile/SID_SCS40_HOSTNAME
  SIDadm   67112393          1  - 12:41:39 ?         0:00 sapstart pf=/usr/sap/SID/SYS/profile/SID_SCS40_HOSTNAME.1
  SIDadm   50335183   67112393  - 12:41:40 ?         0:00 ms.sapSID_SCS40 pf=/usr/sap/SID/SYS/profile/SID_SCS40_HOSTNAME
  SIDadm   83889617   67112393  - 12:41:40 ?         0:01 en.sapSID_SCS40 pf=/usr/sap/SID/SYS/profile/SID_SCS40_HOSTNAME
  SIDadm   16780763   67112393  - 12:41:40 ?         0:00 gw.sapSID_SCS40 pf=/usr/sap/SID/SYS/profile/SID_SCS40_HOSTNAME -no_abap

However, when I try to start ERS using sidadm> startsap ERS41 which times out.

SIDadm> startsap ERS41
Starting Startup Agent sapstartsrv
 
FAIL: Timeout
Startup of Instance Service failed
See /u/SIDadm/startsap_ERS41.log for details
 
-------------------------------------------
 
SIDadm>

/u/SIDadm/startsap_ERS41.log:

Trace of system startup/check of SAP System SID on Mon Jan  9 12:43:33 GMT 2012
Called command: /usr/sap/SID/SYS/exe/uc/os390/startsap start
-------------------------------------------
12:43:37
Starting Startup Agent sapstartsrv
-------------------------------------------
12:45:38
Startup of Instance Service failed
-------------------------------------------
12:45:38
See /u/SIDadm/startsap_ERS41.log for details
[startsap_ERS41.log](EOF)

ERS41/work/dev_enrepsrv:

---------------------------------------------------
trc file: "dev_enrepsrv", trc level: 1, release: "720"
---------------------------------------------------
sysno      40
sid        SID
systemid   321 (IBM S/390 with OS/390 OpenEdition)
relno      7200
patchlevel 0
patchno    56
intno      20020600
make       multithreaded, Unicode, 64 bit, optimized
pid        83887126
 
 
[Thr 0D525000:00000001] Mon Jan  9 06:07:33 2012
[Thr 0D525000:00000001] profile    /usr/sap/SID/ERS41/profile/SID_ERS41_HOSTNAME
[Thr 0D525000:00000001] hostname   HOSTNAME
[Thr 0D525000:00000001] WLM call SAP_wlm_joinWorkUnit
[Thr 0D525000:00000001] This process is not WLM managed
[Thr 0D525000:00000001] WLM call SAP_wlm_joinWorkUnit returned with 4
 
[Thr 0D525000:00000001] Mon Jan  9 06:07:34 2012
[Thr 0D525000:00000001] Replication server start with instance number 40
[Thr 0D525000:00000001] Enqueue server on host HOSTNAME, IP-addr 172.21.12.70, port 54016
[Thr 0D525000:00000001] ShadowTable:create: ShmCreate(,SHM_CREATE,len=43573360) -> 2003ee00000
[Thr 0D525000:00000001] Connected to Enqueue Server and created repl. table with 57033 lines
[Thr 0D525000:00000001] EnStateTransferEnqToRep::process: transaction stamp (end_trans): 1 326089254 0!
[Thr 0D525000:00000001] EnStateTransferEnqToRep::process: Transaction has finished:4, process request and loop over fragments
 
[Thr 0D525000:00000001] Mon Jan  9 07:02:56 2012
[Thr 0D525000:00000001] RepServer: main: fatal error on enqueue connection
[Thr 0D525000:00000001] RepServer: main: disconnect from enqueue server
[Thr 0D525000:00000001] *** ERROR => EncNiConnect: invalid state 2 [encomi.c     521]
[Thr 0D525000:00000001] *** WARNING => NiCloseHandle: invalid hdl 1 [nixx.c       1642]
[Thr 0D525000:00000001] *** ERROR => RepServer: main: connect failed with return code -1 [enrepserv.cp 750]
[Thr 0D525000:00000001] RepServer: main: Reset the transaction stamp to 0 0 0
[Thr 0D525000:00000001] ***LOG Q0I=> NiPConnect2: 172.21.12.70:54016: connect (1128: EDC8128I Connection refused.) [./nixxi.cpp
3286]
[dev_enrepsrv](10%)