[olug] cups

Rob Townley rob.townley at gmail.com
Tue Jan 15 00:22:51 UTC 2008


On Jan 11, 2008 8:11 PM, Tim & Alethea Larson <thelarsons3 at cox.net> wrote:

> Rob Townley wrote:
> > Sorry i don't have a reference for cups.
> > Have you ruled out the firewall?
> > Can you open http(s)://ipaddress:631/ <http://ipaddress:631/> from
> another
> > machine on the LAN?  From localhost:631?
> > Does netstat -an indicate port 631 is shared on anything but 127.0.0.1?
> >
> > #Generate a list of your firewall rules:
> > iptables -list
> > #Turn off the firewall _temporarily_ on many machines:
> > service iptables stop
> > #Turn the firewall back on:
> > service iptables start
> >
> >
> > Over the New Year's Holidays, i had to do some big backups.  mounting
> with
> > type CIFS worked where smbfs did not.   Are your clients trying to print
> > using SaMBa, lpr, or some goofy Internet Print Protocol?
>
> I'm just trying to print from the local box so far.  I'll worry about
> sharing once I get the printer to respond.
>
> I did find where the log file is kept, which is much more informative
> than what is displayed thru the web interface.  There is a perl error
> displayed, though I forget what right ATM.  Is CUPS written in perl?
>
>
> Tim
> --
> Tim & Alethea
> christtrek.org
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
>


#Even if just trying to use on a local box, AFAIK, cupsd / 631 still needs
to be shared
#on localhost.  127.0.0.1:631   If not, i bet something is  wrong with
initializing cupsd.
$ /etc/init.d/cupsys status | stop | start
#Did you find /var/log/cups/error_log?  Does it say it can't bind to a port?

$netstat -an | grep 631

#Here is a simple way to find all files modified on the machine after a
certain time.
$ touch /tmp/now

# try a print job or modify config in gui...
# This should find all files modified ( -newer) since the time /tmp/now was
created.
$ find / -newer /tmp/now

 # If last access time is enabled on your mount point,
# the -anewer option should find all files accessed but not necessarily
modified.
# Maybe the cupsuser is trying to read or write a directory it does not have
permission for?
# anewer i have no
$ find / -anewer /tmp/now



More information about the OLUG mailing list