Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] cups and networking



On Fri, May 18, 2007 at 10:44:02AM +0900, Darren Cook wrote:
> [snip] 
> 
> I checked the logs locally and just see the above error message. I
> cannot see anything related in the server logs, though I may not be
> looking in the correct places.

    From a glance, I can suspect two things I'd check first...

1. Check your firewall to see if port 631 or whatever port you are using
   cups is open on your print server

2. Check to see if  your cupsd.conf is only willing to
accept jobs from the machine connected to the printer directly but not
remote machines.  You might want to muck with /etc/cups/cups.conf or
wherever it is stored on your system and check for something like...

<Location />
Order Deny,Allow
Deny From All
Allow From @LOCAL
</Location>

    If you're missing the Allow from @LOCAL or something similar 
I believe cups will just deny access to it.


> 
> Could someone give me a hint where I should be looking to fix this (e.g.
> remote cups config, local cups config, firewall, somewhere else...) or
> how I narrow down the problem? Thanks! (Unfortunately the configuration
> I had for the previous printer, which did work, seems to have been
> overwritten in one of my attempts; I don't even remember if I was using
> cups or not.)

    D'oh.  I hate when this happens.  It's always a good reminder to
remember to copy your working configs into a save directory to use as a later
reference when something breaks (again).
    Or use RCS|svn|git|cvs|my-favorite-tool and enjoy the power of
version control


Alain


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links