LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-11-2004, 06:56 AM   #1
fskmh
Member
 
Registered: Jun 2002
Location: South Africa
Distribution: Slackware64-current multilib
Posts: 235

Rep: Reputation: 55
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.)
 
Old 08-11-2004, 07:38 AM   #2
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
I know what is wrong.

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.
 
Old 08-11-2004, 07:51 AM   #3
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
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>
 
1 members found this post helpful.
Old 08-11-2004, 08:11 AM   #4
fskmh
Member
 
Registered: Jun 2002
Location: South Africa
Distribution: Slackware64-current multilib
Posts: 235

Original Poster
Rep: Reputation: 55
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>.
 
Old 08-11-2004, 08:20 AM   #5
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
And did you check the ServerName in /etc/cups/client.conf of your machines ?
 
Old 08-11-2004, 08:39 AM   #6
fskmh
Member
 
Registered: Jun 2002
Location: South Africa
Distribution: Slackware64-current multilib
Posts: 235

Original Poster
Rep: Reputation: 55
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 .
 
Old 06-05-2013, 01:51 PM   #7
mfklinux
LQ Newbie
 
Registered: Aug 2008
Posts: 12

Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba + CUPS "Access denied, unable to connect" error lirik Linux - Networking 10 10-13-2011 01:09 PM
ardour wont configure: configure: error: C preprocessor "/lib/cpp" fails sanity check disciple061 Linux - Software 4 01-22-2005 12:35 PM
CUPS w/two HP printers "media tray empty" error OhMyAchingGut Linux - Hardware 2 01-20-2005 08:34 PM
cups Error "CUPS daemon has died" susesarus Linux - Software 2 08-21-2004 03:43 PM
Cups - "client-error-not-found" error timfair Linux - Software 0 06-13-2003 11:21 PM


All times are GMT -5. The time now is 02:06 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration