- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- migration troubles: DNS, 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
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
05-13-2003 12:47 PM
05-13-2003 12:47 PM
1) I have a printer lp0002_1 at IP aaa.bbb.cc.ddd . I can issue lp -dlp0002_1 test.txt and see it queued with lpstat lp0002_1 --- but it never prints. Any ideas ?
2) on old system, I have the printer lp0002_1 also. I can issue "ping lp0002" because it is in my DNS table. In the DNS reversal, the entry is for lp0002.yyy.zzz. On the new system, I can issue "ping lp0002.yyy.zzz" but if I issue "ping lp0002" I get "unknown host lp0002". Any ideas on what I've missed?
thanks,
Lisa
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2003 12:51 PM
05-13-2003 12:51 PM
Re: migration troubles: DNS, printers
If you have proper entries in /etc/hosts or records in your DNS server, you should be able to do all the pings noted in your post.
If the second server needs to resolve DNS requests, than to get the necessary functionality, you'll need to build a DNS server on it to match the functionality of the 10.20 server.
Alternatively, you could work out with some /etc/hosts entries on the new server.
to make sure /etc/hosts gets used, have this as your /etc/nsswitch.conf file.
hosts: dns[notfound=continue unavail=continue tryagain=continue] files
This goes dns first, then goes to files(/etc/hosts).
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2003 12:59 PM
05-13-2003 12:59 PM
Re: migration troubles: DNS, printers
The only things in /etc/hosts on either system are IP addresses for the 2 UNIX boxes and some of the NT servers. Any other suggestions? I'm an application person that acts as sysadm and I find that I don't know enough internals to reason through this one.
Lisa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2003 01:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2003 01:16 PM
05-13-2003 01:16 PM
Re: migration troubles: DNS, printers
I put the entry in /etc/resolv.conf and I can now ping lp0002 (and yes, I had already copied the named.boot).
now, if only I could print to that printer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2003 09:05 AM
05-15-2003 09:05 AM
Re: migration troubles: DNS, printers
If you can ping whatever the printer is configured as (IP or name), there's a chance the spooler "disabled" the printer when it saw it down. You check via "lpstat -t" and re-enable via "enable lp002_1". Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2003 09:49 AM
05-15-2003 09:49 AM
Re: migration troubles: DNS, printers
the DNS entry associates lp0002 with aaa.bbb.ccc.ddd .
when create the printer via sam - giving a printer name of lp0002 - sam automatically adds the _1 to make lp0002_1 . so when we ping the printer we ping lp0002, but when we print we use
lp -dlp0002_1
the problem was solved on the new box by using transferqueues to port over the queue defs and/or using removequeue and addqueue on the new box (or asking sam to remove & add again)