hi,

i continue without succes. More information bellow.

On Wed, Jan 10, 2007 at 01:24:53PM +0100, Nicolas Costes wrote:
> 
> Le mercredi 10 janvier 2007 12:25, Christian Pinedo Zamalloa a écrit :
> 
> > I installed the new version and after configuring the backend doesn't
> > work :(. But it's not the only problem because i don't get jasmine to
> > log something to /var/log/messages or /var/log/cups/error.log or any
> > other log. I remenber that i had to change the perl script in order to
> > get to log and until now i don't remember how i changed it.
> 
> Have you tried to set $Want_Sys_Syslog to 1 at the beginning of the 
> script ?
> 
> my $Want_Sys_Syslog=1;

Yes this is set. Also i have a debug mode of two and i have set up well
the python and pgpkcounter paths. These are my only modifications to
jasmine perl file.

> If so, you will be able to "tail -f /var/log/syslog" to get info from 
> jasmine.

The syslog configuration for FreeBSD is diffirent of the classical for
Linux distributions, by default there is no /var/log/syslog file. I
attach the FreeBSD's syslog.conf file if it's there the problem but I
have done a recursive search of the keyword jasmine in the /var/log
directory and jasmine backend logs nothing.

I also set up a /var/log/all.log file where is logged all "*.*" but no
notice about jasmine logs.

> > (/usr/local/libexec/cups/backend/jasmine) stopped with status 13!
> > I [10/Jan/2007:12:11:42 +0100] [Job 23] Backend returned status 13
> > (unknown)
> 
> This is a Cups error code... I gonna look to find out what it means.
> 
> > I [10/Jan/2007:12:11:42 +0100] Hint: Try setting the LogLevel to
> > "debug" to find out more.
> 
> Try to set LogLevel to "debug" in /etc/cups/cupsd.conf

Yes i have done and i attach you a large log but i think it's not
interesting.

> 
> > I [10/Jan/2007:12:16:38 +0100] Denying user "nobody" access to printer
> > "Lexmark"
> 
> Hey ! It seems that you are printing as user "nobody" and Cups doesn't 
> like this ;-) ! Try with another user, maybe ?
> 

Resolved.

> > I will try the next days (when i have more time) to remember how i
> > have to modify script to log well.
> 
> That would be great, because I know nothing about *bsd, and I don't have 
> one to make tests...
> 

My knowledge about FreeBSD also is very limited, I only now intall it
and intall ports the basic in order to have a intranet server. Untill
the weekend i won't be able of doing more probes because i'm very busy
at work. I'll try if i log something without syslog option. 

Cheers,

-- 
Christian Pinedo Zamalloa


-- Attached file included as plaintext by Listar --

# $FreeBSD: src/etc/syslog.conf,v 1.26.6.2 2005/03/16 13:39:59 glebius Exp $
#
#       Spaces ARE valid field separators in this file. However,
#       other *nix-like systems still insist on using tabs as field
#       separators. If you are sharing this file between systems, you
#       may want to use only tabs as field separators here.
#       Consult the syslog.conf(5) manpage.
*.err;kern.warning;auth.notice;mail.crit                /dev/console
*.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err   
/var/log/messages
security.*                                      /var/log/security
auth.info;authpriv.info                         /var/log/auth.log
mail.info                                       /var/log/maillog
lpr.info                                        /var/log/lpd-errs
ftp.info                                        /var/log/xferlog
cron.*                                          /var/log/cron
*.=debug                                        /var/log/debug.log
*.emerg                                         *
# uncomment this to log all writes to /dev/console to /var/log/console.log
#console.info                                   /var/log/console.log
# uncomment this to enable logging of all log messages to /var/log/all.log
# touch /var/log/all.log and chmod it to mode 600 before it will work
*.*                                             /var/log/all.log
# uncomment this to enable logging to a remote loghost named loghost
#*.*                                            @loghost
# uncomment these if you're running inn
# news.crit                                     /var/log/news/news.crit
# news.err                                      /var/log/news/news.err
# news.notice                                   /var/log/news/news.notice
!startslip
*.*                                             /var/log/slip.log
!ppp
*.*                                             /var/log/ppp.log


-- Attached file included as plaintext by Listar --

D [11/Jan/2007:12:36:01 +0100] cupsdAcceptClient: 11 from localhost:631 (IPv6)
D [11/Jan/2007:12:36:01 +0100] cupsdReadClient: 11 POST / HTTP/1.1
D [11/Jan/2007:12:36:01 +0100] cupsdAuthorize: No authentication data provided.
D [11/Jan/2007:12:36:01 +0100] Get-Jobs ipp://localhost/printers/Lexmark
D [11/Jan/2007:12:36:01 +0100] Loading attributes for job 23...
D [11/Jan/2007:12:36:01 +0100] Loading attributes for job 27...
D [11/Jan/2007:12:36:01 +0100] Loading attributes for job 28...
D [11/Jan/2007:12:36:01 +0100] Loading attributes for job 29...
D [11/Jan/2007:12:36:01 +0100] cupsdProcessIPPRequest: 11 status_code=0 
(successful-ok)
D [11/Jan/2007:12:36:01 +0100] cupsdReadClient: 11 POST / HTTP/1.1
D [11/Jan/2007:12:36:01 +0100] cupsdAuthorize: No authentication data provided.
D [11/Jan/2007:12:36:01 +0100] Get-Printer-Attributes 
ipp://localhost/printers/Lexmark
D [11/Jan/2007:12:36:01 +0100] cupsdProcessIPPRequest: 11 status_code=0 
(successful-ok)
D [11/Jan/2007:12:36:01 +0100] cupsdCloseClient: 11
D [11/Jan/2007:12:36:01 +0100] cupsdAcceptClient: 11 from localhost:631 (IPv6)
D [11/Jan/2007:12:36:01 +0100] cupsdReadClient: 11 POST /printers/Lexmark 
HTTP/1.1
D [11/Jan/2007:12:36:01 +0100] cupsdAuthorize: No authentication data provided.
D [11/Jan/2007:12:36:01 +0100] Print-Job ipp://localhost/printers/Lexmark
D [11/Jan/2007:12:36:01 +0100] print_job: auto-typing file...
D [11/Jan/2007:12:36:01 +0100] print_job: request file type is 
application/postscript.
D [11/Jan/2007:12:36:01 +0100] add_job: requesting-user-name="i2tpizac"
D [11/Jan/2007:12:36:01 +0100] Adding default job-sheets values "none,none"...
I [11/Jan/2007:12:36:01 +0100] Adding start banner page "none" to job 30.
D [11/Jan/2007:12:36:01 +0100] Discarding unused job-created event...
I [11/Jan/2007:12:36:01 +0100] Adding end banner page "none" to job 30.
I [11/Jan/2007:12:36:01 +0100] Job 30 queued on "Lexmark" by "i2tpizac".
D [11/Jan/2007:12:36:01 +0100] Job 30 hold_until = 0
D [11/Jan/2007:12:36:01 +0100] Discarding unused printer-state-changed event...
D [11/Jan/2007:12:36:01 +0100] job-sheets=none,none
D [11/Jan/2007:12:36:01 +0100] banner_page = 0
D [11/Jan/2007:12:36:01 +0100] [Job 30] argv[0]="Lexmark"
D [11/Jan/2007:12:36:01 +0100] [Job 30] argv[1]="30"
D [11/Jan/2007:12:36:01 +0100] [Job 30] argv[2]="i2tpizac"
D [11/Jan/2007:12:36:01 +0100] [Job 30] argv[3]="smbprn.00002079 Remote 
Downlevel Document _bash_aliases"
D [11/Jan/2007:12:36:01 +0100] [Job 30] argv[4]="1"
D [11/Jan/2007:12:36:01 +0100] [Job 30] 
argv[5]="job-uuid=urn:uuid:fe042b4d-2da9-3035-7c0e-2ad1a83f724c"
D [11/Jan/2007:12:36:01 +0100] [Job 30] argv[6]="/var/spool/cups/d00030-001"
D [11/Jan/2007:12:36:01 +0100] [Job 30] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [11/Jan/2007:12:36:01 +0100] [Job 30] 
envp[1]="CUPS_DATADIR=/usr/local/share/cups"
D [11/Jan/2007:12:36:01 +0100] [Job 30] 
envp[2]="CUPS_DOCROOT=/usr/local/share/doc/cups"
D [11/Jan/2007:12:36:01 +0100] [Job 30] 
envp[3]="CUPS_FONTPATH=/usr/local/share/cups/fonts"
D [11/Jan/2007:12:36:01 +0100] [Job 30] 
envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [11/Jan/2007:12:36:01 +0100] [Job 30] 
envp[5]="CUPS_SERVERBIN=/usr/local/libexec/cups"
D [11/Jan/2007:12:36:01 +0100] [Job 30] 
envp[6]="CUPS_SERVERROOT=/usr/local/etc/cups"
D [11/Jan/2007:12:36:01 +0100] [Job 30] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [11/Jan/2007:12:36:01 +0100] [Job 30] 
envp[8]="PATH=/usr/local/libexec/cups/filter:/usr/local/bin:/usr/local/sbin:/bin:/usr/bin"
D [11/Jan/2007:12:36:01 +0100] [Job 30] envp[9]="[EMAIL PROTECTED]"
D [11/Jan/2007:12:36:01 +0100] [Job 30] envp[10]="SOFTWARE=CUPS/1.2.7"
D [11/Jan/2007:12:36:01 +0100] [Job 30] envp[11]="TMPDIR=/var/spool/cups/tmp"
D [11/Jan/2007:12:36:01 +0100] [Job 30] envp[12]="USER=root"
D [11/Jan/2007:12:36:01 +0100] [Job 30] envp[13]="CUPS_SERVER=localhost"
D [11/Jan/2007:12:36:01 +0100] [Job 30] envp[14]="CUPS_ENCRYPTION=IfRequested"
D [11/Jan/2007:12:36:01 +0100] [Job 30] envp[15]="IPP_PORT=631"
D [11/Jan/2007:12:36:01 +0100] [Job 30] envp[16]="CHARSET=utf-8"
D [11/Jan/2007:12:36:01 +0100] [Job 30] envp[17]="LANG=en_US"
D [11/Jan/2007:12:36:01 +0100] [Job 30] 
envp[18]="PPD=/usr/local/etc/cups/ppd/Lexmark.ppd"
D [11/Jan/2007:12:36:01 +0100] [Job 30] envp[19]="RIP_MAX_CACHE=8m"
D [11/Jan/2007:12:36:01 +0100] [Job 30] 
envp[20]="CONTENT_TYPE=application/postscript"
D [11/Jan/2007:12:36:01 +0100] [Job 30] 
envp[21]="DEVICE_URI=jasmine:lpd://bipt171.bi.ehu.es"
D [11/Jan/2007:12:36:01 +0100] [Job 30] envp[22]="PRINTER=Lexmark"
D [11/Jan/2007:12:36:01 +0100] [Job 30] 
envp[23]="FINAL_CONTENT_TYPE=application/vnd.cups-postscript"
I [11/Jan/2007:12:36:01 +0100] Started filter 
/usr/local/libexec/cups/filter/pstops (PID 15919) for job 30.
I [11/Jan/2007:12:36:01 +0100] Started backend 
/usr/local/libexec/cups/backend/jasmine (PID 15920) for job 30.
D [11/Jan/2007:12:36:01 +0100] Discarding unused job-state event...
D [11/Jan/2007:12:36:01 +0100] cupsdProcessIPPRequest: 11 status_code=0 
(successful-ok)
E [11/Jan/2007:12:36:01 +0100] PID 15920 
(/usr/local/libexec/cups/backend/jasmine) stopped with status 13!
D [11/Jan/2007:12:36:01 +0100] [Job 30] 
/usr/local/libexec/cups/backend/jasmine: Permission denied
D [11/Jan/2007:12:36:01 +0100] cupsdCloseClient: 11
D [11/Jan/2007:12:36:01 +0100] [Job 30] Page = 595x842; 10,13 to 588,829
D [11/Jan/2007:12:36:01 +0100] [Job 30] slow_collate=0, slow_duplex=0, 
slow_order=0
D [11/Jan/2007:12:36:01 +0100] [Job 30] Skipping PJL header...
D [11/Jan/2007:12:36:01 +0100] [Job 30] Before copy_comments - %!PS-Adobe-3.0
D [11/Jan/2007:12:36:01 +0100] [Job 30] %!PS-Adobe-3.0
D [11/Jan/2007:12:36:01 +0100] [Job 30] %%Creator: texttops/CUPS v1.2.7
D [11/Jan/2007:12:36:01 +0100] [Job 30] %%CreationDate: jue 11 ene 2007 
12:36:02 CET
D [11/Jan/2007:12:36:01 +0100] [Job 30] %%Title: (.bash_aliases)
D [11/Jan/2007:12:36:01 +0100] [Job 30] %%For: (zako)
D [11/Jan/2007:12:36:01 +0100] [Job 30] %%DocumentNeededResources: font 
Courier-Bold
D [11/Jan/2007:12:36:01 +0100] [Job 30] %%+ font Courier
D [11/Jan/2007:12:36:01 +0100] [Job 30] %%+ font Symbol
D [11/Jan/2007:12:36:01 +0100] [Job 30] %%DocumentSuppliedResources: procset 
texttops 1.1 0
D [11/Jan/2007:12:36:01 +0100] [Job 30] %%+ font Courier-Bold
D [11/Jan/2007:12:36:01 +0100] [Job 30] %%+ font Courier
D [11/Jan/2007:12:36:01 +0100] [Job 30] %%+ font Symbol
D [11/Jan/2007:12:36:01 +0100] [Job 30] %RBINumCopies: 1
D [11/Jan/2007:12:36:01 +0100] [Job 30] %%Pages: (atend)
D [11/Jan/2007:12:36:01 +0100] [Job 30] %%BoundingBox: (atend)
D [11/Jan/2007:12:36:01 +0100] [Job 30] %%EndComments
D [11/Jan/2007:12:36:01 +0100] [Job 30] Before copy_prolog - %%BeginProlog
D [11/Jan/2007:12:36:01 +0100] [Job 30] Before copy_setup - %%BeginSetup
D [11/Jan/2007:12:36:01 +0100] [Job 30] Before page loop - %%Page: 1 1
D [11/Jan/2007:12:36:01 +0100] [Job 30] Copying page 1...
D [11/Jan/2007:12:36:01 +0100] Discarding unused job-progress event...
D [11/Jan/2007:12:36:01 +0100] [Job 30] pagew = 578.0, pagel = 816.0
D [11/Jan/2007:12:36:01 +0100] [Job 30] bboxw = 595, bboxl = 842
D [11/Jan/2007:12:36:01 +0100] [Job 30] PageLeft = 10.0, PageRight = 588.0
D [11/Jan/2007:12:36:01 +0100] [Job 30] PageTop = 829.0, PageBottom = 13.0
D [11/Jan/2007:12:36:01 +0100] [Job 30] PageWidth = 595.0, PageLength = 842.0
D [11/Jan/2007:12:36:01 +0100] [Job 30] Wrote 1 pages...
D [11/Jan/2007:12:36:01 +0100] PID 15919 
(/usr/local/libexec/cups/filter/pstops) exited with no errors.
D [11/Jan/2007:12:36:01 +0100] [Job 30] File 0 is complete.
I [11/Jan/2007:12:36:01 +0100] [Job 30] Backend returned status 13 (unknown)
D [11/Jan/2007:12:36:01 +0100] Discarding unused printer-state-changed event...
D [11/Jan/2007:12:36:01 +0100] Discarding unused printer-state-changed event...
I [11/Jan/2007:12:36:01 +0100] Saving printers.conf...
D [11/Jan/2007:12:36:01 +0100] Discarding unused job-stopped event...
D [11/Jan/2007:12:36:02 +0100] Unloading job 30...




-- 
Put JASmine in your Cups !

To unsubscribe :
  mailto:[EMAIL PROTECTED]
List archives :
  http://dir.gmane.org/gmane.comp.printing.jasmine.user
  http://www.mail-archive.com/jasmine%40ml.free.fr/
Web site :
  http://jasmine.berlios.de/



Reply via email to