Please help. If I cannot fix this printing problem, I will have to abandon Linux for the hated world of Windoze!!!
Two weeks ago, I no longer could send a document to either printer. I've got two printers connected, both of which used to work fine. One is a Canon S600 connected to a USB port. The other is a HP LJ 6MP connected through my local network. Both worked fine previously.
Whenever I try to print from a program (e.g., Firefox), the only printer available is the PostScript default. Previously, both printers were listed, with the HP as the default printer.
When I try to print a test page, I get this error:
lpr: error - unable to print file: server-error-service-unavailable
I'm running Core 3, and have done all of the updates. I downloaded and installed the latest version of CUPS (1.1.22). That did not help.
Here are the last few lines from cups.conf:
# Encryption: whether or not to use encryption; this depends on having # the OpenSSL library linked into the CUPS library and scheduler. # # Possible values: # # Always - Always use encryption (SSL) # Never - Never use encryption # Required - Use TLS encryption upgrade # IfRequested - Use encryption if the server requests it # # The default value is "IfRequested". #
<Location /> Order Deny,Allow Deny From All Allow From 127.0.0.1 </Location>
#<Location /classes> # # You may wish to limit access to printers and classes, either with Allow # and Deny lines, or by requiring a username and password. # #</Location>
#<Location /classes/name> # # You may wish to limit access to printers and classes, either with Allow # and Deny lines, or by requiring a username and password. # #</Location>
#<Location /jobs> # # You may wish to limit access to job operations, either with Allow # and Deny lines, or by requiring a username and password. # #</Location>
#<Location /printers> # # You may wish to limit access to printers and classes, either with Allow # and Deny lines, or by requiring a username and password. # #</Location>
#<Location /printers/name> # # You may wish to limit access to printers and classes, either with Allow # and Deny lines, or by requiring a username and password. #
## Anonymous access (default) #AuthType None
## Require a username and password (Basic authentication) #AuthType Basic #AuthClass User
## Require a username and password (Digest/MD5 authentication) #AuthType Digest #AuthClass User
## Restrict access to local domain #Order Deny,Allow #Deny From All #Allow From .mydomain.com #</Location>
<Location /admin> # # You definitely will want to limit access to the administration functions. # The default configuration requires a local connection from a user who # is a member of the system group to do any admin tasks. You can change # the group name using the SystemGroup directive. #
AuthType Basic AuthClass System
## Restrict access to local domain Order Deny,Allow Deny From All Allow From 127.0.0.1
#Encryption Required </Location>
# # End of "$Id: cupsd.conf.in,v 1.16 2004/08/18 17:53:47 mike Exp $". # <Location /printers/usblp0> Order Deny,Allow Deny From All Allow From 127.0.0.1 AuthType None </Location> <Location /printers/s600-4> Order Deny,Allow Deny From All Allow From 127.0.0.1 AuthType None </Location> # Lines below are automatically generated - DO NOT EDIT <Location /printers/Canon> Order Deny,Allow Deny From All Allow From 127.0.0.1 AuthType None Allow from All </Location> <Location /printers/HP> Order Deny,Allow Deny From All Allow From 127.0.0.1 AuthType None Allow from All </Location> Browsing On BrowseProtocols cups BrowseOrder Deny,Allow BrowseAllow from @LOCAL BrowseAddress 255.255.255.255 Listen *:631
Please help.
Joe
Joseph McCrary wrote:
Please help. If I cannot fix this printing problem, I will have to abandon Linux for the hated world of Windoze!!!
Two weeks ago, I no longer could send a document to either printer. I've got two printers connected, both of which used to work fine. One is a Canon S600 connected to a USB port. The other is a HP LJ 6MP connected through my local network. Both worked fine previously.
Whenever I try to print from a program (e.g., Firefox), the only printer available is the PostScript default. Previously, both printers were listed, with the HP as the default printer.
When I try to print a test page, I get this error:
lpr: error - unable to print file: server-error-service-unavailable
What's the output of:
$ lpstat -t $ /sbin/service cups status
Paul.
[joe@localhost ~]$ lpstat -t lpstat: Unable to connect to server: Connection refused [joe@localhost ~]$ /sbin/service cups status cupsd (pid 3315) is running... [joe@localhost ~]$
Paul Howarth wrote:
Joseph McCrary wrote:
Please help. If I cannot fix this printing problem, I will have to abandon Linux for the hated world of Windoze!!!
Two weeks ago, I no longer could send a document to either printer. I've got two printers connected, both of which used to work fine. One is a Canon S600 connected to a USB port. The other is a HP LJ 6MP connected through my local network. Both worked fine previously.
Whenever I try to print from a program (e.g., Firefox), the only printer available is the PostScript default. Previously, both printers were listed, with the HP as the default printer.
When I try to print a test page, I get this error:
lpr: error - unable to print file: server-error-service-unavailable
What's the output of:
$ lpstat -t $ /sbin/service cups status
Paul.
[joe@localhost ~]$ netstat -lp (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 *:32769 *:* LISTEN - tcp 0 0 *:printer *:* LISTEN - tcp 0 0 *:sunrpc *:* LISTEN - tcp 0 0 *:auth *:* LISTEN - tcp 0 0 *:ssh *:* LISTEN - tcp 0 0 *:ipp *:* LISTEN - tcp 0 0 localhost:5335 *:* LISTEN - tcp 0 0 localhost:smtp *:* LISTEN - udp 0 0 *:32770 *:* - udp 0 0 *:bootpc *:* - udp 0 0 *:5353 *:* - udp 0 0 *:sunrpc *:* - udp 0 0 *:758 *:* - udp 0 0 *:ipp *:* - udp 0 0 192.168.1.100:ntp *:* - udp 0 0 localhost:ntp *:* - udp 0 0 *:ntp *:* - Active UNIX domain sockets (only servers) Proto RefCnt Flags Type State I-Node PID/Program name Path unix 2 [ ACC ] STREAM LISTENING 8841 - /tmp/.font-unix/fs7100 unix 2 [ ACC ] STREAM LISTENING 77008 8464/mapping-daemon /tmp/mapping-joe unix 2 [ ACC ] STREAM LISTENING 909459 - @/tmp/fam-root- unix 2 [ ACC ] STREAM LISTENING 10055 - /tmp/.gdm_socket unix 2 [ ACC ] STREAM LISTENING 8664 - /var/run/iiim/.iiimp-unix/9010 unix 2 [ ACC ] STREAM LISTENING 10083 - /tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 76359 - /tmp/ssh-UBwQdT8352/agent.8352 unix 2 [ ACC ] STREAM LISTENING 76437 8385/gconfd-2 /tmp/orbit-joe/linc-20c1-0-88d18f53be35 unix 2 [ ACC ] STREAM LISTENING 76447 8325/gnome-session /tmp/orbit-joe/linc-2085-0-16148fb863292 unix 2 [ ACC ] STREAM LISTENING 76598 8325/gnome-session /tmp/.ICE-unix/8325 unix 2 [ ACC ] STREAM LISTENING 8659 - /var/run/.iroha_unix/IROHA unix 2 [ ACC ] STREAM LISTENING 76607 8390/gnome-keyring- /tmp/keyring-CLyFee/socket unix 2 [ ACC ] STREAM LISTENING 76619 8392/bonobo-activat /tmp/orbit-joe/linc-20c8-0-168d45476cc0e unix 2 [ ACC ] STREAM LISTENING 76639 8394/gnome-settings /tmp/orbit-joe/linc-20ca-0-58c25c9ae939 unix 2 [ ACC ] STREAM LISTENING 76782 8433/metacity /tmp/orbit-joe/linc-20f1-0-30979029de6b0 unix 2 [ ACC ] STREAM LISTENING 76814 8437/gnome-panel /tmp/orbit-joe/linc-20f5-0-28d293a28d245 unix 2 [ ACC ] STREAM LISTENING 76836 8441/gnome-volume-m /tmp/orbit-joe/linc-20f9-0-28d293a2c72b8 unix 2 [ ACC ] STREAM LISTENING 76896 8439/nautilus /tmp/orbit-joe/linc-20f7-0-166c12e9bb31f unix 2 [ ACC ] STREAM LISTENING 76922 8446/eggcups /tmp/orbit-joe/linc-20fe-0-44e4139529f27 unix 2 [ ACC ] STREAM LISTENING 76976 8457/gnome-vfs-daem /tmp/orbit-joe/linc-2109-0-6b415e0a6caab unix 2 [ ACC ] STREAM LISTENING 77055 8450/python /tmp/orbit-joe/linc-2102-0-23f5f4231d578 unix 2 [ ACC ] STREAM LISTENING 77086 8472/wnck-applet /tmp/orbit-joe/linc-2118-0-49b941df51302 unix 2 [ ACC ] STREAM LISTENING 77121 8474/mixer_applet2 /tmp/orbit-joe/linc-211a-0-22c8966fc943a unix 2 [ ACC ] STREAM LISTENING 77154 8476/clock-applet /tmp/orbit-joe/linc-211c-0-3f43cc0f4e45e unix 2 [ ACC ] STREAM LISTENING 77182 8478/notification-a /tmp/orbit-joe/linc-211e-0-3f43cc0fa9783 unix 2 [ ACC ] STREAM LISTENING 882666 17382/thunderbird-b /tmp/orbit-joe/linc-43e6-0-2aea37faafc57 unix 2 [ ACC ] STREAM LISTENING 79541 - /tmp/orbit-root/linc-2187-0-3d7fbedc6d07b unix 2 [ ACC ] STREAM LISTENING 903903 17702/firefox-bin /tmp/orbit-joe/linc-4526-0-1c3525f751afe unix 2 [ ACC ] STREAM LISTENING 907477 17812/gnome-termina /tmp/orbit-joe/linc-4594-0-7ea3c2d9a300 unix 2 [ ACC ] STREAM LISTENING 909162 - /tmp/orbit-root/linc-45e6-0-6d4a3250312a6 unix 2 [ ACC ] STREAM LISTENING 909432 - /tmp/orbit-root/linc-460a-0-6e33680d834b8 unix 2 [ ACC ] STREAM LISTENING 909447 - /tmp/orbit-root/linc-460c-0-6f1229c672738 unix 2 [ ACC ] STREAM LISTENING 909492 - /tmp/orbit-root/linc-4611-0-72b554bb3099a unix 2 [ ACC ] STREAM LISTENING 909591 17946/gnome-search- /tmp/orbit-joe/linc-461a-0-3490e26a458be unix 2 [ ACC ] STREAM LISTENING 76676 8400/gam_server @/tmp/fam-joe- unix 2 [ ACC ] STREAM LISTENING 8594 - /dev/gpmctl unix 2 [ ACC ] STREAM LISTENING 76413 8381/dbus-daemon-1 @/tmp/dbus-D6SDrrAC7U unix 2 [ ACC ] STREAM LISTENING 8924 - /var/run/dbus/system_bus_socket [joe@localhost ~]$
Paul Howarth wrote:
Joseph McCrary wrote:
[joe@localhost ~]$ lpstat -t lpstat: Unable to connect to server: Connection refused [joe@localhost ~]$ /sbin/service cups status cupsd (pid 3315) is running... [joe@localhost ~]$
Output of: $ netstat -lp
?
Paul.
Joseph McCrary wrote:
[joe@localhost ~]$ netstat -lp (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 *:32769 *:* LISTEN - tcp 0 0 *:printer *:* LISTEN - tcp 0 0 *:sunrpc *:* LISTEN - tcp 0 0 *:auth *:* LISTEN - tcp 0 0 *:ssh *:* LISTEN - tcp 0 0 *:ipp *:* LISTEN -
So there is something listening on the ipp port (probably cups).
Try firing up a browser and browsing to http://localhost:631/
What happens?
Paul.
The connection was refused in Firefox when trying to connect to localhost:631.
Paul Howarth wrote:
Joseph McCrary wrote:
[joe@localhost ~]$ netstat -lp (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 *:32769 *:* LISTEN - tcp 0 0 *:printer *:* LISTEN - tcp 0 0 *:sunrpc *:* LISTEN - tcp 0 0 *:auth *:* LISTEN - tcp 0 0 *:ssh *:* LISTEN - tcp 0 0 *:ipp *:* LISTEN -
So there is something listening on the ipp port (probably cups).
Try firing up a browser and browsing to http://localhost:631/
What happens?
Paul.
On Thursday 16 December 2004 10:49, Joseph McCrary wrote:
Please help. If I cannot fix this printing problem, I will have to abandon Linux for the hated world of Windoze!!!
Two weeks ago, I no longer could send a document to either printer. I've got two printers connected, both of which used to work fine. One is a Canon S600 connected to a USB port. The other is a HP LJ 6MP connected through my local network. Both worked fine previously.
Whenever I try to print from a program (e.g., Firefox), the only printer available is the PostScript default. Previously, both printers were listed, with the HP as the default printer.
When I try to print a test page, I get this error:
lpr: error - unable to print file: server-error-service-unavailable
I'm running Core 3, and have done all of the updates. I downloaded and installed the latest version of CUPS (1.1.22). That did not help.
Here are the last few lines from cups.conf:
# Encryption: whether or not to use encryption; this depends on having # the OpenSSL library linked into the CUPS library and scheduler. # # Possible values: # # Always - Always use encryption (SSL) # Never - Never use encryption # Required - Use TLS encryption upgrade # IfRequested - Use encryption if the server requests it # # The default value is "IfRequested". #
<Location /> Order Deny,Allow Deny From All Allow From 127.0.0.1 </Location>
#<Location /classes> # # You may wish to limit access to printers and classes, either with Allow # and Deny lines, or by requiring a username and password. # #</Location>
#<Location /classes/name> # # You may wish to limit access to printers and classes, either with Allow # and Deny lines, or by requiring a username and password. # #</Location>
#<Location /jobs> # # You may wish to limit access to job operations, either with Allow # and Deny lines, or by requiring a username and password. # #</Location>
#<Location /printers> # # You may wish to limit access to printers and classes, either with Allow # and Deny lines, or by requiring a username and password. # #</Location>
#<Location /printers/name> # # You may wish to limit access to printers and classes, either with Allow # and Deny lines, or by requiring a username and password. #
## Anonymous access (default) #AuthType None
## Require a username and password (Basic authentication) #AuthType Basic #AuthClass User
## Require a username and password (Digest/MD5 authentication) #AuthType Digest #AuthClass User
## Restrict access to local domain #Order Deny,Allow #Deny From All #Allow From .mydomain.com #</Location>
<Location /admin> # # You definitely will want to limit access to the administration functions. # The default configuration requires a local connection from a user who # is a member of the system group to do any admin tasks. You can change # the group name using the SystemGroup directive. #
AuthType Basic AuthClass System
## Restrict access to local domain Order Deny,Allow Deny From All Allow From 127.0.0.1
#Encryption Required
</Location>
# # End of "$Id: cupsd.conf.in,v 1.16 2004/08/18 17:53:47 mike Exp $". # <Location /printers/usblp0> Order Deny,Allow Deny From All Allow From 127.0.0.1 AuthType None
</Location> <Location /printers/s600-4> Order Deny,Allow Deny From All Allow From 127.0.0.1 AuthType None </Location> # Lines below are automatically generated - DO NOT EDIT <Location /printers/Canon> Order Deny,Allow Deny From All Allow From 127.0.0.1 AuthType None Allow from All </Location> <Location /printers/HP> Order Deny,Allow Deny From All Allow From 127.0.0.1 AuthType None Allow from All </Location> Browsing On BrowseProtocols cups BrowseOrder Deny,Allow BrowseAllow from @LOCAL BrowseAddress 255.255.255.255 Listen *:631
Please help.
Joe
OK lets start with the basics, is the cups daemon running? Set to start at startup? ps -ef | grep cups /sbin/chkconfig --list cups
If you do indeed see a cupsd in the output of the ps command, and runlevels 2345 are set to on the chkconfig output. Then run system-config-printers and make sure that your printers are configured correctly. Delete them and reconfigure if required. Test print from the printer config. Post the resutls.
do you have a "servername" variable in client.conf?
if so, comment that out..
what does
lpstat -h localhost -a
show?
On Thu, 16 Dec 2004, Terry Polzin wrote:
On Thursday 16 December 2004 10:49, Joseph McCrary wrote:
Please help. If I cannot fix this printing problem, I will have to abandon Linux for the hated world of Windoze!!!
Two weeks ago, I no longer could send a document to either printer. I've got two printers connected, both of which used to work fine. One is a Canon S600 connected to a USB port. The other is a HP LJ 6MP connected through my local network. Both worked fine previously.
Whenever I try to print from a program (e.g., Firefox), the only printer available is the PostScript default. Previously, both printers were listed, with the HP as the default printer.
When I try to print a test page, I get this error:
lpr: error - unable to print file: server-error-service-unavailable
I'm running Core 3, and have done all of the updates. I downloaded and installed the latest version of CUPS (1.1.22). That did not help.
Here are the last few lines from cups.conf:
# Encryption: whether or not to use encryption; this depends on having # the OpenSSL library linked into the CUPS library and scheduler. # # Possible values: # # Always - Always use encryption (SSL) # Never - Never use encryption # Required - Use TLS encryption upgrade # IfRequested - Use encryption if the server requests it # # The default value is "IfRequested". #
<Location /> Order Deny,Allow Deny From All Allow From 127.0.0.1 </Location>
#<Location /classes> # # You may wish to limit access to printers and classes, either with Allow # and Deny lines, or by requiring a username and password. # #</Location>
#<Location /classes/name> # # You may wish to limit access to printers and classes, either with Allow # and Deny lines, or by requiring a username and password. # #</Location>
#<Location /jobs> # # You may wish to limit access to job operations, either with Allow # and Deny lines, or by requiring a username and password. # #</Location>
#<Location /printers> # # You may wish to limit access to printers and classes, either with Allow # and Deny lines, or by requiring a username and password. # #</Location>
#<Location /printers/name> # # You may wish to limit access to printers and classes, either with Allow # and Deny lines, or by requiring a username and password. #
## Anonymous access (default) #AuthType None
## Require a username and password (Basic authentication) #AuthType Basic #AuthClass User
## Require a username and password (Digest/MD5 authentication) #AuthType Digest #AuthClass User
## Restrict access to local domain #Order Deny,Allow #Deny From All #Allow From .mydomain.com #</Location>
<Location /admin> # # You definitely will want to limit access to the administration functions. # The default configuration requires a local connection from a user who # is a member of the system group to do any admin tasks. You can change # the group name using the SystemGroup directive. #
AuthType Basic AuthClass System
## Restrict access to local domain Order Deny,Allow Deny From All Allow From 127.0.0.1
#Encryption Required
</Location>
# # End of "$Id: cupsd.conf.in,v 1.16 2004/08/18 17:53:47 mike Exp $". # <Location /printers/usblp0> Order Deny,Allow Deny From All Allow From 127.0.0.1 AuthType None
</Location> <Location /printers/s600-4> Order Deny,Allow Deny From All Allow From 127.0.0.1 AuthType None </Location> # Lines below are automatically generated - DO NOT EDIT <Location /printers/Canon> Order Deny,Allow Deny From All Allow From 127.0.0.1 AuthType None Allow from All </Location> <Location /printers/HP> Order Deny,Allow Deny From All Allow From 127.0.0.1 AuthType None Allow from All </Location> Browsing On BrowseProtocols cups BrowseOrder Deny,Allow BrowseAllow from @LOCAL BrowseAddress 255.255.255.255 Listen *:631
Please help.
Joe
OK lets start with the basics, is the cups daemon running? Set to start at startup? ps -ef | grep cups /sbin/chkconfig --list cups
If you do indeed see a cupsd in the output of the ps command, and runlevels 2345 are set to on the chkconfig output. Then run system-config-printers and make sure that your printers are configured correctly. Delete them and reconfigure if required. Test print from the printer config. Post the resutls.
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
_______________________________________________________________________ Tom Ryan Voice: 856-225-6361 Consulting System Administrator Fax: 856-969-7900 Rutgers School of Law - Camden IT Help Desk: 856-225-2343
lets check everything..
whats in /etc/hosts
On Thu, 16 Dec 2004, Joseph McCrary wrote:
[joe@localhost ~]$ lpstat -h localhost -a lpstat: Unable to connect to server: Connection refused [joe@localhost ~]$
Actually, the entire client.conf seems to be commented out:
# # "$Id: client.conf,v 1.8 2004/02/25 20:15:27 mike Exp $" # # Sample client configuration file for the Common UNIX Printing System # (CUPS). # # Copyright 1997-2004 by Easy Software Products, all rights reserved. # # These coded instructions, statements, and computer programs are the # property of Easy Software Products and are protected by Federal # copyright law. Distribution and use rights are outlined in the file # "LICENSE.txt" which should have been included with this file. If this # file is missing or damaged please contact Easy Software Products # at: # # Attn: CUPS Licensing Information # Easy Software Products # 44141 Airport View Drive, Suite 204 # Hollywood, Maryland 20636-3111 USA # # Voice: (301) 373-9603 # EMail: cups-info@cups.org # WWW: http://www.cups.org #
######################################################################## # # # This is the CUPS client configuration file. This file is used to # # define client-specific parameters, such as the default server or # # default encryption settings. # # # ########################################################################
# # ServerName: the hostname of your server. By default CUPS will use the # hostname of the system or the value of the CUPS_SERVER environment # variable. ONLY ONE SERVER NAME MAY BE SPECIFIED AT A TIME. To use # more than one server you must use a local scheduler with browsing # and possibly polling. #
#ServerName myhost.domain.com
# # Encryption: whether or not to use encryption; this depends on having # the OpenSSL library linked into the CUPS library. # # Possible values: # # Always - Always use encryption (SSL) # Never - Never use encryption # Required - Use TLS encryption upgrade # IfRequested - Use encryption if the server requests it # # The default value is "IfRequested". This parameter can also be set # using the CUPS_ENCRYPTION environment variable. #
#Encryption Always #Encryption Never #Encryption Required #Encryption IfRequested
# # End of "$Id: client.conf,v 1.8 2004/02/25 20:15:27 mike Exp $". #
Tom Ryan wrote:
do you have a "servername" variable in client.conf?
if so, comment that out..
what does
lpstat -h localhost -a
show?
On Thu, 16 Dec 2004, Terry Polzin wrote:
On Thursday 16 December 2004 10:49, Joseph McCrary wrote:
Please help. If I cannot fix this printing problem, I will have to abandon Linux for the hated world of Windoze!!!
Two weeks ago, I no longer could send a document to either printer. I've got two printers connected, both of which used to work fine. One is a Canon S600 connected to a USB port. The other is a HP LJ 6MP connected through my local network. Both worked fine previously.
Whenever I try to print from a program (e.g., Firefox), the only printer available is the PostScript default. Previously, both printers were listed, with the HP as the default printer.
When I try to print a test page, I get this error:
lpr: error - unable to print file: server-error-service-unavailable
I'm running Core 3, and have done all of the updates. I downloaded and installed the latest version of CUPS (1.1.22). That did not help.
Here are the last few lines from cups.conf:
# Encryption: whether or not to use encryption; this depends on having # the OpenSSL library linked into the CUPS library and scheduler. # # Possible values: # # Always - Always use encryption (SSL) # Never - Never use encryption # Required - Use TLS encryption upgrade # IfRequested - Use encryption if the server requests it # # The default value is "IfRequested". #
<Location /> Order Deny,Allow Deny From All Allow From 127.0.0.1 </Location>
#<Location /classes> # # You may wish to limit access to printers and classes, either with Allow # and Deny lines, or by requiring a username and password. # #</Location>
#<Location /classes/name> # # You may wish to limit access to printers and classes, either with Allow # and Deny lines, or by requiring a username and password. # #</Location>
#<Location /jobs> # # You may wish to limit access to job operations, either with Allow # and Deny lines, or by requiring a username and password. # #</Location>
#<Location /printers> # # You may wish to limit access to printers and classes, either with Allow # and Deny lines, or by requiring a username and password. # #</Location>
#<Location /printers/name> # # You may wish to limit access to printers and classes, either with Allow # and Deny lines, or by requiring a username and password. #
## Anonymous access (default) #AuthType None
## Require a username and password (Basic authentication) #AuthType Basic #AuthClass User
## Require a username and password (Digest/MD5 authentication) #AuthType Digest #AuthClass User
## Restrict access to local domain #Order Deny,Allow #Deny From All #Allow From .mydomain.com #</Location>
<Location /admin> # # You definitely will want to limit access to the administration functions. # The default configuration requires a local connection from a user who # is a member of the system group to do any admin tasks. You can change # the group name using the SystemGroup directive. #
AuthType Basic AuthClass System
## Restrict access to local domain Order Deny,Allow Deny From All Allow From 127.0.0.1
#Encryption Required
</Location>
# # End of "$Id: cupsd.conf.in,v 1.16 2004/08/18 17:53:47 mike Exp $". # <Location /printers/usblp0> Order Deny,Allow Deny From All Allow From 127.0.0.1 AuthType None
</Location> <Location /printers/s600-4> Order Deny,Allow Deny From All Allow From 127.0.0.1 AuthType None </Location> # Lines below are automatically generated - DO NOT EDIT <Location /printers/Canon> Order Deny,Allow Deny From All Allow From 127.0.0.1 AuthType None Allow from All </Location> <Location /printers/HP> Order Deny,Allow Deny From All Allow From 127.0.0.1 AuthType None Allow from All </Location> Browsing On BrowseProtocols cups BrowseOrder Deny,Allow BrowseAllow from @LOCAL BrowseAddress 255.255.255.255 Listen *:631
Please help.
Joe
OK lets start with the basics, is the cups daemon running? Set to start at startup? ps -ef | grep cups /sbin/chkconfig --list cups
If you do indeed see a cupsd in the output of the ps command, and runlevels 2345 are set to on the chkconfig output. Then run system-config-printers and make sure that your printers are configured correctly. Delete them and reconfigure if required. Test print from the printer config. Post the resutls.
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
Tom Ryan Voice: 856-225-6361 Consulting System Administrator Fax: 856-969-7900 Rutgers School of Law - Camden IT Help Desk: 856-225-2343
_______________________________________________________________________ Tom Ryan Voice: 856-225-6361 Consulting System Administrator Fax: 856-969-7900 Rutgers School of Law - Camden IT Help Desk: 856-225-2343
change 192.168.1.1 to
127.0.0.1
On Thu, 16 Dec 2004, Joseph McCrary wrote:
hosts:
# Do not remove the following line, or various programs # that require network functionality will fail. 192.168.1.1 localhost.localdomain localhost
hosts.conf:
order hosts,bind
Tom Ryan wrote:
lets check everything..
whats in /etc/hosts
On Thu, 16 Dec 2004, Joseph McCrary wrote:
[joe@localhost ~]$ lpstat -h localhost -a lpstat: Unable to connect to server: Connection refused [joe@localhost ~]$
Actually, the entire client.conf seems to be commented out:
# # "$Id: client.conf,v 1.8 2004/02/25 20:15:27 mike Exp $" # # Sample client configuration file for the Common UNIX Printing System # (CUPS). # # Copyright 1997-2004 by Easy Software Products, all rights reserved. # # These coded instructions, statements, and computer programs are the # property of Easy Software Products and are protected by Federal # copyright law. Distribution and use rights are outlined in the file # "LICENSE.txt" which should have been included with this file. If this # file is missing or damaged please contact Easy Software Products # at: # # Attn: CUPS Licensing Information # Easy Software Products # 44141 Airport View Drive, Suite 204 # Hollywood, Maryland 20636-3111 USA # # Voice: (301) 373-9603 # EMail: cups-info@cups.org # WWW: http://www.cups.org #
######################################################################## # # # This is the CUPS client configuration file. This file is used to # # define client-specific parameters, such as the default server or # # default encryption settings. # # # ########################################################################
# # ServerName: the hostname of your server. By default CUPS will use the # hostname of the system or the value of the CUPS_SERVER environment # variable. ONLY ONE SERVER NAME MAY BE SPECIFIED AT A TIME. To use # more than one server you must use a local scheduler with browsing # and possibly polling. #
#ServerName myhost.domain.com
# # Encryption: whether or not to use encryption; this depends on having # the OpenSSL library linked into the CUPS library. # # Possible values: # # Always - Always use encryption (SSL) # Never - Never use encryption # Required - Use TLS encryption upgrade # IfRequested - Use encryption if the server requests it # # The default value is "IfRequested". This parameter can also be set # using the CUPS_ENCRYPTION environment variable. #
#Encryption Always #Encryption Never #Encryption Required #Encryption IfRequested
# # End of "$Id: client.conf,v 1.8 2004/02/25 20:15:27 mike Exp $". #
Tom Ryan wrote:
do you have a "servername" variable in client.conf?
if so, comment that out..
what does
lpstat -h localhost -a
show?
On Thu, 16 Dec 2004, Terry Polzin wrote:
On Thursday 16 December 2004 10:49, Joseph McCrary wrote:
Please help. If I cannot fix this printing problem, I will have to abandon Linux for the hated world of Windoze!!!
Two weeks ago, I no longer could send a document to either printer. I've got two printers connected, both of which used to work fine. One is a Canon S600 connected to a USB port. The other is a HP LJ 6MP connected through my local network. Both worked fine previously.
Whenever I try to print from a program (e.g., Firefox), the only printer available is the PostScript default. Previously, both printers were listed, with the HP as the default printer.
When I try to print a test page, I get this error:
lpr: error - unable to print file: server-error-service-unavailable
I'm running Core 3, and have done all of the updates. I downloaded and installed the latest version of CUPS (1.1.22). That did not help.
Here are the last few lines from cups.conf:
# Encryption: whether or not to use encryption; this depends on having # the OpenSSL library linked into the CUPS library and scheduler. # # Possible values: # # Always - Always use encryption (SSL) # Never - Never use encryption # Required - Use TLS encryption upgrade # IfRequested - Use encryption if the server requests it # # The default value is "IfRequested". #
<Location /> Order Deny,Allow Deny From All Allow From 127.0.0.1 </Location>
#<Location /classes> # # You may wish to limit access to printers and classes, either with Allow # and Deny lines, or by requiring a username and password. # #</Location>
#<Location /classes/name> # # You may wish to limit access to printers and classes, either with Allow # and Deny lines, or by requiring a username and password. # #</Location>
#<Location /jobs> # # You may wish to limit access to job operations, either with Allow # and Deny lines, or by requiring a username and password. # #</Location>
#<Location /printers> # # You may wish to limit access to printers and classes, either with Allow # and Deny lines, or by requiring a username and password. # #</Location>
#<Location /printers/name> # # You may wish to limit access to printers and classes, either with Allow # and Deny lines, or by requiring a username and password. #
## Anonymous access (default) #AuthType None
## Require a username and password (Basic authentication) #AuthType Basic #AuthClass User
## Require a username and password (Digest/MD5 authentication) #AuthType Digest #AuthClass User
## Restrict access to local domain #Order Deny,Allow #Deny From All #Allow From .mydomain.com #</Location>
<Location /admin> # # You definitely will want to limit access to the administration functions. # The default configuration requires a local connection from a user who # is a member of the system group to do any admin tasks. You can change # the group name using the SystemGroup directive. #
AuthType Basic AuthClass System
## Restrict access to local domain Order Deny,Allow Deny From All Allow From 127.0.0.1
#Encryption Required
</Location>
# # End of "$Id: cupsd.conf.in,v 1.16 2004/08/18 17:53:47 mike Exp $". # <Location /printers/usblp0> Order Deny,Allow Deny From All Allow From 127.0.0.1 AuthType None
</Location> <Location /printers/s600-4> Order Deny,Allow Deny From All Allow From 127.0.0.1 AuthType None </Location> # Lines below are automatically generated - DO NOT EDIT <Location /printers/Canon> Order Deny,Allow Deny From All Allow From 127.0.0.1 AuthType None Allow from All </Location> <Location /printers/HP> Order Deny,Allow Deny From All Allow From 127.0.0.1 AuthType None Allow from All </Location> Browsing On BrowseProtocols cups BrowseOrder Deny,Allow BrowseAllow from @LOCAL BrowseAddress 255.255.255.255 Listen *:631
Please help.
Joe
OK lets start with the basics, is the cups daemon running? Set to start at startup? ps -ef | grep cups /sbin/chkconfig --list cups
If you do indeed see a cupsd in the output of the ps command, and runlevels 2345 are set to on the chkconfig output. Then run system-config-printers and make sure that your printers are configured correctly. Delete them and reconfigure if required. Test print from the printer config. Post the resutls.
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
Tom Ryan Voice: 856-225-6361 Consulting System Administrator Fax: 856-969-7900 Rutgers School of Law - Camden IT Help Desk: 856-225-2343
Tom Ryan Voice: 856-225-6361 Consulting System Administrator Fax: 856-969-7900 Rutgers School of Law - Camden IT Help Desk: 856-225-2343
_______________________________________________________________________ Tom Ryan Voice: 856-225-6361 Consulting System Administrator Fax: 856-969-7900 Rutgers School of Law - Camden IT Help Desk: 856-225-2343
oops.. sorry to post again so soon..
then..
service cups restart
On Thu, 16 Dec 2004, Tom Ryan wrote:
change 192.168.1.1 to
127.0.0.1
On Thu, 16 Dec 2004, Joseph McCrary wrote:
hosts:
# Do not remove the following line, or various programs # that require network functionality will fail. 192.168.1.1 localhost.localdomain localhost
hosts.conf:
order hosts,bind
Tom Ryan wrote:
lets check everything..
whats in /etc/hosts
On Thu, 16 Dec 2004, Joseph McCrary wrote:
[joe@localhost ~]$ lpstat -h localhost -a lpstat: Unable to connect to server: Connection refused [joe@localhost ~]$
Actually, the entire client.conf seems to be commented out:
# # "$Id: client.conf,v 1.8 2004/02/25 20:15:27 mike Exp $" # # Sample client configuration file for the Common UNIX Printing System # (CUPS). # # Copyright 1997-2004 by Easy Software Products, all rights reserved. # # These coded instructions, statements, and computer programs are the # property of Easy Software Products and are protected by Federal # copyright law. Distribution and use rights are outlined in the file # "LICENSE.txt" which should have been included with this file. If this # file is missing or damaged please contact Easy Software Products # at: # # Attn: CUPS Licensing Information # Easy Software Products # 44141 Airport View Drive, Suite 204 # Hollywood, Maryland 20636-3111 USA # # Voice: (301) 373-9603 # EMail: cups-info@cups.org # WWW: http://www.cups.org #
######################################################################## # # # This is the CUPS client configuration file. This file is used to # # define client-specific parameters, such as the default server or # # default encryption settings. # # # ########################################################################
# # ServerName: the hostname of your server. By default CUPS will use the # hostname of the system or the value of the CUPS_SERVER environment # variable. ONLY ONE SERVER NAME MAY BE SPECIFIED AT A TIME. To use # more than one server you must use a local scheduler with browsing # and possibly polling. #
#ServerName myhost.domain.com
# # Encryption: whether or not to use encryption; this depends on having # the OpenSSL library linked into the CUPS library. # # Possible values: # # Always - Always use encryption (SSL) # Never - Never use encryption # Required - Use TLS encryption upgrade # IfRequested - Use encryption if the server requests it # # The default value is "IfRequested". This parameter can also be set # using the CUPS_ENCRYPTION environment variable. #
#Encryption Always #Encryption Never #Encryption Required #Encryption IfRequested
# # End of "$Id: client.conf,v 1.8 2004/02/25 20:15:27 mike Exp $". #
Tom Ryan wrote:
do you have a "servername" variable in client.conf?
if so, comment that out..
what does
lpstat -h localhost -a
show?
On Thu, 16 Dec 2004, Terry Polzin wrote:
On Thursday 16 December 2004 10:49, Joseph McCrary wrote:
Please help. If I cannot fix this printing problem, I will have to abandon Linux for the hated world of Windoze!!!
Two weeks ago, I no longer could send a document to either printer. I've got two printers connected, both of which used to work fine. One is a Canon S600 connected to a USB port. The other is a HP LJ 6MP connected through my local network. Both worked fine previously.
Whenever I try to print from a program (e.g., Firefox), the only printer available is the PostScript default. Previously, both printers were listed, with the HP as the default printer.
When I try to print a test page, I get this error:
lpr: error - unable to print file: server-error-service-unavailable
I'm running Core 3, and have done all of the updates. I downloaded and installed the latest version of CUPS (1.1.22). That did not help.
Here are the last few lines from cups.conf:
# Encryption: whether or not to use encryption; this depends on having # the OpenSSL library linked into the CUPS library and scheduler. # # Possible values: # # Always - Always use encryption (SSL) # Never - Never use encryption # Required - Use TLS encryption upgrade # IfRequested - Use encryption if the server requests it # # The default value is "IfRequested". #
<Location /> Order Deny,Allow Deny From All Allow From 127.0.0.1 </Location>
#<Location /classes> # # You may wish to limit access to printers and classes, either with Allow # and Deny lines, or by requiring a username and password. # #</Location>
#<Location /classes/name> # # You may wish to limit access to printers and classes, either with Allow # and Deny lines, or by requiring a username and password. # #</Location>
#<Location /jobs> # # You may wish to limit access to job operations, either with Allow # and Deny lines, or by requiring a username and password. # #</Location>
#<Location /printers> # # You may wish to limit access to printers and classes, either with Allow # and Deny lines, or by requiring a username and password. # #</Location>
#<Location /printers/name> # # You may wish to limit access to printers and classes, either with Allow # and Deny lines, or by requiring a username and password. #
## Anonymous access (default) #AuthType None
## Require a username and password (Basic authentication) #AuthType Basic #AuthClass User
## Require a username and password (Digest/MD5 authentication) #AuthType Digest #AuthClass User
## Restrict access to local domain #Order Deny,Allow #Deny From All #Allow From .mydomain.com #</Location>
<Location /admin> # # You definitely will want to limit access to the administration functions. # The default configuration requires a local connection from a user who # is a member of the system group to do any admin tasks. You can change # the group name using the SystemGroup directive. #
AuthType Basic AuthClass System
## Restrict access to local domain Order Deny,Allow Deny From All Allow From 127.0.0.1
#Encryption Required
</Location>
# # End of "$Id: cupsd.conf.in,v 1.16 2004/08/18 17:53:47 mike Exp $". # <Location /printers/usblp0> Order Deny,Allow Deny From All Allow From 127.0.0.1 AuthType None
</Location> <Location /printers/s600-4> Order Deny,Allow Deny From All Allow From 127.0.0.1 AuthType None </Location> # Lines below are automatically generated - DO NOT EDIT <Location /printers/Canon> Order Deny,Allow Deny From All Allow From 127.0.0.1 AuthType None Allow from All </Location> <Location /printers/HP> Order Deny,Allow Deny From All Allow From 127.0.0.1 AuthType None Allow from All </Location> Browsing On BrowseProtocols cups BrowseOrder Deny,Allow BrowseAllow from @LOCAL BrowseAddress 255.255.255.255 Listen *:631
Please help.
Joe
OK lets start with the basics, is the cups daemon running? Set to start at startup? ps -ef | grep cups /sbin/chkconfig --list cups
If you do indeed see a cupsd in the output of the ps command, and runlevels 2345 are set to on the chkconfig output. Then run system-config-printers and make sure that your printers are configured correctly. Delete them and reconfigure if required. Test print from the printer config. Post the resutls.
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
Tom Ryan Voice: 856-225-6361 Consulting System Administrator Fax: 856-969-7900 Rutgers School of Law - Camden IT Help Desk: 856-225-2343
Tom Ryan Voice: 856-225-6361 Consulting System Administrator Fax: 856-969-7900 Rutgers School of Law - Camden IT Help Desk: 856-225-2343
Tom Ryan Voice: 856-225-6361 Consulting System Administrator Fax: 856-969-7900 Rutgers School of Law - Camden IT Help Desk: 856-225-2343
_______________________________________________________________________ Tom Ryan Voice: 856-225-6361 Consulting System Administrator Fax: 856-969-7900 Rutgers School of Law - Camden IT Help Desk: 856-225-2343
On Thu, 16 Dec 2004, Joseph McCrary wrote:
Please help. If I cannot fix this printing problem, I will have to abandon Linux for the hated world of Windoze!!!
Two weeks ago, I no longer could send a document to either printer. I've got two printers connected, both of which used to work fine. One is a Canon S600 connected to a USB port. The other is a HP LJ 6MP connected through my local network. Both worked fine previously.
Whenever I try to print from a program (e.g., Firefox), the only printer available is the PostScript default. Previously, both printers were listed, with the HP as the default printer.
When I try to print a test page, I get this error:
lpr: error - unable to print file: server-error-service-unavailable
I'm running Core 3, and have done all of the updates. I downloaded and installed the latest version of CUPS (1.1.22). That did not help.
Do you have a firewall running? Try using system-config-securitylevel to add 631:tcp to the list of open ports (on the machine with the printers attached).
[...]
Please help.
Joe
you're welcome :)
On Thu, 16 Dec 2004, Joseph McCrary wrote:
Matthew Saltzman wrote:
On Thu, 16 Dec 2004, Joseph McCrary wrote:
Please help. If I cannot fix this printing problem, I will have to abandon Linux for the hated world of Windoze!!!
Two weeks ago, I no longer could send a document to either printer. I've got two printers connected, both of which used to work fine. One is a Canon S600 connected to a USB port. The other is a HP LJ 6MP connected through my local network. Both worked fine previously.
Whenever I try to print from a program (e.g., Firefox), the only printer available is the PostScript default. Previously, both printers were listed, with the HP as the default printer.
When I try to print a test page, I get this error:
lpr: error - unable to print file: server-error-service-unavailable
I'm running Core 3, and have done all of the updates. I downloaded and installed the latest version of CUPS (1.1.22). That did not help.
Do you have a firewall running? Try using system-config-securitylevel to add 631:tcp to the list of open ports (on the machine with the printers attached).
[...]
Please help.
Joe
Thanks Matt. We solved it earlier by changing the IP address in one of the configuration files.
Joe
_______________________________________________________________________ Tom Ryan Voice: 856-225-6361 Consulting System Administrator Fax: 856-969-7900 Rutgers School of Law - Camden IT Help Desk: 856-225-2343
On Thu, 16 Dec 2004, Joseph McCrary wrote:
Matthew Saltzman wrote:
On Thu, 16 Dec 2004, Joseph McCrary wrote:
Please help. If I cannot fix this printing problem, I will have to abandon Linux for the hated world of Windoze!!!
Two weeks ago, I no longer could send a document to either printer. I've got two printers connected, both of which used to work fine. One is a Canon S600 connected to a USB port. The other is a HP LJ 6MP connected through my local network. Both worked fine previously.
Whenever I try to print from a program (e.g., Firefox), the only printer available is the PostScript default. Previously, both printers were listed, with the HP as the default printer.
When I try to print a test page, I get this error:
lpr: error - unable to print file: server-error-service-unavailable
I'm running Core 3, and have done all of the updates. I downloaded and installed the latest version of CUPS (1.1.22). That did not help.
Do you have a firewall running? Try using system-config-securitylevel to add 631:tcp to the list of open ports (on the machine with the printers attached).
[...]
Please help.
Joe
Thanks Matt. We solved it earlier by changing the IP address in one of the configuration files.
Joe
Yep, saw that later. If you want to share your printers with other computers, though, keep my advice in mind...