Showing results for 
Search instead for 
Did you mean: 

Message Server fails to start: Permission Denied!

Former Member
0 Kudos


I am in the process on installing SRM 5.0 on Red Hat 4 x86_64. The installation has reached phase 24 which is the start instance stage. From what I can see it looks like a permissions issue when the message server tries to start. The central instance comes up fine but the message server start fails.

This is a single stack installation therefore there is no Java stack.

Following parameters were defined during the install:

The ABAP messaging Service Port - 3618

Internal ABAP Messaging Service Port - 3918

I confirmed that the sapmsDB0 service entry with port 3618 was defined in the /etc/services file. I have successfully installed the same product on a RH4 32 bit box without any problems and have compared the services file from that server and it only had the one entry which is the port 3618 one. Therefore I am not missing any entries from the services file.

The log file from the dev_ms:

[Thr 182897244480] MsSSetTrcLog: trc logging active, max size = 20971520 bytes

systemid 390 (AMD/Intel x86_64 with Linux)

relno 7000

patchlevel 0

patchno 73

intno 20050900

make: multithreaded, Unicode, 64 bit, optimized

pid 7337

[Thr 182897244480] ***LOG Q01=> MsSInit, MSStart (Msg Server 1 7337) [msxxserv_mt. 1824]

[Thr 182897244480] SigISetDefaultAction : default handling for signal 17

[Thr 182897244480] ***LOG Q0I=> NiPGetServByName2: service 'sapmsDB0' not found: getservbyname_r (13: Permission denied) [niuxi.c 1725]

[Thr 182897244480] *** ERROR => MsSCommInit: NiBufListen(sapmsDB0) (rc=NIESERV_UNKNOWN) [msxxserv_mt. 10107]

[Thr 182897244480] *** ERROR => MsSInit: MsSCommInit [msxxserv_mt. 1857]

[Thr 182897244480] *** ERROR => main: MsSInit [msxxserv_mt. 5890]

[Thr 182897244480] ***LOG Q02=> MsSHalt, MSStop (Msg Server 7337) [msxxserv_mt. 5938]

Hope someone can help!!!


Chengappa Ballachanda

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos


Is the SIDadm user allowed to read <b>/etc/services</b> file?

Can you run <b>niping -v -S sapmsDB0</b> (with SIDadm) and paste here the output?

Best Regards,

JC Llanes.

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks guys! The problem was with the permissions on the service file. Once I changed this to 755 it worked!

Thanks for the assistance!



Former Member
0 Kudos


can you post the output of

niping -v -S sapmsDB0


Also, do you use any NIS/LDAP/whatever service for resolving services? Check the "services" entry in /etc/nsswitch.conf.

Best regards,