Operating System - HP-UX
1748282 Members
3977 Online
108761 Solutions
New Discussion юеВ

Re: Process management in HP-UX

 
shashi kanth
Super Advisor

Process management in HP-UX

I am disabling unneeded services and just enabling SSH/Telnet and my application in one my box with 11iv2.

My understanding is that, in HP-UX, if i want to disable a service, then disable it in the /etc/rc.config.d/* files.

Is there any better approach than this ?

I have disables so many services, but two services , icod & sfmdb are starting whenever i boot my box, and they do not have corresponding on/off script in the /etc/rc.config.d directory.

I don't move/remove run-level files manually, i believe this leads to human mistakes.

Is there any better approach with HP-UX ? (Like "chkconfig" in Linux, "svcadm" in Solaris)

Thanks.
8 REPLIES 8
Dennis Handly
Acclaimed Contributor

Re: Process management in HP-UX

Have you checked the rc(1m) files and /etc/inittab and /etc/inetd.conf?
If they aren't there, you may have to uninstall the product, icod.
Jozef_Novak
Respected Contributor

Re: Process management in HP-UX

Hello,

apart from services that constitute their own daemons, there are also services run by the internet server (inetd). To disable either its internal services or services managed by it, check inetd(1m).

Hash out the unneeded services as required.

J.
johnsonpk
Honored Contributor

Re: Process management in HP-UX

Hi Shashi kanth,
icod is related to HP's Instant capacity on Demand and may start during boot by init process

check /etc/initab for icod entry

I believe sfmdb is a daemon responsible for System Fault management Database and for disabling this you may need to remove the linkfile from /sbin/rc2.d


But I would recommend you to leave these service as it is since one is keeping the complex wide view of current Instant capacity state and the other stores your and updates your system 's health/faults


Rgds
Johnson

Jozef_Novak
Respected Contributor

Re: Process management in HP-UX

Hello,

yes, disabling icod is trivial as the icodd is run from /etc/inittab. Just hash the process out of it.

Some of the services really require removal of startup links from /etc/rc?.d directories. (One I have seen so far is the Veritas Enterprise Administrator Service, for example).

J.
shashi kanth
Super Advisor

Re: Process management in HP-UX

there is no entry for icod in /etc/inittab.

Steven E. Protter
Exalted Contributor

Re: Process management in HP-UX

Shalom,

Disabling the service in /etc/rc.config.d/* is a sound approach.

It can be complex removing some services.

Note that telnet is started in inetd.conf and must be commented there.

No matter what you do, when you go on vacation and some foolish fill in gets on the system they can undue it. But you are probably around 48 or so weeks a year so it is probably okay.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
johnsonpk
Honored Contributor

Re: Process management in HP-UX

Shashi kanth>>there is no entry for icod in /etc/inittab

Do you have something starts with "icap" ?

Re: Process management in HP-UX

shashi,

what sort of system is this? have you confirmed that this system does *not* have any iCAP/iCOD CPUs or cell boards in it?

Disabling icodd/icapd on a system with iCOD/iCAP CPUs in it is a *very* bad (read career limiting!) move...

If you're not sure I'd advise you to leave it alone

HTH

Duncan

I am an HPE Employee
Accept or Kudo