Memory fault when printing to one particular queue

From: McCracken, Denise (Denise.McCracken@misyshealthcare.com)
Date: Thu Jun 10 2004 - 14:15:17 EDT


        I have a 5.1a pk4 site that was just upgraded from 4.0f. Hardware
is ES40. Everything is fine except for this one print queue, sq600, that
gives me a Memory fault when I try to send a job to it.

OSF1 osflab@CLC:/# lpr -P sq600 tmpfile
Memory fault

        Any other printer works fine. I'll use sq615 as an example.

        I can find nothing abnormal in the printcap entry, I can telnet to
the JetDirect card, have cycled the lpd, have tried restarting the queues,
and still the same Memory fault. This looks like a remote printer.

        Would appreciate any help on this. I am totally baffled.

sq600|lp7|600:\
        :lf=/usr/adm/lp7err:\
        :lp:\
        :rm=sq600:\
        :rp=text:\
        :sb:\
        :sd=/usr/spool/lpd7:
 
sq615|lp8|615:\
        :lf=/usr/adm/lp8err:\
        :lp=:\
        :rm=sq615:\
        :rp=text:\
        :sb:\
        :sd=/usr/spool/lpd8:

OSF1 osflab@CLC:/usr/spool # ls -l lpd7
total 7
-rw-r----x 1 root daemon 4 Jun 10 11:29 .seq
-rw-r--r-- 1 root daemon 6 Jun 10 11:24 lock
-rw-rw-r-- 1 root daemon 27 Jun 7 08:03 status
-rw-rw---- 1 daemon daemon 8 Jun 10 11:15 tfA369osflab
-rw-rw---- 1 daemon daemon 8 Jun 10 11:23 tfA370osflab
-rw-rw---- 1 daemon daemon 8 Jun 10 11:24 tfA371osflab
-rw-rw---- 1 daemon daemon 8 Jun 10 11:29 tfA372osflab

OSF1 osflab@CLC:/usr/spool # ls -l lpd8
total 3
-rw-r----x 1 root daemon 4 Jun 10 11:25 .seq
-rw-r--r-- 1 root daemon 19 Jun 10 11:25 lock
-rw-rw-r-- 1 root daemon 27 Jun 10 11:25 status

OSF1 osflab@CLC:/usr/spool # lpc stop sq600
sq600:
        printing disabled
OSF1 osflab@CLC:/usr/spool #
OSF1 osflab@CLC:/usr/spool # lpc start sq600
sq600:
        printing enabled
        daemon started

>From lpstat:

sq600:
osflab: Mon Jun 7 08:03:06 2004:
JetDirect lpd: no jobs queued on the port Text
 
sq615:
osflab: Thu Jun 10 11:25:10 2004:
JetDirect lpd: no jobs queued on the port Text

OSF1 osflab@CLC:/# lpc restart sq600
sq600:
        no daemon to abort
sq600:
        daemon started

OSF1 osflab@CLC:/# lpc restart sq615
sq615:
        no daemon to abort
sq615:
        daemon started

        I see that it puts one of these 8-byte tf* files in the spool
directory for each print request. They contain only H<hostname>. I can use
lpc clean and get rid of them.

OSF1 osflab@CLC: # lpc down sq600
sq600:
        printer and queuing disabled
OSF1 osflab@CLC: # lpc up sq600
sq600:
        queuing enabled
        printing enabled
        daemon started

OSF1 osflab@CLC: # lpc clean sq600
sq600:
        removed /usr/spool/lpd7/tfA376osflab

Created a new print queue, sq601 going to the same printer

sq601|lp27|601:\
        :lf=/usr/adm/lp7err:\
        :lp:\
        :rm=sq601:\
        :rp=text:\
        :sb:\
        :sd=/usr/spool/lpd21:

Same thing, Memory fault
OSF1 osflab@CLC: # lpr -P sq601 tmpfile
Memory fault

        So it has something to do with the printer itself? The only other
thing that I've found is that lpd isn't always running. I restarted it this
way:

OSF1 osflab@CLC:/etc # /sbin/rc3.d/S65lpd stop
OSF1 osflab@CLC:/etc # /sbin/rc3.d/S65lpd start
Printer service started

        I'm open to any suggestions on this problem.

thanks

-d

"Customer service may be the only way that a
company can distinguish itself from its
competition these days." -H. Frank Gibbard

Denise McCracken, Systems Software Specialist
Misys Healthcare Systems, Tucson, AZ

Certified Tru64 v5 Systems Administrator
Comptia Network+ Certified Professional



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:50:01 EDT