1833758 Members
3197 Online
110063 Solutions
New Discussion

Re: Process hpnpf

 
Elizangela_1
Frequent Advisor

Process hpnpf

Hi,

The queue for netowrk printers are buffering.
When this occur, the process hpnpf in the top command show 90% de CPU.

Every time I have to execute the cancel -e and the process die.
16 REPLIES 16
Massimo Bianchi
Honored Contributor

Re: Process hpnpf

Elizangela_1
Frequent Advisor

Re: Process hpnpf

Thanks,

But in the printers not appear this option "job Recovery", only this:

Options: Current Settings:
-------- -----------------
1) JobMonitor [OFF]
2) Default Queue [NO]
3) Status Log [OFF]

Elizangela
Geoff Wild
Honored Contributor

Re: Process hpnpf

What is output of:

hpnpadmin -S

Have you tried restarting the scheduler?

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.
Elizangela_1
Frequent Advisor

Re: Process hpnpf

Hi,

I restart scheduler, but continue the same.

When execute the comand, output is
lp9900: Unknown printer
: Error sending SNMP request.
*** Can't find the session!

But the printer exist

Thanks
Geoff Wild
Honored Contributor

Re: Process hpnpf

ok - lp9900 - is it a jet direct printer? or is it remote? Can you resolve it with dns?

nslookup lp9900

Can you ping it?

How about:

lpstat lp9900

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.
Elizangela_1
Frequent Advisor

Re: Process hpnpf

I can't ping it.

Output of nslookup command:

Using /etc/hosts on:

looking up FILES
Trying DNS
looking up FILES
*** No address information is available for "lp9900"

Output of lpstat in this moment show nothing, because always I need to cancel jobs, if not process hpnpf appear on top with 90% de cpu.
Elizangela_1
Frequent Advisor

Re: Process hpnpf

Geoff,

In the file /etc/lp/interface/printer name, the variable PERIPH have the ip 10.51.1.50, but cant't ping it.
Geoff Wild
Honored Contributor

Re: Process hpnpf

The spooler relies on DNS - it has the be able to resolve the printers....

Do you know the ip address of the printer?

If yes, as a test - just add it to youe /etc/hosts file.


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.
Elizangela_1
Frequent Advisor

Re: Process hpnpf

Hi,

I add in /etc/hosts, but jobs still in the queue. When I execute the lpstat - command this appear.

Geoff Wild
Honored Contributor

Re: Process hpnpf

Yes, if you can't ping it, or connect to it with hpnpadmin, then you will not be able to print to it. Best thisng to do is to disable it:

disable lp9900

Then try to find out if the printer is powered off or if you have a network issue...


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.
Elizangela_1
Frequent Advisor

Re: Process hpnpf

OK..

I did a test with another printer that can ping.

The job for this printer still in the queue but I can ping.

When I tried connect to hpnpadmin, output is

Control Panel : not specified
Line State : Offline

Elizangela_1
Frequent Advisor

Re: Process hpnpf

Hi,

It's very difficult!!!!!

I did a test with another printer that ping, but can't connect with hpnpadmin .

What's relation?

If ping the printer, necessary connect with

hpnpadmin?

Thanks
Geoff Wild
Honored Contributor

Re: Process hpnpf

Line State : Offline

That means the printer is offline and will not accept print jobs. Someone has to put it online.


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.
Geoff Wild
Honored Contributor

Re: Process hpnpf

Another thing to check is to make sure you are using the latest jet direct software...

http://www.hp.com/cgi-bin/cposupport/swdl.pl?c=ja243&i=ja-6671-1&p=hpjdprinte18922&n=hp+jd+printer+installer+for+hp-ux+11.x


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.
Elizangela_1
Frequent Advisor

Re: Process hpnpf

But after upgrade the jet direct sofware, I need to install all printers again?

Geoff Wild
Honored Contributor

Re: Process hpnpf

You shouldn't have to re-install the printers...just in case, backup your spooler configuration:

Backup the spooler configuration:

/usr/sam/lbin/lpmgr -S -v -xsavedir=/var/sam/lp/

cd /var/sam
tar cvf lp.tar lp

If you have to restore:

cd /var/sam
tar xvf lp.tar
/usr/sam/lbin/lpmgr -R -xsavedir=/var/sam/lp/

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.