Unable to bind socket for address ::1:631

Michael Sweet mike at easysw.com
Mon Jun 19 07:49:20 PDT 2006


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




More information about the cups mailing list