Operating System - HP-UX
1834017 Members
2475 Online
110063 Solutions
New Discussion

Re: Services initialization

 
SOLVED
Go to solution
Leonardio
Occasional Advisor

Services initialization

Hi friends,

We have a hpux 11.23 (FOE) RX2620, with oracle 10g installed.

I have a question:


Whats default services I can stop in the initialization ?

===================================
cd /etc/rc.config.d
# ll
total 1328
-r--r--r-- 1 bin bin 224 Mar 26 2004 LANG
-r--r--r-- 1 bin bin 848 Apr 16 2004 Rpcd
-r--r--r-- 1 bin bin 2206 Sep 3 2003 SnmpHpunix
-r--r--r-- 1 bin bin 1720 Sep 3 2003 SnmpMaster
-r--r--r-- 1 bin bin 2272 Sep 3 2003 SnmpMib2
-r--r--r-- 1 bin bin 1485 Sep 3 2003 SnmpTrpDst
-r--r--r-- 1 bin bin 139 Mar 26 2004 acct
-r-xr--r-- 1 bin bin 191 Jan 28 2006 audio
-r--r--r-- 1 bin bin 3439 Sep 3 2003 auditing
-rw-r--r-- 1 root sys 70 Sep 8 2004 cde
-r--r--r-- 1 bin bin 1062 Oct 11 2005 cfservd
-r--r--r-- 1 bin bin 478 Apr 22 2005 cifsclient
-r--r--r-- 1 bin bin 173 Oct 11 2005 cimserver
-r--r--r-- 1 bin bin 239 Mar 26 2004 clean
-r--r--r-- 1 bin bin 241 Mar 26 2004 clean_tmps
-r--r--r-- 1 bin bin 131 Sep 3 2003 clean_uucp
-r--r--r-- 1 bin bin 288 Sep 3 2003 comsec
-r--r--r-- 1 bin bin 140 Aug 22 2005 cpumap2
-r--r--r-- 1 bin bin 829 Aug 26 2004 crashconf
-r--r--r-- 1 bin bin 121 Mar 26 2004 cron
-r--r--r-- 1 bin bin 2268 Apr 16 2004 dce
-rw-r--r-- 1 root sys 98 Jan 28 2006 desktop
-r-xr-xr-x 1 bin bin 807 Jun 7 2005 diagnostic
-r--r--r-- 1 bin bin 146 Jul 17 2002 ems
-r--r--r-- 1 bin bin 551 Jul 17 2002 emsagtconf
-r--r--r-- 1 bin bin 121 Mar 26 2004 envd
-r--r--r-- 1 bin bin 589 Oct 18 2005 fc_fcd_conf
-r--r--r-- 1 bin bin 475 Oct 24 2005 fc_td_conf
-r--r--r-- 1 bin bin 783 May 10 2005 gwlmCtl
-r--r--r-- 1 bin bin 199 Mar 26 2004 hparamgr
-r--r--r-- 1 bin bin 1338 May 18 2004 hpbtlanconf
-r--r--r-- 1 bin bin 639 Aug 26 2004 hpbtlantunable
-r--r--r-- 1 bin bin 549 Mar 26 2004 hpfcmsconf
-r--r--r-- 1 bin bin 1704 Aug 16 2004 hpfddi4conf
-r--r--r-- 1 bin bin 4469 Oct 24 2005 hpgelanconf
-r--r--r-- 1 bin bin 6094 Jun 3 2005 hpietherconf
-r--r--r-- 1 bin bin 5230 Jun 3 2005 hpigelanconf
-r--r--r-- 1 bin bin 1262 May 18 2004 hpintl100conf
lrwxr-xr-x 1 bin bin 35 Aug 11 11:10 hpservices.conf -> /op
t/hpservices/etc/hpservices.conf
-r--r--r-- 1 bin bin 319 Jan 28 2006 hpsmh
-r--r--r-- 1 bin bin 304 Sep 10 2004 hpws_apacheconf
-r--r--r-- 1 bin bin 530 Aug 31 2005 hpws_tomcatconf
-r--r--r-- 1 bin bin 247 Dec 10 2002 hpws_webminconf
-r--r--r-- 1 bin bin 321 Jan 13 2004 hpws_webproxyconf
-r--r--r-- 1 bin bin 159 Dec 11 2003 hpws_xmltoolsconf
-rw-r--r-- 1 bin bin 517 May 19 2004 ipfconf
-r--r--r-- 1 bin bin 294 Mar 26 2004 kl
-r--r--r-- 1 bin bin 1052 May 9 2004 kwdbd
-r--r--r-- 1 bin bin 1820 Mar 26 2004 list_mode
-r--r--r-- 1 bin bin 107 Sep 3 2003 lp
-r--r--r-- 1 bin bin 1146 Sep 3 2003 mailservs
-r--r--r-- 1 bin bin 3754 Aug 11 11:29 namesvrs
-r--r--r-- 1 bin bin 1934 Sep 8 2004 nddconf
-r--r--r-- 1 bin bin 6033 Aug 11 16:09 netconf
-r--r--r-- 1 bin bin 10544 Aug 26 2004 netconf-ipv6
-r--r--r-- 1 bin bin 2155 Aug 11 11:29 netdaemons
-r--r--r-- 1 bin bin 2285 May 18 2004 nettl
-r-xr--r-- 1 bin bin 2408 Sep 20 14:51 nfsconf
-r--r--r-- 1 bin bin 1608 Mar 26 2004 pci_olar
-r--r--r-- 1 bin bin 563 Aug 30 2004 pppoe
-rw-r--r-- 1 root sys 14 Jan 28 2006 prngd
-r--r--r-- 1 bin bin 355 Mar 26 2004 ptydaemon
-r--r--r-- 1 bin bin 585 Mar 26 2004 pwgr
-r--r--r-- 1 root sys 315 Jan 28 2006 rstemsListener
-r-------- 1 root sys 126 Oct 7 2005 runner.conf
-rwxr-xr-x 1 root sys 1107 Jul 28 2005 samba
-r--r--r-- 1 bin bin 2317 Mar 26 2004 savecrash
-r-------- 1 bin bin 709 Nov 26 2003 sec_mgmt
-r--r--r-- 1 bin bin 175 Mar 26 2004 set_date
-r-------- 1 bin bin 780 Nov 26 2003 spc
-r--r--r-- 1 bin bin 123 Jan 28 2006 sshd
-r--r--r-- 1 bin bin 448 Mar 4 1995 swconfig
-r--r--r-- 1 bin bin 117 Mar 26 2004 syncer
-r--r--r-- 1 bin bin 5517 Oct 11 2005 syslog-ng
-r--r--r-- 1 bin bin 929 Mar 26 2004 syslogd
-r--r--r-- 1 bin bin 985 Sep 3 2003 tps
-r--r--r-- 1 bin bin 153 Mar 26 2004 utmpd
-r-xr-xr-x 1 root other 1425 Jan 28 2006 veaservice
-r--r--r-- 1 bin bin 4247 Aug 26 2004 vlanconf
-r--r--r-- 1 bin bin 427 Sep 3 2003 vt
-r--r--r-- 1 bin bin 1167 Mar 22 2005 xf86
-r-xr-xr-x 1 bin bin 206 Sep 3 2003 xfs
-r--r--r-- 1 bin bin 198 Jan 28 2006 ypldapd

===========================================

Example: I dont need the sendmail server, because the Oracle 10g not usage this.

Whats other services I can Stop?

And How ?


Thanks

5 REPLIES 5
freddy_21
Respected Contributor

Re: Services initialization

You must check at /etc/rc.log, what service will be up when you restart the server.

for send mail

temporary solution:
/sbin/init.d/sendmail stop

permanent solution

/etc/rc.config.d/mailservs

change value SENDMAIL_SERVER to be 0


thanks
fredy
IT_2007
Honored Contributor
Solution

Re: Services initialization

You can check lot of services which you may not need.

telnet
snmp
sendmail
audio
cde --> Common Desktop Environment
nfsconf --> if you don't want NFS server and client services
samba

Also check /etc/rc.log file and some of them are already disabled. Check /etc/inetd.conf and services files too which you need to edit them to disable.
marvik
Regular Advisor

Re: Services initialization

If you dont need to mount any windows share on ur box u can disble cifs client/server.
Check for cimserver.
Incase no NIS remove ypldapd.

check /sbin/init.d/ and remove the script from there.
/etc/rc.config.d carries the conf files only.
Dont forget to remove the link files from respective /sbin/rc*.d/

Hope this helps

Marvik
Leonardio
Occasional Advisor

Re: Services initialization

Ok I have theses services initialization
========================================
cd /etc/rc.config.d

# grep -l =1 *
Rpcd
SnmpHpunix
SnmpMaster
SnmpMib2
SnmpTrpDst
auditing
cifsclient
cimserver
clean
clean_tmps
clean_uucp
comsec
cpumap2
crashconf
cron
diagnostic
ems
emsagtconf
envd
fc_fcd_conf
fc_td_conf
hparamgr
hpfcmsconf
hpsmh
ipfconf
kl
list_mode
lp
mailservs
nddconf
netconf
netdaemons
nettl
nfsconf
pci_olar
prngd
ptydaemon
pwgr
rstemsListener
runner.conf
savecrash
spc
sshd
syncer
syslog-ng
utmpd
veaservice
vt
xf86
===========================================
Whats can stop?

IT_2007
Honored Contributor

Re: Services initialization

Rpcd
SnmpHpunix -- this one
SnmpMaster -- this one
SnmpMib2 -- this one
SnmpTrpDst -- this one
auditing
cifsclient -- this one
cimserver -- this one
clean
clean_tmps
clean_uucp
comsec
cpumap2
crashconf
cron
diagnostic
ems
emsagtconf
envd
fc_fcd_conf
fc_td_conf
hparamgr
hpfcmsconf
hpsmh
ipfconf
kl
list_mode
lp -- this one
mailservs -- this one
nddconf
netconf
netdaemons -- Check which ones in this file
nettl
nfsconf -- this one
pci_olar -- this one - if you don't use online replacement
prngd
ptydaemon
pwgr
rstemsListener
runner.conf
savecrash
spc
sshd
syncer
syslog-ng
utmpd
veaservice
vt
xf86 -- this one

Also you got to see what applications might have put init scripts here like veaservice etc..