I am trying to shutdown some RPC services on my solaris servers. I am getting some issues.host = SERVERneed to disable two rpc services:RPC Calendar Service cmsd Available (rpc.cmsd)and,RPC snmpxdmidRPC Calendar Service cmsd Available (rpc.cmsd)root@SERVER # rpcinfo -p | grep 100068    100068    2   udp  32777    100068    3   udp  32777    100068    4   udp  32777    100068    5   udp  32777    100068    2   tcp  45108    100068    3   tcp  45108    100068    4   tcp  45108    100068    5   tcp  45108root@SERVER # svcs -a|grep -i callegacy_run     2012     lrc:/etc/rc2_d/S94ncalogdonline         2012     svc:/network/physical:defaultonline         2012     svc:/system/device/local:defaultonline         2012     svc:/network/ipsec/ipsecalgs:defaultonline         2012     svc:/system/filesystem/local:defaultonline         2012     svc:/application/graphical-login/cde-login:defaultonline         2015     svc:/network/rpc/cde-calendar-manager:defaultroot@SERVER # ps -ef|grep rpc  daemon   368     1   0   Nov 06 ?           0:01 /usr/sbin/rpcbind  daemon  5494  5488   0   Dec 11 ?           0:00 /usr/dt/bin/rpc.cmsd    root  2652  2647   0   Dec 11 ?           0:00 /usr/openwin/bin/rpc.ttdbserverd    root  2647   405   0   Dec 11 ?           0:00 /bin/sh /lib/svc/method/rpc-ttdbserverd    root  5488   405   0   Dec 11 ?           0:00 /bin/sh /lib/svc/method/rpc-cmsd    root  5485   405   0   Dec 11 ?           0:00 /usr/lib/netsvc/rstat/rpc.rstatd    root 11260  9261   0 18:21:48 pts/1       0:00 grep rpcroot@SERVER # root@SERVER # netstat -na|grep 32777      *.32777                             Idleroot@SERVER # netstat -na|grep 45108      *.45108              *.*                0      0 49152      0 LISTENroot@SERVER # RPC snmpxdmidroot@SERVER # rpcinfo -p | grep 100249    100249    1   udp  32785    100249    1   tcp  32777root@SERVER # svcs -a|grep snmpdisabled       21:47:13 svc:/application/management/snmpdx:defaultroot@SERVER # ps -ef| grep -i snmpdx    root 11007  9261   0 18:21:30 pts/1       0:00 grep -i snmpdxroot@SERVER # root@SERVER # netstat -na|grep 32777      *.32777                             Idleroot@SERVER # netstat -na|grep 32785root@SERVER # (for snmpxdmid), the process was running first, so i disabled the service and then process went away and also the listing from rpcinfo -p went away, but now it has come back (see the open port in netstat). How can i disable and stop it forever????=========================for both these rpc services i do not see any entry in /etc/inetd.conf, how can i disable and stop them?root@SERVER # grep -i rpc /etc/inetd.conf100235/1 tli rpc/ticotsord wait root /usr/lib/fs/cachefs/cachefsd cachefsdroot@SERVER # root@SERVER # uname -aSunOS SERVER 5.10 Generic_147441-09 i86pc i386 i86pcthank you.
rpcinfo shows service running while it is disabled
solaris