- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: having problem with printer when moving to new...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2007 01:08 AM
12-04-2007 01:08 AM
having problem with printer when moving to new server
move to new server HP-UX triton B.11.23 U 9000/800
problem with printer cannot use sam set up printer, sam complains printer already exists but I cannot see printer, using lpstat -t see all printer but cannot enable printer. My quesion, what am i missing?
I use rdist to transfer
/etc/lp -> triton
install -R -M /etc/lp;
/var/spool/lp -> triton
install -R -M /var/spool/lp;
/var/sam/lp -> triton
install -R -M /var/sam/lp;
What elese should to send to new server?
thanks a lot for your time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2007 05:06 AM
12-04-2007 05:06 AM
Re: having problem with printer when moving to new server
rdist is not the proper command to do for such an operation.
If you have both remote printers and jetdirect printers, this must be done in 2 steps.
For remote printers, use:
/usr/sam/lbin/lpmgr -S -v -xsavedir=/var/sam/lp/
On the destination host where you are doing the restore:
touch /var/sam/lp/sinterface/
touch /var/sam/lp/cinterface/
Then restore using: (after having copied over the /var/sam/lp )
/usr/sam/lbin/lpmgr -R -xsavedir=/var/sam/lp/
For jetdirect printers:
transferqueue
(see man transferqueue for more details)
if you need further assistance, please let us know.
Hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2007 05:43 AM
12-04-2007 05:43 AM
Re: having problem with printer when moving to new server
/var/spool/lp/request/
/usr/lib/lp
/var/adm/lp
please stop/start schedular and post the output of /var/adm/lp, this normal gives a good intication of what is missing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2007 06:44 AM
12-04-2007 06:44 AM
Re: having problem with printer when moving to new server
You can't use rdist to sync print queues...
You need to backup the spooler on one host, make a tarball, copy to remote host, un tar, then restore spooler...
I do it like so:
/usr/sam/lbin/lpmgr -S -v -xsavedir=/var/sam/lp/
cp -r -p /var/sam/lp/lp.new/* /var/sam/lp/
tar -cvf lp.tar /var/sam/lp
scp that to remote...
tar xvf lp.tar
lpshut
/usr/sam/lbin/lpmgr -R -xsavedir=/var/sam/lp/
lpsched -v
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2007 01:53 PM
12-04-2007 01:53 PM
Re: having problem with printer when moving to new server
Even when copying you need to take extreme care to preserve owner, group, setuid, and setgid bits are lp is extremely sensitive to these metadata.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2007 12:23 AM
12-05-2007 12:23 AM
Re: having problem with printer when moving to new server
thanks