Operating System - HP-UX
1834917 Members
2722 Online
110071 Solutions
New Discussion

can not print to remote printer after the /var file system full

 
irt_1
Frequent Advisor

can not print to remote printer after the /var file system full

Hi All,

I have a problem: my /var file system was full because of one application, the application problem solved and I managed to delete some files on /var/adm then the file system was on 44% again, but even after that we can not send anymore printer request.

We have serveral remote printer (using simple lp/lpd) most of the are through jetdirect on the printer site. The problem just occurred after the /var full (off course I already cleaned up after that.) Other server that print to this printer was ok.

I have delete all the files from the spool directory, disable and enable the printers and even lpshut and lpsched, but still doesn't work.

Any suggestion?

Thank you!

Iwan Tamimi

3 REPLIES 3
Redhat
Trusted Contributor

Re: can not print to remote printer after the /var file system full

Check the printer configuration by hpnpadmin -v command.

Try to clear off the print jobs by cancel -e rather that manually deleting file from /var/spool/lp/request directory .

ensure the connectivity with ping command.
Bill Hassell
Honored Contributor

Re: can not print to remote printer after the /var file system full

If the printers use HP JetDirect LAN cards, then simply delete and re-add the printer using the command line:

removequeue -q myprinter2
addqueue -q myprinter2 -h 12.34.56.78

Now if these are JetDirect cards but added with SAM or lpadmin as a "remote printer" then you are losing an enormous amount of options and flexibility that is part of the JetDirect family. The man page for net_ljx000 shows you all the options available for printers connected using addqueue (or hppi if you prefer a menu program).


Bill Hassell, sysadmin
irt_1
Frequent Advisor

Re: can not print to remote printer after the /var file system full

Hi All,

Thanks for the response, I have already done all the restarting and deleting but still didn't work , but HP support told me also to empty the /var/spool/lp/outputq. Now it's working again.

Best Regards,

Iwan Tamimi