[GRLUG] Testing CUPS

Adam Tauno Williams awilliam at whitemice.org
Fri Dec 27 13:51:31 EST 2013


On Fri, 2013-12-27 at 12:41 -0600, L. V. Lammert wrote:
> Ran into a problem upgrading the workgroup server here - after upgrade,
> cupsd is not responding - it returns a "Bad Request" when trying to access
> the web pateage, and printer services are not running (the daemon does
> show active, and restarts successfully).
>  cupsdAuthorize: No authentication data provided.
>  Request from "10.0.0.1" using invalid Host: field "marvel.omnitec.net:631"

Your CUPS server has an identity crisis.  The HTTP header says the job
is for "marvel..." but that is not the server it was received by.

 1. Edit /etc/cups/cupsd.conf
 1.1. Add the directive "ServerAlias *"
 3. Restart CUPS

If that fixes it then take the line back out, fix your hostname, DNS,
etc... so that the requests come named for the correct host.


-- 
Adam Tauno Williams <mailto:awilliam at whitemice.org> GPG D95ED383
Systems Administrator, Python Developer, LPI / NCLA



More information about the grlug mailing list