have a strange isue. [ this is my 2nd day with centos4] nice instalatin BTW ok, i activated cupsd sharing and open the port 631 in the security level when i lpq from withing a network interface i get thi error ~$ lpq lpq: error - no default destination available. and in centos the log shows D [19/Mar/2006:08:37:17 -0500] AcceptClient: 8 from 192.168.1.100:631. D [19/Mar/2006:08:37:17 -0500] ReadClient: 8 POST / HTTP/1.1 D [19/Mar/2006:08:37:17 -0500] SendError: 8 code=403 (Forbidden) D [19/Mar/2006:08:37:17 -0500] CloseClient: 8 D [19/Mar/2006:08:37:17 -0500] CloseClient: 6 i search the archieves and found similar issues but not real response i tried several things in the config file but no avail anyone can shed any light why this would be i am able to print from centos.... its from other pc's in the network that i am not able repeat i open port 631:tcp i also tried udp and in cups config i specified to share the printer TIA
On 3/19/06, boricua@despiertapr.com <boricua@despiertapr.com> wrote:> have a strange isue. [ this is my 2nd day with centos4] > > nice instalatin BTW > > ok, i activated cupsd sharing and open the port 631 in the security level > > when i lpq from withing a network interface i get thi error > ~$ lpq > lpq: error - no default destination available. >> i am able to print from centos.... its from other pc''s in the network that i am not > able > > repeat i open port 631:tcp i also tried udp > and in cups config i specified to share the printer > TIA >Did you change these defaults in cupsd.conf? # Only listen for connections from the local machine. # Listen localhost:631 # Listen /var/run/cups/cups.sock # Restrict access to the server... <Location /> Order allow,deny Allow localhost </Location> -- Collins Richey If you fill your heart with regrets of yesterday and the worries of tomorrow, you have no today to be thankful for.
> > Did you change these defaults in cupsd.conf? > > # Only listen for connections from the local machine. > # Listen localhost:631 > # Listen /var/run/cups/cups.sock > > # Restrict access to the server... > <Location /> > Order allow,deny > Allow localhost > </Location> > > > --made no changes to that area in cupsd.conf
> > > > made no changes to that area in cupsd.conf > > OK, and you stated "i am able to print from centos.... its from other > pc''s in the network that i am not able". > > The default settings in cupsd.conf listen on port 631 only from > localhost and deny access to the server from anywhere except > localhost. > > Fix this to allow access from hosts that you are using. >my understanding is the cups-config when specified sharing will add adequates entry. i tried adding Allow 192.168.1.0/24 and no luck any other suggestions should i send you my cupsd.conf file?
On 3/19/06, boricua <boricua@despiertapr.com> wrote:> > > > Did you change these defaults in cupsd.conf? > > > > # Only listen for connections from the local machine. > > # Listen localhost:631 > > # Listen /var/run/cups/cups.sock > > > > # Restrict access to the server... > > <Location /> > > Order allow,deny > > Allow localhost > > </Location> > > > > > > -- > > > made no changes to that area in cupsd.confOK, and you stated "i am able to print from centos.... its from other pc''s in the network that i am not able". The default settings in cupsd.conf listen on port 631 only from localhost and deny access to the server from anywhere except localhost. Fix this to allow access from hosts that you are using. -- Collins Richey If you fill your heart with regrets of yesterday and the worries of tomorrow, you have no today to be thankful for.
On Sun, 19 Mar 2006 19:37:31 -0700 "Collins Richey" <crichey@gmail.com> wrote:> On 3/19/06, boricua <boricua@despiertapr.com> wrote: > > > > > > Did you change these defaults in cupsd.conf? > > > > > > # Only listen for connections from the local machine. > > > # Listen localhost:631 > > > # Listen /var/run/cups/cups.sock > > > > > > # Restrict access to the server... > > > <Location /> > > > Order allow,deny > > > Allow localhost > > > </Location> > > > > > >here is a portion of file <Location /printers/hp640c> Order Deny,Allow Deny From All Allow From 127.0.0.1 AuthType None Allow from All Allow localhost </Location> Browsing Off Listen *:631
On 3/19/06, boricua <boricua@despiertapr.com> wrote:> On Sun, 19 Mar 2006 19:37:31 -0700 > "Collins Richey" <crichey@gmail.com> wrote: > > > On 3/19/06, boricua <boricua@despiertapr.com> wrote: > > > > > > > > Did you change these defaults in cupsd.conf? > > > > > > > > # Only listen for connections from the local machine. > > > > # Listen localhost:631 > > > > # Listen /var/run/cups/cups.sock > > > > > > > > # Restrict access to the server... > > > > <Location /> > > > > Order allow,deny > > > > Allow localhost > > > > </Location> > > > > > > > > > > here is a portion of file > > <Location /printers/hp640c> > Order Deny,Allow > Deny From All > Allow From 127.0.0.1 > AuthType None > Allow from All > Allow localhost > </Location> > Browsing Off > Listen *:631OK, I''m not a real cups heavyweight, but wouldn''t that need to be Allow From <whateverhostyouaretryingtoprintfrom>? -- Collins Richey If you fill your heart with regrets of yesterday and the worries of tomorrow, you have no today to be thankful for.
> > </Location> > > Browsing Off > > Listen *:631 > > OK, I''m not a real cups heavyweight, but wouldn''t that need to be > Allow From <whateverhostyouaretryingtoprintfrom>? >well Allow &ALL should do it i solve it but there is another issue which is the gui config app seems to buggy thanks