Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print queue creation problem

Status
Not open for further replies.

deadbeef

IS-IT--Management
Jul 31, 2001
39
CA
Hi,

I tried to create a print queue with smith and i got
an error:

" 1800-106 An error occurred:
0782-626 Opening the ODM class "sm_cmd_hdr" failed
(odmerrno is 5908)
Use local problem reporting procedures."

What can i do ?
 


Well first I would check.........

lslpp -l | grep bos.rte.printers
lslpp -l | grep printers.rte
and see if the filesets are installed, if not, install them...


lppchk -v
lppchk -c
Anything broken?

reinstall if broken...or add a patch for that fileset


cd /var/spool/lpd/pio/@local/smit
and do an ls -la
Do you have sm_cmd_hdr? Is it zero bytes?
Today's date?

If zero bytes in size......

cp /usr/lpp/printers.rte/inst_root/var/spool/lpd/pio/@local/smit/*
/var/spool/lpd/pio/@local/smit/

Then stop the printers
stopsrc -cg spooler and then
startsrc -g spooler

Lastly
check you /etc/qconfig file.......it sounds like there is garbage in it
0782-626

0782-626 At attempt to add queue.
With 0781-017
Had dummy entries in /etc/qconfig

If a printer was recently added .........delete it and readd it........look at the
last printer...does it have two stanzas..........?
.
Check stanza
two for every printer.......look for errors.

sales:
device = @chsal20
host = chsal20
rq = pcl
s_statfilter = /usr/lib/lpd/aixshort
l_statfilter = /usr/lib/lpd/aixlong
@chsal20:
header = always
trailer = never
access = both
backend = /usr/lib/lpd/pio/etc/piorlfb -f !

lp0:
discipline = fcfs
up = TRUE
device = dlp0

dlp0:
backend = /usr/lpd/piobe
file = FALSE
access = write
feed = never
header = never
trailer = never

Good luck
 
One last thing...on that last item...if you change the /etc/qconfig file
I would suggest making a copy of it before you play with it..............

cp /etc/qconfig /etc/qconfig.orig

then vi it and look for problems...

Before you can use it........you must

stopsrc -cg spooler
startsrc -g spooler

it will create a new /etc/qconfig.bin
 
Thanks !

I had zero bytes in size......

Did what you said

cp /usr/lpp/printers.rte/inst_root/var/spool/lpd/pio/@local/smit/*
/var/spool/lpd/pio/@local/smit/

Then stop the printers
stopsrc -cg spooler and then
startsrc -g spooler

Everything is fine now.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top