1 |
On our LAN we have our printer hooked up to catherine.espersunited.com |
2 |
at 192.168.1.3. I set this up about a month ago, following the Gentoo |
3 |
Printing Guide. For awhile it worked, but now it doesn't. When I try |
4 |
to print something remotely from one of the other computers on the |
5 |
network, everything seems to go smoothly, but nothing actually prints. |
6 |
When I try to print something locally in seamonkey or firefox, the |
7 |
browser freezes up when I ask for the print dialog. konquerer gave me a |
8 |
hint that the CUPS server wasn't responding, but it does seem to be |
9 |
running and there doesn't seem to be anything conspicuous |
10 |
in /var/log/cups/error_log. In fact, what is there doesn't seem to |
11 |
belong there. Here's some information: |
12 |
|
13 |
catherine ~ # emerge --info |
14 |
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, |
15 |
glibc-2.6.1-r0, 2.6.24-gentoo-r4 i686) |
16 |
================================================================= |
17 |
System uname: 2.6.24-gentoo-r4 i686 AMD Sempron(tm) 2400+ |
18 |
Timestamp of tree: Thu, 03 Apr 2008 11:32:01 +0000 |
19 |
app-shells/bash: 3.2_p17-r1 |
20 |
dev-java/java-config: 1.3.7, 2.1.4 |
21 |
dev-lang/python: 2.4.4-r9 |
22 |
dev-python/pycrypto: 2.0.1-r6 |
23 |
sys-apps/baselayout: 1.12.11.1 |
24 |
sys-apps/sandbox: 1.2.18.1-r2 |
25 |
sys-devel/autoconf: 2.13, 2.61-r1 |
26 |
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, |
27 |
1.10 |
28 |
sys-devel/binutils: 2.18-r1 |
29 |
sys-devel/gcc-config: 1.4.0-r4 |
30 |
sys-devel/libtool: 1.5.26 |
31 |
virtual/os-headers: 2.6.23-r3 |
32 |
ACCEPT_KEYWORDS="x86" |
33 |
CBUILD="i686-pc-linux-gnu" |
34 |
CFLAGS="-O2 -march=i686" |
35 |
CHOST="i686-pc-linux-gnu" |
36 |
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind" |
37 |
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" |
38 |
CXXFLAGS="-O2 -march=i686" |
39 |
DISTDIR="/usr/portage/distfiles" |
40 |
FEATURES="buildpkg distcc distlocks fixpackages keepwork |
41 |
metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" |
42 |
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://adelie.polymtl.ca/ |
43 |
ftp://gentoo.risq.qc.ca/ |
44 |
ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ |
45 |
http://distro.ibiblio.org/pub/linux/distributions/gentoo/ |
46 |
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo |
47 |
ftp://mirror.iawnet.sandia.gov/pub/gentoo/ |
48 |
ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.seren.com/gentoo |
49 |
http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ |
50 |
http://cudlug.cudenver.edu/gentoo/ |
51 |
ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/ |
52 |
http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ |
53 |
http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo |
54 |
http://gentoo.netnitco.net |
55 |
ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ |
56 |
http://mirror.espri.arizona.edu/gentoo/ |
57 |
http://mirrors.acm.cs.rpi.edu/gentoo/ ftp://ftp.ndlug.nd.edu/pub/gentoo/ |
58 |
ftp://gentoo.arcticnetwork.ca/pub/gentoo/ |
59 |
http://gentoo.arcticnetwork.ca/ |
60 |
http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.llarian.net/ |
61 |
ftp://gentoo.llarian.net/pub/gentoo http://gentoo.binarycompass.org |
62 |
http://gentoo.mirrored.ca/ ftp://gentoo.mirrored.ca/ |
63 |
http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo |
64 |
http://gentoo.cs.lewisu.edu/gentoo/ ftp://linux.cs.lewisu.edu/gentoo/ |
65 |
http://prometheus.cs.wmich.edu/gentoo |
66 |
http://modzer0.cs.uaf.edu/public/gentoo/ |
67 |
http://mirror.usu.edu/mirrors/gentoo/ |
68 |
ftp://mirror.usu.edu/mirrors/gentoo/ ftp://lug.mtu.edu/gentoo |
69 |
http://mirror.phy.olemiss.edu/mirror/gentoo |
70 |
http://mirror.mcs.anl.gov/pub/gentoo/ |
71 |
ftp://mirror.mcs.anl.gov/pub/gentoo/ |
72 |
http://gentoo.mirrors.easynews.com/linux/gentoo/ |
73 |
http://gentoo.cites.uiuc.edu/pub/gentoo/ |
74 |
ftp://gentoo.cites.uiuc.edu/pub/gentoo/ |
75 |
ftp://ftp.wwc.edu/pub/mirrors/ftp.gentoo.org |
76 |
http://ftp.heanet.ie/pub/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/" |
77 |
LINGUAS="en es fr" |
78 |
MAKEOPTS="-j1" |
79 |
PKGDIR="/usr/portage-packages/catherine" |
80 |
PORTAGE_RSYNC_EXTRA_OPTS="--human-readable" |
81 |
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times |
82 |
--compress --force --whole-file --delete --stats --timeout=180 |
83 |
--exclude=/distfiles --exclude=/local --exclude=/packages" |
84 |
PORTAGE_TMPDIR="/var/tmp" |
85 |
PORTDIR="/usr/portage" |
86 |
PORTDIR_OVERLAY="/usr/local/portage" |
87 |
SYNC="rsync://rsync.gentoo.org/gentoo-portage" |
88 |
USE="X acl acpi alsa apache2 apm arts audiofile avi berkdb bitmap-fonts |
89 |
browserplugin bzip2 cairo candy cdr cli cracklib crypt cups dbus |
90 |
divx4linux doc dri dvd dvdr dvdread eds emboss encode esd evo examples |
91 |
f77 fam firefox flash foomaticdb fortran gdbm gif glut gnome gpm |
92 |
gstreamer gtk gtk2 guile hal iconv imap imlib ipv6 isdnlog jack java |
93 |
jpeg kde kerberos libg++ libwww mad midi mikmod mmx mmx2 mmxext motif |
94 |
mp3 mpeg mudflap mysql nas ncurses new-login nls nntp nptl nptlonly |
95 |
nsplugin offensive ogg oggvorbis opengl openmp oss pam pcre pdf pdflib |
96 |
perl php png ppds pppd python qt qt3 qt3support qt4 quicktime readline |
97 |
real reflection regex ruby sasl sdl seamonkey sendmail session slp snmp |
98 |
spell spl ssl svg svga syslog tcltk tcpd thesaurus threads tidy tiff |
99 |
truetype unicode usb utempter v4l v4l2 vorbis win32codecs x86 xml xml2 |
100 |
xorg xv zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym |
101 |
copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa |
102 |
lfloat linear meter mulaw multi null plug rate route share shm softvol" |
103 |
APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon |
104 |
authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default |
105 |
authz_groupfile authz_host authz_owner authz_user autoindex cache dav |
106 |
dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter |
107 |
file_cache filter headers ident imagemap include info log_config logio |
108 |
mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer |
109 |
proxy_connect proxy_http rewrite setenvif so speling status unique_id |
110 |
userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard |
111 |
mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk |
112 |
hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es fr" |
113 |
USERLAND="GNU" VIDEO_CARDS="sis" |
114 |
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, |
115 |
LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS |
116 |
|
117 |
catherine ~ # emerge -pv cups |
118 |
|
119 |
These are the packages that would be merged, in order: |
120 |
|
121 |
Calculating dependencies... done! |
122 |
[ebuild R ] net-print/cups-1.2.12-r7 USE="X dbus jpeg nls pam php |
123 |
png ppds slp ssl tiff -ldap -samba" 0 kB |
124 |
|
125 |
Total: 1 package (1 reinstall), Size of downloads: 0 kB |
126 |
|
127 |
catherine ~ # cat /etc/cups/cupsd.conf |
128 |
# |
129 |
# "$Id: cupsd.conf.in 5454 2006-04-23 21:46:38Z mike $" |
130 |
# |
131 |
# Sample configuration file for the Common UNIX Printing System (CUPS) |
132 |
# scheduler. See "man cupsd.conf" for a complete description of this |
133 |
# file. |
134 |
# |
135 |
|
136 |
# Log general information in error_log - change "info" to "debug" for |
137 |
# troubleshooting... |
138 |
LogLevel info |
139 |
|
140 |
# Administrator user group... |
141 |
SystemGroup lpadmin |
142 |
|
143 |
# Only listen for connections from the local machine. |
144 |
Listen *:631 |
145 |
#Listen localhost:631 |
146 |
Listen /var/run/cups/cups.sock |
147 |
|
148 |
# Show shared printers on the local network. |
149 |
Browsing On |
150 |
BrowseOrder allow,deny |
151 |
BrowseAllow @LOCAL |
152 |
|
153 |
# Default authentication type, when authentication is required... |
154 |
DefaultAuthType Basic |
155 |
|
156 |
# Restrict access to the server... |
157 |
<Location /> |
158 |
Order allow,deny |
159 |
Allow localhost |
160 |
Allow 192.168.1.* |
161 |
</Location> |
162 |
|
163 |
# Restrict access to the admin pages... |
164 |
<Location /admin> |
165 |
Encryption Required |
166 |
Order allow,deny |
167 |
Allow localhost |
168 |
Allow 192.168.1.3 |
169 |
</Location> |
170 |
|
171 |
# Restrict access to configuration files... |
172 |
<Location /admin/conf> |
173 |
AuthType Basic |
174 |
Require user @SYSTEM |
175 |
Order allow,deny |
176 |
Allow localhost |
177 |
</Location> |
178 |
|
179 |
# Set the default printer/job policies... |
180 |
<Policy default> |
181 |
# Job-related operations must be done by the owner or an |
182 |
adminstrator... |
183 |
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job |
184 |
Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription |
185 |
Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job |
186 |
Suspend-Current-Job Resume-Job CUPS-Move-Job> |
187 |
Require user @OWNER @SYSTEM |
188 |
Order deny,allow |
189 |
</Limit> |
190 |
|
191 |
# All administration operations require an adminstrator to |
192 |
authenticate... |
193 |
<Limit Pause-Printer Resume-Printer Set-Printer-Attributes |
194 |
Enable-Printer Disable-Printer Pause-Printer-After-Current-Job |
195 |
Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer |
196 |
Restart-Printer Shutdown-Printer Startup-Printer Promote-Job |
197 |
Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class |
198 |
CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default> |
199 |
AuthType Basic |
200 |
Require user @SYSTEM |
201 |
Order deny,allow |
202 |
</Limit> |
203 |
|
204 |
# Only the owner or an administrator can cancel or authenticate a |
205 |
job... |
206 |
<Limit Cancel-Job CUPS-Authenticate-Job> |
207 |
Require user @OWNER @SYSTEM |
208 |
Order deny,allow |
209 |
</Limit> |
210 |
|
211 |
<Limit All> |
212 |
Order deny,allow |
213 |
</Limit> |
214 |
</Policy> |
215 |
|
216 |
# |
217 |
# End of "$Id: cupsd.conf.in 5454 2006-04-23 21:46:38Z mike $". |
218 |
# |
219 |
|
220 |
catherine ~ # cat /etc/cups/client.conf |
221 |
# |
222 |
# "$Id: client.conf,v 1.9 2005/01/03 19:29:45 mike Exp $" |
223 |
# |
224 |
# Sample client configuration file for the Common UNIX Printing System |
225 |
# (CUPS). |
226 |
# |
227 |
# Copyright 1997-2005 by Easy Software Products, all rights reserved. |
228 |
# |
229 |
# These coded instructions, statements, and computer programs are the |
230 |
# property of Easy Software Products and are protected by Federal |
231 |
# copyright law. Distribution and use rights are outlined in the file |
232 |
# "LICENSE.txt" which should have been included with this file. If |
233 |
this |
234 |
# file is missing or damaged please contact Easy Software Products |
235 |
# at: |
236 |
# |
237 |
# Attn: CUPS Licensing Information |
238 |
# Easy Software Products |
239 |
# 44141 Airport View Drive, Suite 204 |
240 |
# Hollywood, Maryland 20636 USA |
241 |
# |
242 |
# Voice: (301) 373-9600 |
243 |
# EMail: cups-info@××××.org |
244 |
# WWW: http://www.cups.org |
245 |
# |
246 |
|
247 |
######################################################################## |
248 |
# # |
249 |
# This is the CUPS client configuration file. This file is used to # |
250 |
# define client-specific parameters, such as the default server or # |
251 |
# default encryption settings. # |
252 |
# # |
253 |
######################################################################## |
254 |
|
255 |
# |
256 |
# ServerName: the hostname of your server. By default CUPS will use the |
257 |
# hostname of the system or the value of the CUPS_SERVER environment |
258 |
# variable. ONLY ONE SERVER NAME MAY BE SPECIFIED AT A TIME. To use |
259 |
# more than one server you must use a local scheduler with browsing |
260 |
# and possibly polling. |
261 |
# |
262 |
|
263 |
ServerName catherine.espersunited.com |
264 |
|
265 |
# |
266 |
# Encryption: whether or not to use encryption; this depends on having |
267 |
# the OpenSSL library linked into the CUPS library. |
268 |
# |
269 |
# Possible values: |
270 |
# |
271 |
# Always - Always use encryption (SSL) |
272 |
# Never - Never use encryption |
273 |
# Required - Use TLS encryption upgrade |
274 |
# IfRequested - Use encryption if the server requests it |
275 |
# |
276 |
# The default value is "IfRequested". This parameter can also be set |
277 |
# using the CUPS_ENCRYPTION environment variable. |
278 |
# |
279 |
|
280 |
#Encryption Always |
281 |
#Encryption Never |
282 |
#Encryption Required |
283 |
#Encryption IfRequested |
284 |
|
285 |
|
286 |
# |
287 |
# End of "$Id: client.conf,v 1.9 2005/01/03 19:29:45 mike Exp $". |
288 |
# |
289 |
|
290 |
Most recent messages in /var/log/cups/error_log: |
291 |
|
292 |
I [03/Apr/2008:08:19:57 -0500] Listening to :::631 on fd 2... |
293 |
I [03/Apr/2008:08:19:57 -0500] Listening to 0.0.0.0:631 on fd 3... |
294 |
I [03/Apr/2008:08:19:57 -0500] Listening to /var/run/cups/cups.sock on |
295 |
fd 4... |
296 |
I [03/Apr/2008:08:22:20 -0500] Adding start banner page "none" to job |
297 |
31. |
298 |
I [03/Apr/2008:08:22:20 -0500] Adding end banner page "none" to job 31. |
299 |
I [03/Apr/2008:08:22:20 -0500] Job 31 queued on "Charlie" by "michael". |
300 |
|
301 |
There don't seem to be any actual errors in the error_log. Strange. Is |
302 |
there anything here that can hint as to why nothing is happening? |
303 |
|
304 |
-- |
305 |
gentoo-user@l.g.o mailing list |