Operating System - HP-UX
1833772 Members
2099 Online
110063 Solutions
New Discussion

HPJetAdmin Daemon not starting for HP-UX 11.0

 
Mark Hoensheid_1
Occasional Contributor

HPJetAdmin Daemon not starting for HP-UX 11.0

The JetAdmin Network Peripheral Daemon (hpnpd)
is not starting successfully.

I have recently installed JetAdmin Rev. D.06.21 for Unix and I am unable to install network based printers. I check the log and it stats that:

/sbin/rc2.d/S900hpnpd[28]: 1007 Memory fault(coredump)

Is this suggesting bad memory chip??

When I try to install network printer, JetAdmin cannot resolve the IP address or Name? Hosts & aliases file are correct and I can Ping printer from #.

Any suggestions would be appreciated..
5 REPLIES 5
Bill McNAMARA_1
Honored Contributor

Re: HPJetAdmin Daemon not starting for HP-UX 11.0

no it's not bad memory. its the app tried to alloc memory and failed.
It can also happen by incompatable binaries, memory constraints in kernel etc..
It's typically not memory unless you see errors in the syslog reporting single bit errors.. and in that case lots more stuff would be crashing.
You might want to have a look at how much swap you have. swapinfo, top

Then try to start it manually:
/sbin/init.d/jetadmin start
This file is a script, start it manually after putting set -x in the line after #!/usr/bin/ksh

Bill
It works for me (tm)
Mark Hoensheid
Advisor

Re: HPJetAdmin Daemon not starting for HP-UX 11.0

I checked the swap and there is plenty to spare. I tried to restart manually with no luck. Any other suggestions?

Thanks!
Tracey
Trusted Contributor

Re: HPJetAdmin Daemon not starting for HP-UX 11.0

I just set up a new 11.00 N machine, HP Support informed me that JetAdmin is no longer supported on 11.0 and I should install "Web JetAdmin". I installed it, and it seems to work - also works similar to the old one.
Bill McNAMARA_1
Honored Contributor

Re: HPJetAdmin Daemon not starting for HP-UX 11.0

Just because it's not supported though doesn't mean it doesn't work!

Line 28 of the S900 rc2 script is failing..
What is it refering to there?

/opt/hpnp/bin/jetadmin
Configuration script might be able to diagnose the problem also.

Bill
It works for me (tm)
Mark Hoensheid
Advisor

Re: HPJetAdmin Daemon not starting for HP-UX 11.0

Here is the rc2.d/ S900hpnpd script

#!/sbin/sh
# @(#) hpnpd.init - $Revision: 1.5 $
#
# Startup script to be placed in /sbin/init.d/hpnpd.
#
# /sbin/rc2.d/S90hpnpd is linked to /sbin/init.d/hpnpd.
# /sbin/rc1.d/K90hpnpd is linked to /sbin/init.d/hpnpd.
#

killproc() { # kill the named process(es)
pid=`/usr/bin/ps -e |
/usr/bin/grep $1 |
/usr/bin/sed -e 's/^ *//' -e 's/ .*//'`
[ "$pid" != "" ] && kill $pid
}

#
# Start/stop processes required for the hpnpd daemon
#

HPNPD=/opt/hpnp/bin/hpnpd
HPNPDR=/opt/hpnp/bin/hpnpdr

case "$1" in
'start')
if [ -x $HPNPD ]
then
$HPNPD > /dev/console 2>&1
fi
;;
'stop')
if [ -x $HPNPDR ]
then
$HPNPDR -k
else
killproc hpnpd
fi
;;

'start_msg')
echo "Starting JetAdmin Network Peripheral Daemon (hpnpd)"
;;

'stop_msg')
echo "Stopping JetAdmin Network Peripheral Daemon (hpnpd)"
;;

*)
echo "Usage: /sbin/init.d/hpnpd [start|stop|start_msg|stop_msg]"
;;
esac