server-error-internal-error with CUPS "Configure Printer"
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
server-error-internal-error with CUPS "Configure Printer"
Hi Folks
I am having some fun and games with CUPS. I have several machines running Slack 10.0, but not all of them have this problem.
I have installed a number of printers with their respective ppds using the web-interface and when I attempt to configure the page size etc. with the "Configure Printer" button, I get the infamous "server-error-internal-error" message. After setting LogLevel to "debug" I saw this message in /var/log/cups/error_log:
D [11/Aug/2004:13:52:08 +0200] SendError() 9 code=403 (Forbidden)
The "code=403" is kinda like an http error, but I don't know what CUPS is trying to tell me. Could someone narrow this down a bit for me?
The fact that I only get this on some of the machines seems to indicate something that I am doing during the installation, I just wish I knew what. (BTW, I have not installed lprng at all, so there's no clash happening with symlinks etc.)
You have a differering name in your /etc/cups/cupsd.conf and /etc/hosts. What I mean is that, in your /etc/cups/cupsd.conf ServerName is different from your machine name. Change it so that it is the same and restart cups.
carboncopy:
Nope, I have checked the ServerName thing and it's not that .
Cedrik:
I probably should've mentioned that I have edited cupsd.conf so that I can configure the printers from other machines, so I the IP addies in <Location> and <Admin>.
After reading Cedrik's suggestion about the ServerName in client.conf I decided to comment it out in cupsd.conf so that it would read /etc/hosts, and this appears to have fixed the problem. I am rather bemused because I have configured a CUPS server like this in 9.1 without these issues.
Thanks for the help carboncopy and Cedrik .
server-error-internal-error with CUPS "Configure Printer"
This is quite old but since I found it very helpful I am replying so maybe it will help someonne else.
I do not understand all the code below that you suggested adding but it seems to have solved the problem. I was in doube if I should add the line "allow from 192.168.0.0/24" or if it should be my printer address. I added the line as you put it (I copied and pasted the entire code) and it worked. Thanks.
You may have to add in /etc/cups/cupsd.conf some lines which look like :
(for a network 192.168.0.0/24)
<Location /printers/YourPrinterName>
Order Deny,Allow
Deny From All
Allow From 192.168.0.0/24
</Location>
Cedrik is offline Add to Cedrik's Reputation Report This Post
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.