APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > News Posts > Second port on EX3 printer server- mibs, snmp ––>Re:Printer Problems / Mail Msgs/ HP Jetdirect (External)
Printer Friendly Version




News Group Posts

Second port on EX3 printer server- mibs,

snmp

There was an interesting bug in the HPNP printing system - it would use SNMP to check if the print server was ready, but it ONLY cecked port 1. So, if you wanted to print to port 2, and port 1 happened to be off line, it would not print.

That probably wasn't what was going on here though. The problem ( a message about ": The output ``port'', a FIFO, was closed before all output was written. " only happened on large jobs. That would more likely indicate a buffer issue and the logical suspect would be the print server or printer - as it didn't happen (apparently) on port 1, perhaps it was the specific printer signaling an error back to the print server, which in turn passed it back to the printing system.





From: jeffl@comix.santa-cruz.ca.us (Jeff Liebermann)
Newsgroups: comp.unix.sco.misc
Subject: Re: Printer Problems / Mail Msgs/ HP Jetdirect (External)
Date: Wed, 07 Apr 1999 04:56:43 GMT
Message-ID: <370be0d7.5336399@news.ricochet.net> 
References: <debugF9IrnI.Az5@netcom.com>
<370d51a5.6588550@news.ricochet.net>
<debugF9s970.F2F@netcom.com> On Tue, 6 Apr 1999 19:37:48 GMT, debug@netcom.com (Dave Gresham) wrote: >I already have a working printer on the first port, and this printer >in indeed on the 2nd port. What is interesting is that print jobs are >sucessfully going to this printer, its only that there are times when we >get these huge email messages.



Ok, let me try to decode this cryptic description.
1. srlaser9 points to port 9101 or port #2 on the EX3 print server.
2. The error messages occur only sometimes with no obvious pattern.
3. The error messages ONLY occur with the printer on port #2.
4. The only email error messages appear from srlaser9.  All the other boxes
and ports apparently work normally and don't complain via email.

Is this correct?

>Maybe it is because of the printer being
>offline, and in the past year I have upgraded the firmware on the
>EXPlus 3 in the past year when there was even nastier bugs in it.

If you flashed it within the last year, it's probably current.

If you have SNMP running, invoke:
        getmany printer_ip public iso
and you will buried in MIB variables and values.  The firmware version
should be on the top line under sysDescr.0.  I forgot the exact OID number
or I would have supplied a "getone" command that only returns the desired
variable.  For instructions on how to make SNMP work on OSR5, see:
  http://www.cruzio.com/~jeffl/sco/snmp_install.txt
Try it.  You might like it.

>>How do I configure the HP JetDirect EX Plus3 Print Server to use HPNP?
>>  http://aplawrence.com/cgi-bin/ta.pl?arg=105327
>Already have this.



Good.  Now check that the values imbedded in the spooler scripts match
those in the Tech Article.  It's rather odd that only port #2 *SEEMS* to
having problems.  My guess is that either the port is fried on the EX3 in
question, of there is a typo error in the script where the 9101 port number
is defined.  Watch out for imbeded backspaces and invisible control
characters.  Since you apparently have other EX3 print servers available,
swapping boxes and reconfiguring the IP's will help point the finger to
either the box or the Unix configuration.

Remember: Assumption is the mother of all screwups.


-- 
Jeff Liebermann  150 Felker St #D  Santa Cruz CA 95060
(831)421-6491 pgr (831)426-1240 fax (831)336-2558 home
http://www.cruzio.com/~jeffl   WB6SSY
jeffl@comix.santa-cruz.ca.us   jeffl@cruzio.com


If this page was useful to you, please click to help others find it:  

Your +1's can help friends, contacts, and others on the web find the best stuff when they search.

Comments?




More Articles by Tony Lawrence - Find me on Google+



Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.


My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!


book graphic unix and linux troubleshooting guide




 I sell and support
 Kerio Mail server
pavatar.jpg

This post tagged:

       - Networking
       - Printing
       - SCO_OSR5
       - Troubleshooting




Unix/Linux Consultants

Skills Tests

Guest Post Here