cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error in Webdispatcher Startup

rsandeepkumar
Participant
0 Likes
4,623

HI ,

Can you people help me or guide me in analyzing and finding a solution for the below error .

My O.S is AIX

When i try to start the Webdispatcher in the Portal System i come across the following error,this error occurred all of a sudden , which we used to perform every week  sucessfully.

There are no changes made to id or any parameters,

cd /usr/sap/SID/globalwebdisp/portal_webdisp

./sapwebdisp pf=/usr/sap/SID/globalwebdisp/portal_webdisp/sapwebdisp.pfl&

[1] 1781814

sapportdb:gppadm 17> *** ERROR => CTrcOpen: fopen dev_webdisp

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

trc file: "dev_webdisp", trc level: 1, release: "700"

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

sysno      20

sid

systemid   324 (IBM RS/6000 with AIX)

relno      7000

patchlevel 0

patchno    261

intno      20050900

make:      multithreaded, ASCII, 64 bit, optimized

pid        1781814

[Thr 01] Sun Oct 21 12:23:10 2012

[Thr 01] Profile configuration error detected, use temporary corrected setup

[Thr 01] Shared Pool 10: ipc/shm_psize_10 = 19880000 (too small)

[Thr 01] Shared Pool 10: (smaller than min requirement 130168712)

[Thr 01] *** WARNING => maximum number of sockets supported on this

host (1997) less than parameter icm/max_sockets (8192) [icxxrout_mt. 2791]

[Thr 01] started security log to file dev_icm_sec

[Thr 01] SAP Web Dispatcher running on: sapportdb.geometric.local

[Thr 01] MtxInit: 30001 0 2

[Thr 01] ***LOG Q0I=> NiIBindSocket: could not delete file '/tmp/.sapstream65000' for hdl 0: unlink (1: Not owner) [nixxi.cpp 3207]

[Thr 01] *** ERROR => NiIBindSocket: could not delete file '/tmp/.sapstream65000' (hdl 0; errno=1) [nixxi.cpp    3214]

[Thr 01] ***LOG Q0I=> NiIBindSocket: could not delete file '/tmp/.sapstream64999' for hdl 0: unlink (1: Not owner) [nixxi.cpp 3207]

[Thr 01] *** ERROR => NiIBindSocket: could not delete file '/tmp/.sapstream64999' (hdl 0; errno=1) [nixxi.cpp    3214]

[Thr 01] ***LOG Q0I=> NiIBindSocket: could not delete file '/tmp/.sapstream64998' for hdl 0: unlink (1: Not owner) [nixxi.cpp 3207]

[Thr 01] *** ERROR => NiIBindSocket: could not delete file '/tmp/.sapstream64998' (hdl 0; errno=1) [nixxi.cpp    3214]

[Thr 01] IcmInit: listening to admin port: 64997

[Thr 01] *** ERROR => shmat(5242989,0x0,SHM_RND) (13: Permission denied) [shmux_mt.c   1924]

[Thr 01] *** ERROR => shmctl(5242989,IPC_RMID,0) 0xffffffffffff278) (1: Not owner) [shmux_mt.c   1935]

[Thr 01] *** ERROR => ShmCleanup: ShmCreate(63,0,SHM_ATTACH,...) failed. rtc=1 [shmux_mt.c   4269]

[Thr 01] *** ERROR => ShmCleanup: Inv. Key=63  [shmux_mt.c   4310]

[Thr 01] *** ERROR => shmat(5242989,0x0,SHM_RND) (13: Permission denied) [shmux_mt.c   1924]

[Thr 01] *** ERROR => shmctl(5242989,IPC_RMID,0) 0xffffffffffff278) (1: Not owner) [shmux_mt.c   1935]

[Thr 01] *** ERROR => ShmCleanup: ShmCreate(63,0,SHM_ATTACH,...) failed. rtc=1 [shmux_mt.c   4269]

[Thr 01] *** ERROR => ShmCleanup: Inv. Key=63  [shmux_mt.c   4310]

[Thr 01] *** ERROR => shmat(5242989,0x0,SHM_RND) (13: Permission denied) [shmux_mt.c   1924]

[Thr 01] *** ERROR => shmctl(5242989,IPC_RMID,0) 0xffffffffffff278) (1: Not owner) [shmux_mt.c   1935]

[Thr 01] *** ERROR => ShmCleanup: ShmCreate(63,0,SHM_ATTACH,...) failed. rtc=1 [shmux_mt.c   4269]

[Thr 01] *** ERROR => ShmCleanup: Inv. Key=63  [shmux_mt.c   4310]

[Thr 01] *** ERROR => IcmInit: IcmShmCreate failed (rc=-1) [icxxrout_mt. 1798]

[Thr 01] *** ERROR => shmat(5242989,0x0,SHM_RND) (13: Permission denied) [shmux_mt.c   1924]

[Thr 01] *** ERROR => shmctl(5242989,IPC_RMID,0) 0xffffffffffff608) (1: Not owner) [shmux_mt.c   1935]

[Thr 01] *** ERROR => ShmCleanup: ShmCreate(63,0,SHM_ATTACH,...) failed. rtc=1 [shmux_mt.c   4269]

[Thr 01] *** ERROR => ShmCleanup: Inv. Key=63  [shmux_mt.c   4310]

[Thr 01] *** ERROR => shmat(5242987,0x0,SHM_RND) (13: Permission denied) [shmux_mt.c   1924]

[Thr 01] *** ERROR => shmctl(5242987,IPC_RMID,0) 0xffffffffffff608) (1: Not owner) [shmux_mt.c   1935]

[Thr 01] *** ERROR => ShmCleanup: ShmCreate(82,0,SHM_ATTACH,...) failed. rtc=1 [shmux_mt.c   4269]

[Thr 01] *** ERROR => ShmCleanup: Inv. Key=82  [shmux_mt.c   4310]

[Thr 01] *** ERROR => ShmCleanup(62) failed 3 [mpixx_mt.c   3244]

[Thr 01] SAP Web Dispatcher: WebDisp shared memory cleanup done

shared memory cleanup done

[Thr 01] *** ERROR => ThrMtxDelete() failed: 12 [icrxx_mt.c   3196]

[Thr 01] *** SAP Web Dispatcher shutdown completed (pid: 1781814) ***

*** SAP Web Dispatcher shutdown completed (pid: 1781814) ***

[1]    Exit 255             ./sapwebdisp pf=/usr/sap/SID/globalwebdisp/portal_webdisp/sapwebdisp.pfl

View Entire Topic
Former Member
0 Likes

Hi S Kumar,

The log here shows two errors -

1.

[Thr 01] Profile configuration error detected, use temporary corrected setup

[Thr 01] Shared Pool 10: ipc/shm_psize_10 = 19880000 (too small)

[Thr 01] Shared Pool 10: (smaller than min requirement 130168712)

To resolve this, set up your ipc shm size as recommended here. You can check that by running

sappfpar check pf=<webdispatcher profile>

and do a clean restart of the system. Clean restart means by running "cleanipc" command with this syntax -

cleanipc <Instance number of webdisp> remove

Also run it for SCS instance number and restart.

2. [Thr 01] *** ERROR => NiIBindSocket: could not delete file '/tmp/.sapstream65000' (hdl 0; errno=1) [nixxi.cpp    3214]

Look for two things here -

1. space in /tmp filesystem by using " df -k /tmp" and see it is not full.

2. Permission of /tmp. It should be 755.

Please go through these steps. These will help you in getting back your system up and running.

Regards,

Ashutosh Shukla

rsandeepkumar
Participant
0 Likes

HI,

This error had been came for the first time from the past 5-6 years which we are performing the activity regularly ,

we had not even done a single change in the profile parameters or any thing , but we cant understand the cause for this issue either we had changed the permissions of the users or the files, and we had followd the process as we are doing earlier.

The strange thing i need to understand is y this issue automatically all of sudden with out any changes.

what caused to rise this issue?

could any one help me in that view

Thanks

Former Member
0 Likes

Have you cleaned up the shared memory as suggested by Ashutosh?

Have a clean restart of your system.

stopsap --> cleanipc --> ipcrm --> startsap

Regards,

Vishal

rsandeepkumar
Participant
0 Likes

HI Vishal ,

I think cleanipc may work , but why should i do , what is making me to perform that extra command .

I need to know why this issue came

Reason is most important to me than the solution.

Pls assist me in understanding the issue and the cause.

Former Member
0 Likes

Hello Kumar,

Shared memory is allocated when you start the SAP instance.But in your case somehow it is not able to clean the shared memory segments.

So in order to cleanup those sahres memory segment, I've asked you to do cleanipc.

But For web dispatcher, you can start it with cleanup command:

sapwebdisp
pf=<profile name> [-f <trace file> -t <trace level>  -cleanup -shm_attach_mode <mode>
-auto_restart -version]

<mode> = cleanup

For more info, Please gothrough

http://help.sap.com/saphelp_nw04s/helpdata/en/ae/4bed847ca94816ba46b182cc1c3a24/frameset.htm

Cheers,

Vishal