|
Can Not Stop Daemons With '/sbin/init.d/drp.damon stop' command, in HP-UX When More Than One PortServer is Configured (driver version 1.3.2 or earlier) Can Not Stop Daemons With '/sbin/init.d/drp.damon stop' command, in HP-UX When More Than One PortServer is Configured (driver version 1.3.2 or earlier) Symptom:
When driver version 1.3.2 or earlier is used, issuing command /sbin/init.d/srp.daemon
stop results an error message:
./drp.daemon[34]: 3689^J3693^J3684^J3691: Specify a process identifier or a
%job
number.
Resolution:
edit /sbin/init.d/drp.daemon file and towards the end in a stop statement
"stop")
PID=`ps -e | awk '$4 == "drpd" {print $1}'`
[ -z "$PID" ] && exit 2
kill "$PID"
remove "" from kill "$PID"
It will read
"stop")
PID=`ps -e | awk '$4 == "drpd" {print $1}'`
[ -z "$PID" ] && exit 2
kill $PID
|