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@xxxxxxxx > > # 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@xxxxxxxxxx > > 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