Unable to bind socket for address ::1:631
James Doe
jim.doe at sogefifiltration.com
Tue Jun 20 07:29:02 PDT 2006
> James Doe <jim.doe at sogefifiltration.com> wrote (Tuesday 20 June 2006 12:36):
>
> >> James Doe wrote:
> >> >> James Doe wrote:
> >> >>> ...
> >> >>> Thanks Michael, the 'Listen' problem is cured by using
> >> >>> '127.0.0.1:631'
> >> >>> I am logged on as 'root' the error log is below when I try to add a
> >> >>> printer. The printer is created but does not work. I think you are
> >> >>> right about permissions but I am not sure who the owner/group should
> >> >>> be and what permission should be. ... D [19/Jun/2006:14:11:48 +0000]
> >> >>> copy_model: Running "cups-driverd cat laserjet.ppd"... D
> >> >>> [19/Jun/2006:14:11:48 +0000] [CGI] /usr/lib/cups/daemon/cups-driverd:
> >> >>> Permission denied
> >> >> What are the permissions on /usr/lib/cups/daemon?
> >> >>
> >> >> On /usr/lib/cups/daemon/cups-driverd?
> >> >>
> >> >> All of the directories up to /usr/lib/cups/daemon need to have at
> >> >> least "x" for others (chmod o+x /path), and the cups-driverd program
> >> >> needs to be readable and executable by everyone (chmod 755 /path).
> >> >>
> >> >> --
> >> >> ______________________________________________________________________
> >> >> Michael Sweet, Easy Software Products mike at easysw dot com
> >> >> Internet Printing and Document Software http://www.easysw.com
> >> >
> >> > I have found the problem. The '/usr/lib/cups' directory did not have
> >> > executable permission for other users. Thanks for your help on this.
> >> > Sorry to be a pest, but I have one more problem. Now that I can create
> >> > a printer queue, when I try to print to it I get the following error:
> >> >
> >> > # lp -d laser /print_test
> >> > lp: Unsupported format 'text/plain'!
> >>
> >> Hmm, sounds like CUPS isn't seeing the texttops filter as executable -
> >> check the permissions on /usr/lib/cups/filter and the files in there.
> >> Also, if you update the permissions you'll want to restart cupsd so
> >> that it retests those things...
> >>
> >> --
> >> ______________________________________________________________________
> >> Michael Sweet, Easy Software Products mike at easysw dot com
> >> Internet Printing and Document Software http://www.easysw.com
> >
> > I have checked the permissions and everthing in the path seems executable.
> > I have stopped and started 'CUPSD' but the error is still there.
>
> text/plain is processed by the "texttops" filter. If the filter is there
> (in /usr/lib/cups/filter/) and if it is executable, probably CUPS does
> still not know about it:
>
> 1. You need a file /etc/cups/mime.convs.
>
> 2. mime.convs needs to contain the line:
> "text/html application/postscript 33 texttops"
>
> 3. You need a file /etc/cups/mime.types.
>
> 4. mime.types needs to contain a line:
> "text/plain txt printable(0,1024)"
>
> Do you have these?
>
> Cheers,
> Kurt
>
Thanks Kurt
I have just checked these and the entries are all correct and the 'texttops' filter is there ok & executable
rw------- 1 root lp 82 Jun 19 14:55 classes.conf
-rw-r--r-- 1 root lp 82 Jun 19 13:56 classes.conf.O
-rw-r----- 1 root lp 2372 Jun 19 11:59 cupsd.conf
drwxrwxrwx 2 root lp 512 Jun 14 16:02 interfaces
-rw-r--r-- 1 root other 4574 Jun 19 15:03 mime.convs
-rw-r--r-- 1 root other 4575 Jun 14 16:02 mime.convs.O
-rw-r--r-- 1 root other 6223 Jun 16 12:07 mime.types
-rw-r--r-- 1 root other 6223 Jun 14 16:02 mime.types.O
drwxr-xr-x 2 root lp 512 Jun 19 14:54 ppd
-rw------- 1 root lp 315 Jun 19 14:55 printers.conf
-rw-r--r-- 1 root lp 308 Jun 19 14:54 printers.conf.O
Regards
Jim
More information about the cups
mailing list