HPE GreenLake Administration
Operating System - HP-UX
1834499
Members
2629
Online
110068
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2006 03:09 AM
03-20-2006 03:09 AM
ICOD
Hi people, well this ICOD daemon is respawning on my console every 5 seconds. I tried to grep it but i didnt get any entry i did:
# ps -ef | grep -i icod
root 26712 26404 0 11:00:04 pts/ta 0:00 grep -i icod
And in the inittab entry i got.
icod:23456:respawn:/usr/lbin/icodd # iCOD daemon
So, how do i get rid of it....
Thanks.
# ps -ef | grep -i icod
root 26712 26404 0 11:00:04 pts/ta 0:00 grep -i icod
And in the inittab entry i got.
icod:23456:respawn:/usr/lbin/icodd # iCOD daemon
So, how do i get rid of it....
Thanks.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2006 03:16 AM
03-20-2006 03:16 AM
Re: ICOD
Shalom,
This usually ahppens when someone tries to have this daemon run out of /etc/inittab instead of setting it up with a startup script in /sbin/init.d
TAke it out of inittab
SEP
This usually ahppens when someone tries to have this daemon run out of /etc/inittab instead of setting it up with a startup script in /sbin/init.d
TAke it out of inittab
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
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2006 03:52 AM
03-20-2006 03:52 AM
Re: ICOD
Shouldn't be in inittab at all....
You should have a cron job:
0 12 * * * /usr/sbin/icod_notify -c /dev/null 2>/dev/null
and in /sbin/init.d an icod script:
# cat icod
#!/sbin/sh
#
# $Revision: 72.13 $ $Date: 2001-05-07 17:15:20-06 $
#
# Copyright (C) 1993, 1994 Hewlett-Packard Company
#
# NOTE: This script is not configurable! Any changes made to this
# script will be overwritten when you upgrade to the next
# release of HP-UX.
#
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
rval=0
set_return() {
x=$?
if [ $x -ne 0 ]; then
echo "EXIT CODE: $x"
rval=1 # always 1 so that 2 can be used for other reasons
fi
}
case $1 in
start_msg)
echo "Initialize capacity on demand"
;;
stop_msg)
echo "Stopping capacity on demand"
;;
'start')
case $(uname -m) in
9000/8*)
/usr/sbin/icod_modify -b >/dev/null 2>&1
rval=$?
if [ "$rval" = 0 ]; then
/usr/sbin/icod_notify -S >/dev/null 2>&1
elif [ "$rval" = 1 ]; then
echo "ERROR: The iCOD (instant Capacity on Demand) Agent"
echo " was unable to satisfy the requested number"
echo " of active processors. For further information"
echo " about iCOD status, run icod_stat (1m)."
fi
;;
*)
rval=2; # N/A
;;
esac
;;
'stop')
case $(uname -m) in
9000/8*)
/usr/sbin/icod_notify -k >/dev/null 2>&1
;;
*)
rval=2; # N/A
;;
esac
;;
*)
echo "usage: $0 {start|stop}"
rval=1
;;
esac
exit $rval
And the links:
# ll /sbin/rc*/*icod
lrwxr-xr-x 1 root 42 17 Aug 6 2002 rc1.d/K100icod -> /sbin/init.d/icod
lrwxr-xr-x 1 root 42 17 Aug 6 2002 rc2.d/S670icod -> /sbin/init.d/icod
Rgds...Geoff
You should have a cron job:
0 12 * * * /usr/sbin/icod_notify -c /dev/null 2>/dev/null
and in /sbin/init.d an icod script:
# cat icod
#!/sbin/sh
#
# $Revision: 72.13 $ $Date: 2001-05-07 17:15:20-06 $
#
# Copyright (C) 1993, 1994 Hewlett-Packard Company
#
# NOTE: This script is not configurable! Any changes made to this
# script will be overwritten when you upgrade to the next
# release of HP-UX.
#
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
rval=0
set_return() {
x=$?
if [ $x -ne 0 ]; then
echo "EXIT CODE: $x"
rval=1 # always 1 so that 2 can be used for other reasons
fi
}
case $1 in
start_msg)
echo "Initialize capacity on demand"
;;
stop_msg)
echo "Stopping capacity on demand"
;;
'start')
case $(uname -m) in
9000/8*)
/usr/sbin/icod_modify -b >/dev/null 2>&1
rval=$?
if [ "$rval" = 0 ]; then
/usr/sbin/icod_notify -S >/dev/null 2>&1
elif [ "$rval" = 1 ]; then
echo "ERROR: The iCOD (instant Capacity on Demand) Agent"
echo " was unable to satisfy the requested number"
echo " of active processors. For further information"
echo " about iCOD status, run icod_stat (1m)."
fi
;;
*)
rval=2; # N/A
;;
esac
;;
'stop')
case $(uname -m) in
9000/8*)
/usr/sbin/icod_notify -k >/dev/null 2>&1
;;
*)
rval=2; # N/A
;;
esac
;;
*)
echo "usage: $0 {start|stop}"
rval=1
;;
esac
exit $rval
And the links:
# ll /sbin/rc*/*icod
lrwxr-xr-x 1 root 42 17 Aug 6 2002 rc1.d/K100icod -> /sbin/init.d/icod
lrwxr-xr-x 1 root 42 17 Aug 6 2002 rc2.d/S670icod -> /sbin/init.d/icod
Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2006 04:01 AM
03-20-2006 04:01 AM
Re: ICOD
HI,
For me its ok:
#grep icod /etc/inittab
icod:23456:respawn:/usr/lbin/icodd # iCOD daemon
# ps -ef | grep icod
root 4152 1 0 Mar 17 ? 0:03 /usr/lbin/icodd
You see any errors in file /var/adm/icod.log ?
For me its ok:
#grep icod /etc/inittab
icod:23456:respawn:/usr/lbin/icodd # iCOD daemon
# ps -ef | grep icod
root 4152 1 0 Mar 17 ? 0:03 /usr/lbin/icodd
You see any errors in file /var/adm/icod.log ?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP