Re: cups slow when printing from firefox
Hi all, I'm struggling with a speed issue when trying to print stuff from firefox (10.0.2,1). I've set up cups (meta package 1.5.2) on my box which uses a Lexmark E360dn printer via ethernet. The printer has a postscript emulation which is set as the default (as opposed to PCL). I've used a PPD file from openprinting.org which claims that the printer is 100% supported. Printing works fine in general with all sorts of text and images, including PDF and LibreOffice and whatnot. However, trying to print maps from maps.google.de sends one CPU to 100% for a couple of minutes. Printing the same map from a Debian box takes a couple of seconds. I can print the map to a file, and print that file with lpr which also takes just a few seconds. While printing from firefox directly, I noticed a process gsc owned by cups which causes most of the CPU load. I take this as an indication that the postscript output from firefox is incorrectly rasterized on my box, instead of sending the postscript data directly to the printer. I did not make any changes to the default config files except for adding the printer through the localhost:631 interface. Is there anything else that I need to configure, either on the firefox or the cups end, to make printing maps faster? regards Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Hi Markus. If you do a search in the archives you'll see that some of us have printing problems with Firefox. Some even suspect that printing in Firefox is broken. I myself has not been able to solve my specific printing problems which include both Firefox but also Libre office. I'm running Win7 in Virtualbox in order to fix my printing :-( Regards /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cups slow when printing from firefox
Leslie Jensen writes: Hi Markus. If you do a search in the archives you'll see that some of us have printing problems with Firefox. Some even suspect that printing in Firefox is broken. I myself has not been able to solve my specific printing problems which include both Firefox but also Libre office. I'm running Win7 in Virtualbox in order to fix my printing :-( Hi Leslie, good to know, I thought it's just me being too stupid to press the right button. For the time being I'll resort to printing to a file and sending that to lpr, instead of running Win7. regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CUPS 1.5.2 not working, like to test 1.4.x, how?
On Tue, 21 Feb 2012 00:23:19 +0100 Polytropon free...@edvax.de wrote: On Mon, 20 Feb 2012 23:46:52 +0100, Christopher J. Ruwe wrote: Is there any documentation available on how to retrieve old ports from the cvs-attic? I just don't know how, so that I could test my assumption that CUPS 1.4.x should be working for my setup. There's a port to do so: portdowngrade. You can use it to obtain older versions of a port. (I've been using it successfully to downgrade xzgv to a working version.) Thanks a lot. In my case, it meant finding out that you have to rebuild INDEX, downgrading the cups-base and cups-client port to 1.4.8 and then rebuidling the chain. Boiled down to 5m of actual work and some more waiting for the compile ... I have now cups 1.4.8 and am functional with a Kyocera 1030D connected via usb. So, thank you again, hava a nice week, cheers -- Christopher TZ GMT +1h ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CUPS 1.5.2 not working, like to test 1.4.x, how?
On Mon, 20 Feb 2012 23:46:52 +0100, Christopher J. Ruwe wrote: Is there any documentation available on how to retrieve old ports from the cvs-attic? I just don't know how, so that I could test my assumption that CUPS 1.4.x should be working for my setup. There's a port to do so: portdowngrade. You can use it to obtain older versions of a port. (I've been using it successfully to downgrade xzgv to a working version.) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: CUPS and IPP/JD/LPD
-Original Message- From: Ryan Coleman [mailto:edi...@d3photography.com] Sent: Thursday, December 08, 2011 9:24 AM To: Patrick Mahan Cc: FreeBSD Questions Subject: Re: CUPS and IPP/JD/LPD Definitely Postscript. With CUPS, I'm don't remember off the top of my head, but I believe there is a way to create a text only queue. You might want to setup a box with CUPS and use that to act as an intermediary for the iOS devices. Patrick Patrick Mahan Lead Technical Kernel Engineer Adara Networks Disclaimer: The opinions expressed here are solely the responsibility of the author and are not to be construed as an official opinion of Adara Networks. On Dec 8, 2011, at 10:59 AM, Patrick Mahan wrote: -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- questi...@freebsd.org] On Behalf Of Ryan Coleman Sent: Thursday, December 08, 2011 8:41 AM To: FreeBSD Questions Subject: CUPS and IPP/JD/LPD I have a printer that doesn't support IPP. The leasing agency wants to charge me $1400 to install the Postcript driver on it but I'm looking at another solution, if possible: CUPS. I have a MacBook and we have a number of iOS devices around the office here that people would love to be able to print from... but AirPrint requires an IPP-compatible printer. Is there a way to convert or translate IPP to either LPD or JetDirect? -- Ryan Ryan, I use JetDirect with my Apple devices. I print to a HP OfficeJet 7310 all-in-one with no problems. I had and older HP Color inkjet (930?) that was hooked up for a while to a Fedora Core box that was using LPD that worked as well. Patrick Patrick Mahan Lead Technical Kernel Engineer Adara Networks Disclaimer: The opinions expressed here are solely the responsibility of the author and are not to be construed as an official opinion of Adara Networks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CUPS and IPP/JD/LPD
Em Qui, 2011-12-08 às 10:40 -0600, Ryan Coleman escreveu: I have a printer that doesn't support IPP. The leasing agency wants to charge me $1400 to install the Postcript driver on it but I'm looking at another solution, if possible: CUPS. I have a MacBook and we have a number of iOS devices around the office here that people would love to be able to print from… but AirPrint requires an IPP-compatible printer. Is there a way to convert or translate IPP to either LPD or JetDirect? -- Ryan I used to install a freebsd machine in the network than install cups, and install a PPD file for that printer (in the attach) configure run cups. pint *PPD-Adobe: 4.3 *% *% For information on using this, and to obtain the required backend *% script, consult http://www.openprinting.org/ *% *% This file is published under the GNU General Public License *% *% PPD-O-MATIC (4.0.0 or newer) generated this PPD file. It is for use with *% all programs and environments which use PPD files for dealing with *% printer capability information. The printer must be configured with the *% foomatic-rip backend filter script of Foomatic 4.0.0 or newer. This *% file and foomatic-rip work together to support PPD-controlled printer *% driver option access with all supported printer drivers and printing *% spoolers. *% *% To save this file on your disk, wait until the download has completed *% (the animation of the browser logo must stop) and then use the *% Save as... command in the File menu of your browser or in the *% pop-up manu when you click on this document with the right mouse button. *% DO NOT cut and paste this file into an editor with your mouse. This can *% introduce additional line breaks which lead to unexpected results. *% *% You may save this file as 'Generic-PCL_6_PCL_XL_Printer-pxlcolor.ppd' *% *% *FormatVersion: 4.3 *FileVersion: 1.1 *LanguageVersion: English *LanguageEncoding: ISOLatin1 *PCFileName:PXLCOLOR.PPD *Manufacturer: Generic *Product: (PCL 6/PCL XL Printer) *cupsVersion: 1.0 *cupsManualCopies: True *cupsModelNumber: 2 *cupsFilter:application/vnd.cups-postscript 100 foomatic-rip *cupsFilter:application/vnd.cups-pdf 0 foomatic-rip *%pprRIP:foomatic-rip other *ModelName: Generic PCL 6/PCL XL Printer *ShortNickName: Gener. PCL 6/PCL XL P. pxlcolor *NickName: Generic PCL 6/PCL XL Printer Foomatic/pxlcolor (recommended) *PSVersion: (3010.000) 550 *PSVersion: (3010.000) 651 *PSVersion: (3010.000) 652 *PSVersion: (3010.000) 653 *PSVersion: (3010.000) 704 *PSVersion: (3010.000) 705 *PSVersion: (3010.000) 800 *PSVersion: (3010.000) 815 *PSVersion: (3010.000) 850 *PSVersion: (3010.000) 860 *PSVersion: (3010.000) 861 *PSVersion: (3010.000) 862 *PSVersion: (3010.000) 863 *PSVersion: (3010.000) 864 *PSVersion: (3010.000) 870 *LanguageLevel: 3 *ColorDevice: True *DefaultColorSpace: RGB *FileSystem:False *Throughput:1 *LandscapeOrientation: Plus90 *TTRasterizer: Type42 *1284DeviceID: DRV:Dpxlcolor,R1,M0,F1,P0,TG; *driverName pxlcolor: *driverType G/Ghostscript built-in: *driverUrl: http://www.ghostscript.com/; *driverObsolete: False *driverManufacturerSupplied: False *driverFreeSoftware: True *DefaultResolution: 1200dpi *HWMargins: 18 36 18 36 *VariablePaperSize: True *MaxMediaWidth: 10 *MaxMediaHeight: 10 *NonUIOrderDependency: 100 AnySetup *CustomPageSize *CustomPageSize True: pop pop pop pop pop %% FoomaticRIPOptionSetting: PageSize=Custom *End *FoomaticRIPOptionSetting PageSize=Custom: -dDEVICEWIDTHPOINTS=0 -dD EVICEHEIGHTPOINTS=0 *End *ParamCustomPageSize Width: 1 points 36 10 *ParamCustomPageSize Height: 2 points 36 10 *ParamCustomPageSize Orientation: 3 int 0 0 *ParamCustomPageSize WidthOffset: 4 points 0 0 *ParamCustomPageSize HeightOffset: 5 points 0 0 *FoomaticIDs: Generic-PCL_6_PCL_XL_Printer pxlcolor *FoomaticRIPCommandLine: gs -q -dBATCH -dPARANOIDSAFER -dNOPAUSE -dNO INTERPOLATE%B%A%Z -sOutputFile=- - *End *OpenGroup: General/General *OpenUI *PrintoutMode/Print Quality: PickOne *FoomaticRIPOption PrintoutMode: enum Composite A *OrderDependency: 10 AnySetup *PrintoutMode *DefaultPrintoutMode: Normal.Gray *PrintoutMode Draft/Draft: %% FoomaticRIPOptionSetting: PrintoutMode=Draft *FoomaticRIPOptionSetting PrintoutMode=Draft: PrinterResolution=600x6 00dpi ColorModel=Color *End *PrintoutMode Draft.Gray/Draft Grayscale: %% FoomaticRIPOptionSetting: PrintoutMode=Draft.Gray *FoomaticRIPOptionSetting PrintoutMode=Draft.Gray: PrinterResolution= 600x600dpi ColorModel=Grayscale *End *PrintoutMode Normal/Normal: %% FoomaticRIPOptionSetting: PrintoutMode=Normal *FoomaticRIPOptionSetting PrintoutMode=Normal: PrinterResolution=600x 600dpi ColorModel=Color *End *PrintoutMode Normal.Gray/Normal Grayscale: %% FoomaticRIPOptionSetting: PrintoutMode=Normal.Gray *FoomaticRIPOptionSetting PrintoutMode=Normal.Gray: PrinterResolution =600x600dpi ColorModel=Grayscale *End
Re: CUPS and Windows Printers
On Wed, 13 Jul 2011 11:49:59 -0700 James Colannino articulated: Hey everyone, I've been Googling around, trying to figure out how to see Windows printers via CUPS on FreeBSD, but so far, all I've found are links describing how to share FreeBSD printers with Windows boxes. Can anyone tell me how I can connect to Windows printers via CUPS + Samba so that I can start getting some work done at the office? :) Thanks so much! I have a wireless HP printer connected to both Windows and FreeBSD boxes. Unfortunately, at least as far as I could tell, there is no way to simply use the Windows' driver. I installed the hplip port and it all, after some experimentation, worked well. It is still not as easy as printing from a Windows box to a FreeBSD printer, but it does work. -- Jerry ✌ jerry+f...@seibercom.net Disclaimer: off-list followups get on-list replies or ignored. Do not CC this poster. Please do not ignore the Reply-To header. http://www.catb.org/~esr/faqs/smart-questions.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CUPS and Windows Printers
On Wed, 13 Jul 2011 11:49:59 -0700, James Colannino wrote: Hey everyone, I've been Googling around, trying to figure out how to see Windows printers via CUPS on FreeBSD, but so far, all I've found are links describing how to share FreeBSD printers with Windows boxes. Can anyone tell me how I can connect to Windows printers via CUPS + Samba so that I can start getting some work done at the office? :) Thanks so much! Not specific to FreeBSD, but maybe this help you: Printing To Windows PCs http://tldp.org/HOWTO/Debian-and-Windows-Shared-Printing/printing_to_windows.html Also read chapter 5.1 of this material. Obtained by a google search. :-) I can't give better advice as I'm not a Windows person, and I avoid using CUPS whenever possible (usually by using a network printer that doesn't need all this stuff), and due to lack of experience with MICROS~1 stuff I can't be fully sure that this is what you're searching for. The only thing that comes to my mind is that this seems to be a command line approach - so in relation of CUPS configuration mainly done through a web interface today, maybe you could also ask this question in a CUPS web forum? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CUPS and Windows Printers
On Thu, Jul 14, 2011 at 3:59 AM, Polytropon free...@edvax.de wrote: On Wed, 13 Jul 2011 11:49:59 -0700, James Colannino wrote: Hey everyone, I've been Googling around, trying to figure out how to see Windows printers via CUPS on FreeBSD, but so far, all I've found are links describing how to share FreeBSD printers with Windows boxes. Can anyone tell me how I can connect to Windows printers via CUPS + Samba so that I can start getting some work done at the office? :) Thanks so much! Not specific to FreeBSD, but maybe this help you: Printing To Windows PCs http://tldp.org/HOWTO/Debian-and-Windows-Shared-Printing/printing_to_windows.html Also read chapter 5.1 of this material. Obtained by a google search. :-) I can't give better advice as I'm not a Windows person, and I avoid using CUPS whenever possible (usually by using a network printer that doesn't need all this stuff), and due to lack of experience with MICROS~1 stuff I can't be fully sure that this is what you're searching for. The only thing that comes to my mind is that this seems to be a command line approach - so in relation of CUPS configuration mainly done through a web interface today, maybe you could also ask this question in a CUPS web forum? -- Polytropon, Usually, the web page to work with cups issues is http://localhost:631/ and make changes there if I am not mistaken. But this is after the access is there for the printer :) Regards, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CUPS and Windows Printers
On 07/13/11 20:59, Polytropon wrote: Obtained by a google search. :-) I can't give better advice as I'm not a Windows person, and I avoid using CUPS whenever possible (usually by using a network printer that doesn't need all this stuff), and due to lack of experience with MICROS~1 stuff I can't be fully sure that this is what you're searching for. That looks like it might help. Thanks for the link. The only thing that comes to my mind is that this seems to be a command line approach - so in relation of CUPS configuration mainly done through a web interface today, maybe you could also ask this question in a CUPS web forum? That would probably be a good idea as well... :) James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cups-base: undefined reference to `_httpBIOMethods'
Answering myself, On 02/26/11 18:56, Per olof Ljungmark wrote: cc -Wall -Wno-format-y2k -fPIC -Os -g -fstack-protector -I.. -D_CUPS_SOURCE -I/usr/local/include -O2 -pipe -fno-strict-aliasing -DOPENSSL_DISABLE_OLD_DES_SUPPORT -D_LARGEFILE_SOURCE -D_THREAD_SAFE -D_REENTRANT -c -o sysman.o sysman.c echo Linking cupsd... Linking cupsd... cc -L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -L/usr/local/lib -rpath=/usr/lib:/usr/local/lib -Wl,-R/usr/local/lib -Wall -Wno-format-y2k -fPIC -Os -g -fstack-protector -o cupsd auth.o banners.o cert.o classes.o client.o conf.o dirsvc.o env.o main.o ipp.o listen.o job.o log.o network.o policy.o printers.o process.o quotas.o removefile.o select.o server.o statbuf.o subscriptions.o sysman.o -L. -lcupsmime \ -lz -lssl -lcrypto\ -lcups -lssl -lcrypto -pthread -lm -lcrypt \ client.o(.text+0x1989): In function `encrypt_client': /usr/ports/print/cups-base/work/cups-1.4.6/scheduler/client.c:3183: undefined reference to `_httpBIOMethods' gmake[1]: *** [cupsd] Error 1 gmake[1]: Leaving directory `/usr/ports/print/cups-base/work/cups-1.4.6/scheduler' gmake: *** [all] Error 1 *** Error code 1 Stop in /usr/ports/print/cups-base. cups-client needs to be compiled w/out gnutls as well. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cups upgrade failure
On Feb 21, 2011, at 8:56 AM, Rem P Roberti wrote: Can someone give me a heads up on why this portupgrade failed. Here is the error message I received: tor -o rastertoescpx rastertoescpx.o -L. -lcupsdriver \ -lcupsimage -lcups -pthread -lm -lcrypt cc: Internal error: Segmentation fault: 11 (program ld) ld crashed. If it is not reproducible, you likely have a hardware issue like overheating. If it is reproducible, include the full command (you've truncated too much output) and retry running ld under gdb to see why it is crashing. Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cups upgrade failure
Can someone give me a heads up on why this portupgrade failed. Here is the error message I received: tor -o rastertoescpx rastertoescpx.o -L. -lcupsdriver \ -lcupsimage -lcups -pthread -lm -lcrypt cc: Internal error: Segmentation fault: 11 (program ld) ld crashed. If it is not reproducible, you likely have a hardware issue like overheating. If it is reproducible, include the full command (you've truncated too much output) and retry running ld under gdb to see why it is crashing. Smooth sailing the second time I tried the portupgrade. Could very well be a hardware issue. Rem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CUPS between systems
William Bulley writes: When the CUPS server (cupsd) is built with GSSAPI support, the CUPS Administration tab (localhost:631/admin) contains this checkbox under the Server Settings: section: (x) Use Kerberos authentication (FAQ) Unfortunately for me on FreeBSD 8.0-STABLE running cups-base-1.4.2_3 the GSSAPI option is not present in the Makefile: CONFIGURE_ARGS+= --disable-gssapi ... As a result my localhost:631/admin screen lacks this Kerberos checkbox. This condition is still present in CUPS 1.4.3 according to the Makefile at http://www.freebsd.org/cgi/cvsweb.cgi/ports/print/cups-base/ I need Kerberos support in order to use CUPS to print to a network printer here. As a workaround, I was able to use a co-workers MacOS X system which was running CUPS to print to the same printer. This Mac was upgraded to MacOS 10.6.4 today, and this workaround failed. :-( So I am back to trying to use CUPS on FreeBSD to talk directly to the network printer, but without the Kerberos feature, I am locked out. Upgrading to CUPS 1.4.3 is unlikely to give me Kerberos support. It seems FreeBSD has Kerberos support in base at /usr/src/kerberos5. But I don't see how to bridge this gap. FWIW, using CUPS 1.3.10 in the Fall of 2009, I did have Kerberos support (via GSSAPI) and I was able to talk directly to the network printer. Does anyone have any suggestions for me to consider trying? The best suggestion would be to ask MAINTAINER of the port, why he disabled Kerberos support, and maybe better mail him a patch with Kerberos support enabled in the port :). HTH Ashish -- Sent via Gnus from GNU Emacs They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. -- Benjamin Franklin, Memoirs of the life and writings of Benjamin Franklin pgpQhQ6GxVHO5.pgp Description: PGP signature
Re: cups-1.4.2 usb printer not recognized [solved]
Am Freitag, den 18.12.2009, 04:41 +0100 schrieb Peter Ulrich Kruppa: Am Dienstag, den 15.12.2009, 07:28 -0500 schrieb Lowell Gilbert: Peter Ulrich Kruppa ulr...@pukruppa.net writes: since my update to cups-1.4.2 I can't print anymore :-( I have got a HP Deskjet 990 Cxi attached to an USB port. My system is a FreeBSD 8.0 -STABLE amd64. I can cat some words to /dev/ulpt0 but that's about all. When I access http://localhost:631 no local printer will show up. Any ideas? I'm still not on 8, but I understand that ulpt is no longer appropriate with the new USB stack and libusb. Remove ulpt from the kernel and I think you'll find CUPS detects the printer properly. Hm,...yes after some deinstalling/reinstalling and kernel building now cups will find this: hp:/usb/Deskjet_990C?serial=ES0731D00XLG But when I try to print the test page I get this error message: /usr/local/libexec/cups/backend/hp failed (I am running hplip-3.9.8 backend.) For the records: with latest portstree - some patches have been commited during the last days - and a # portupgrade -arf which took some time, print/cups and print/hplip now will recognize my USB-printer correctly. ulpt doesn't have to be removed from the kernel, I tested that. Of course permissions for the ugen device have to be set so that cups can access it. Thanks to everyone who repaired the ports! Uli. Any more ideas? Thanks Uli. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cups-1.4.2 usb printer not recognized
Am Dienstag, den 15.12.2009, 07:28 -0500 schrieb Lowell Gilbert: Peter Ulrich Kruppa ulr...@pukruppa.net writes: since my update to cups-1.4.2 I can't print anymore :-( I have got a HP Deskjet 990 Cxi attached to an USB port. My system is a FreeBSD 8.0 -STABLE amd64. I can cat some words to /dev/ulpt0 but that's about all. When I access http://localhost:631 no local printer will show up. Any ideas? I'm still not on 8, but I understand that ulpt is no longer appropriate with the new USB stack and libusb. Remove ulpt from the kernel and I think you'll find CUPS detects the printer properly. Hm,...yes after some deinstalling/reinstalling and kernel building now cups will find this: hp:/usb/Deskjet_990C?serial=ES0731D00XLG But when I try to print the test page I get this error message: /usr/local/libexec/cups/backend/hp failed (I am running hplip-3.9.8 backend.) Any more ideas? Thanks Uli. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CUPS laserjet 2200dn with Jetdirect 610N on network - one remaining problem
I have had a posting on the Cups list from Michael Sweet msw...@apple.com who has suggested the problem is something to do with my pam configuration. Thanks in advance for further guidance: Thanks Michael - it looks as though you may have put your finger on the problem -- but I am not certain how to react to it!!! (see below) On Dec 10, 2009, at 5:34 AM, David Southwell wrote: Thanks to some help from people on one of the freebsd lists I have finally succeeded in getting cups the server to communicate with the printer and print. HOWEVER!! One minor niggling problem remains. I still cannot communicate with the cups management interface on http://localhost:631 due to password authentication failure. So the title of this thread is still very relevant. Thanks in advance for any help with the problem. To bring readers up to date: I try logging in as 'root' with correct root password in the login dialogue. I altered the loglevel to debug and the output is at the end of this post. It seems as though the cupsd is not receiving the input (probably due to some config error on my part!). I have tried using a number of different browsers but get the same result. Prior to testing I did: dns1# lppasswd -g wheel -a root The standard cups error log showed cupsdAuthorize: pam_start() returned 4 (system error)! OK, so you have a PAM configuration error most likely - check that the /etc/pam.d/cups file is consistent with the other PAM files in /etc/pam.d (i.e. using the correct security modules...) ahahahaha There is no /etc/pam.d/cups file !! There is a /usr/local/etc/pam.d/cups which has the following lines: auth requiredpam_unknown.so nodelay account requiredpam_unknown.so Shown below is ls -l for each directory! Wanted --- good model for pam.d/cups and where to put it!!! chuckles [NB This is a freebsd 7.2 p3 amd64 system with intel quad core.] dns1# ls -l /etc/pam.d/ total 38 -r--r--r-- 1 root wheel 2907 May 1 2009 README -rw-r--r-- 1 root wheel 322 May 1 2009 atrun -rw-r--r-- 1 root wheel 199 May 1 2009 cron -rw-r--r-- 2 root wheel 547 May 1 2009 ftp -rw-r--r-- 2 root wheel 547 May 1 2009 ftpd -rw-r--r-- 1 root wheel 467 May 1 2009 gdm_disabled -rw-r--r-- 1 root wheel 365 May 1 2009 imap -rw-r--r-- 1 root wheel 467 May 1 2009 kde -rw-r--r-- 1 root wheel 374 May 1 2009 login -rw-r--r-- 1 root wheel 662 May 1 2009 other -rw-r--r-- 1 root wheel 319 May 1 2009 passwd -rw-r--r-- 1 root wheel 365 May 1 2009 pop3 -rw-r--r-- 1 root wheel 328 May 1 2009 rsh -rw-r--r-- 1 root wheel 739 May 1 2009 sshd -rw-r--r-- 1 root wheel 380 May 1 2009 su -rw-r--r-- 1 root wheel 705 May 1 2009 system -rw-r--r-- 1 root wheel 754 May 1 2009 telnetd -rw-r--r-- 1 root wheel 532 May 1 2009 xdm dns1# ls -l /usr/local/etc/pam.d total 16 -r--r--r-- 1 root wheel 69 Dec 10 09:19 cups -r--r--r-- 1 root wheel 672 Dec 7 10:06 gdm -r--r--r-- 1 root wheel 98 Nov 29 17:42 gnome-screensaver -r--r--r-- 1 root wheel 135 Nov 4 22:09 polkit -r--r--r-- 1 root wheel 135 Dec 2 09:00 polkit-1 -r--r--r-- 1 root wheel 399 Sep 27 18:20 sudo -r--r--r-- 1 root wheel 399 Sep 27 18:20 sudo.default -r--r--r-- 1 root wheel 98 Nov 5 03:22 xscreensaver Maybe someone who is versed in the intricacies of pam.d on freebsd 7.2 p3 amd64 might be willing to point me in the right direction. Thanks David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cups 1.3.10 problem?
Le Fri, 12 Jun 2009 15:40:52 -0400, B. Cook bc...@poughkeepsieschools.org a écrit : Hello, installed cups 1.3.9 on a machine a while back and successfully sharing a dozen or so jetdirects via samba. as part of regular updates I updated to 1.3.10 (no visible problems) until I tried to access the web interface. https://servername:631 E [12/Jun/2009:15:35:10 -0400] encrypt_client: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca Do have a certificate in /usr/local/etc/cups/ssl ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cups and ghostscript recursive dependency problem
On Thu, 4 Jun 2009 15:36:56 +0100, Mike Clarke jmc-freeb...@milibyte.co.uk wrote: I'm getting recursive dependency problems following a recent portupgrade -a. I've deinstalled cups-base as advised in UPDATING and somehow ghostscript8 has also ended up being removed. Now when I attempt to rebuild cups-base I get recursive dependency problems. curlew:/root# cd /usr/ports/print/cups-base curlew:/usr/ports/print/cups-base# make === cups-base-1.3.10_2 depends on file: /usr/local/lib/libcups.a - found === cups-base-1.3.10_2 depends on executable: gmake - found === cups-base-1.3.10_2 depends on executable: gs - not found ===Verifying install for gs in /usr/ports/print/ghostscript8 === ghostscript8-8.64_4 depends on executable: gmake - found === ghostscript8-8.64_4 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found === ghostscript8-8.64_4 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found === ghostscript8-8.64_4 depends on shared library: jpeg.9 - found === ghostscript8-8.64_4 depends on shared library: png.5 - found === ghostscript8-8.64_4 depends on shared library: libcupsimage.so.2 - not found ===Verifying install for libcupsimage.so.2 in /usr/ports/print/cups-base === cups-base-1.3.10_2 depends on file: /usr/local/lib/libcups.a - found [...] ... this repeats many times until it changes to ... make: Max recursion level (500) exceeded.: Resource temporarily unavailable *** Error code 2 ... I've already run pkgdb -Ff which deleted lots of redundant dependencies on cups-base and ghostscript8 but I consistently get the recursive problem. What should I try next? Do you have the latest port revision of ghostscript8? We have tweaked its dependencies in the last 2-3 commits. Check that the `Makefile' in `/usr/ports/print/ghostscript8' includes: # New ports collection makefile for: ghostscript # Date created:Tue Jun 10 21:58:54 CEST 1997 # Whom:Andreas Klemm andr...@klemm.gtn.com # # $FreeBSD$ # PORTNAME= ghostscript8 PORTVERSION= 8.64 PORTREVISION= 5 ^^ If the PORTREVISION is not 5, then please update the port and try again. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cups and ghostscript recursive dependency problem
On Thursday 04 June 2009, Giorgos Keramidas wrote: Do you have the latest port revision of ghostscript8? We have tweaked its dependencies in the last 2-3 commits. Check that the `Makefile' in `/usr/ports/print/ghostscript8' includes: # New ports collection makefile for: ghostscript # Date created: Tue Jun 10 21:58:54 CEST 1997 # Whom: Andreas Klemm andr...@klemm.gtn.com # # $FreeBSD$ # PORTNAME= ghostscript8 PORTVERSION= 8.64 PORTREVISION= 5 ^^ If the PORTREVISION is not 5, then please update the port and try again. That was the cause, I had portversion 4. Updating to 5 fixed it. Thanks for the help. -- Mike Clarke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cups and ghostscript recursive dependency problem
On Thursday 04 June 2009 18:27:00 Giorgos Keramidas wrote: PORTNAME= ghostscript8 PORTVERSION= 8.64 PORTREVISION= 5 ^^ \o/ Thanks for also respecting WITHOUT_CUPS since rev 3. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cups and ghostscript recursive dependency problem
On Thu, 4 Jun 2009 21:54:04 +0200, Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net wrote: On Thursday 04 June 2009 18:27:00 Giorgos Keramidas wrote: PORTNAME= ghostscript8 PORTVERSION= 8.64 PORTREVISION= 5 ^^ \o/ Thanks for also respecting WITHOUT_CUPS since rev 3. You are welcome, of course :-) That was the main motivation behind the recent flurry of changes. pgpx8OLYIHW2Y.pgp Description: PGP signature
Re: cups-base upgrade failure
Jasvinder S. Bahra ha scritto: Hi, I'm trying to upgrade cups-base on my system, but i'm having some problems. ... Anyone have any ideas? Sorry, no. This is just to say I have the same problem too, even on amd64 boxes. bye av. P.S. Shouldn't this be addressed to po...@freebsd.org? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cups-base upgrade failure
On Tue, May 12, 2009 at 11:32:11PM +0200, Andrea Venturoli wrote: Jasvinder S. Bahra ha scritto: Hi, I'm trying to upgrade cups-base on my system, but i'm having some problems. ... Anyone have any ideas? Sorry, no. This is just to say I have the same problem too, even on amd64 boxes. on 7.1-stable i386 I updated to cups-base-1.3.10_1 with no problems. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cups-base upgrade failure
Jasvinder S. Bahra bbdl21...@blueyonder.co.uk writes: Hi, I'm trying to upgrade cups-base on my system, but i'm having some problems. When I try (using portupgrade), i'm presented with the following... --8-- gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory /var/ports/basejail/usr/ports/print/cups-client/work/cups-1.3.10/ppd' Making all in templates... gmake[1]: Entering directory /var/ports/basejail/usr/ports/print/cups-client/work/cups-1.3.10/templates' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory /var/ports/basejail/usr/ports/print/cups-client/work/cups-1.3.10/templates' === Installing for cups-client-1.3.10_1 === Generating temporary packing list === Checking if print/cups-client already installed === cups-client-1.3.10_1 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of print/cups-client without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /basejail/usr/ports/print/cups-client. *** Error code 1 Stop in /basejail/usr/ports/print/cups-client. *** Error code 1 Stop in /basejail/usr/ports/print/cups-base. *** Error code 1 Stop in /basejail/usr/ports/print/cups-base. *** Error code 1 Stop in /basejail/usr/ports/print/cups-base. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20090510-49660-5q2d8w-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=cups-base-1.3.9_3 UPGRADE_PORT_VER=1.3.9_3 make reinstall --- Restoring the old version ** Fix the installation problem and try again. [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 39 packages found (-0 +1) . done] ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! print/cups-base (cups-base-1.3.9_3) (install error) --8-- If I do a uname -a, I get the following... --8-- FreeBSD pearl.xx.xxx 6.4-RELEASE-p4 FreeBSD 6.4-RELEASE-p4 #0: Mon Apr 27 19:11:59 BST 2009 j...@watchtower.xx.xxx:/usr/obj/usr/src/sys/WATCHTOWER i386 --8-- I've looked in /usr/ports/UPDATING, but i'm not seeing anything regarding cups. I just forced the install, and everything was happy afterwards... -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cups-base upgrade failure
Quoting Jasvinder S. Bahra bbdl21...@blueyonder.co.uk: Hi, I'm trying to upgrade cups-base on my system, but i'm having some problems. When I try (using portupgrade), i'm presented with the following... --8-- gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/var/ports/basejail/usr/ports/print/cups-client/work/cups-1.3.10/ppd' Making all in templates... gmake[1]: Entering directory `/var/ports/basejail/usr/ports/print/cups-client/work/cups-1.3.10/templates' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/var/ports/basejail/usr/ports/print/cups-client/work/cups-1.3.10/templates' === Installing for cups-client-1.3.10_1 === Generating temporary packing list === Checking if print/cups-client already installed === cups-client-1.3.10_1 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of print/cups-client without deleting it first, set the variable FORCE_PKG_REGISTER in your environment or the make install command line. *** Error code 1 Stop in /basejail/usr/ports/print/cups-client. *** Error code 1 Stop in /basejail/usr/ports/print/cups-client. *** Error code 1 Stop in /basejail/usr/ports/print/cups-base. *** Error code 1 Stop in /basejail/usr/ports/print/cups-base. *** Error code 1 Stop in /basejail/usr/ports/print/cups-base. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20090510-49660-5q2d8w-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=cups-base-1.3.9_3 UPGRADE_PORT_VER=1.3.9_3 make reinstall --- Restoring the old version ** Fix the installation problem and try again. [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 39 packages found (-0 +1) . done] ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! print/cups-base (cups-base-1.3.9_3) (install error) --8-- If I do a uname -a, I get the following... --8-- FreeBSD pearl.xx.xxx 6.4-RELEASE-p4 FreeBSD 6.4-RELEASE-p4 #0: Mon Apr 27 19:11:59 BST 2009 j...@watchtower.xx.xxx:/usr/obj/usr/src/sys/WATCHTOWER i386 --8-- I've looked in /usr/ports/UPDATING, but i'm not seeing anything regarding cups. Anyone have any ideas? Jazz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Try re-installing cups-client and then upgrading cups-base. I see the same issue when using portmaster, after you re-install the dependency it usually builds/installs fine. Regards, Terry Sposato te...@sucked-in.com Have you been sucked in? http://www.sucked-in.com - This message was sent from the Sucked In Webmail Interface - http://www.sucked-in.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CUPS
Am Donnerstag, den 16.04.2009, 10:01 -0400 schrieb Bob Falanga: I tried installing foomatic-filters. Then I get unable to open device file /dev/ulpt1: permission denied I set permissions to 0666, I don't get the error message but nothing prints. Do you have the lines lpd_enable=NO cupsd_enable=YES in your /etc/rc.conf ? If not, put type them in and restart cupsd (or reboot your machine and set /dev/ulpt1 to 0666). Greetings, Uli. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CUPS
On Mon, Apr 13, 2009 at 10:01 PM, Bob Falanga rfalang@gmail.com wrote: I have installed cups on freebsd. The printer configures OK. When I try a test print in localhost:631 I get an error message: /usr/local/libexec/cups/filter/foomatic-rip failedI need help with this one. Is this by chance a HP printer? (Particularly, a DeskJet?) I have seen this particular foomatic error, and the Works For Me(TM) resolution was to install print/foomatic-dp-hpijs HTH. -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CUPS
On Tue, Apr 14, 2009 at 07:22:01AM +0200, Peter Ulrich Kruppa wrote: Am Dienstag, den 14.04.2009, 04:14 + schrieb Dave Feustel: On Mon, Apr 13, 2009 at 10:01:32PM -0400, Bob Falanga wrote: I also am having problems printing on Suse 11 with CUPS from Maple version 12 (Maple, using its own copy of JRT 1.6 finds no printer services). There is a new (2008) book on CUPS administration which I will shortly be ordering from amazon.com since CUPS appears to be the wave of the future. Is your printer attached to a SUSE or a FreeBSD machine? Where do you run Maple - on SUSE or FreeBSD? Greetings Uli. My printer is attached to Suse, and I run Maple on Suse. I don't think that Suse comes in a FreeBSD version unless RPMs work with FreeBSD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CUPS
Am Dienstag, den 14.04.2009, 13:29 +0200 schrieb Dave Feustel: On Tue, Apr 14, 2009 at 07:22:01AM +0200, Peter Ulrich Kruppa wrote: Am Dienstag, den 14.04.2009, 04:14 + schrieb Dave Feustel: On Mon, Apr 13, 2009 at 10:01:32PM -0400, Bob Falanga wrote: I also am having problems printing on Suse 11 with CUPS from Maple version 12 (Maple, using its own copy of JRT 1.6 finds no printer services). There is a new (2008) book on CUPS administration which I will shortly be ordering from amazon.com since CUPS appears to be the wave of the future. Is your printer attached to a SUSE or a FreeBSD machine? Where do you run Maple - on SUSE or FreeBSD? Greetings Uli. My printer is attached to Suse, and I run Maple on Suse. I don't think that Suse comes in a FreeBSD version unless RPMs work with FreeBSD. In this case you should ask people on a SUSE forum or SUSE mailing list, shouldn't you? Greetings, Uli. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CUPS
On Tue, Apr 14, 2009 at 01:34:49PM +0200, Peter Ulrich Kruppa wrote: Am Dienstag, den 14.04.2009, 13:29 +0200 schrieb Dave Feustel: On Tue, Apr 14, 2009 at 07:22:01AM +0200, Peter Ulrich Kruppa wrote: Am Dienstag, den 14.04.2009, 04:14 + schrieb Dave Feustel: On Mon, Apr 13, 2009 at 10:01:32PM -0400, Bob Falanga wrote: I also am having problems printing on Suse 11 with CUPS from Maple version 12 (Maple, using its own copy of JRT 1.6 finds no printer services). There is a new (2008) book on CUPS administration which I will shortly be ordering from amazon.com since CUPS appears to be the wave of the future. Is your printer attached to a SUSE or a FreeBSD machine? Where do you run Maple - on SUSE or FreeBSD? Greetings Uli. My printer is attached to Suse, and I run Maple on Suse. I don't think that Suse comes in a FreeBSD version unless RPMs work with FreeBSD. In this case you should ask people on a SUSE forum or SUSE mailing list, shouldn't you? Greetings, Uli. Actually, I was not asking for help on my CUPS problem; I was advising the OP of the existence of a CUPS administrative reference book that he might find helpful in solving his problem. I should have made that more obvious. I use to run FreeBS but had to give it up to free up a computer to run Suse Linux. When I can afford to buy another computer, FreeBSD is what I will run on it. I like BSD operating systems. :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CUPS
Am Montag, den 13.04.2009, 22:01 -0400 schrieb Bob Falanga: I have installed cups on freebsd. The printer configures OK. When I try a test print in localhost:631 I get an error message: /usr/local/libexec/cups/filter/foomatic-rip failedI need help with this one. What happens when you install /usr/ports/print/foomatic-filters and restart cups with # /usr/local/etc/rc.d/cupsd restart ? Greetings Uli. Thank you, Bob Falanga ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CUPS
On Mon, Apr 13, 2009 at 10:01:32PM -0400, Bob Falanga wrote: I have installed cups on freebsd. The printer configures OK. When I try a test print in localhost:631 I get an error message: /usr/local/libexec/cups/filter/foomatic-rip failedI need help with this one. Thank you, Bob Falanga I also am having problems printing on Suse 11 with CUPS from Maple version 12 (Maple, using its own copy of JRT 1.6 finds no printer services). There is a new (2008) book on CUPS administration which I will shortly be ordering from amazon.com since CUPS appears to be the wave of the future. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CUPS
Am Dienstag, den 14.04.2009, 04:14 + schrieb Dave Feustel: On Mon, Apr 13, 2009 at 10:01:32PM -0400, Bob Falanga wrote: I also am having problems printing on Suse 11 with CUPS from Maple version 12 (Maple, using its own copy of JRT 1.6 finds no printer services). There is a new (2008) book on CUPS administration which I will shortly be ordering from amazon.com since CUPS appears to be the wave of the future. Is your printer attached to a SUSE or a FreeBSD machine? Where do you run Maple - on SUSE or FreeBSD? Greetings Uli. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cups-pdf does not print
Mario Lobo wrote: On Tuesday 24 February 2009 19:49:46 Cam wrote: Hello, I need a whole lot of help with cups-pdf. I've been wrestling with this for about a week without success. There are no error messages when test page printed from CUPS web admin but no output either; there are no error messages from Windows, which is how I plan to use the PDF printer. CUPS works fine with other printers. thanks Cam This is how I set up the cups-pdf printer in the web admin page: device: CUPS-PDF (virtual PDF printer) make: Generic. There is no 'Postscript' option per the Readme file (http://cups-pdf.de) model: Generic-CUPS-PDF printer. There is no 'color Postscript' option. cups-pdf.conf is all default values, except these lines, which are now commented: Out /usr/home/Shiner/PDFs AnonDirName /usr/home/Shiner/PDFs I use these /etc/devfs.rules: [system=10] add path 'unlpt*' mode 0660 group cups add path 'ulpt*' mode 0660 group cups add path 'lpt*' mode 0660 group cups Error log from setting up the printer 'server_PDF' - what is the significance of the inability to write to /var/cache/cups/ppds.dat ? I [24/Feb/2009:16:32:21 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44236) I [24/Feb/2009:16:36:02 -0600] Started /usr/local/libexec/cups/cgi-bin/printers.cgi (pid=44266) I [24/Feb/2009:16:36:06 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44268) I [24/Feb/2009:16:36:08 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44269) I [24/Feb/2009:16:36:08 -0600] Started /usr/local/libexec/cups/daemon/cups-deviced (pid=44270) I [24/Feb/2009:16:36:47 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44285) I [24/Feb/2009:16:36:47 -0600] Started /usr/local/libexec/cups/daemon/cups-driverd (pid=44286) E [24/Feb/2009:16:37:09 -0600] [cups-driverd] Unable to write /var/cache/cups/ppds.dat - Permission denied I [24/Feb/2009:16:38:26 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44293) I [24/Feb/2009:16:38:26 -0600] Started /usr/local/libexec/cups/daemon/cups-driverd (pid=44294) E [24/Feb/2009:16:38:34 -0600] [cups-driverd] Unable to write /var/cache/cups/ppds.dat - Permission denied I [24/Feb/2009:16:39:56 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44301) I [24/Feb/2009:16:39:56 -0600] Setting server_PDF device-uri to cups-pdf:/ (was cups-pdf:/.) I [24/Feb/2009:16:39:56 -0600] Setting server_PDF printer-is-accepting-jobs to 1 (was 1.) I [24/Feb/2009:16:39:56 -0600] Setting server_PDF printer-state to 3 (was 3.) I [24/Feb/2009:16:39:56 -0600] Saving printers.conf... I [24/Feb/2009:16:39:56 -0600] Printer server_PDF modified by root. I [24/Feb/2009:16:39:59 -0600] Started /usr/local/libexec/cups/cgi-bin/printers.cgi (pid=44303) I [24/Feb/2009:16:40:14 -0600] Started /usr/local/libexec/cups/cgi-bin/printers.cgi (pid=44307) I [24/Feb/2009:16:40:14 -0600] [Job 49] Adding start banner page none. I [24/Feb/2009:16:40:14 -0600] [Job 49] Adding end banner page none. I [24/Feb/2009:16:40:14 -0600] [Job 49] File of type application/postscript queued by root. I [24/Feb/2009:16:40:14 -0600] [Job 49] Queued on server_PDF by root. I [24/Feb/2009:16:40:14 -0600] [Job 49] Started filter /usr/local/libexec/cups/filter/pstops (PID 44308) I [24/Feb/2009:16:40:14 -0600] [Job 49] Started backend /usr/local/libexec/cups/backend/cups-pdf (PID 44309) I [24/Feb/2009:16:40:14 -0600] [Job 49] Completed successfully. Error log from CUPS restart and printing a test page to PDF printer: I [24/Feb/2009:15:14:25 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=43763) I [24/Feb/2009:15:15:32 -0600] Scheduler shutting down normally. I [24/Feb/2009:15:15:32 -0600] Saving job cache file /var/cache/cups/job.cache... I [24/Feb/2009:15:15:32 -0600] Listening to :::631 (IPv6) I [24/Feb/2009:15:15:32 -0600] Listening to 0.0.0.0:631 (IPv4) I [24/Feb/2009:15:15:32 -0600] Listening to /var/run/cups.sock (Domain) I [24/Feb/2009:15:15:32 -0600] Loaded configuration file /usr/local/etc/cups/cupsd.conf I [24/Feb/2009:15:15:32 -0600] Using default TempDir of /var/spool/cups/tmp... I [24/Feb/2009:15:15:32 -0600] Configured for up to 100 clients. I [24/Feb/2009:15:15:32 -0600] Allowing up to 100 client connections per host. I [24/Feb/2009:15:15:32 -0600] Using policy default as the default! I [24/Feb/2009:15:15:32 -0600] Full reload is required. I [24/Feb/2009:15:15:33 -0600] Loaded MIME database from '/usr/local/etc/cups': 35 types, 38 filters... I [24/Feb/2009:15:15:33 -0600] Loading job cache file /var/cache/cups/job.cache... I [24/Feb/2009:15:15:33 -0600] Full reload complete. I [24/Feb/2009:15:15:33 -0600] Cleaning out old temporary files in /var/spool/cups/tmp... I [24/Feb/2009:15:15:33 -0600] Listening to :::631 on fd 3... I [24/Feb/2009:15:15:33 -0600] Listening to 0.0.0.0:631 on fd 4... I [24/Feb/2009:15:15:33 -0600] Listening to /var/run/cups.sock on fd 5... I [24/Feb/2009:15:15:33 -0600] Resuming new connection processing... I [24/Feb/2009:15:16:37
Re: cups-pdf does not print
On Wednesday 25 February 2009 12:23:02 Cam wrote: Mario Lobo wrote: On Tuesday 24 February 2009 19:49:46 Cam wrote: Hello, I need a whole lot of help with cups-pdf. I've been wrestling with this for about a week without success. There are no error messages when test page printed from CUPS web admin but no output either; there are no error messages from Windows, which is how I plan to use the PDF printer. CUPS works fine with other printers. thanks Cam This is how I set up the cups-pdf printer in the web admin page: device: CUPS-PDF (virtual PDF printer) make: Generic. There is no 'Postscript' option per the Readme file (http://cups-pdf.de) model: Generic-CUPS-PDF printer. There is no 'color Postscript' option. cups-pdf.conf is all default values, except these lines, which are now commented: Out /usr/home/Shiner/PDFs AnonDirName /usr/home/Shiner/PDFs I use these /etc/devfs.rules: [system=10] add path 'unlpt*' mode 0660 group cups add path 'ulpt*' mode 0660 group cups add path 'lpt*' mode 0660 group cups Error log from setting up the printer 'server_PDF' - what is the significance of the inability to write to /var/cache/cups/ppds.dat ? I [24/Feb/2009:16:32:21 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44236) I [24/Feb/2009:16:36:02 -0600] Started /usr/local/libexec/cups/cgi-bin/printers.cgi (pid=44266) I [24/Feb/2009:16:36:06 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44268) I [24/Feb/2009:16:36:08 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44269) I [24/Feb/2009:16:36:08 -0600] Started /usr/local/libexec/cups/daemon/cups-deviced (pid=44270) I [24/Feb/2009:16:36:47 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44285) I [24/Feb/2009:16:36:47 -0600] Started /usr/local/libexec/cups/daemon/cups-driverd (pid=44286) E [24/Feb/2009:16:37:09 -0600] [cups-driverd] Unable to write /var/cache/cups/ppds.dat - Permission denied I [24/Feb/2009:16:38:26 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44293) I [24/Feb/2009:16:38:26 -0600] Started /usr/local/libexec/cups/daemon/cups-driverd (pid=44294) E [24/Feb/2009:16:38:34 -0600] [cups-driverd] Unable to write /var/cache/cups/ppds.dat - Permission denied I [24/Feb/2009:16:39:56 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44301) I [24/Feb/2009:16:39:56 -0600] Setting server_PDF device-uri to cups-pdf:/ (was cups-pdf:/.) I [24/Feb/2009:16:39:56 -0600] Setting server_PDF printer-is-accepting-jobs to 1 (was 1.) I [24/Feb/2009:16:39:56 -0600] Setting server_PDF printer-state to 3 (was 3.) I [24/Feb/2009:16:39:56 -0600] Saving printers.conf... I [24/Feb/2009:16:39:56 -0600] Printer server_PDF modified by root. I [24/Feb/2009:16:39:59 -0600] Started /usr/local/libexec/cups/cgi-bin/printers.cgi (pid=44303) I [24/Feb/2009:16:40:14 -0600] Started /usr/local/libexec/cups/cgi-bin/printers.cgi (pid=44307) I [24/Feb/2009:16:40:14 -0600] [Job 49] Adding start banner page none. I [24/Feb/2009:16:40:14 -0600] [Job 49] Adding end banner page none. I [24/Feb/2009:16:40:14 -0600] [Job 49] File of type application/postscript queued by root. I [24/Feb/2009:16:40:14 -0600] [Job 49] Queued on server_PDF by root. I [24/Feb/2009:16:40:14 -0600] [Job 49] Started filter /usr/local/libexec/cups/filter/pstops (PID 44308) I [24/Feb/2009:16:40:14 -0600] [Job 49] Started backend /usr/local/libexec/cups/backend/cups-pdf (PID 44309) I [24/Feb/2009:16:40:14 -0600] [Job 49] Completed successfully. Error log from CUPS restart and printing a test page to PDF printer: I [24/Feb/2009:15:14:25 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=43763) I [24/Feb/2009:15:15:32 -0600] Scheduler shutting down normally. I [24/Feb/2009:15:15:32 -0600] Saving job cache file /var/cache/cups/job.cache... I [24/Feb/2009:15:15:32 -0600] Listening to :::631 (IPv6) I [24/Feb/2009:15:15:32 -0600] Listening to 0.0.0.0:631 (IPv4) I [24/Feb/2009:15:15:32 -0600] Listening to /var/run/cups.sock (Domain) I [24/Feb/2009:15:15:32 -0600] Loaded configuration file /usr/local/etc/cups/cupsd.conf I [24/Feb/2009:15:15:32 -0600] Using default TempDir of /var/spool/cups/tmp... I [24/Feb/2009:15:15:32 -0600] Configured for up to 100 clients. I [24/Feb/2009:15:15:32 -0600] Allowing up to 100 client connections per host. I [24/Feb/2009:15:15:32 -0600] Using policy default as the default! I [24/Feb/2009:15:15:32 -0600] Full reload is required. I [24/Feb/2009:15:15:33 -0600] Loaded MIME database from '/usr/local/etc/cups': 35 types, 38 filters... I [24/Feb/2009:15:15:33 -0600] Loading job cache file /var/cache/cups/job.cache... I [24/Feb/2009:15:15:33 -0600] Full reload complete. I [24/Feb/2009:15:15:33 -0600] Cleaning out old temporary files in /var/spool/cups/tmp... I [24/Feb/2009:15:15:33 -0600] Listening to :::631 on
Re: cups-pdf does not print
Mario Lobo wrote: On Wednesday 25 February 2009 12:23:02 Cam wrote: Mario Lobo wrote: On Tuesday 24 February 2009 19:49:46 Cam wrote: Hello, I need a whole lot of help with cups-pdf. I've been wrestling with this for about a week without success. There are no error messages when test page printed from CUPS web admin but no output either; there are no error messages from Windows, which is how I plan to use the PDF printer. CUPS works fine with other printers. thanks Cam This is how I set up the cups-pdf printer in the web admin page: device: CUPS-PDF (virtual PDF printer) make: Generic. There is no 'Postscript' option per the Readme file (http://cups-pdf.de) model: Generic-CUPS-PDF printer. There is no 'color Postscript' option. cups-pdf.conf is all default values, except these lines, which are now commented: Out /usr/home/Shiner/PDFs AnonDirName /usr/home/Shiner/PDFs I use these /etc/devfs.rules: [system=10] add path 'unlpt*' mode 0660 group cups add path 'ulpt*' mode 0660 group cups add path 'lpt*' mode 0660 group cups Error log from setting up the printer 'server_PDF' - what is the significance of the inability to write to /var/cache/cups/ppds.dat ? I [24/Feb/2009:16:32:21 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44236) I [24/Feb/2009:16:36:02 -0600] Started /usr/local/libexec/cups/cgi-bin/printers.cgi (pid=44266) I [24/Feb/2009:16:36:06 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44268) I [24/Feb/2009:16:36:08 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44269) I [24/Feb/2009:16:36:08 -0600] Started /usr/local/libexec/cups/daemon/cups-deviced (pid=44270) I [24/Feb/2009:16:36:47 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44285) I [24/Feb/2009:16:36:47 -0600] Started /usr/local/libexec/cups/daemon/cups-driverd (pid=44286) E [24/Feb/2009:16:37:09 -0600] [cups-driverd] Unable to write /var/cache/cups/ppds.dat - Permission denied I [24/Feb/2009:16:38:26 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44293) I [24/Feb/2009:16:38:26 -0600] Started /usr/local/libexec/cups/daemon/cups-driverd (pid=44294) E [24/Feb/2009:16:38:34 -0600] [cups-driverd] Unable to write /var/cache/cups/ppds.dat - Permission denied I [24/Feb/2009:16:39:56 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44301) I [24/Feb/2009:16:39:56 -0600] Setting server_PDF device-uri to cups-pdf:/ (was cups-pdf:/.) I [24/Feb/2009:16:39:56 -0600] Setting server_PDF printer-is-accepting-jobs to 1 (was 1.) I [24/Feb/2009:16:39:56 -0600] Setting server_PDF printer-state to 3 (was 3.) I [24/Feb/2009:16:39:56 -0600] Saving printers.conf... I [24/Feb/2009:16:39:56 -0600] Printer server_PDF modified by root. I [24/Feb/2009:16:39:59 -0600] Started /usr/local/libexec/cups/cgi-bin/printers.cgi (pid=44303) I [24/Feb/2009:16:40:14 -0600] Started /usr/local/libexec/cups/cgi-bin/printers.cgi (pid=44307) I [24/Feb/2009:16:40:14 -0600] [Job 49] Adding start banner page none. I [24/Feb/2009:16:40:14 -0600] [Job 49] Adding end banner page none. I [24/Feb/2009:16:40:14 -0600] [Job 49] File of type application/postscript queued by root. I [24/Feb/2009:16:40:14 -0600] [Job 49] Queued on server_PDF by root. I [24/Feb/2009:16:40:14 -0600] [Job 49] Started filter /usr/local/libexec/cups/filter/pstops (PID 44308) I [24/Feb/2009:16:40:14 -0600] [Job 49] Started backend /usr/local/libexec/cups/backend/cups-pdf (PID 44309) I [24/Feb/2009:16:40:14 -0600] [Job 49] Completed successfully. Error log from CUPS restart and printing a test page to PDF printer: I [24/Feb/2009:15:14:25 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=43763) I [24/Feb/2009:15:15:32 -0600] Scheduler shutting down normally. I [24/Feb/2009:15:15:32 -0600] Saving job cache file /var/cache/cups/job.cache... I [24/Feb/2009:15:15:32 -0600] Listening to :::631 (IPv6) I [24/Feb/2009:15:15:32 -0600] Listening to 0.0.0.0:631 (IPv4) I [24/Feb/2009:15:15:32 -0600] Listening to /var/run/cups.sock (Domain) I [24/Feb/2009:15:15:32 -0600] Loaded configuration file /usr/local/etc/cups/cupsd.conf I [24/Feb/2009:15:15:32 -0600] Using default TempDir of /var/spool/cups/tmp... I [24/Feb/2009:15:15:32 -0600] Configured for up to 100 clients. I [24/Feb/2009:15:15:32 -0600] Allowing up to 100 client connections per host. I [24/Feb/2009:15:15:32 -0600] Using policy default as the default! I [24/Feb/2009:15:15:32 -0600] Full reload is required. I [24/Feb/2009:15:15:33 -0600] Loaded MIME database from '/usr/local/etc/cups': 35 types, 38 filters... I [24/Feb/2009:15:15:33 -0600] Loading job cache file /var/cache/cups/job.cache... I [24/Feb/2009:15:15:33 -0600] Full reload complete. I [24/Feb/2009:15:15:33 -0600] Cleaning out old temporary files in /var/spool/cups/tmp... I [24/Feb/2009:15:15:33 -0600] Listening to :::631 on fd 3... I [24/Feb/2009:15:15:33 -0600] Listening to 0.0.0.0:631 on fd 4... I [24/Feb/2009:15:15:33 -0600] Listening to /var/run/cups.sock on fd 5... I [24/Feb/2009:15:15:33
Re: cups-pdf does not print
On Tuesday 24 February 2009 19:49:46 Cam wrote: Hello, I need a whole lot of help with cups-pdf. I've been wrestling with this for about a week without success. There are no error messages when test page printed from CUPS web admin but no output either; there are no error messages from Windows, which is how I plan to use the PDF printer. CUPS works fine with other printers. thanks Cam This is how I set up the cups-pdf printer in the web admin page: device: CUPS-PDF (virtual PDF printer) make: Generic. There is no 'Postscript' option per the Readme file (http://cups-pdf.de) model: Generic-CUPS-PDF printer. There is no 'color Postscript' option. cups-pdf.conf is all default values, except these lines, which are now commented: Out /usr/home/Shiner/PDFs AnonDirName /usr/home/Shiner/PDFs I use these /etc/devfs.rules: [system=10] add path 'unlpt*' mode 0660 group cups add path 'ulpt*' mode 0660 group cups add path 'lpt*' mode 0660 group cups Error log from setting up the printer 'server_PDF' - what is the significance of the inability to write to /var/cache/cups/ppds.dat ? I [24/Feb/2009:16:32:21 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44236) I [24/Feb/2009:16:36:02 -0600] Started /usr/local/libexec/cups/cgi-bin/printers.cgi (pid=44266) I [24/Feb/2009:16:36:06 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44268) I [24/Feb/2009:16:36:08 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44269) I [24/Feb/2009:16:36:08 -0600] Started /usr/local/libexec/cups/daemon/cups-deviced (pid=44270) I [24/Feb/2009:16:36:47 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44285) I [24/Feb/2009:16:36:47 -0600] Started /usr/local/libexec/cups/daemon/cups-driverd (pid=44286) E [24/Feb/2009:16:37:09 -0600] [cups-driverd] Unable to write /var/cache/cups/ppds.dat - Permission denied I [24/Feb/2009:16:38:26 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44293) I [24/Feb/2009:16:38:26 -0600] Started /usr/local/libexec/cups/daemon/cups-driverd (pid=44294) E [24/Feb/2009:16:38:34 -0600] [cups-driverd] Unable to write /var/cache/cups/ppds.dat - Permission denied I [24/Feb/2009:16:39:56 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=44301) I [24/Feb/2009:16:39:56 -0600] Setting server_PDF device-uri to cups-pdf:/ (was cups-pdf:/.) I [24/Feb/2009:16:39:56 -0600] Setting server_PDF printer-is-accepting-jobs to 1 (was 1.) I [24/Feb/2009:16:39:56 -0600] Setting server_PDF printer-state to 3 (was 3.) I [24/Feb/2009:16:39:56 -0600] Saving printers.conf... I [24/Feb/2009:16:39:56 -0600] Printer server_PDF modified by root. I [24/Feb/2009:16:39:59 -0600] Started /usr/local/libexec/cups/cgi-bin/printers.cgi (pid=44303) I [24/Feb/2009:16:40:14 -0600] Started /usr/local/libexec/cups/cgi-bin/printers.cgi (pid=44307) I [24/Feb/2009:16:40:14 -0600] [Job 49] Adding start banner page none. I [24/Feb/2009:16:40:14 -0600] [Job 49] Adding end banner page none. I [24/Feb/2009:16:40:14 -0600] [Job 49] File of type application/postscript queued by root. I [24/Feb/2009:16:40:14 -0600] [Job 49] Queued on server_PDF by root. I [24/Feb/2009:16:40:14 -0600] [Job 49] Started filter /usr/local/libexec/cups/filter/pstops (PID 44308) I [24/Feb/2009:16:40:14 -0600] [Job 49] Started backend /usr/local/libexec/cups/backend/cups-pdf (PID 44309) I [24/Feb/2009:16:40:14 -0600] [Job 49] Completed successfully. Error log from CUPS restart and printing a test page to PDF printer: I [24/Feb/2009:15:14:25 -0600] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=43763) I [24/Feb/2009:15:15:32 -0600] Scheduler shutting down normally. I [24/Feb/2009:15:15:32 -0600] Saving job cache file /var/cache/cups/job.cache... I [24/Feb/2009:15:15:32 -0600] Listening to :::631 (IPv6) I [24/Feb/2009:15:15:32 -0600] Listening to 0.0.0.0:631 (IPv4) I [24/Feb/2009:15:15:32 -0600] Listening to /var/run/cups.sock (Domain) I [24/Feb/2009:15:15:32 -0600] Loaded configuration file /usr/local/etc/cups/cupsd.conf I [24/Feb/2009:15:15:32 -0600] Using default TempDir of /var/spool/cups/tmp... I [24/Feb/2009:15:15:32 -0600] Configured for up to 100 clients. I [24/Feb/2009:15:15:32 -0600] Allowing up to 100 client connections per host. I [24/Feb/2009:15:15:32 -0600] Using policy default as the default! I [24/Feb/2009:15:15:32 -0600] Full reload is required. I [24/Feb/2009:15:15:33 -0600] Loaded MIME database from '/usr/local/etc/cups': 35 types, 38 filters... I [24/Feb/2009:15:15:33 -0600] Loading job cache file /var/cache/cups/job.cache... I [24/Feb/2009:15:15:33 -0600] Full reload complete. I [24/Feb/2009:15:15:33 -0600] Cleaning out old temporary files in /var/spool/cups/tmp... I [24/Feb/2009:15:15:33 -0600] Listening to :::631 on fd 3... I [24/Feb/2009:15:15:33 -0600] Listening to 0.0.0.0:631 on fd 4... I [24/Feb/2009:15:15:33 -0600] Listening to /var/run/cups.sock on fd 5... I [24/Feb/2009:15:15:33
Re: cups - printer busy; will retry in 10 seconds
On Sun, 22 Feb 2009 01:44:09 +0200 Vasadi I. Claudiu Florin claudiu.vas...@gmail.com wrote: I'm really tired of this. If you have any ideas, do tell. the only thing i can suggest at this point (since i have the same problem) is the post from rem: == Do you have devfs.rules in your /etc directory that has this contained within: [system=10] add path 'unlpt*' mode 0660 group cups add path 'ulpt*' mode 0660 group cups add path 'lpt*' mode 0660 group cups There is a whole permissions thing that has to be correct or cups won't play. == here's a link to that thread: http://www.nabble.com/printer-hp-officejet-pro-k8600-to22070484.html i haven't had a chance to look into this yet so i don't know if it is a solution or not. -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CUPS, initial PATH environment
On Mon, Feb 09, 2009 at 01:46:46PM +0100, Pieter Donche wrote: If one installs CUPS as the printing system, one must use the /usr/local/bin versions of lp, lpr, lpq and lprm instead of the FreeBSD versions in /usr/bin, otherwise you get errors when using the command line interface... I could rename /usr/bin/lp, lpr, lpq, lprm to e.g. lp.origfreebsd, etc.. forcing the use of the /usr/local/bin versions but this would oblige me to do that again after every FreeSBD upgrade. Or I could put /usr/local/bin before /usr/bin in the path. Two questions: - is this a save thing to do (won't other things go wrong then?) - if OK to do that, where can I change the path for every user, whatever shell (csh, sh, bash, tcsh, rbash) he uses? Hi, Having installed CUPS only recently here's what helped me: http://www.csua.berkeley.edu/~ranga/notes/freebsd_cups.html http://www.freebsd.org/doc/en/articles/cups/article.html http://www.math.colostate.edu/~reinholz/freebsd/cups_setup.html Make sure cups is fired up upon boot: /etc/make.conf: WITH_CUPS=YES CUPS_OVERWRITE_BASE=yes Make sure System lpr doesn't get built/installed when you build a new system/kernel: /etc/src.conf: WITHOUT_LPR=YES Replace system lpr-things with a link to the CUPS equivalents: cd /usr/bin for i in lp* ; do mv $i $i.freebsd-original ; ln -s /usr/local/bin/$i $i ; done Hope this helps, -ewald ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CUPS - no german Umlaut characters
On Mon, Feb 09, 2009 at 07:01:03PM +0100, Peter Ulrich Kruppa wrote: Try some sort of filter like print/enscript: # enscript your_file should get your Umlaut's. Thanks much for the hint! I installed a2ps-a4 - workes nicely - and prints Umlauts :-) Kind regards, -ewald ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: CUPS, initial PATH environment
If one installs CUPS as the printing system, one must use the /usr/local/bin versions of lp, lpr, lpq and lprm instead of the FreeBSD versions in /usr/bin, otherwise you get errors when using the command line interface... I could rename /usr/bin/lp, lpr, lpq, lprm to e.g. lp.origfreebsd, etc.. forcing the use of the /usr/local/bin versions but this would oblige me to do that again after every FreeSBD upgrade. Or I could put /usr/local/bin before /usr/bin in the path. Two questions: - is this a save thing to do (won't other things go wrong then?) - if OK to do that, where can I change the path for every user, whatever shell (csh, sh, bash, tcsh, rbash) he uses? /etc/profile, /etc/csh.* start-up files are shell-specific and as yet distributed, only contain outcommented information, yet a newly created user (whether using csh of bash) has a following path / PATH set up: /sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin Where is this path/PATH being set i.e. where can it be altered? If I recall correct you can you use the following in /etc/make.conf CUPS_OVERWRITE_BASE=yes Regards, Johan Hendriks No virus found in this outgoing message. Checked by AVG - www.avg.com Version: 8.0.233 / Virus Database: 270.10.19/1940 - Release Date: 02/08/09 17:57:00 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CUPS, initial PATH environment
On Mon, Feb 09, 2009 at 01:46:46PM +0100, Pieter Donche wrote: If one installs CUPS as the printing system, one must use the /usr/local/bin versions of lp, lpr, lpq and lprm instead of the FreeBSD versions in /usr/bin, otherwise you get errors when using the command line interface... I could rename /usr/bin/lp, lpr, lpq, lprm to e.g. lp.origfreebsd, etc.. forcing the use of the /usr/local/bin versions but this would oblige me to do that again after every FreeSBD upgrade. There is a flag for cups that should disable the commands in the base system. Before installing cups you can add the following line to your /etc/make.conf: CUPS_OVERWRITE_BASE=YES And to prevent reinstallation during a system upgrade you can add the following line to /etc/src.conf: WITHOUT_LPR=YES bye, Uwe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: CUPS - no german Umlaut characters
Ewald Jenisch schrieb: Hi, After successfully setting up CUPS I found out a problem wrt printing german Umlaut characters: Whenever I try to print a file with umlaut characters the file is only printed up to not not including the first umlaut characters. This happens for example when I take a text file with umlaut characters and try to print it via lpr. On the other hand, when I've got a web-page containing umlaut characters under Firefox3 and print that page I get the complete page - including umlaut characters. Any ideas how I can get my umlauts to print via lpr? Try some sort of filter like print/enscript: # enscript your_file should get your Umlaut's. Greetings, Uli. Thanks much in advance for your help, -ewald ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cups issue, unsupported format
On Sat, Dec 6, 2008 at 4:03 AM, Michael Powell nightre...@verizon.netwrote: af300...@gmail.com wrote: Hi, I'm working on getting cups working and I've installed the hplip port and the cups program used that to install the printer. At least, there was an HPLIP in a list in one of the pages during the setup. My printer is an old HP LaserJet 4+ which I've connected through the parallel port. My URI for the printer is parallel:/dev/lp0. When I went to do the test page I got this error, Unsupported format 'application/postscript'. Here's the problem, I chose a driver which, though I don't remember the full string in cups, was a 4/5 PCL driver. So, why is it trying to print using postscript? It's been a while since I've done a virgin cups install so I'm not real current on what it might be like now. You start out with installing the /usr/ports/print/cups metaport and this should pull in a few other sub ports as dependencies. The port cups-pstoraster is what coverts postscript print output into PCL, utilizing (IIRC) one of the ghostscript ports. Perhaps your install may be incomplete. In the past I've just installed the metaport and it happily sucked everything else in automagically. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Truly sad that it took me this long to get to this, but thanks for the tip. I installed that port and everything indeed does work much better. Took me some doing but I've finally got my LJ4+ printing. Cool! Now, though, I've got to go and buy a new toner/drum :-(. Andy -- A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cups issue, unsupported format
[EMAIL PROTECTED] wrote: Hi, I'm working on getting cups working and I've installed the hplip port and the cups program used that to install the printer. At least, there was an HPLIP in a list in one of the pages during the setup. My printer is an old HP LaserJet 4+ which I've connected through the parallel port. My URI for the printer is parallel:/dev/lp0. When I went to do the test page I got this error, Unsupported format 'application/postscript'. Here's the problem, I chose a driver which, though I don't remember the full string in cups, was a 4/5 PCL driver. So, why is it trying to print using postscript? It's been a while since I've done a virgin cups install so I'm not real current on what it might be like now. You start out with installing the /usr/ports/print/cups metaport and this should pull in a few other sub ports as dependencies. The port cups-pstoraster is what coverts postscript print output into PCL, utilizing (IIRC) one of the ghostscript ports. Perhaps your install may be incomplete. In the past I've just installed the metaport and it happily sucked everything else in automagically. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CUPS: cannot see printer from various program
Laszlo Nagy skrev: The printer is Epson Stylus Photo R265. I'm using gutenprint 5 and CUPS. The test page prints well from CUPS. I can also print images and web pages from firefox, because the CUPS/R265 printer can be selected in the print dialog of firefox. However, when I open an image from eog (eye of gnome), the only printer destination I can choose is LPR. Which is bad, because this is a printer server with diskless clients, and the users must be able to select print options from the GUI. The system is FreeBSD 7.0. My girlfriend had the same problem with Ubuntu before, but not with kiwi, so it might not be related to FreeBSD. Thanks, Laci ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.175 / Virus Database: 270.9.10/1812 - Release Date: 2008-11-25 19:53 Hello Laszlo, You might want to add the following lines to /etc/make.conf CUPS_OVERWRITE_BASE=yes NO_LPR=yes WITH_CUPS=yes And rebuild the application you want to print from. (The above was found on the excellent guide at http://www.math.colostate.edu/~reinholz/freebsd/) Greetings /Roger ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CUPS: cannot see printer from various program
Hello Laszlo, You might want to add the following lines to /etc/make.conf CUPS_OVERWRITE_BASE=yes NO_LPR=yes WITH_CUPS=yes And rebuild the application you want to print from. (The above was found on the excellent guide at http://www.math.colostate.edu/~reinholz/freebsd/) Thank you! I already have a running system, so I had to setenv WITH_CUPS cd /usr/ports/x11-toolkits/gtk20 make deinstall make install clean I do not fully understand why it is done this way. Most users - including me - are going to install gnome2 first, and most likely CUPS is not installed by that time. It is also true that many users who install gnome2 will have a printer and want to use it. So I would recommend to create a make option [X] CUPS support for gtk20, or at least for gnome2. It was quite hard to find information about this issue on the internet! Should I post a PR for this? (It is not a real bug but I think it causes problems for many users.) Thanks, Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CUPS wont print inside GNOME
Sean Cavanaugh skrev: I have the latest GNOME installed from ports and have the odd issue of CUPS not wanting to work with it right. If i access the CUPS web configuration page, i can print test pages just fine and not a single issue, but if i try and print a test page from inside GNOME, including trying with the gnome-cups-manager port, it will stop and present the following error /usr/local/libexec/cups/filter/pstoraster failedthis error will carry over to the web interface and those jobs are pretty much hosed, yet i can create a test print from web interface even when this error is present. I do notice that test pages from web interface come from user anonymous whereas test pages from gnome-cups-manager are from the respected user that ran it. even root is unable to print from inside gnome. -Sean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.175 / Virus Database: 270.8.5/1757 - Release Date: 2008-10-30 14:35 Hi Sean, I assume you have cups-pstoraster installed? It should be installed when installing CUPS itself. If you built Gnome from source you should have this in /etc/make.conf CUPS_OVERWRITE_BASE=yes NO_LPR=yes WITH_CUPS=yes /Roger ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: CUPS wont print inside GNOME
Date: Fri, 31 Oct 2008 17:58:06 +0100 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: freebsd-questions@freebsd.org Subject: Re: CUPS wont print inside GNOME Sean Cavanaugh skrev: I have the latest GNOME installed from ports and have the odd issue of CUPS not wanting to work with it right. If i access the CUPS web configuration page, i can print test pages just fine and not a single issue, but if i try and print a test page from inside GNOME, including trying with the gnome-cups-manager port, it will stop and present the following error /usr/local/libexec/cups/filter/pstoraster failedthis error will carry over to the web interface and those jobs are pretty much hosed, yet i can create a test print from web interface even when this error is present. I do notice that test pages from web interface come from user anonymous whereas test pages from gnome-cups-manager are from the respected user that ran it. even root is unable to print from inside gnome. -Sean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.175 / Virus Database: 270.8.5/1757 - Release Date: 2008-10-30 14:35 Hi Sean, I assume you have cups-pstoraster installed? It should be installed when installing CUPS itself. If you built Gnome from source you should have this in /etc/make.conf CUPS_OVERWRITE_BASE=yes NO_LPR=yes WITH_CUPS=yes /Roger i have cups-pstoraster installed. like i said, i can get a test page to print fine from the CUPS web page, just not if it was initialized inside gnome even though i do see the print jobs sitting in the queue for the printer with status Stopped. Restarting the jobs doesnt help them any either. i installed everything from ports but my make.conf file is a little bare UnKnown# less /etc/make.conf # added by use.perl 2008-10-23 14:57:35 PERL_VER=5.8.8 PERL_VERSION=5.8.8 -Sean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CUPS wont print inside GNOME
Sean Cavanaugh skrev: Date: Fri, 31 Oct 2008 17:58:06 +0100 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: freebsd-questions@freebsd.org Subject: Re: CUPS wont print inside GNOME Sean Cavanaugh skrev: I have the latest GNOME installed from ports and have the odd issue of CUPS not wanting to work with it right. If i access the CUPS web configuration page, i can print test pages just fine and not a single issue, but if i try and print a test page from inside GNOME, including trying with the gnome-cups-manager port, it will stop and present the following error /usr/local/libexec/cups/filter/pstoraster failedthis error will carry over to the web interface and those jobs are pretty much hosed, yet i can create a test print from web interface even when this error is present. I do notice that test pages from web interface come from user anonymous whereas test pages from gnome-cups-manager are from the respected user that ran it. even root is unable to print from inside gnome. -Sean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.175 / Virus Database: 270.8.5/1757 - Release Date: 2008-10-30 14:35 Hi Sean, I assume you have cups-pstoraster installed? It should be installed when installing CUPS itself. If you built Gnome from source you should have this in /etc/make.conf CUPS_OVERWRITE_BASE=yes NO_LPR=yes WITH_CUPS=yes /Roger i have cups-pstoraster installed. like i said, i can get a test page to print fine from the CUPS web page, just not if it was initialized inside gnome even though i do see the print jobs sitting in the queue for the printer with status Stopped. Restarting the jobs doesnt help them any either. i installed everything from ports but my make.conf file is a little bare UnKnown# less /etc/make.conf # added by use.perl 2008-10-23 14:57:35 PERL_VER=5.8.8 PERL_VERSION=5.8.8 -Sean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.175 / Virus Database: 270.8.5/1757 - Release Date: 2008-10-30 14:35 Hi again Sean, Add the lines, make reinstall and see if Gnome picks it up.. There's an excellent site at http://www.math.colostate.edu/~reinholz/freebsd/ that has CUPS related information. Please let the list know if it helps! /Roger ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CUPS wont print inside GNOME
--TRUNCATED-- No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.175 / Virus Database: 270.8.5/1757 - Release Date: 2008-10-30 14:35 Hi again Sean, Add the lines, make reinstall and see if Gnome picks it up.. There's an excellent site at http://www.math.colostate.edu/~reinholz/freebsd/ that has CUPS related information. Please let the list know if it helps! /Roger I got it fixed, I ran make rmconfig-recursive on gutenprint and CUPS and rebuilt them making sure gutenprint was set to use CUPS. this forced some other stuff to work and now it actually has the postscript driver listed for my printer and it fully works in gnome now. never had to touch /etc/make.conf. I find it kind of self defeating for the ports if you HAVE to add stuff to the /etc/make.conf file for it to work without any documentation telling you to do so or not doing it automatically (Like PERL did) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CUPS wont print inside GNOME
I find it kind of self defeating for the ports if you HAVE to add stuff to the /etc/make.conf file for it to work without any documentation telling you to do so or not doing it automatically (Like PERL did) On the other hand, some of us, like myself, find it a bit... Arrogant? ...if some port touches your system config files without asking. And simply printing it on the output at the end of installation isn't enough since it might get lost if an other port is built right after the one printing out the message. I don't know if there is an optimal way... -- (-K JohnNy alias Partial Derivative ∂ [home] http://johnny64.fixinko.sk/ [icq] 338328204 [abandoned] [jabber] [EMAIL PROTECTED] [skype] JohnNy64-konik [abandoned] pgp40l2d6cF60.pgp Description: PGP signature
Re: cups-base port broken???
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Glyn Millington wrote: | | Happy St. Callistus' Day! | | | FreeBSD 7 release. | | I'm having trouble upgrading cups-base. With an up-to-date ports tree | this is what I get. | | , | | glynthebearded# portupgrade cups-base | | --- Upgrading 'cups-base-1.3.5_2' to 'cups-base-1.3.8_1' (print/cups-base) | | --- Building '/usr/ports/print/cups-base' | | === Cleaning for cups-base-1.3.8_1 | | === cups-base-1.3.8_1 has known vulnerabilities: | | | | ** Command failed [exit code 1]: /usr/bin/script -qa | |/tmp/portupgrade.5624.0 env UPGRADE_TOOL=portupgrade | |UPGRADE_PORT=cups-base-1.3.5_2 UPGRADE_PORT_VER=1.3.5_2 make | | | | ** Fix the problem and try again. | | ** Listing the failed packages (-:ignored / *:skipped / !:failed) | | ! print/cups-base (cups-base-1.3.5_2) (unknown build error) | ` | | The story behind this is that I deinstalled the cups-base package, then | found that I couldn't reinstall; so did pkg_add -r and got | cups-base-1.3.5_2; which is fine except that it won't work with the | installed version of gnutls, it wants an older version. | | Is there a work-around which will get me a functional cups-base First read http://www.vuxml.org/freebsd/ce29ce1d-971a-11dd-ab7e-001c2514716c.html and the references cited therein and decide if installing this package is still a good idea despite the security problems. Then, if you do decide to go ahead: ~ # portupgrade -m DISABLE_VULNERABILITIES=yes cups-base Otherwise, wait until a fix comes out for the package. For something like this, a fix will usually be available within a week or so. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. Flat 3 ~ 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate ~ Kent, CT11 9PW, UK -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREDAAYFAkj0ZYkACgkQ3jDkPpsZ+VbabgCbBoca63kTVHeEzq+z359gPs0J C5gAn2C/ZU6EHD9J1a0Pi9cWBP4QpdlL =gl5F -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups-base port broken???
Matthew Seaman [EMAIL PROTECTED] writes: Glyn Millington wrote: | Is there a work-around which will get me a functional cups-base First read http://www.vuxml.org/freebsd/ce29ce1d-971a-11dd-ab7e-001c2514716c.html and the references cited therein and decide if installing this package is still a good idea despite the security problems. Then, if you do decide to go ahead: ~ # portupgrade -m DISABLE_VULNERABILITIES=yes cups-base Otherwise, wait until a fix comes out for the package. For something like this, a fix will usually be available within a week or so. Bless you and many thanks! had done the homework, but I didn't know the incantation which would allow me to live dangerously ... atb Glyn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CUPS installation, ghostscript patch?
El día Monday, March 10, 2008 a las 11:41:59AM +0100, Leslie Jensen escribió: I'm installing CUPS and I get the question below. I honestly don't know what filename to write. Any suggestions? Thanks Leslie On my 7.0R after updating all ports with portsnap fetch/extract this port installed fine: $ pkg_info | fgrep ghostscript-gpl ghostscript-gpl-8.61_3 GPL Postscript interpreter I've just looked into the Makefile of this port and it was commited on March 4 of this year; matthias ghostscript-8.61.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/ghostscript. = Attempting to fetch from http://heanet.dl.sourceforge.net/sourceforge/ghostscript/. ghostscript-8.61.tar.bz2 100% of 12 MB 890 kBps 00m00s = Font.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/ghostscript. = Attempting to fetch from http://www.interq.or.jp/mars/cherry/mac/. Font.tar.bz2 100% of 2198 B 9670 kBps === Extracting for ghostscript-gpl-8.61_3 = MD5 Checksum OK for ghostscript/ghostscript-8.61.tar.bz2. = SHA256 Checksum OK for ghostscript/ghostscript-8.61.tar.bz2. = MD5 Checksum OK for ghostscript/ijs-0.35.tar.bz2. = SHA256 Checksum OK for ghostscript/ijs-0.35.tar.bz2. = MD5 Checksum OK for ghostscript/epag-3.09.tar.gz. = SHA256 Checksum OK for ghostscript/epag-3.09.tar.gz. = MD5 Checksum OK for ghostscript/Font.tar.bz2. = SHA256 Checksum OK for ghostscript/Font.tar.bz2. in post-extract ... extracting epag-3.09.tar.gz ... extracting Font.tar.bz2 ... === Patching for ghostscript-gpl-8.61_3 === Applying FreeBSD patches for ghostscript-gpl-8.61_3 File to patch: - ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cups server and client
herbert langhans wrote: Hi Daemons, a basic question before I run into experiments. I run a Cups printserver installation on a Slackware server. And now I want to connect from a BSD7.0 workstation to this server to print. I have to install Cups as well on the BSD-client? Is that right? Or can I access it even simply by setting up printcap? Yes you do unless you want to use LPR protocol. As you know the CUPS normally uses IPP protocol for communication over the network which is not supported by native LPD spooling system. You also have to add the file client.conf inot /usr/local/etc/cups with the server name which can be IP address. Something like ServerName 192.168.0.2. Check the documentation http://www.cups.org/doc-1.1/sam.html Cheers herbs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cups not working
On Wednesday 27 February 2008 23:02:31 Paul Schmehl wrote: When I got to http://localhost:631/ I see the text (source) of the webpage rather than the page. (Cupsd is running.) I see this in /var/log/cups/access_log: localhost - - [27/Feb/2008:15:58:21 -0600] GET / HTTP/1.1 304 0 - - localhost - - [27/Feb/2008:15:58:45 -0600] GET / HTTP/1.1 304 0 - - localhost - - [27/Feb/2008:15:59:08 -0600] GET / HTTP/1.1 304 0 - - What am I missing? You're missing the first request. 304 means it should be in your browser cache. Either way, if you're seeing the source, it most likely means the webserver sends text/plain as mime-type. curl -s -o /dev/null --dump-header /dev/stdout http://localhost:631/ should shed some light on it. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cups not working
--On Wednesday, February 27, 2008 23:57:48 +0100 Mel [EMAIL PROTECTED] wrote: On Wednesday 27 February 2008 23:02:31 Paul Schmehl wrote: When I got to http://localhost:631/ I see the text (source) of the webpage rather than the page. (Cupsd is running.) I see this in /var/log/cups/access_log: localhost - - [27/Feb/2008:15:58:21 -0600] GET / HTTP/1.1 304 0 - - localhost - - [27/Feb/2008:15:58:45 -0600] GET / HTTP/1.1 304 0 - - localhost - - [27/Feb/2008:15:59:08 -0600] GET / HTTP/1.1 304 0 - - What am I missing? You're missing the first request. 304 means it should be in your browser cache. Either way, if you're seeing the source, it most likely means the webserver sends text/plain as mime-type. curl -s -o /dev/null --dump-header /dev/stdout http://localhost:631/ should shed some light on it. Thanks. That does shed some light on it. # curl -s -o /dev/null -dump-header /dev/stdout http://localhost:631/ !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN http://www.w3.org/TR/REC-html40/loose.dtd; HTML HEAD META HTTP-EQUIV=Content-Type CONTENT=text/html; charset=utf-8 TITLE401 Unauthorized/TITLE LINK REL=STYLESHEET TYPE=text/css HREF=/cups.css /HEAD BODY H1401 Unauthorized/H1 PEnter your username and password or the root username and password to access this page. If you are using Kerberos authentication, make sure you have a valid Kerberos ticket./P /BODY /HTML So I'm not being prompted for a login. If I go to http://localhost:631?, I can see the home page, but I can't get to anything because I'm not logged in. Since I'm never prompted for a login, it's a catch-22. Researching... -- Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups printing with command-line lpr apps (i.e. enscript)
Am 12.02.2008, 17:29 Uhr, schrieb Steve Franks [EMAIL PROTECTED]: I get the following: nenscript a.cpp lpr: Unable to connect to /var/run/printer: No such file or directory lpr: Check to see if the master 'lpd' process is running. jobs queued, but cannot start daemon. Exit code: 0 How do I bolt that up to cups? Maybe you ran into the same thing as I did a few days ago: Cups comes with its own lpr, /usr/local/bin/lpr. The apps try the base system lpr in /usb/bin. You may have to adjust your $PATH to have /usr/local/bin first, or backup /usr/bin/lpr and ln -s /usr/local/bin/lpr /usr/bin/lpr Last method has to be repeated after any installworld. Michael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups openoffice...bad mojo?
Doug Poland writes: I believe you need to specify the WITH_CUPS tunable when you build OO Does everyone just know that, or does no one use cups on freebsd? I use both CUPS and OO on FreeBSD, that's how I know :) I probably stumbled across this googling and searching the email archives. I also use both CUPS and OOo; in fact, I just got through rebuilding OOo-2.3.0.1. If you build from ports, and watch the early stages of the process, you'll see a number of options mentioned. If you use portupgrade, you can set them in /usr/local/etc/pkgtools.cfg. Note: this will _only_ work when using portupgrade. It is also possible to put these settings in /etc/make.conf. However, there are reasons to not do so; see discussions on either questions@ or ports@ within the last month for further discussion. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups openoffice...bad mojo?
Steve Franks wrote: On Nov 20, 2007 8:15 AM, Doug Poland [EMAIL PROTECTED] wrote: Steve Franks wrote: Save me! The wife can't print, so I've been spooled to the couch! Originally installed OO around 2.0. Wouldn't print. Finally found some esoteric blog somewhere that said link /usr/local/bin/lpd to /usr/local/sbin/lpd - voila! prints. When I upgraded X to 7.3, OO got upgraded to 2.3, and it stopped printing again. Now the magical ln lpd command won't fix it either. FYI, cups-base is 1.1.3 I believe you need to specify the WITH_CUPS tunable when you build OO Does everyone just know that, or does no one use cups on freebsd? I use both CUPS and OO on FreeBSD, that's how I know :) I probably stumbled across this googling and searching the email archives. -- Regards, Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups web browser access...
On 11/15/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Dear Sirs I use FreeBSD-6.1-R amd64 and I installed cups. When I type in http://localhost:631; I got the message server not found. Suggestions... ___ Going from memory... Check to see if cupsd is running: #ps auxww| grep cupsd if something other than 'grep cupsd' is listed, I don't know why you can't access the site. If nothing comes back: Start the cupsd daemon: #/usr/local/etc/rc.d/cupsd.sh start (Might be a bit off, can't recall) You might need to modify /etc/rc.conf first: #echo cupsd_enable=YES /etc/rc.conf The above script to start cups should tell you want variable you need in rc.conf to get cupsd working. Hope this helps. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups web browser access...
[EMAIL PROTECTED] wrote: Dear Sirs I use FreeBSD-6.1-R amd64 and I installed cups. When I type in http://localhost:631; I got the message server not found. Suggestions... What does cat /etc/rc.conf | grep cupsd ps ux | grep cupsd output? -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups builds on one, but rejected by another?
Jonathan Horne wrote: On Wednesday 14 November 2007 03:39:47 pm Jonathan Horne wrote: my jails server (6.2-p8) just ran portupgrade fine, and cups was one of its items it updated: [EMAIL PROTECTED] ~]# pkg_info | grep cups- cups-base-1.3.3_2 Common UNIX Printing System but my 7.0-b2 desktop, refuses to build the same package: === cups-base-1.3.3_2 has known vulnerabilities: = cups -- off-by-one buffer overflow. Reference: http://www.FreeBSD.org/ports/portaudit/8dd9722c-8e97-11dc-b8f6-001c2514716 c.html = Please update your ports tree and try again. *** Error code 1 what would be the differences between the 2 systems that one would build it, and the other reject the same port? ive not tweaked any port security settings on either one, so this is some curious behavior to me. thanks, another interesting thing, when you read the portaudit page for this, it says: Affects: cups-base 1.3.3_1 but yet 1.3.3_2 still is rejected. One or the other has either a stale portaudit database or ports tree. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups builds on one, but rejected by another?
On Wednesday 14 November 2007 03:39:47 pm Jonathan Horne wrote: my jails server (6.2-p8) just ran portupgrade fine, and cups was one of its items it updated: [EMAIL PROTECTED] ~]# pkg_info | grep cups- cups-base-1.3.3_2 Common UNIX Printing System but my 7.0-b2 desktop, refuses to build the same package: === cups-base-1.3.3_2 has known vulnerabilities: = cups -- off-by-one buffer overflow. Reference: http://www.FreeBSD.org/ports/portaudit/8dd9722c-8e97-11dc-b8f6-001c2514716 c.html = Please update your ports tree and try again. *** Error code 1 what would be the differences between the 2 systems that one would build it, and the other reject the same port? ive not tweaked any port security settings on either one, so this is some curious behavior to me. thanks, another interesting thing, when you read the portaudit page for this, it says: Affects: cups-base 1.3.3_1 but yet 1.3.3_2 still is rejected. -- Jonathan Horne http://dfwlpiki.dfwlp.org [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups builds on one, but rejected by another?
On 11/14/07, Jonathan Horne [EMAIL PROTECTED] wrote: On Wednesday 14 November 2007 03:57:26 pm Kris Kennaway wrote: Jonathan Horne wrote: On Wednesday 14 November 2007 03:39:47 pm Jonathan Horne wrote: my jails server (6.2-p8) just ran portupgrade fine, and cups was one of its items it updated: [EMAIL PROTECTED] ~]# pkg_info | grep cups- cups-base-1.3.3_2 Common UNIX Printing System but my 7.0-b2 desktop, refuses to build the same package: === cups-base-1.3.3_2 has known vulnerabilities: = cups -- off-by-one buffer overflow. Reference: http://www.FreeBSD.org/ports/portaudit/8dd9722c-8e97-11dc-b8f6-001c2514 716 c.html = Please update your ports tree and try again. *** Error code 1 what would be the differences between the 2 systems that one would build it, and the other reject the same port? ive not tweaked any port security settings on either one, so this is some curious behavior to me. thanks, another interesting thing, when you read the portaudit page for this, it says: Affects: cups-base 1.3.3_1 but yet 1.3.3_2 still is rejected. One or the other has either a stale portaudit database or ports tree. Kris what is the method for updating the portaudit database? both have had their ports trees updated today, the 7.0 box multiple times. thanks, -- Jonathan Horne http://dfwlpiki.dfwlp.org [EMAIL PROTECTED] I ran into a similar issue with cups - what does 'portaudit -aF' give on each machine? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups builds on one, but rejected by another?
On Wednesday 14 November 2007 03:57:26 pm Kris Kennaway wrote: Jonathan Horne wrote: On Wednesday 14 November 2007 03:39:47 pm Jonathan Horne wrote: my jails server (6.2-p8) just ran portupgrade fine, and cups was one of its items it updated: [EMAIL PROTECTED] ~]# pkg_info | grep cups- cups-base-1.3.3_2 Common UNIX Printing System but my 7.0-b2 desktop, refuses to build the same package: === cups-base-1.3.3_2 has known vulnerabilities: = cups -- off-by-one buffer overflow. Reference: http://www.FreeBSD.org/ports/portaudit/8dd9722c-8e97-11dc-b8f6-001c2514 716 c.html = Please update your ports tree and try again. *** Error code 1 what would be the differences between the 2 systems that one would build it, and the other reject the same port? ive not tweaked any port security settings on either one, so this is some curious behavior to me. thanks, another interesting thing, when you read the portaudit page for this, it says: Affects: cups-base 1.3.3_1 but yet 1.3.3_2 still is rejected. One or the other has either a stale portaudit database or ports tree. Kris what is the method for updating the portaudit database? both have had their ports trees updated today, the 7.0 box multiple times. thanks, -- Jonathan Horne http://dfwlpiki.dfwlp.org [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups builds on one, but rejected by another?
On Wednesday 14 November 2007 04:32:12 pm Kurt Buff wrote: On 11/14/07, Jonathan Horne [EMAIL PROTECTED] wrote: On Wednesday 14 November 2007 03:57:26 pm Kris Kennaway wrote: Jonathan Horne wrote: On Wednesday 14 November 2007 03:39:47 pm Jonathan Horne wrote: my jails server (6.2-p8) just ran portupgrade fine, and cups was one of its items it updated: [EMAIL PROTECTED] ~]# pkg_info | grep cups- cups-base-1.3.3_2 Common UNIX Printing System but my 7.0-b2 desktop, refuses to build the same package: === cups-base-1.3.3_2 has known vulnerabilities: = cups -- off-by-one buffer overflow. Reference: http://www.FreeBSD.org/ports/portaudit/8dd9722c-8e97-11dc-b8f6-001c 2514 716 c.html = Please update your ports tree and try again. *** Error code 1 what would be the differences between the 2 systems that one would build it, and the other reject the same port? ive not tweaked any port security settings on either one, so this is some curious behavior to me. thanks, another interesting thing, when you read the portaudit page for this, it says: Affects: cups-base 1.3.3_1 but yet 1.3.3_2 still is rejected. One or the other has either a stale portaudit database or ports tree. Kris what is the method for updating the portaudit database? both have had their ports trees updated today, the 7.0 box multiple times. thanks, -- Jonathan Horne http://dfwlpiki.dfwlp.org [EMAIL PROTECTED] I ran into a similar issue with cups - what does 'portaudit -aF' give on each machine? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] interesting, portaudit seems to be part of the 7.0 base system now. on my BETA2 box: [EMAIL PROTECTED] /usr/ports]# portaudit -aF auditfile.tbz 100% of 45 kB 100 kBps New database installed. Affected package: cups-base-1.3.3 Type of problem: xpdf -- multiple remote Stream.CC vulnerabilities. Reference: http://www.FreeBSD.org/ports/portaudit/2747fc39-915b-11dc-9239-001c2514716c.html Affected package: cups-base-1.3.3 Type of problem: cups -- off-by-one buffer overflow. Reference: http://www.FreeBSD.org/ports/portaudit/8dd9722c-8e97-11dc-b8f6-001c2514716c.html 2 problem(s) in your installed packages found. You are advised to update or deinstall the affected package(s) immediately. portaudit is not installed on my 6.2 server, so i have no data to print for that one. thanks, -- Jonathan Horne http://dfwlpiki.dfwlp.org [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups builds on one, but rejected by another?
On 11/14/07, Jonathan Horne [EMAIL PROTECTED] wrote: On Wednesday 14 November 2007 04:32:12 pm Kurt Buff wrote: On 11/14/07, Jonathan Horne [EMAIL PROTECTED] wrote: On Wednesday 14 November 2007 03:57:26 pm Kris Kennaway wrote: Jonathan Horne wrote: On Wednesday 14 November 2007 03:39:47 pm Jonathan Horne wrote: my jails server (6.2-p8) just ran portupgrade fine, and cups was one of its items it updated: [EMAIL PROTECTED] ~]# pkg_info | grep cups- cups-base-1.3.3_2 Common UNIX Printing System but my 7.0-b2 desktop, refuses to build the same package: === cups-base-1.3.3_2 has known vulnerabilities: = cups -- off-by-one buffer overflow. Reference: http://www.FreeBSD.org/ports/portaudit/8dd9722c-8e97-11dc-b8f6-001c 2514 716 c.html = Please update your ports tree and try again. *** Error code 1 what would be the differences between the 2 systems that one would build it, and the other reject the same port? ive not tweaked any port security settings on either one, so this is some curious behavior to me. thanks, another interesting thing, when you read the portaudit page for this, it says: Affects: cups-base 1.3.3_1 but yet 1.3.3_2 still is rejected. One or the other has either a stale portaudit database or ports tree. Kris what is the method for updating the portaudit database? both have had their ports trees updated today, the 7.0 box multiple times. thanks, -- Jonathan Horne http://dfwlpiki.dfwlp.org [EMAIL PROTECTED] I ran into a similar issue with cups - what does 'portaudit -aF' give on each machine? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] interesting, portaudit seems to be part of the 7.0 base system now. on my BETA2 box: [EMAIL PROTECTED] /usr/ports]# portaudit -aF auditfile.tbz 100% of 45 kB 100 kBps New database installed. Affected package: cups-base-1.3.3 Type of problem: xpdf -- multiple remote Stream.CC vulnerabilities. Reference: http://www.FreeBSD.org/ports/portaudit/2747fc39-915b-11dc-9239-001c2514716c.html Affected package: cups-base-1.3.3 Type of problem: cups -- off-by-one buffer overflow. Reference: http://www.FreeBSD.org/ports/portaudit/8dd9722c-8e97-11dc-b8f6-001c2514716c.html 2 problem(s) in your installed packages found. You are advised to update or deinstall the affected package(s) immediately. portaudit is not installed on my 6.2 server, so i have no data to print for that one. thanks, -- Jonathan Horne http://dfwlpiki.dfwlp.org [EMAIL PROTECTED] That lack of portaudit on your 6.2 system is probably why it doesn't care. I'll bet that if you had installed portaudit on your 6.2 system before trying to update, it wouldn't build either, until the port was updated, which happened a day or so ago. Further, I'll guess that the ports tree on your 7.0 system doesn't contain the updated port for cups - I don't have a 7.0 system on which to test, and don't have a sophisticated understanding of how all that works, but it's possible that the ports tree for 7.0 doesn't have the updates. Kurt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups builds on one, but rejected by another?
On Wednesday 14 November 2007, Jonathan Horne wrote: On Wednesday 14 November 2007 03:57:26 pm Kris Kennaway wrote: Jonathan Horne wrote: On Wednesday 14 November 2007 03:39:47 pm Jonathan Horne wrote: my jails server (6.2-p8) just ran portupgrade fine, and cups was one of its items it updated: [EMAIL PROTECTED] ~]# pkg_info | grep cups- cups-base-1.3.3_2 Common UNIX Printing System but my 7.0-b2 desktop, refuses to build the same package: === cups-base-1.3.3_2 has known vulnerabilities: = cups -- off-by-one buffer overflow. Reference: http://www.FreeBSD.org/ports/portaudit/8dd9722c-8e97-11dc-b8f6- 001c2514 716 c.html = Please update your ports tree and try again. *** Error code 1 what would be the differences between the 2 systems that one would build it, and the other reject the same port? ive not tweaked any port security settings on either one, so this is some curious behavior to me. thanks, another interesting thing, when you read the portaudit page for this, it says: Affects: cups-base 1.3.3_1 but yet 1.3.3_2 still is rejected. One or the other has either a stale portaudit database or ports tree. Kris what is the method for updating the portaudit database? both have had their ports trees updated today, the 7.0 box multiple times. thanks, Portaudit was updated w/r to cups-base at 2019 UDT 14 Nov man portaudit portaudit -Fa will update and check. Kent -- Kent Stewart Richland, WA http://www.soyandina.com/ I am Andean project. http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups-base upgrade and samba
On November 12, 2007 at 02:42PM Kurt Buff wrote: According to my portaudit, cups-base has security problems, and I can't get samba going because of it. http://www.FreeBSD.org/ports/portaudit/8dd9722c-8e97-11dc-b8f6-001c2514716c.html According to the above URL, this problem affects v1.3.4, and 1.3.3_1 is the latest port, from the CVSUP I did today, and it errors out when doing a 'portupgrad -aRr' Seems I can't get there from here. Any suggestions on how to move forward with this? Have you tried adding the following to your /etc/make.conf file? DISABLE_VULNERABILITIES=yes -- Gerard No matter how rich you become, how famous or powerful, when you die the size of your funeral will still pretty much depend on the weather. Michael Pritchard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups-base upgrade and samba
On Nov 12, 2007 1:36 PM, Gerard [EMAIL PROTECTED] wrote: On November 12, 2007 at 02:42PM Kurt Buff wrote: According to my portaudit, cups-base has security problems, and I can't get samba going because of it. http://www.FreeBSD.org/ports/portaudit/8dd9722c-8e97-11dc-b8f6-001c2514716c.html According to the above URL, this problem affects v1.3.4, and 1.3.3_1 is the latest port, from the CVSUP I did today, and it errors out when doing a 'portupgrad -aRr' Seems I can't get there from here. Any suggestions on how to move forward with this? Have you tried adding the following to your /etc/make.conf file? DISABLE_VULNERABILITIES=yes -- Gerard Well, that certainly seems to work, but... I'm out of luck on security until someone updates the port, correct? Kurt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups-base upgrade and samba
I just upgraded my cups-base install to 1.3.3_1, and ran into similar issues at first. Try: portaudit -F to upgrade your audit database. I believe portaudit originally thought 1.3.3_1 fell into the affected versions, but looks to be the fixed version in the latest database. http://www.freshports.org/print/cups-base/ Good Luck. --_Dave ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups-base upgrade and samba
On Tuesday 13 November 2007 00:53:22 Kurt Buff wrote: On Nov 12, 2007 1:36 PM, Gerard [EMAIL PROTECTED] wrote: On November 12, 2007 at 02:42PM Kurt Buff wrote: According to my portaudit, cups-base has security problems, and I can't get samba going because of it. http://www.FreeBSD.org/ports/portaudit/8dd9722c-8e97-11dc-b8f6-001c2514 716c.html According to the above URL, this problem affects v1.3.4, and 1.3.3_1 is the latest port, from the CVSUP I did today, and it errors out when doing a 'portupgrad -aRr' Seems I can't get there from here. Any suggestions on how to move forward with this? Have you tried adding the following to your /etc/make.conf file? DISABLE_VULNERABILITIES=yes -- Gerard Well, that certainly seems to work, but... I'm out of luck on security until someone updates the port, correct? Kurt It is already patched, please see http://lists.freebsd.org/pipermail/cvs-ports/2007-November/137633.html http://lists.freebsd.org/pipermail/cvs-ports/2007-November/137639.html Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups-base upgrade and samba
-- Forwarded message -- From: Kurt Buff [EMAIL PROTECTED] Date: Nov 12, 2007 3:07 PM Subject: Re: cups-base upgrade and samba To: David Horn [EMAIL PROTECTED] On Nov 12, 2007 1:30 PM, David Horn [EMAIL PROTECTED] wrote: I just upgraded my cups-base install to 1.3.3_1, and ran into similar issues at first. Try: portaudit -F to upgrade your audit database. I believe portaudit originally thought 1.3.3_1 fell into the affected versions, but looks to be the fixed version in the latest database. http://www.freshports.org/print/cups-base/ Good Luck. --_Dave This worked, thanks. zrouter# portaudit -aF auditfile.tbz 100% of 45 kB 130 kBps New database installed. 0 problem(s) in your installed packages found. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups-base upgrade and samba
On Nov 12, 2007 2:02 PM, Yuri Pankov [EMAIL PROTECTED] wrote: On Tuesday 13 November 2007 00:53:22 Kurt Buff wrote: On Nov 12, 2007 1:36 PM, Gerard [EMAIL PROTECTED] wrote: On November 12, 2007 at 02:42PM Kurt Buff wrote: According to my portaudit, cups-base has security problems, and I can't get samba going because of it. http://www.FreeBSD.org/ports/portaudit/8dd9722c-8e97-11dc-b8f6-001c2514 716c.html According to the above URL, this problem affects v1.3.4, and 1.3.3_1 is the latest port, from the CVSUP I did today, and it errors out when doing a 'portupgrad -aRr' Seems I can't get there from here. Any suggestions on how to move forward with this? Have you tried adding the following to your /etc/make.conf file? DISABLE_VULNERABILITIES=yes -- Gerard Well, that certainly seems to work, but... I'm out of luck on security until someone updates the port, correct? Kurt It is already patched, please see http://lists.freebsd.org/pipermail/cvs-ports/2007-November/137633.html http://lists.freebsd.org/pipermail/cvs-ports/2007-November/137639.html Yuri Excellent - Thanks so much. Kurt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups-base problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am not sure I understand the message about remote execution of arbitrary code. That is just saying that if the security issue is a problem for you don't upgrade (i.e. go ahead if you don't care). - -- Aryeh M. Friedman Developer, not business, friendly http://www.flosoft-systems.com -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHNXZqJ9+1V27SttsRAiZDAJ9MzhwsOhvWh0xncRP8sBaaFmirqACfXeHb JL7R5zUJgzIjypZO5NCk1cI= =ijDx -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups-base problem
Hello, Aryeh M. Friedman pisze: I am not sure I understand the message about remote execution of arbitrary code. That is just saying that if the security issue is a problem for you don't upgrade (i.e. go ahead if you don't care). Thanks but I think I now understand even less :) If a security issue is a problem, don't upgrade??? Not sure also how one could go ahead? There is no option to continue. The message appears and that's all. I am not given any option. Thanks! Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups-base problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 zbigniew szalbot wrote: Hello, Aryeh M. Friedman pisze: I am not sure I understand the message about remote execution of arbitrary code. That is just saying that if the security issue is a problem for you don't upgrade (i.e. go ahead if you don't care). Thanks but I think I now understand even less :) If a security issue is a problem, don't upgrade??? My understanding of the issue is under some situations cups-base may allow an attacker to execute arbitary commands (not sure with what privs) Not sure also how one could go ahead? There is no option to continue. The message appears and that's all. I am not given any option. Remove the FORBIDDEN= line in the makefile - -- Aryeh M. Friedman Developer, not business, friendly http://www.flosoft-systems.com -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHNXfoJ9+1V27SttsRAteSAKCeeXqAfsk+OgoLP9l/wZvvvMFhAwCeK1l1 Vv+r9ICUlVxTpvN+A8jv4xw= =3fNE -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups-base problem
Hello, Aryeh M. Friedman pisze: Aryeh M. Friedman pisze: I am not sure I understand the message about remote execution of arbitrary code. That is just saying that if the security issue is a problem for you don't upgrade (i.e. go ahead if you don't care). Thanks but I think I now understand even less :) If a security issue is a problem, don't upgrade??? My understanding of the issue is under some situations cups-base may allow an attacker to execute arbitary commands (not sure with what privs) All clear now. Thanks a lot! Not sure also how one could go ahead? There is no option to continue. The message appears and that's all. I am not given any option. Remove the FORBIDDEN= line in the makefile I appreciate it! Thank again! Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups-base problem
On Sat, Nov 10, 2007 at 10:18:19AM +0100, zbigniew szalbot wrote: Hello, Aryeh M. Friedman pisze: I am not sure I understand the message about remote execution of arbitrary code. That is just saying that if the security issue is a problem for you don't upgrade (i.e. go ahead if you don't care). Thanks but I think I now understand even less :) If a security issue is a problem, don't upgrade??? Apparently there is a bug in this port that would allow an attacker from outside to make cupsd execute his malicious code. Therefore installation of this port is forbidden as a precaution until a fix is available. But if you have a firewall that rejects incomming connections or if you have cupsd set up to deny all connections but local ones this bug presumably cannot affect you. Not sure also how one could go ahead? There is no option to continue. The message appears and that's all. I am not given any option. Upgrade the port once it is fixed. In the meantime block incoming connections either in cupsd.conf or with your firewall. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgp0xktlq0rfD.pgp Description: PGP signature
Re: cups-base problem
Dear all, Today I saw a security notice: ..snip... cat distinfo MD5 (cups-1.3.3-source.tar.bz2) = d4911e68b6979d16bc7a55f68d16cc53 SHA256 (cups-1.3.3-source.tar.bz2) = 5e9e5670777055293e309cb0cbb2758df9c1275bf648df70478b7389c2d804de SIZE (cups-1.3.3-source.tar.bz2) = 4077262 Update your ports and INDEX file as it seems that you are installing a vulnerable version of cups-base. The VuXML report says: Affects: cups-base 1.3.4 so the cups-1.3.3 still has the vulnerability mentioned in the report. -Rek ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups-base problem
Reko Turja wrote: Dear all, Today I saw a security notice: ..snip... cat distinfo MD5 (cups-1.3.3-source.tar.bz2) = d4911e68b6979d16bc7a55f68d16cc53 SHA256 (cups-1.3.3-source.tar.bz2) = 5e9e5670777055293e309cb0cbb2758df9c1275bf648df70478b7389c2d804de SIZE (cups-1.3.3-source.tar.bz2) = 4077262 Update your ports and INDEX file as it seems that you are installing a vulnerable version of cups-base. The VuXML report says: Affects: cups-base 1.3.4 so the cups-1.3.3 still has the vulnerability mentioned in the report. Actually, I think the worst security problem I've seen is one I don't personally care to fix right now, but I guess I will soon. It's the fact that postscript is actually a language, one that's more general purpose in limitations than many people realize. Isn't that true? I think this means that my postscript interpreter (which is, for me, and I think for most, is ghostscript) should have some security controls on it, to limit postscript's direct access to local machine capabilities. I think that the options in gs for security are too little. It'd be pretty easy to write a really nasty worm. I remember laughing at my Windows friends, back when that Philappines worm hit, but we could get pretty easily hit on gs, or am I all wet? I don't much like pdf, but at least its not succeptible to such a thing, because pdf's not a general purpose language (not a language at all). Nobody's take advantage of it, but it'd be possible to write a general purpose docbook interpreter entirely in postscript. Wonder if modern gs limitations would allow such a big program? Sure would be convenient. -Rek ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups-base problem
On Sat, Nov 10, 2007 at 09:41:43PM -0500, Chuck Robey wrote: Reko Turja wrote: Dear all, Today I saw a security notice: ..snip... cat distinfo MD5 (cups-1.3.3-source.tar.bz2) = d4911e68b6979d16bc7a55f68d16cc53 SHA256 (cups-1.3.3-source.tar.bz2) = 5e9e5670777055293e309cb0cbb2758df9c1275bf648df70478b7389c2d804de SIZE (cups-1.3.3-source.tar.bz2) = 4077262 Update your ports and INDEX file as it seems that you are installing a vulnerable version of cups-base. The VuXML report says: Affects: cups-base 1.3.4 so the cups-1.3.3 still has the vulnerability mentioned in the report. Actually, I think the worst security problem I've seen is one I don't personally care to fix right now, but I guess I will soon. It's the fact that postscript is actually a language, one that's more general purpose in limitations than many people realize. Isn't that true? I think this means that my postscript interpreter (which is, for me, and I think for most, is ghostscript) should have some security controls on it, to limit postscript's direct access to local machine capabilities. When using ghostscript you should always call it with the -dSAFER option, so it can only open files read-only. Or you could buy a postscript capable printer. I think that the options in gs for security are too little. It'd be pretty easy to write a really nasty worm. I remember laughing at my Windows friends, back when that Philappines worm hit, but we could get pretty easily hit on gs, or am I all wet? It's not as easy as it seems. It would be possible to write a postscript program that mails itself to other addresses. But no UNIX mail client that I know of automatically opens and renders postscript code, let alone with root privileges, which you need to do _real_ damage instead of just annoy people. So you'd need user intervention to spread the virus. And gathering addresses isn't straightforward either. Every mail program has it's own file for storing those. And there are usually multiple places where mail can be stored, and that can be in at least two formats (mbox and maildir). Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgprpEWz35YP8.pgp Description: PGP signature
Re: cups-base woes
On Fri, 2007-10-05 at 19:21 -0400, E. J. Cerejo wrote: I've been trying to portupgrade cups-base for a week now, every time I cvsup my ports I get a different error message, now this is the latest one. Any ideas on how to fix this or can someone direct me to the this package so I don't have to build it? /usr/local/include/php/TSRM/tsrm_virtual_cwd.h:202: warning: declaration Is your PHP install from src or Ports? ~BAS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups-1.3.3 not compiling anymore in FreeBSD 7.0
On Tue, 2 Oct 2007, O. Hartmann wrote: Hello, Since several days all my FreeBSD 7.0-CURRENT boxes are incapable of upgrading cups-base port with the follwoing error. Can anyone help? There was some sort of issue with stale headers IIRC. Make sure your ports tree is up to date, pkg_delete the old cups before installing the new one and you should be ok. hth, Doug -- This .signature sanitized for your protection ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups-1.3.3 not compiling anymore in FreeBSD 7.0
On Tue, 02 Oct 2007 13:32:33 + O. Hartmann [EMAIL PROTECTED] wrote: Hello, Since several days all my FreeBSD 7.0-CURRENT boxes are incapable of upgrading cups-base port with the follwoing error. Can anyone help? Thanks a lot, Regards, Oliver I get a similar error while trying to upgrade kdelibs on 6.2-RELEASE: gmake[3]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.7/kdeprint /lpdunix' Making all in cups gmake[3]: Entering directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.7/kdeprin t/cups' Making all in cupsdconf2 gmake[4]: Entering directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.7/kdeprin t/cups/cupsdconf2' echo '#include kdemacros.h' cupsdconf_dummy.cpp; \ echo 'extern C int kdemain(int argc, char* argv[]);' cupsdconf_dumm y.cpp; \ echo 'extern C KDE_EXPORT int kdeinitmain(int argc, char* argv[]) { re turn kdemain(argc,argv); }' cupsdconf_dummy.cpp if /bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=compile c++ -DHAVE_C ONFIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kss l -I../../../kjs -I../../.. -I../../../kio -I../../../kfile -I../../../dcop -I.. /../../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdecore -I../../.. /kdecore/network -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../k io/kfile -I../../.. -I/usr/local/include -I/usr/local/include -I/usr/local/incl ude -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/l ocal/include -I/usr/local/include -D_GETOPT_H -D_THREAD_SAFE -Wno-long-long - Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -fno-strict-aliasing -pipe -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CL EAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT cupsdconf_dummy.lo -MD -MP -MF .deps/cupsdconf_dummy.Tpo -c -o cupsdconf_ dummy.lo cupsdconf_dummy.cpp; \ then mv -f .deps/cupsdconf_dummy.Tpo .deps/cupsdconf_dummy.Plo; else rm -f .deps/cupsdconf_dummy.Tpo; exit 1; fi [snip] if /bin/sh /usr/local/bin/libtool --silent --tag=CC --mode=compile cc -DHAVE_CON FIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kssl -I../../../kjs -I../../.. -I../../../kio -I../../../kfile -I../../../dcop -I../. ./../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdecore -I../../../k decore/network -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio /kfile -I../../.. -I/usr/local/include -I/usr/local/include -I/usr/local/includ e -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/loc al/include -I/usr/local/include -D_GETOPT_H -D_THREAD_SAFE -DNDEBUG -O2 -O2 -fno-strict-aliasing -pipe -MT cups-util.lo -MD -MP -MF .deps/cups-util.Tpo - c -o cups-util.lo cups-util.c; \ then mv -f .deps/cups-util.Tpo .deps/cups-util.Plo; else rm -f .dep s/cups-util.Tpo; exit 1; fi cups-util.c: In function `cupsGetConf': cups-util.c:111: error: dereferencing pointer to incomplete type cups-util.c:119: error: dereferencing pointer to incomplete type cups-util.c:138: error: dereferencing pointer to incomplete type cups-util.c:213: warning: `httpRead' is deprecated (declared at /usr/local/inclu de/cups/http.h:361) cups-util.c: In function `cupsPutConf': cups-util.c:308: warning: `httpWrite' is deprecated (declared at /usr/local/incl ude/cups/http.h:371) cups-util.c:312: warning: `httpWrite' is deprecated (declared at /usr/local/incl ude/cups/http.h:371) cups-util.c:337: error: dereferencing pointer to incomplete type cups-util.c:345: error: dereferencing pointer to incomplete type cups-util.c:364: error: dereferencing pointer to incomplete type cups-util.c: In function `cups_local_auth': cups-util.c:454: warning: passing arg 1 of `httpAddrLocalhost' from incompatible pointer type gmake[4]: *** [cups-util.lo] Error 1 gmake[4]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.7/kdeprint /cups/cupsdconf2' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.7/kdeprint /cups' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.7/kdeprint ' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.5.7' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/x11/kdelibs3. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.35894.0 en v UPGRADE_TOOL=portupgrade UPGRADE_PORT=kdelibs-3.5.7_1 UPGRADE_PORT_VER=3.5.7_1 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! x11/kdelibs3 (kdelibs-3.5.7_1)(unknown build error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed -- Thanks, john. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to
Re: cups-1.3.3 not compiling anymore in FreeBSD 7.0
On Oct 2, 2007, at 8:32 AM, O. Hartmann wrote: Hello, Since several days all my FreeBSD 7.0-CURRENT boxes are incapable of upgrading cups-base port I was getting the same error on 6.2 RELENG when trying to upgrade using portupgrade, but the error went away by magic when I did a make deinstall make clean make reinstall in the cups-base port directory. I don't know if this will work for others. I don't know why it worked for me. -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups-1.3.3 not compiling anymore in FreeBSD 7.0
Jeffrey Goldberg writes: Since several days all my FreeBSD 7.0-CURRENT boxes are incapable of upgrading cups-base port I was getting the same error on 6.2 RELENG when trying to upgrade using portupgrade, but the error went away by magic when I did a make deinstall make clean make reinstall in the cups-base port directory. I don't know if this will work for others. Worked for me. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups-base fails to compile
Pablo Mora wrote: On 9/30/07, E. J. Cerejo [EMAIL PROTECTED] wrote: I'm running FreeBSD 6-stable and I just updated the ports tree using cvsup and the portupgrade tools, but now I get this error when I try to build cups-base: cc -Wshadow -Wunused -Wall -Wno-format-y2k -fPIC -Os -g -I.. -I/usr/local/include -O -pipe -march=pentium4 -D_LARGEFILE_SOURCE Does anyone know how to fix this? Update your ports tree. http://www.freebsd.org/cgi/query-pr.cgi?pr=116721 I did that before, I still get the same error. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups installation
pj wrote: Try as you may, CUPS does not seem to be installable. When installing the cups (metaport) on FBSD6.2 I get the error message: === cups-1.2.10_1 depends on executable: espgs - not found ===Verifying install for espgs in /usr/ports/print/cups-pstoraster === Installing for cups-pstoraster-8.15.4_1 === cups-pstoraster-8.15.4_1 depends on executable: gs - not found ===Verifying install for gs in /usr/ports/print/ghostscript-gpl === Building for ghostscript-gpl-8.57 in pre-build ... creating directories for compilation ... building EPAG utility ... gmake: `ert' is up to date. creating symlinks for EPAG ... ./obj/echogs -w ./obj/ldt.tr -n - cc -pthread -L/usr/local/lib -o ./bin/gs ./obj/echogs -a ./obj/ldt.tr -n -s ./obj/gs.o -s cat ./obj/ld.tr ./obj/ldt.tr ./obj/echogs -a ./obj/ldt.tr -s - -lm if [ x != x ]; then LD_RUN_PATH=; export LD_RUN_PATH; fi; \ XCFLAGS= XINCLUDE= XLDFLAGS= XLIBDIRS= XLIBS= \ FEATURE_DEVS= DEVICE_DEVS= DEVICE_DEVS1= DEVICE_DEVS2= DEVICE_DEVS3= \ DEVICE_DEVS4= DEVICE_DEVS5= DEVICE_DEVS6= DEVICE_DEVS7= DEVICE_DEVS8= \ DEVICE_DEVS9= DEVICE_DEVS10= DEVICE_DEVS11= DEVICE_DEVS12= \ DEVICE_DEVS13= DEVICE_DEVS14= DEVICE_DEVS15= DEVICE_DEVS16= \ DEVICE_DEVS17= DEVICE_DEVS18= DEVICE_DEVS19= DEVICE_DEVS20= \ DEVICE_DEVS_EXTRA= \ /bin/sh ./obj/ldt.tr *** Error code 2 Stop in /usr/ports/print/ghostscript-gpl. *** Error code 1 Stop in /usr/ports/print/cups-pstoraster. *** Error code 1 Stop in /usr/ports/print/cups. Any ideas? I'm completely lost at this point. Phil ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] portsnap fetch; portsnap extract Then start over. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups installation
Tom Grove wrote: pj wrote: Try as you may, CUPS does not seem to be installable. When installing the cups (metaport) on FBSD6.2 I get the error message: === cups-1.2.10_1 depends on executable: espgs - not found ===Verifying install for espgs in /usr/ports/print/cups-pstoraster === Installing for cups-pstoraster-8.15.4_1 === cups-pstoraster-8.15.4_1 depends on executable: gs - not found ===Verifying install for gs in /usr/ports/print/ghostscript-gpl === Building for ghostscript-gpl-8.57 in pre-build ... creating directories for compilation ... building EPAG utility ... gmake: `ert' is up to date. creating symlinks for EPAG ... ./obj/echogs -w ./obj/ldt.tr -n - cc -pthread -L/usr/local/lib -o ./bin/gs ./obj/echogs -a ./obj/ldt.tr -n -s ./obj/gs.o -s cat ./obj/ld.tr ./obj/ldt.tr ./obj/echogs -a ./obj/ldt.tr -s - -lm if [ x != x ]; then LD_RUN_PATH=; export LD_RUN_PATH; fi; \ XCFLAGS= XINCLUDE= XLDFLAGS= XLIBDIRS= XLIBS= \ FEATURE_DEVS= DEVICE_DEVS= DEVICE_DEVS1= DEVICE_DEVS2= DEVICE_DEVS3= \ DEVICE_DEVS4= DEVICE_DEVS5= DEVICE_DEVS6= DEVICE_DEVS7= DEVICE_DEVS8= \ DEVICE_DEVS9= DEVICE_DEVS10= DEVICE_DEVS11= DEVICE_DEVS12= \ DEVICE_DEVS13= DEVICE_DEVS14= DEVICE_DEVS15= DEVICE_DEVS16= \ DEVICE_DEVS17= DEVICE_DEVS18= DEVICE_DEVS19= DEVICE_DEVS20= \ DEVICE_DEVS_EXTRA= \ /bin/sh ./obj/ldt.tr ./obj/gdevdevn.o(.text+0x39d): In function 'devn_get_params': :undefined reference to 'sample_devide_crd_get_params' ./obj/gdevxcf.o(.text+0x6ba): In function 'xcf_get_params': :undefined reference to 'sample_device_crd_get_params' gmake: *** [bin/gs] KError 1 *** Error code 2 Stop in /usr/ports/print/ghostscript-gpl. *** Error code 1 Stop in /usr/ports/print/cups-pstoraster. *** Error code 1 Stop in /usr/ports/print/cups. Any ideas? I'm completely lost at this point. Phil ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] portsnap fetch; portsnap extract Then start over. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Actually, I had done portsnap just before trying cups make install clean. That's why I am a bit lost I just redid it after portsnap and there is little change: same error message plus - see above. Phil ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CUPS on 6.2-RELEASE-p3: USB port busy; will retry in 30 seconds...
On 27/05/07, andreas scherrer [EMAIL PROTECTED] wrote: I am trying to get a Samsung ML5000a printer to work on my FreeBSD 6.2-RELEASE-p3 box. The Machine has a EPIA Mini-ITX board which has *no* parallel port. snip... The printer is connected to /dev/unlpt0 crw-rw 1 root cups0, 61 May 26 17:18 /dev/unlpt0 /var/cache/cups is writable by the cups group: drwxrwxr-x 2 root cups 512 Apr 3 21:43 cups If I issue 'echo test /dev/unlpt0' I get bash: /dev/unlpt0: Device busy Update: Changing the URI of the printer in printers.conf from usb:/dev/unlpt0 to file:/dev/unlpt0 did not help. The effect is, that cups does not start anymore and i get Unable to open output file file:/dev/unlpt0 - Device busy. in /var/log/cups/error_log I'm at a loss :( rgds andreas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CUPs and libgnutls
Written by jbarnet on 05/25/07 00:55 I'm receiving this error: /libexec/ld-elf.so.1: Shared object libgnutls.so.13 not found, required by libcups.so.2 (Swat (part of samba) is trying to load, and it bombs out). I installed samba via ports (which cups was either pre-installed or installed via a pre-req of another package)... so I'm wondering: 1) why didn't cups install the correct libgnutls version that it needed? 2) how do I find out which pacakge/port the libgnutls.so is part of? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] It sounds to me like cups was installed via a package or previous ports tree, and through some action the gnutls port was upgraded causing the libgnutls.so.13 library to vanish. Since cups is dynamically linked to the old version of the library, and no intervening actions have been made to point it to the right library, it barfs when you try to run it because a library it requires at runtime is missing. I think the best solution at this point would be to rebuild cups from the ports tree so it will link to the correct gnutls library. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups permission problems
At Thu, 03 May 2007 16:02:39 -0400, Lowell Gilbert wrote: /usr/local/share/cups/templates/header.tmpl - Permission denied i had the same problems a view days ago, problem was a wrong umask when installing cups. there are two options: 1) reinstall cups and make sure your have umask 022 during make install 2) make all files in /usr/local/share/cups accessible for cupsd. make sure _all_ directories have the right permissions and are accessible (usr local share cups ...) toni -- If you understand what you're doing, you're | toni at stderror dot at not learning anything. | Toni Schmidbauer -- Anonymous| ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cups permission problems
AN [EMAIL PROTECTED] writes: I just installed cups 1.2.10 on FBSD 6.2 stable from ports. The install completed successfully, however when I try to do anything nothing works. After starting the cups daemon, I go to localhost:631 and I can see the main page but when I try to add a printer the page is blank. The following are excerpts from /var/log/cups/error_log: I [02/May/2007:22:44:46 +0300] Full reload complete. I [02/May/2007:22:44:46 +0300] Listening to ::1:631 on fd 2... I [02/May/2007:22:44:46 +0300] Listening to 127.0.0.1:631 on fd 3... I [02/May/2007:22:44:46 +0300] Listening to /var/run/cups.sock on fd 4... I [02/May/2007:22:45:04 +0300] commptr=?OP=add-printer I [02/May/2007:22:45:04 +0300] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=89759) E [02/May/2007:22:45:04 +0300] [CGI] Unable to open template file /usr/local/share/cups/templates/header.tmpl - Permission denied E [02/May/2007:22:45:04 +0300] [CGI] Unable to open template file /usr/local/share/cups/templates/add-printer.tmpl - Permission denied E [02/May/2007:22:45:04 +0300] [CGI] Unable to open template file /usr/local/share/cups/templates/trailer.tmpl - Permission denied I [02/May/2007:22:48:13 +0300] Full reload complete. I [02/May/2007:22:48:13 +0300] Listening to ::1:631 on fd 1... I [02/May/2007:22:48:13 +0300] Listening to 127.0.0.1:631 on fd 3... I [02/May/2007:22:48:13 +0300] Listening to /var/run/cups.sock on fd 4... I [02/May/2007:22:53:32 +0300] commptr=?OP=add-printer I [02/May/2007:22:53:32 +0300] Started /usr/local/libexec/cups/cgi-bin/admin.cgi (pid=89770) E [02/May/2007:22:53:32 +0300] [CGI] Unable to open template file /usr/local/share/cups/templates/header.tmpl - Permission denied E [02/May/2007:22:53:32 +0300] [CGI] Unable to open template file /usr/local/share/cups/templates/add-printer.tmpl - Permission denied E [02/May/2007:22:53:32 +0300] [CGI] Unable to open template file /usr/local/share/cups/templates/trailer.tmpl - Permission denied I [02/May/2007:22:55:10 +0300] Saving remote.cache... I [02/May/2007:22:56:18 +0300] Full reload complete. E [02/May/2007:22:56:19 +0300] Unable to bind socket for address ::1:631 - Address already in use. E [02/May/2007:22:56:19 +0300] Unable to bind socket for address 127.0.0.1:631 - Address already in use. I [02/May/2007:22:56:19 +0300] Listening to /var/run/cups.sock on fd 2... E [02/May/2007:22:56:19 +0300] cupsdStartBrowsing: Unable to bind broadcast socket - Address already in use. I [02/May/2007:22:58:22 +0300] Listening to ::1:631 (IPv6) I [02/May/2007:22:58:22 +0300] Listening to 127.0.0.1:631 (IPv4) I [02/May/2007:22:58:22 +0300] Listening to /var/run/cups.sock (Domain) I [02/May/2007:22:58:22 +0300] Loaded configuration file /usr/local/etc/cups/cupsd.conf I [02/May/2007:22:58:22 +0300] Using default TempDir of /var/spool/cups/tmp... I [02/May/2007:22:58:22 +0300] Cleaning out old temporary files in /var/spool/cups/tmp... I [02/May/2007:22:58:22 +0300] Configured for up to 100 clients. I [02/May/2007:22:58:22 +0300] Allowing up to 100 client connections per host. I [02/May/2007:22:58:22 +0300] Using policy default as the default! I [02/May/2007:22:58:22 +0300] Full reload is required. I [02/May/2007:22:58:22 +0300] Loaded MIME database from /usr/local/etc/cups': 34 types, 38 filters... I [02/May/2007:22:58:22 +0300] Loading job cache file /var/cache/cups/job.cache... I [02/May/2007:22:58:22 +0300] Full reload complete. E [02/May/2007:22:58:22 +0300] Unable to bind socket for address ::1:631 - Address already in use. E [02/May/2007:22:58:22 +0300] Unable to bind socket for address 127.0.0.1:631 - Address already in use. I [02/May/2007:22:58:22 +0300] Listening to /var/run/cups.sock on fd 2... E [02/May/2007:22:58:22 +0300] cupsdStartBrowsing: Unable to bind broadcast socket - Address already in use. I [02/May/2007:22:58:48 +0300] commptr=list+1+0+requested-attributes=all I [02/May/2007:22:58:48 +0300] Started /usr/local/libexec/cups/daemon/cups-driverd (pid=89822) E [02/May/2007:22:58:48 +0300] [cups-driverd] Unable to open PPD directory /usr/local/share/cups/model: Permission denied I [02/May/2007:22:59:38 +0300] commptr=list+1+0+requested-attributes=all I [02/May/2007:22:59:38 +0300] Started /usr/local/libexec/cups/daemon/cups-driverd (pid=89823) E [02/May/2007:22:59:38 +0300] [cups-driverd] Unable to open PPD directory /usr/local/share/cups/model: Permission denied I [02/May/2007:22:59:52 +0300] commptr=list+1+0+requested-attributes=all I [02/May/2007:22:59:52 +0300] Started /usr/local/libexec/cups/daemon/cups-driverd (pid=89824) E [02/May/2007:22:59:52 +0300] [cups-driverd] Unable to open PPD directory /usr/local/share/cups/model: Permission denied I tried commenting out all security and authorization settings in the conf file, but it did not help. I compared the settings on the files and folders listed in the log file to another machine that is working with cups and
Re: CUPS + FreeBSD 6.2 + HP Laserjet 5
Thanks. My printer is attached straight to the network (RJ-45), but I check /var/db/pkg, and saw no mention of cups-pdf or cups-pstoraster, so I am installing those... I'll try setting up my printer when I get home. Thanks, -Jim Stapleton On 4/22/07, Jared Barneck [EMAIL PROTECTED] wrote: Jim Stapleton wrote: I'm trying to print a test page for my printer using cups and I get the following error: Unsupported format 'application/postscript'! Funny you should post about this problem... I have an HP Laserjet 5L. It connects via parallel port to my wifes windows XP box. I was trying to point to it and I kept getting that same error. I only had cups-base installed and no other cups ports. To attempt to fix it I did the following: 1. I made sure these three ports were installed. cups-base-1.2.2 The Common UNIX Printing System cups-pdf-2.4.5 A virtual printer for CUPS to produce PDF files cups-pstoraster-8.15.4 Postscript interpreter for CUPS printing to non-PS printers 2. I added the windows box to the host file 3. I restarted cupsd. 4. Deleted the printer and readded it. It started working. I am not sure which step fixed it. I couldn't find anything when googling with FreeBSD in my search. When I took out FreeBSD, I got something for debian referencing lines 103 and 109 in the config being uncommented to get it to work. 103 in the default is blank, 109 is blank except for teh '#'. I uncommented this line, and restarted CUPS: application/vnd.cups-postscriptapplication/vnd.cups-raster 100pstoraster It didn't fix anything. I added this line, and restarted: application/postscriptapplication/vnd.cups-raster100 pstoraster And I still get the same error. I know CUPS worked fine from an install maybe 6 months ago (it had a completely different printer setup than now, it wasn't as easy to setup, but at least it worked). My question (1) Anyone know how to fix this issue with the current version (cvsup'ed and built today via 'sudo portupgrade -f print/cups-pstoraster print/cups-base print/ghostscript-gnu* print/ghostscript-gpl*' (2) How do I get csup/cvsup to match one port or a group of ports by name? I put *default date=2006.08.01.00.00.00 in my supfile (etc/supfile-ports) and tried: sudo csup -i '*cups*' -L 2 /etc/supfile-ports sudo csup -i 'print/cups*' -L 2 /etc/supfile-ports sudo cvsup -g -i '*cups*' -L 2 /etc/supfile-ports sudo cvsup -g -i 'print/cups*' -L 2 /etc/supfile-ports and none of the above updated any files according to the output (I usually see a list of files updated). Since ports were updated this morning, without the date line (so to today's ports layout), I should have seens something. Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CUPS printing problem
On Sun, Feb 18, 2007 at 10:04:45PM +, AN wrote: I am having a problem printing from CUPS. I did a fresh install on 6.2 release and cups-1.2.7. I am trying to configure for an HP1022. The install was successful, and I can manage the printer from the web interface. But, when I try to print a test page, the light on the printer starts flashing but nothing gets printed. The printer admin page shows the following: Description: HP1022 Location: office Make and Model: HP LaserJet Series PCL 4/5 CUPS v1.2 Printer State: idle, accepting jobs, published. Device URI: socket://10.0.1.222:9100 IDNameUserSizePages State Control State HP1022-1 Test Page root18k Unknown stopped So, it appears that after I send the job the printer goes into Stopped state. I checked the logs, and there is something I don't understand. It says: cupsdAuthorize: No authentication data provided What does this mean? Where do you set authentication? Is this the cause of the problem, or a symptom of something else? One thing you need to check is the access rights to the printer device. The device that you want to print to (e.g. /dev/lpt0) needs to belong to the cups group (which should exist, along with an unprivileged user named cups), and that group needs to have read/write access. If you are using a parallel port printer, add the following to devfs.conf(5) and reboot, or use chown/chmod to correctly set the values: # Give cups printer access own lpt0root:cups permlpt00660 If you are using for instance a USB printer, you need to add the following to your ruleset in devfs.rules(5)and reboot, or use chown/chmod to correctly set the values: add path 'ulpt*' mode 0660 group cups HTH, Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpoefYVGDXuT.pgp Description: PGP signature
Re: CUPS printing problem
On 2/19/07, Dak Ghatikachalam [EMAIL PROTECTED] wrote: -- Forwarded message -- From: AN [EMAIL PROTECTED] Date: Feb 18, 2007 5:04 PM Subject: CUPS printing problem To: freebsd-questions@freebsd.org I am having a problem printing from CUPS. I did a fresh install on 6.2 release and cups-1.2.7. I am trying to configure for an HP1022. The install was successful, and I can manage the printer from the web interface. But, when I try to print a test page, the light on the printer starts flashing but nothing gets printed. The printer admin page shows the following: Description: HP1022 Location: office Make and Model: HP LaserJet Series PCL 4/5 CUPS v1.2 Printer State: idle, accepting jobs, published. Device URI: socket://10.0.1.222:9100 ID NameUserSizePages State Control State HP1022-1Test Page root18k Unknown stopped So, it appears that after I send the job the printer goes into Stopped state. I checked the logs, and there is something I don't understand. It says: cupsdAuthorize: No authentication data provided What does this mean? Where do you set authentication? Is this the cause of the problem, or a symptom of something else? The problem would be that you did not give the access to those users who wants to print in KDE you invoke system settings/printer manager and there you add the users. Choose the printer in question and click properties tab and on there would be box like , general, interface etc, scroll down to the bottom most there you will find users, once you choose those box you will see change on properties box Click change and choose allowed users and add that user in question. This may resolve this issue Best regards Dak Log files attached. Any help would be really appreciated! TIA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]