Ho appena installato la slackware 13.37 come samba e print server.
Ho installato CUPS e cups-pdf che in passato ho utilizzato, ma questa volta non funziona qualcosa in quello che faccio.
Ho fatto una stampa di prova e questo è quello che trovo in /var/log/cups-pdf_log
- Codice: Seleziona tutto
Mon Feb 6 01:52:00 2012 [DEBUG] switching to new gid (lp)
Mon Feb 6 01:52:00 2012 [DEBUG] initialization finished (v2.6.1)
Mon Feb 6 01:52:00 2012 [DEBUG] user identified (giulio)
Mon Feb 6 01:52:00 2012 [DEBUG] output directory name generated (/rete/raid1/dati/pdf)
Mon Feb 6 01:52:00 2012 [DEBUG] user information prepared
Mon Feb 6 01:52:00 2012 [DEBUG] spoolfile name created (/var/spool/cups-pdf/SPOOL/cups2pdf-21453)
Mon Feb 6 01:52:00 2012 [DEBUG] source stream ready
Mon Feb 6 01:52:00 2012 [DEBUG] destination stream ready (/var/spool/cups-pdf/SPOOL/cups2pdf-21453)
Mon Feb 6 01:52:00 2012 [DEBUG] owner set for spoolfile (/var/spool/cups-pdf/SPOOL/cups2pdf-21453)
Mon Feb 6 01:52:00 2012 [DEBUG] using traditional fgets
Mon Feb 6 01:52:00 2012 [DEBUG] found beginning of postscript code (%!PS-Adobe-3.0)
Mon Feb 6 01:52:00 2012 [DEBUG] now extracting postscript code
Mon Feb 6 01:52:00 2012 [DEBUG] found title in ps code ((Virtual_PDF_Printer - CUPS 1.4.6))
Mon Feb 6 01:52:00 2012 [DEBUG] found embedded (e)ps code (%!PS-AdobeFont-1.0: NimbusSanL-Regu 1.06)
Mon Feb 6 01:52:00 2012 [DEBUG] found embedded (e)ps code (%!PS-AdobeFont-1.0: NimbusSanL-Bold 1.06)
Mon Feb 6 01:52:01 2012 [DEBUG] found end of embedded (e)ps code (%%EOF)
Mon Feb 6 01:52:01 2012 [DEBUG] all data written to spoolfile (/var/spool/cups-pdf/SPOOL/cups2pdf-21453)
Mon Feb 6 01:52:01 2012 [DEBUG] trying to use PS title ((Virtual_PDF_Printer - CUPS 1.4.6))
Mon Feb 6 01:52:01 2012 [DEBUG] removing trailing newlines from title ((Virtual_PDF_Printer - CUPS 1.4.6))
Mon Feb 6 01:52:01 2012 [DEBUG] removing enclosing parentheses () from full title ((Virtual_PDF_Printer - CUPS 1.4.6))
Mon Feb 6 01:52:01 2012 [DEBUG] removing file name extension (.6)
Mon Feb 6 01:52:01 2012 [DEBUG] removing special characters from title (Virtual_PDF_Printer - CUPS 1.4)
Mon Feb 6 01:52:01 2012 [DEBUG] title successfully retrieved (Virtual_PDF_Printer_-_CUPS_1_4)
Mon Feb 6 01:52:01 2012 [DEBUG] input data read from stdin
Mon Feb 6 01:52:01 2012 [DEBUG] output filename created (/rete/raid1/dati/pdf/Virtual_PDF_Printer_-_CUPS_1_4.pdf)
Mon Feb 6 01:52:01 2012 [DEBUG] ghostscript commandline built (/usr/bin/gs -q -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="/rete/raid1/dati/pdf/Virtual_PDF_Printer_-_CUPS_1_4.pdf" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f /var/spool/cups-pdf/SPOOL/cups2pdf-21453)
Mon Feb 6 01:52:01 2012 [DEBUG] output file unlinked (/rete/raid1/dati/pdf/Virtual_PDF_Printer_-_CUPS_1_4.pdf)
Mon Feb 6 01:52:01 2012 [DEBUG] TMPDIR set for GhostScript (/var/tmp)
Mon Feb 6 01:52:01 2012 [DEBUG] waiting for child to exit
Mon Feb 6 01:52:01 2012 [DEBUG] entering child process
Mon Feb 6 01:52:01 2012 [DEBUG] GID set for current user
Mon Feb 6 01:52:01 2012 [DEBUG] supplementary groups set for current user
Mon Feb 6 01:52:01 2012 [DEBUG] UID set for current user (giulio)
Mon Feb 6 01:52:01 2012 [DEBUG] ghostscript has finished (32512)
Mon Feb 6 01:52:01 2012 [DEBUG] no postprocessing
Mon Feb 6 01:52:01 2012 [DEBUG] spoolfile unlinked (/var/spool/cups-pdf/SPOOL/cups2pdf-21453)
Mon Feb 6 01:52:01 2012 [DEBUG] all memory has been freed
Apparentemente tutto ok.
Ma in /var/log/messages trovo:
Feb 6 01:32:11 server kernel: [ 4350.039679] cups-pdf[21028]: segfault at 46 ip b76c4478 sp bfbe520c error 4 in libc-2.13.so[b7684000+15c000]
La stampa ovviamente non va a buon fine.
Qualcuno sa dirmi da dove devo cominciare a cercare?
Non riesco proprio a capire...
Grazie
Giulio

