- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Restoring all my printers
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
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
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
тАО09-21-2005 08:00 AM
тАО09-21-2005 08:00 AM
Restoring all my printers
I'm trying to see if I can recover them from the backup tape instead of manually recreating them all. I'm not having much luck.
I've restored the contents of /var/spool and /etc/lp. The printers now show up in SAM, but the "Enabled to Print" and "Accepting Requests" fields are blank, and sure enough you can't actually print to them.
I've tried the save/restore spooler option to see if that would resolve any problems but I guess it's just saving something it's not happy with, and restoring to the same point.
How can I recover all these printers?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2005 08:03 AM
тАО09-21-2005 08:03 AM
Re: Restoring all my printers
Have you checked the entries in /etc/hosts is present for these printers, [ Assuming printers are remote ]
Also stop and start the scheduler , and check ,
hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2005 08:05 AM
тАО09-21-2005 08:05 AM
Re: Restoring all my printers
You would not happen to have an other server with the same printers configured ?
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2005 08:10 AM
тАО09-21-2005 08:10 AM
Re: Restoring all my printers
I've got other systems that have similar printers, but I can't guarentee they are all going to be there. I guess you're suggesting dooing a spooler save on the other system, then ftp over /var/spool/lp, and restore?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2005 08:10 AM
тАО09-21-2005 08:10 AM
Re: Restoring all my printers
I would also check what cause this problem and that might give you a better idea to troubleshoot the issue. If only some files have been deleted, then restoring files is the option. Restore files from /usr/lib/lp, /etc/lp, /var/spool/lp and /var/adm/lp. Also make sure your print configuration is working okay by creating a new test print queue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2005 08:12 AM
тАО09-21-2005 08:12 AM
Re: Restoring all my printers
It don't help you at this time but, maybe the next ...
In SAM, "Printers and Plotters" you can find an option, "Save/Restore Printer configuration" .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2005 08:13 AM
тАО09-21-2005 08:13 AM
Re: Restoring all my printers
I'm restoring the files again, so I guess I'll wait and see if it works better this time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2005 08:14 AM
тАО09-21-2005 08:14 AM
Re: Restoring all my printers
1) Save the currently defined printer configurations:
on a good system
# /usr/sam/lbin/lpmgr -S -v -xsavedir=/tmp/printers
2) copy directory /tmp/printers onto the other server
3) Restore the printer configurations:
# /usr/sam/lbin/lpmgr -R -v -xsavedir=/tmp/printers
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2005 08:51 AM
тАО09-21-2005 08:51 AM
Re: Restoring all my printers
You need to restore all this , to get the printers work properly:
This all files are responsible for keeping the printer configuration and informations:
-----------------------------------------------------------------------------------------
drwxr-xr-x 2 root sys 1024 Sep 21 16:49 cinterface
drwxr-xr-x 2 root sys 96 Sep 21 16:49 class
-rw-r--r-- 1 root sys 8 Sep 21 16:49 default
drwxr-xr-x 2 root sys 96 Sep 21 16:49 dev
drwxr-xr-x 3 root sys 1024 Sep 21 16:49 interface
-rw-r--r-- 1 root sys 527 Sep 21 16:49 lpinfo
drwxr-xr-x 2 root sys 1024 Sep 21 16:49 member
-rw-r--r-- 1 root sys 13608 Sep 21 16:49 pstatus
drwxr-xr-x 2 root sys 1024 Sep 21 16:49 sinterface
-rw-r--r-- 1 root sys 18 Sep 21 16:49 timestamp
---------------------------------------------------------------------------------------
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2005 08:54 AM
тАО09-21-2005 08:54 AM
Re: Restoring all my printers
The dev directory above mentioned is not the /dev directory , but its /var/sam/lp/dev .
Cheers,
Raj.