cancel
Showing results for 
Search instead for 
Did you mean: 

can not run webdispatcher as user <sid>adm

Former Member
0 Kudos

hi,

I'm having problem starting webdispatcher as user <sid>adm. If I run it as root, it has no problem. We are running Redhat AS 2.1 kernel: 2.4.9-e.34smp.

it looks like a permission issue, can someone help?

Thanks a lot.

-


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

-


systemid 387 (Intel x86 with Linux)

relno 6400

patchlevel 0

patchno 18

intno 20020600

make: multithreaded, ASCII

pid 4630

[Thr 8192] Fri Oct 15 21:42:08 2004

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

host (1020) less than parameter icm/max_sockets (8192) [icxxrout_mt. 2363]

[Thr 8192] SAP Web Dispatcher running on: hqxi01

[Thr 8192] MtxInit: -2 0 0

[Thr 8192] ***LOG Q0I=> NiPBind: unlink (1: Operation not permitted) [niuxi_mt.c 1344]

[Thr 8192] NiBind: WARNING: Could not bind local domain socket, only listening on internet socket

[Thr 8192] *** WARNING => IcmInit: could not open UDS for port: 65000 - check file "/tmp/.sapicm65000" for correct permissions

[Thr 8192] NiBind: WARNING: Could not bind local domain socket, only listening on internet socket

[Thr 8192] *** WARNING => IcmInit: could not open UDS for port: 64999 - check file "/tmp/.sapicm64999" for correct permissions

[Thr 8192] NiBind: WARNING: Could not bind local domain socket, only listening on internet socket

[Thr 8192] *** WARNING => IcmInit: could not open UDS for port: 64998 - check file "/tmp/.sapicm64998" for correct permissions

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

[Thr 8192] MtxInit: -2 0 0

[Thr 8192] IcrCoreInit: SAP Web Dispatcher server process started

[Thr 8192] SigISetDefaultAction : default handling for signal 17

[Thr 8194] NiBind: WARNING: Could not bind local domain socket, only listening on internet socket

[Thr 8194] HttpSubHandlerAdd: Added handler HttpAdminHandler(slot=0, flags=4101) for /sap/wdisp/admin:0

[Thr 8194] HttpSubHandlerAdd: Added handler HttpWebDispHandler(slot=1, flags=28677) for /:0

[Thr 8194] Started service 8080 for protocol HTTP on host "hqxi01"(on all adapters) (timeout=60)

[Thr 8192] HTTPS router protocol started for logon group "", check for stickyness: 1, mask: 255.255.240.0, context timeout: 3600

[Thr 8192] Started service 80 for protocol ROUTER on host: "hqxi01"(on all adapters) (timeout=120)

[Thr 8192] SigISetDefaultAction : default handling for signal 17

[Thr 8192] IcmCreateWorkerThreads: created worker thread 0

[Thr 8192] IcmCreateWorkerThreads: created worker thread 1

[Thr 16386] *** ERROR => e=13 semget(3000283,60,992) (13: Permission denied) [evtux_mt.c 390]

[Thr 16386] *** ERROR => EvtOpen(16999) failed: 1 [mpixx_mt.c 4242]

[Thr 16386] *** ERROR => MpiIEvtOpen(0) failed: 3 [mpixx_mt.c 1123]

[Thr 16386] *** ERROR => IcmConnInitMpi: MpiCreate2 failed (rc=11) [icxxconn_mt. 3714]

[Thr 16386] *** ERROR => IcmConnClientRqCreate: IcmConnInitMpi failed: -1 [icxxconn_mt. 2456]

[Thr 16386] *** ERROR => IcmConnClientRqCreate() failed (rc=-1) [icrxx_mt.c 4081]

[Thr 16386] *** ERROR => IcrIHandleHTTPClientRequest() failed -1 [icrxx_mt.c 1738]

[Thr 8192] IcmCreateWorkerThreads: created worker thread 2

[Thr 8192] IcmCreateWorkerThreads: created worker thread 3

[Thr 8192] IcmCreateWorkerThreads: created worker thread 4

[Thr 8192] IcmCreateWorkerThreads: created worker thread 5

[Thr 8192] IcmCreateWorkerThreads: created worker thread 6

[Thr 8192] IcmCreateWorkerThreads: created worker thread 7

[Thr 8192] IcmCreateWorkerThreads: created worker thread 8

[Thr 8192] IcmCreateWorkerThreads: created worker thread 9

[Thr 98316] IcmWatchDogThread: watchdog started

[Thr 98316] *** ERROR => e=13 semget(3000283,60,992) (13: Permission denied) [evtux_mt.c 390]

[Thr 98316] *** ERROR => EvtOpen(16998) failed: 1 [mpixx_mt.c 4242]

[Thr 98316] *** ERROR => MpiIEvtOpen(0) failed: 3 [mpixx_mt.c 2725]

[Thr 98316] *** ERROR => IcmWatchDogThread: MpiSelCreateSet failed (rc=11) [icxxthr_mt.c 781]

[Thr 98316] -


C-STACK -


(LinStack+0x3e)[0x810ccae]

(CTrcStack2+0x59)[0x810c919]

(SigIGenAction+0x2c7)[0x81c1fe7]

/lib/i686/libpthread.so.0[0x40035c33]

/lib/i686/libc.so.6[0x400f1980]

/lib/i686/libpthread.so.0[0x40032c6f]

[Thr 98316] -


Accepted Solutions (0)

Answers (1)

Answers (1)

HayBouten
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Jerry,

Have a look at SAPNet note 538405 and also SAPNet note 552286. They explain and solve your problem.

Best Regards,

Hay

Former Member
0 Kudos

Hi Hay,

thanks for your reply.

the two notes do not explain why the following errors, apprently it's because I'm using a non-root user to start webdispatcher.

[Thr 8192] ***LOG Q0I=> NiPBind: unlink (1: Operation not permitted) [niuxi_mt.c 1344]

[Thr 8192] NiBind: WARNING: Could not bind local domain socket, only listening on internet socket

[Thr 8192] *** WARNING => IcmInit: could not open UDS for port: 65000 - check file "/tmp/.sapicm65000" for correct permissions

Former Member
0 Kudos

[Thr 16386] *** ERROR => e=13 semget(3000283,60,992) (13: Permission denied) [evtux_mt.c 390]

Ive had a similar prob w/ the above error message like yours. I went in as root and cleaned out some semaphores that were owned by root, after that it worked when I ran it as non-root user.