Operating System - HP-UX
1833464 Members
2633 Online
110052 Solutions
New Discussion

Re: transferqueue command/script failing.

 
SOLVED
Go to solution
Ashish Palkhiwala
Occasional Advisor

transferqueue command/script failing.

I am working with HP-UX11.0 trying to copy print queues from one server to another. I am working with Jetadmin D.06.21. I have read and followed transferqueue document ( Doc Id CPObpj05377 ) step by step. I am getting following error.

Creating Queues... Please wait
10G07B01
/tmp/transferqueue.a09529
Failed to configure the spooler queue . Aborting the operation!
Re-starting lpsched

I added an "echo" to the script to view the queue name, and the model from the tar file. The $MODEL variable printed
/tmp/transferqueue.a09529. I suspect this caused the script to fail, did anyone have the same problem when they ran the script?

If so what is the solution for this?

Thanks
Ashish
3 REPLIES 3
Lazaro Vargas_1
New Member

Re: transferqueue command/script failing.

Change privileges to temporary model file:
Change chmod 660 $MODEL by
chmod 777 $MODEL

Lazaro Vargas
Lazaro Vargas_1
New Member

Re: transferqueue command/script failing.

Edit the change in file /opt/hpnp/bin/transferqueue

Best Regards

Lazaro
Lazaro Vargas
Krishna Prasad
Trusted Contributor
Solution

Re: transferqueue command/script failing.

I have been able to use SAM to backup the Spooler Configuration. Then move the backup file to the server I want to create the printers on, and then use the restore option.

1. In sam under printers and plotters use the
list -> Save/Restore option.
2. Then go to options and select save config.
It will save a file in /var/sam/lp/lpinfo.
3. Move or copy the file to the new server in
the same directory /var/sam/lp/lpinfo.
4. Go into SAM on the new server and go to printers and plotters list -> Save/Restore option.
5. Go to options and select restore config.

The new system should have all the printers the old system had.
Positive Results requires Positive Thinking