Unable to bind socket for address ::1:631

Kurt Pfeifle kpfeifle at danka.de
Tue Jun 20 06:11: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





More information about the cups mailing list