SLPReg error msg: "Printer foo" failed with status -20!

Andreas Radke andreas.radke at freenet.de
Sat Mar 27 07:00:10 PDT 2010


I'm running a server with ArchLinux with one laser printer connected
and cups-pdf installed. I can access the printers well from all client
expect one machine running Ubuntu.

I'm getting constantly cups error.log entries:

SLPReg of "CUPS-PDF" failed with status -20!

Any idea what the reason is? I only found this link:
http://www.openslp.org/doc/html/ProgrammersGuide/SLPError.html

SLP_NETWORK_INIT_FAILED 	-20 	
If the network cannot initialize properly, this error is returned. 
Will also be returned if an SA or DA agent (slpd) can not be contacted. See SLPReg() and
SLPDeReg() for more information.

Should I concern about it?

debug2 level output:

I [27/Mar/2010:14:46:04 +0100] Full reload complete.
I [27/Mar/2010:14:46:04 +0100] Cleaning out old temporary files in "/var/spool/cups/tmp"...
d [27/Mar/2010:14:46:04 +0100] cupsdCreateProfile(job_id=0) = NULL
d [27/Mar/2010:14:46:04 +0100] cupsdStartListening: 4 Listeners
I [27/Mar/2010:14:46:04 +0100] Listening to ::1:631 on fd 6...
I [27/Mar/2010:14:46:04 +0100] Listening to 127.0.0.1:631 on fd 7...
I [27/Mar/2010:14:46:04 +0100] Listening to 192.168.0.90:631 on fd 8...
I [27/Mar/2010:14:46:04 +0100] Listening to /var/run/cups/cups.sock on fd 9...
d [27/Mar/2010:14:46:04 +0100] cupsdSetEnv: CUPS_SERVER=/var/run/cups/cups.sock
d [27/Mar/2010:14:46:04 +0100] cupsdSetEnv: CUPS_ENCRYPTION=IfRequested
d [27/Mar/2010:14:46:04 +0100] cupsdSetEnv: IPP_PORT=631
I [27/Mar/2010:14:46:04 +0100] Resuming new connection processing...
d [27/Mar/2010:14:46:04 +0100] cupsdResumeListening: Setting input bits...
d [27/Mar/2010:14:46:04 +0100] cupsdAddSelect(fd=6, read_cb=0x7fb09e9a7da0, write_cb=(nil), data=0x7fb0a0ba1240)
d [27/Mar/2010:14:46:04 +0100] cupsdAddSelect(fd=7, read_cb=0x7fb09e9a7da0, write_cb=(nil), data=0x7fb0a0ba13e0)
d [27/Mar/2010:14:46:04 +0100] cupsdAddSelect(fd=8, read_cb=0x7fb09e9a7da0, write_cb=(nil), data=0x7fb0a0ba14f0)
d [27/Mar/2010:14:46:04 +0100] cupsdAddSelect(fd=9, read_cb=0x7fb09e9a7da0, write_cb=(nil), data=0x7fb0a0ba1010)
d [27/Mar/2010:14:46:04 +0100] cupsdAddSelect(fd=10, read_cb=0x7fb09e9b57e0, write_cb=(nil), data=(nil))
I [27/Mar/2010:14:46:04 +0100] Unknown SMBConfigFile scheme!
D [27/Mar/2010:14:46:04 +0100] cupsdRegisterPrinter(p=0x7fb0a0bf2940(CUPS-PDF))
D [27/Mar/2010:14:46:04 +0100] cupsdRegisterPrinter(p=0x7fb0a0bea2c0(Lexmark_Lexmark_Optra_E312))
d [27/Mar/2010:14:46:04 +0100] cupsdAddSelect(fd=11, read_cb=0x7fb09e9a5090, write_cb=(nil), data=(nil))
d [27/Mar/2010:14:46:04 +0100] cupsdAddCert: Adding certificate for PID 0
d [27/Mar/2010:14:46:04 +0100] cupsdAddCert: NumSystemGroups=2
d [27/Mar/2010:14:46:04 +0100] cupsdAddEvent(event=server-started, dest=(nil)(), job=(nil)(0), text="Scheduler started in foreground.", ...)
D [27/Mar/2010:14:46:04 +0100] Discarding unused server-started event...
d [27/Mar/2010:14:46:04 +0100] cupsdCheckJobs: 0 active jobs, sleeping=0, reload=0
d [27/Mar/2010:14:46:05 +0100] cupsdFindBest: uri = "/printers/CUPS-PDF"...
d [27/Mar/2010:14:46:05 +0100] cupsdFindBest: Location CUPS_INTERNAL_BROWSE_ACL Limit 0
d [27/Mar/2010:14:46:05 +0100] cupsdFindBest: Location /admin/conf Limit 7f
d [27/Mar/2010:14:46:05 +0100] cupsdFindBest: Location /admin Limit 7f
d [27/Mar/2010:14:46:05 +0100] cupsdFindBest: Location / Limit 7f
d [27/Mar/2010:14:46:05 +0100] cupsdFindBest: best = /
d [27/Mar/2010:14:46:05 +0100] cupsdFindPolicyOp(p=0x7fb0a0bde680, op=2(Print-Job))
d [27/Mar/2010:14:46:05 +0100] cupsdFindPolicyOp: Found wildcard match...
d [27/Mar/2010:14:46:05 +0100] cupsdSendBrowseList: (162 bytes) 80f04e 3 ipp://server64.home:631/printers/CUPS-PDF "Virtual PDF Printer" "Virtual PDF Printer" "Generic CUPS-PDF Printer" job-sheets=none,none lease-duration=300

D [27/Mar/2010:14:46:05 +0100] send_slp_browse(0x7fb0a0bf2940 = "CUPS-PDF")
d [27/Mar/2010:14:46:05 +0100] Service URL = "service:printer:ipp://server64.home:631/printers/CUPS-PDF"
d [27/Mar/2010:14:46:05 +0100] Attributes = "(printer-uri-supported=ipp://server64.home:631/printers/CUPS-PDF),(uri-authentication-supported=requesting-user-name>),(uri-security-supported=tls>),(printer-name=CUPS-PDF),(printer-location=Virtual PDF Printer),(printer-info=Virtual PDF Printer),(printer-more-info=ipp://server64.home:631/printers/CUPS-PDF),(printer-make-and-model=Generic CUPS-PDF Printer),(printer-type=8450124),(charset-supported=utf-8),(natural-language-configured=de),(natural-language-supported=de,en,es,fr,it),(color-supported=true),(finishings-supported=none),(sides-supported=one-sided),(multiple-document-jobs-supported=true)(ipp-versions-supported=1.0,1.1)"
E [27/Mar/2010:14:46:05 +0100] SLPReg of "CUPS-PDF" failed with status
-20! D [27/Mar/2010:14:46:05 +0100] Report: clients=0
D [27/Mar/2010:14:46:05 +0100] Report: jobs=52
D [27/Mar/2010:14:46:05 +0100] Report: jobs-active=0
D [27/Mar/2010:14:46:05 +0100] Report: printers=2
D [27/Mar/2010:14:46:05 +0100] Report: printers-implicit=0
D [27/Mar/2010:14:46:05 +0100] Report: stringpool-string-count=546
D [27/Mar/2010:14:46:05 +0100] Report: stringpool-alloc-bytes=8360
D [27/Mar/2010:14:46:05 +0100] Report: stringpool-total-bytes=12344
d [27/Mar/2010:14:46:05 +0100] select_timeout(0): 1 seconds to update
SLP browsing d [27/Mar/2010:14:46:05 +0100] update_cups_browse: (162
bytes from 192.168.0.90) 80f04e 3
ipp://server64.home:631/printers/CUPS-PDF "Virtual PDF Printer"
"Virtual PDF Printer" "Generic CUPS-PDF Printer" job-sheets=none,none
lease-duration=300

d [27/Mar/2010:14:46:06 +0100] cupsdFindBest: uri = "/printers/Lexmark_Lexmark_Optra_E312"...
d [27/Mar/2010:14:46:06 +0100] cupsdFindBest: Location CUPS_INTERNAL_BROWSE_ACL Limit 0
d [27/Mar/2010:14:46:06 +0100] cupsdFindBest: Location /admin/conf Limit 7f
d [27/Mar/2010:14:46:06 +0100] cupsdFindBest: Location /admin Limit 7f
d [27/Mar/2010:14:46:06 +0100] cupsdFindBest: Location / Limit 7f
d [27/Mar/2010:14:46:06 +0100] cupsdFindBest: best = /
d [27/Mar/2010:14:46:06 +0100] cupsdFindPolicyOp(p=0x7fb0a0bde680, op=2(Print-Job))
d [27/Mar/2010:14:46:06 +0100] cupsdFindPolicyOp: Found wildcard match...
d [27/Mar/2010:14:46:06 +0100] cupsdSendBrowseList: (210 bytes) 823016 3 ipp://server64.home:631/printers/Lexmark_Lexmark_Optra_E312 "Local Printer" "Lexmark  Lexmark Optra E312" "Lexmark Optra E312 Foomatic/Postscript (recommended)" job-sheets=none,none lease-duration=300

D [27/Mar/2010:14:46:06 +0100] send_slp_browse(0x7fb0a0bea2c0 = "Lexmark_Lexmark_Optra_E312")
d [27/Mar/2010:14:46:06 +0100] Service URL = "service:printer:ipp://server64.home:631/printers/Lexmark_Lexmark_Optra_E312"
d [27/Mar/2010:14:46:06 +0100] Attributes = "(printer-uri-supported=ipp://server64.home:631/printers/Lexmark_Lexmark_Optra_E312),(uri-authentication-supported=requesting-user-name>),(uri-security-supported=tls>),(printer-name=Lexmark_Lexmark_Optra_E312),(printer-location=Local Printer),(printer-info=Lexmark  Lexmark Optra E312),(printer-more-info=ipp://server64.home:631/printers/Lexmark_Lexmark_Optra_E312),(printer-make-and-model=Lexmark Optra E312 Foomatic/Postscript (recommended\)),(printer-type=8400916),(charset-supported=utf-8),(natural-language-configured=de),(natural-language-supported=de,en,es,fr,it),(color-supported=false),(finishings-supported=none),(sides-supported=one-sided,two-sided-long-edge,two-sided-short-edge),(multiple-document-jobs-supported=true)(ipp-versions-supported=1.0,1.1)"
E [27/Mar/2010:14:46:06 +0100] SLPReg of "Lexmark_Lexmark_Optra_E312" failed with status -20!
d [27/Mar/2010:14:46:06 +0100] select_timeout(0): 1 seconds to update SLP browsing
d [27/Mar/2010:14:46:06 +0100] update_cups_browse: (210 bytes from
192.168.0.90) 823016 3
ipp://server64.home:631/printers/Lexmark_Lexmark_Optra_E312 "Local
Printer" "Lexmark  Lexmark Optra E312" "Lexmark Optra E312
Foomatic/Postscript (recommended)" job-sheets=none,none
lease-duration=300


-Andy




More information about the cups mailing list