Missing Arguments when Using ACCSNMP

Blake rhitchco at ece.utk.edu
Wed Apr 30 10:49:57 PDT 2008


I am setting up a print server at work, and everything is working correctly as far as that goes. However, I want to use accsnmp to keep track of users' page counts. I have used accsnmp in the past with no problems, but since installing the version of cups that came with Ubuntu Hardy Heron (Cups 1.3.7), I have not been able to get it to work. I have gone through the cups error_log, and my best guess is that there is a problem with passing the arguments to the script.

>From error_log:

argv[0]="edoras"
argv[1]="48"
argv[2]="root"
argv[3]="Test Page"
argv[4]="1"
argv[5]="job-uuid=urn:uuid:2d6396f8-469e-30ce-7469-cd6df8e67849"
argv[6]="/var/spool/cups/d00048-001"

However, argv[6] is not being passed to the backend accsnmp for some reason. All of the file permissions seem to be correct. If anyone has any insight on this, I would greatly appreciate the help.

Oh, my device URI is accsnmp://socket://printer:9100. If I do just socket://printer:9100, everything works fine.




More information about the cups mailing list