Operating System - HP-UX
1836579 Members
1942 Online
110102 Solutions
New Discussion

csa_PRINTER_TYPE , csa_LOCAL_PNAME

 
Eric Phenix
Occasional Contributor

csa_PRINTER_TYPE , csa_LOCAL_PNAME

Hi,

Anyone have ever got this error when trying to save/restore the print spooler configuration with SAM:

An unexpected failure error occure with sam:
"/usr/sam/lbin/lpmgr". Exit value was 1....

csa_PRINTER_TYPE: The specified subscript cannot be greater than 1024.

csa_LOCAL_PNAME: The specified subscript cannot be greater than 1024.

Because I suspect it to be corrupted cause I can't print anymore and there is no error in lp log and syslog. Printer name is ok, all printers connection are ok. lpsched is running and everytime you submit a job he accepting it. It's get queued and dissappear from the directory Request/Printername. But nothing from the printers. BTW all other servers can print perfectly.

Cheers,
Eric

If it's not broke don't FIX it!!!
5 REPLIES 5
kamal_9
Super Advisor

Re: csa_PRINTER_TYPE , csa_LOCAL_PNAME

Hi
The problem is particullarly with one printer or with all printer configured in the server.
Eric Phenix
Occasional Contributor

Re: csa_PRINTER_TYPE , csa_LOCAL_PNAME

Hi,

It's with all the printers. We have several servers identical and all work fine.

Is csa_PRINTER_TYPE and csa_LOCAL_NAME a kernel parameters to modify?

Can't find any information on the web and on itrc about these two things.

Regards,
Eric

If it's not broke don't FIX it!!!
kamal_9
Super Advisor

Re: csa_PRINTER_TYPE , csa_LOCAL_PNAME

Hi Eric
Can you try the following
lpshut
lpadmin -p(printername) -mdumb -v/dev/cxlx..(interface )
lpsched
accept
enable
just create a test printer and see.
Eric Phenix
Occasional Contributor

Re: csa_PRINTER_TYPE , csa_LOCAL_PNAME

First our printer have HP jetdirected, so it a remote connection I'm making. I try but still have the same problem. Submit the job, accepted without problem but nothing seem to go out of the spooler. Check patch for spool problem but can't find anything relate to these errors.

Also I receive in my mail this error from this server:

error code 127 in request tigger-15 on printer tigger

Does anyone had ever had this error?


Cheers

Eric
If it's not broke don't FIX it!!!
Ermin Borovac
Honored Contributor

Re: csa_PRINTER_TYPE , csa_LOCAL_PNAME

I think that when you try to save print spooler configuration, SAM executes shell script /usr/sam/lbin/lpmgr as follows.

/usr/sam/lbin/lpmgr -S -xsavedir=/var/sam/lp

You can verify this by looking at /var/sam/log/samlog.

csa_PRINTER_TYPE and csa_LOCAL_PNAME are variables used in /usr/sam/lbin/lpmgr shell script.

What happens when you try to list your printer queues with

/usr/sam/lbin/lpmgr -l

How many printer queues do you have on this system?
Do you have any SAM patches installed?