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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error when add a new printer using smitty

Status
Not open for further replies.

aceed

Technical User
Apr 20, 2003
18
IN
I have problem when try to add a new printer using smitty. os version 4.3.3

error message:
opening the ODM class "sm_cmd_hdr" failed (odmerrno is 5908). use local remote problem reporting procedure


Thanks in advance
 
HI,

Just found this on Google:

TITLE : ODM class "sm_cmd_hdr" error when adding or changing a
spooler print queue.
OS LEVEL : AIX 4.2
DATE : 28/04/2000
VERSION : 1.0

----------------------------------------------------------------------------

The following error is displayed when either trying to add a print spooler
queue or changing the attributes on an existing print spooler queue :-

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

This generally happens after printers.rte has been updated. The smit menu
files in /var/spool/lpd/pio/@local/smit have all been set to zero file
length :-

-rw-rw-r-- 1 root printq 0 20 Jul 1999 sm_cmd_hdr
-rw-rw-r-- 1 root printq 0 20 Jul 1999 sm_cmd_hdr.vc
-rw-rw-r-- 1 root printq 0 20 Jul 1999 sm_cmd_opt
-rw-rw-r-- 1 root printq 0 20 Jul 1999 sm_cmd_opt.vc
-rw-rw-r-- 1 root printq 0 20 Jul 1999 sm_menu_opt
-rw-rw-r-- 1 root printq 0 20 Jul 1999 sm_menu_opt.vc
-rw-rw-r-- 1 root printq 0 20 Jul 1999 sm_name_hdr
-rw-rw-r-- 1 root printq 0 20 Jul 1999 sm_name_hdr.vc

To correct this problem, copy all the sm_* files from /usr/lpp/printers.rte/inst_root/var/spool/lpd/pio/@local/smit
to the /var/spool/lpd/pio/@local/smit directory

-rw-rw-r-- 1 root printq 4096 12 Apr 1996 sm_cmd_hdr
-rw-rw-r-- 1 root printq 4096 12 Apr 1996 sm_cmd_hdr.vc
-rw-rw-r-- 1 root printq 4096 12 Apr 1996 sm_cmd_opt
-rw-rw-r-- 1 root printq 4096 12 Apr 1996 sm_cmd_opt.vc
-rw-rw-r-- 1 root printq 4096 12 Apr 1996 sm_menu_opt
-rw-rw-r-- 1 root printq 4096 12 Apr 1996 sm_menu_opt.vc
-rw-rw-r-- 1 root printq 4096 12 Apr 1996 sm_name_hdr
-rw-rw-r-- 1 root printq 4096 12 Apr 1996 sm_name_hdr.vc

The smit screens will not display any information for any current
spooler queues (as the information has been lost) but new spooler queues
can now be added.


Long live king Moshiach !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top