You are not logged in.
Pages: 1
Topic closed
When I try to add a printer from "localhost:631/admin", I get this output: "Add Printer Error; Unable to add printer: Forbidden".
Here is the error log:
E [21/Jun/2015:11:43:13 -0400] [Client 9] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
E [21/Jun/2015:11:43:13 -0400] [CGI] CUPS-Get-Devices request failed with status 401: Forbidden
E [21/Jun/2015:11:43:25 -0400] [Client 17] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
E [21/Jun/2015:11:44:10 -0400] [Client 28] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
E [21/Jun/2015:11:44:10 -0400] [CGI] CUPS-Get-Devices request failed with status 401: Forbidden
E [21/Jun/2015:11:44:13 -0400] [Client 32] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
E [21/Jun/2015:11:45:51 -0400] [Client 29] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
E [21/Jun/2015:11:45:51 -0400] [CGI] CUPS-Get-Devices request failed with status 401: Forbidden
E [21/Jun/2015:12:00:06 -0400] [Client 40] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
E [21/Jun/2015:12:00:06 -0400] [CGI] CUPS-Get-Devices request failed with status 401: Forbidden
E [21/Jun/2015:12:00:14 -0400] [Client 48] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
E [21/Jun/2015:12:00:14 -0400] [CGI] CUPS-Get-Devices request failed with status 401: Forbidden
E [21/Jun/2015:13:00:41 -0400] [Client 143] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
E [21/Jun/2015:13:00:41 -0400] [CGI] CUPS-Get-Devices request failed with status 401: Forbidden
E [21/Jun/2015:13:00:45 -0400] [Client 149] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
E [21/Jun/2015:13:14:46 -0400] [Client 163] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
E [21/Jun/2015:13:14:46 -0400] [CGI] CUPS-Get-Devices request failed with status 401: Forbidden
It's the same error, just at different times. I don't understand this error message, so help would be appreciated. Also, I'm trying to get my "Brother HL-2140" printer to work. If any additional information is needed I'll gladly post it. Thanks in advance.
Offline
did you enter the IP address of the printer in the CUPS search?
∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞
Offline
Same here. I had to open "localhost:631/admin" on another browser to login again, but I found the solution afterwards. Actually, the problem is that there's no way to logout, cleaning/removing the cookies isn't enough, but you can "logout" by typing the new user name in the URL, like "root@localhost:631/admin".
That's probably because /etc/cups/cups-files.conf defines the groups for @SYSTEM users and /etc/cups/cups.conf requires @SYSTEM for accessing the resources at "localhost:631/admin", so cups requires a @SYSTEM credentials (e.g. root), not your user ones.
Offline
Thank you for the relevant contribution -- good points. But, I am going to take this opportunity to now close this aged thread,
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Pages: 1
Topic closed