Bug 52944

Summary: CUPS is not configurable on 4.8-RELEASE
Product: Ports & Packages Reporter: Aryeh Friedman <aryeh>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Aryeh Friedman 2003-06-04 18:20:14 UTC

How-To-Repeat: 	Start cupsd and go to http://localhost:631/admin and attempt to complete any form.
Comment 1 cmurdock 2003-06-23 21:09:04 UTC
I had this problem as well.  While investigating, I noticed that 
/var/spool/cups and /var/spool/cups/tmp didn't exist.  I created them, and 
was able to get past the error message in bug 52944.  However, at the last 
step in the Add Printer process though the CUPS utililty at localhost:631, 
where you click continue after choosing the printer model, I would get this 
error mesage:  "server-error-internal-error".  Upon further investigation, I 
found that /var/log/cups was also missing.  I created that directory, and the 
logs appeared in there immediately.  In the error log was the following:

AddCert:  Unable to create certificate file /usr/local/etc/cups/certs/0 - No 
such file or directory.

I looked in /usr/local/etc/cups, and there was no certs directory.  I created 
that.  Then I tried again.  The next time I tried adding the printer, I got 
this error message:

add_printer:  Unable to copy PPD file from 
/usr/local/share/cups/model/laserjet1100.ppd to 
/usr/local/etc/cups/ppd/lj1100.ppd - No such file or directory!

And again, /usr/local/etc/cups/ppd didn't exist, so I created it.  Finally it 
added the printer, and it works, although it has crashed on me a couple of 
times and I'm getting continual messages warning me of possible DoS attacks 
from my own computer like so in my logs:

Possible DoS attack - more than 10 clients connecting from <myhostname>!

Also, although the web-based CUPS admin utility finds the drivers, KDE's 
utility (printmgr) does not.  I had to manually browse to 
/usr/local/etc/cups/model/laserjet1100.ppd.

All this makes me wonder what else is missing!

-- 
Cindy Murdock
Network Administrator
Meadville Public Library/Crawford County Federated Library System
http://meadvillelibrary.org & http://ccfls.org
Comment 2 Tilman Keskinoz freebsd_committer freebsd_triage 2003-07-22 17:02:18 UTC
State Changed
From-To: open->feedback

I updated the CUPS port. Does this problem still occur with the latest version?
Comment 3 Tilman Keskinoz freebsd_committer freebsd_triage 2003-09-27 22:54:49 UTC
State Changed
From-To: feedback->closed

freedback timeout (2 months) & works for me.