port 631 not coming up on TCP

Helge Blischke h.blischke at srz.de
Fri Apr 22 04:58:36 PDT 2005


On your production server, access to CUPS is restricted to the local
host, and the
comment ("# Lines below ...") is a hint that the following lines are
created by
some RH configuration tool. You should use *that* to grant access from
the boxes you 
need.

Helge

Ted Fiedler wrote:
> 
> I have two boxes; one Fedora core3 running cups-1.1.22-0.rc1.8.5, and one RH ES4 running cups-1.1.22-0.rc1.9.6. My FC3 box is my test print server, the RHES4 is my production server. CUPS is running on both boxes (ran chkconfig --list cups) my config files are exactly the same, except for the server name. There are no obvious errors in the error log. The differences that are obvious to me are the lines at the bottom of the cupsd.conf that ask you not to edit whats beneath as its been generated by cups. service cups status reports that both are running,
> 
> On my test server (cups-1.1.22-0.rc1.8.5 / FC3) everything works as it should
> 
> # Lines below are automatically generated - DO NOT EDIT
> <Location /printers/RSPARE>
> Order Deny,Allow
> Deny From All
> Allow From 127.0.0.1
> AuthType None
> Allow from All
> </Location>
> Browsing Off
> Listen *:631
> 
> on my production server (cups-1.1.22-0.rc1.9.6 / RHES4) things are not working quite as they should
> 
> # Lines below are automatically generated - DO NOT EDIT
> Browsing Off
> Listen 127.0.0.1:631
> 
> Working as they should the line
> `lpstat -hTESTSERVER -a` outputs
> 
> r_acctng accepting requests since Jan 01 00:00
> r_acctng_8150 accepting requests since Jan 01 00:00
> R_NETADMIN accepting requests since Jan 01 00:00
> R_NETADMIN_NB accepting requests since Jan 01 00:00
> RSPARE accepting requests since Jan 01 00:00
> RSPARE_NB accepting requests since Jan 01 00:00
> Y_NETADMIN accepting requests since Jan 01 00:00
> YGM1 accepting requests since Jan 01 00:00
> 
> While on my production server It get:
> 
> lpstat: Unable to connect to server: Connection refused
> 
> but running `lpstat -a` yields:
> 
> R_NETADMIN accepting requests since Jan 01 00:00
> R_NETADMIN_NB accepting requests since Jan 01 00:00
> RSPARE_NB not accepting requests since Jan 01 00:00 -
>         Paused
> 
> This leads me to running a utility that looks at the ports of whats running the output of which looks like:
> 
> -----------------------------------------------------------------
> | HOST        | IP                | Proto  | Status | Service   |
> -----------------------------------------------------------------
> | rlinux1     | xxx.xx.xxx.xx     | tcp    | Up     | ipp       |
> | rlinux1     | xxx.xx.xxx.xx     | udp    | Up     | ipp       |
> | rprint1     | xxx.xxx.xxx.xx    | tcp    | Down   | ipp       |
> | rprint1     | xxx.xx.xxx.xxx    | udp    | Up     | ipp       |
> 
> rlinux1 is a testbox and rprint1 is a production box
> note TCP/UDP for both.
> 
> I can however print locally and using samba on the remote box - I just cant connect to it using the -h parameter from the command line or via the web interface
> 
> Has anyone else experienced this, or have any solutions?
> 
> Thanks in advance
> Ted Fiedler

-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de




More information about the cups-devel mailing list