CUPS

Seth Dimbert s.dimbert at fhmr.com
Mon Oct 28 21:55:44 CST 2002


Duane,

Thanks for answering... But I am not sure exactly what to make of your
answer. I entered the commands you gave me. Here, step by step, are the
results:

> 1.  Check to make sure cupsd is running:
> 
> ps aux | grep cupsd
-------------------------------------------------
[seth at MYBOX seth]$ su -
Password:
[root at MYBOX root]# ps aux | grep cupsd
root     18292  0.0  1.4  5904  396 ?        S    Oct27   0:00 cupsd
root     18838  0.0  2.5  1788  684 pts/0    S    20:58   0:00 grep cupsd
-------------------------------------------------
> > 2.  check the /etc/cups/cupsd.conf file to make sure your localhost has
> access permissions:
> 
> grep -B 1 -C 5 "<Location />" /etc/cups/cupsd.conf
My output:
-------------------------------------------------
[root at MYBOX root]# grep -B 1 -C 5 "<Location />" /etc/cups/cupsd.conf
grep: <Location />: No such file or directory
/etc/cups/cupsd.conf-# MaxLogSize: controls the maximum size of each log
file before they are
/etc/cups/cupsd.conf:# rotated.  Defaults to 1048576 (1MB).  Set to 0 to
disable log rotating.
/etc/cups/cupsd.conf-#
/etc/cups/cupsd.conf-
--
/etc/cups/cupsd.conf-# MaxJobs: maximum number of jobs to keep in memory
(active and completed.)
/etc/cups/cupsd.conf:# Default is 500; the value 0 is used for no limit.
/etc/cups/cupsd.conf-#
/etc/cups/cupsd.conf-
/etc/cups/cupsd.conf:#MaxJobs 500
/etc/cups/cupsd.conf-
/etc/cups/cupsd.conf-#
--
/etc/cups/cupsd.conf-# kilobytes, "m" for megabytes, "g" for gigabytes, or
"t" for tiles
/etc/cups/cupsd.conf:# (1 tile = 256x256 pixels.)  Defaults to "8m" (8
megabytes).
/etc/cups/cupsd.conf-#
/etc/cups/cupsd.conf-
--
/etc/cups/cupsd.conf-#
/etc/cups/cupsd.conf:# Note: Using the "global" broadcast address
(255.255.255.255) will
/etc/cups/cupsd.conf-# activate a Linux demand-dial link with the default
configuration.
/etc/cups/cupsd.conf-# If you have a LAN as well as the dial-up link, use
the LAN's
--
/etc/cups/cupsd.conf-
/etc/cups/cupsd.conf:#BrowseAddress x.y.z.255
/etc/cups/cupsd.conf:#BrowseAddress x.y.255.255
/etc/cups/cupsd.conf:#BrowseAddress x.255.255.255
/etc/cups/cupsd.conf:#BrowseAddress 255.255.255.255
/etc/cups/cupsd.conf-
/etc/cups/cupsd.conf-#
--
/etc/cups/cupsd.conf-
/etc/cups/cupsd.conf:## Require a username and password (Digest/MD5
authentication)
/etc/cups/cupsd.conf-#AuthType Digest
/etc/cups/cupsd.conf-#AuthClass User
[root at MYBOX root]#
-------------------------------------------------

> 3.  check to make sure ipchains or iptables isn't blocking your very own
> localhost from accessing your own ports.
> 
> ipchains -L   (if I remember right...)
> iptables -L

My Output:
-------------------------------------------------
[root at MYBOX root]# ipchains -L
ipchains: Incompatible with this kernel
[root at MYBOX root]#
[root at MYBOX root]# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
[root at MYBOX root]#
-------------------------------------------------

I hope I haven't embarrassed myself.

Can you make heads or tails of any of this?

-SD




More information about the Kclug mailing list