If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):
From: Jeff Liebermann <jeffl@comix.santa-cruz.ca.us> Subject: Re: Remote printer problems Date: Sat, 21 Apr 2001 16:20:22 -0700 References: <3add8f27$0$25499$7f31c96c@news01.syd.optusnet.com.au> On Wed, 18 Apr 2001 22:56:02 +1000, "Andrew Habgood" <news@furball-it.com> wrote: >I have had a OSR5.05 multihomed system running as a print server for months >with no problem, but in the last few weeks, a few remote print queues have >intermittently gone offline.
Let me guess. You just deployed a new NT4 or W2K server that's providing
DHCP services to your network and is probably spewing RIP updates.
Perhaps a Netgear or Cisco 25xx router that arrives stock with RIP
broadcasts enabled.
> The error message in lpstat is as follows:
>
>lpd: Host name for your address (203.x.x.x) unknown
>
>203.x.x.x is obviously the external adapters IP address. Normally this will
>happen towards the end of the day, and the next morning they are back, but
>sometimes a reboot is required.
Two possibilities:
1. Something is belching RIP updates causing the route to the print
servers to be getting hosed. The easiest fix is to maim, mutiliate, or
otherwise kill the routed daemon running on the OSR5 box. Run:
ps -ef | grep "routed"
to get the process ID and kill it. Then, edit the file:
/etc/tcp
and comment out the section of code that starts routed. A wooden stake
through its heart would not be a bad idea, but is strictly optional.
Unless you're running RIP-1, your OSR5 box will never notice the
difference.
2. Corrupted ARP table caused by duplicate IP's or some kind of load
balancing or dynamic router protocol scheme. Run:
arp -a
on the OSR5 box at various times to see if there are any IP's that are
changing MAC addresses. Also run "arpwatch" on your Linux box.
>What is strange is that it is different print queues each day, and only on
>the local subnet that the servers internal network is attached to. There
>are also remote print queues on three other subnets connected via a router
>on the inside, and these have not been affected. The print queues are on
>Linux based thin client terminals.
The router will block RIP broadcasts going THRU the router. So, you'll
only see it on the subnet and side of the router that is generating the
problem. You might seem some evidence in the OSR5:
/usr/adm/syslog
file that looks something like "mutilated or corrupted DHCP request" that
are really DHCP broadcasts that OSR5 is interpretting as RIP updates.
Killing routed should make that go away.
Also, check that you have oss497c installed as there were quite a few LPR/LPD fixes included. -- Jeff Liebermann jeffl@comix.santa-cruz.ca.us 150 Felker St #D Santa Cruz CA 95060 831-421-6491 pager 831-429-1240 fax http://www.cruzio.com/~jeffl/sco/ SCO stuff
/Bofcusm/1089.html copyright 1997-2004 (various authors) All Rights Reserved
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar