подскажите пожалуйста, что нетак делаю с настройкой принтсервера?
через cups web добавляю принтер raw, принтер появляется в локальной сети. при попытке печати ошибка недоступности пинт сервера "The print server is down. Check the print server."
Очередь загружается в cups, появлется в разделе jobs в статуе processing. и больше ничего не происходит.
на данный момент логи приведены с разных компьютеров, тоесть samba стоит на одном, cups на другом. но эффект одинаковый если перетащить принтер на комп к самбе.
принтер canon lbp 2900, подсоединен к usb. usb драйверы вкомпилены в ядро, компьютер реагирует на включение выключение принтера
Код: Выделить всё
ulpt0: at uhub0 port 1 (addr 2) disconnected
ulpt0: detached
ulpt0: <Canon Canon CAPT USB Device, class 0/0, rev 2.00/1.00, addr 2> on uhub0
ulpt0: using bi-directional mode
ulpt0: offline
uname -a
Код: Выделить всё
FreeBSD gw.domain.local 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #2: Sat Feb 21 16:33:04 UTC 2009 root@gw.domain.local:/usr/obj/usr/src/sys/gateway i386
Код: Выделить всё
[global]
# Server configuration parameters
netbios name = GSL
wins support = yes
workgroup = SHTPL
server string = server
encrypt passwords = yes
security = user
map to guest = bad user
guest account = fff
load printers = yes
printing = CUPS
printcap = CUPS
cups server = 192.168.22.200:631
[printers]
use client driver = yes
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = yes
writable = no
printable = yes
public = yes
Код: Выделить всё
listen 192.168.22.200:631
LogLevel debug
# только то что добовил, остальное как поставлялось
Код: Выделить всё
D [22/Feb/2009:09:53:57 +0000] cupsdAcceptClient: 8 from 192.168.22.1:631 (IPv4)
D [22/Feb/2009:09:53:57 +0000] cupsdReadClient: 8 POST /printers/bonoo HTTP/1.1
D [22/Feb/2009:09:53:57 +0000] cupsdAuthorize: No authentication data provided.
D [22/Feb/2009:09:53:57 +0000] Print-Job ipp://localhost/printers/bonoo
D [22/Feb/2009:09:53:57 +0000] [Job ???] Auto-typing file...
I [22/Feb/2009:09:53:57 +0000] [Job ???] Request file type is application/octet-stream.
D [22/Feb/2009:09:53:57 +0000] add_job: requesting-user-name="efbid"
D [22/Feb/2009:09:53:57 +0000] Adding default job-sheets values "none,none"...
I [22/Feb/2009:09:53:57 +0000] [Job 4] Adding start banner page "none".
D [22/Feb/2009:09:53:57 +0000] Discarding unused job-created event...
I [22/Feb/2009:09:53:57 +0000] [Job 4] Adding end banner page "none".
I [22/Feb/2009:09:53:57 +0000] [Job 4] File of type application/octet-stream queued by "efbid".
D [22/Feb/2009:09:53:57 +0000] [Job 4] hold_until=0
I [22/Feb/2009:09:53:57 +0000] [Job 4] Queued on "bonoo" by "efbid".
D [22/Feb/2009:09:53:57 +0000] [Job 4] Sending job to queue tagged as raw...
D [22/Feb/2009:09:53:57 +0000] Discarding unused printer-state-changed event...
D [22/Feb/2009:09:53:57 +0000] [Job 4] job-sheets=none,none
D [22/Feb/2009:09:53:57 +0000] [Job 4] banner_page = 0
D [22/Feb/2009:09:53:57 +0000] [Job 4] argv[0]="bonoo"
D [22/Feb/2009:09:53:57 +0000] [Job 4] argv[1]="4"
D [22/Feb/2009:09:53:57 +0000] [Job 4] argv[2]="efbid"
D [22/Feb/2009:09:53:57 +0000] [Job 4] argv[3]="smbprn.00000004 CUPS-SAMBA: <D0><BF><D1><80><D0><BE><D1><81><D1><82><D0><B5><D0><B9><D1><88><D0><B8><D0><B9>
<D0><BF><D1><80><D0><B8><D0><BD>..."
D [22/Feb/2009:09:53:57 +0000] [Job 4] argv[4]="1"
D [22/Feb/2009:09:53:57 +0000] [Job 4] argv[5]="job-uuid=urn:uuid:357ae99e-efc3-355a-6e38-edf10bcf6880"
D [22/Feb/2009:09:53:57 +0000] [Job 4] argv[6]="/var/spool/cups/d00004-001"
D [22/Feb/2009:09:53:57 +0000] [Job 4] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [22/Feb/2009:09:53:57 +0000] [Job 4] envp[1]="CUPS_DATADIR=/usr/local/share/cups"
D [22/Feb/2009:09:53:57 +0000] [Job 4] envp[2]="CUPS_DOCROOT=/usr/local/share/doc/cups"
D [22/Feb/2009:09:53:57 +0000] [Job 4] envp[3]="CUPS_FONTPATH=/usr/local/share/cups/fonts"
D [22/Feb/2009:09:53:57 +0000] [Job 4] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [22/Feb/2009:09:53:57 +0000] [Job 4] envp[5]="CUPS_SERVERBIN=/usr/local/libexec/cups"
D [22/Feb/2009:09:53:57 +0000] [Job 4] envp[6]="CUPS_SERVERROOT=/usr/local/etc/cups"
D [22/Feb/2009:09:53:57 +0000] [Job 4] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [22/Feb/2009:09:53:57 +0000] [Job 4] envp[8]="PATH=/usr/local/libexec/cups/filter:/usr/local/bin:/usr/local/sbin:/bin:/usr/bin"
D [22/Feb/2009:09:53:57 +0000] [Job 4] envp[9]="SERVER_ADMIN=root@cellar.domain.local"
D [22/Feb/2009:09:53:57 +0000] [Job 4] envp[10]="SOFTWARE=CUPS/1.3.9"
D [22/Feb/2009:09:53:57 +0000] [Job 4] envp[11]="TMPDIR=/var/spool/cups/tmp"
D [22/Feb/2009:09:53:57 +0000] [Job 4] envp[12]="USER=root"
D [22/Feb/2009:09:53:57 +0000] [Job 4] envp[13]="CUPS_SERVER=/var/run/cups.sock"
D [22/Feb/2009:09:53:57 +0000] [Job 4] envp[14]="CUPS_ENCRYPTION=IfRequested"
D [22/Feb/2009:09:53:57 +0000] [Job 4] envp[15]="IPP_PORT=631"
D [22/Feb/2009:09:53:57 +0000] [Job 4] envp[16]="CHARSET=utf-8"
D [22/Feb/2009:09:53:57 +0000] [Job 4] envp[17]="LANG=en.UTF8"
D [22/Feb/2009:09:53:57 +0000] [Job 4] envp[18]="PPD=/usr/local/etc/cups/ppd/bonoo.ppd"
D [22/Feb/2009:09:53:57 +0000] [Job 4] envp[19]="RIP_MAX_CACHE=8m"
D [22/Feb/2009:09:53:57 +0000] [Job 4] envp[20]="CONTENT_TYPE=application/octet-stream"
D [22/Feb/2009:09:53:57 +0000] [Job 4] envp[21]="DEVICE_URI=usb:/dev/ulpt0"
D [22/Feb/2009:09:53:57 +0000] [Job 4] envp[22]="PRINTER=bonoo"
I [22/Feb/2009:09:53:57 +0000] [Job 4] Started backend /usr/local/libexec/cups/backend/usb (PID 1016)
D [22/Feb/2009:09:53:57 +0000] Discarding unused job-state-changed event...
D [22/Feb/2009:09:53:57 +0000] cupsdProcessIPPRequest: 8 status_code=0 (successful-ok)
D [22/Feb/2009:09:53:57 +0000] cupsdCloseClient: 8
D [22/Feb/2009:09:53:57 +0000] Discarding unused printer-state-changed event...
D [22/Feb/2009:09:53:57 +0000] cupsdAcceptClient: 8 from 192.168.22.1:631 (IPv4)
D [22/Feb/2009:09:53:57 +0000] cupsdReadClient: 8 POST / HTTP/1.1
D [22/Feb/2009:09:53:57 +0000] cupsdAuthorize: No authentication data provided.
D [22/Feb/2009:09:53:57 +0000] Get-Printer-Attributes ipp://192.168.22.200:631/printers/bonoo
D [22/Feb/2009:09:53:57 +0000] cupsdProcessIPPRequest: 8 status_code=0 (successful-ok)
D [22/Feb/2009:09:53:57 +0000] Discarding unused job-progress event...
D [22/Feb/2009:09:53:57 +0000] [Job 4] backendRunLoop(print_fd=5, device_fd=6, use_bc=0, side_cb=0x804a260)
D [22/Feb/2009:09:53:57 +0000] [Job 4] Read 8192 bytes of print data...
D [22/Feb/2009:09:53:57 +0000] Discarding unused printer-state-changed event...
D [22/Feb/2009:09:53:57 +0000] cupsdCloseClient: 8
D [22/Feb/2009:09:53:57 +0000] cupsdAcceptClient: 8 from 192.168.22.1:631 (IPv4)
D [22/Feb/2009:09:53:57 +0000] cupsdReadClient: 8 POST / HTTP/1.1
D [22/Feb/2009:09:53:57 +0000] cupsdAuthorize: No authentication data provided.
D [22/Feb/2009:09:53:57 +0000] Get-Printer-Attributes ipp://192.168.22.200:631/printers/bonoo
D [22/Feb/2009:09:53:57 +0000] cupsdProcessIPPRequest: 8 status_code=0 (successful-ok)
D [22/Feb/2009:09:53:57 +0000] cupsdCloseClient: 8
D [22/Feb/2009:09:53:57 +0000] cupsdAcceptClient: 8 from 192.168.22.1:631 (IPv4)
D [22/Feb/2009:09:53:57 +0000] cupsdReadClient: 8 POST / HTTP/1.1
D [22/Feb/2009:09:53:57 +0000] cupsdAuthorize: No authentication data provided.
D [22/Feb/2009:09:53:57 +0000] Get-Printer-Attributes ipp://192.168.22.200:631/printers/bonoo
D [22/Feb/2009:09:53:57 +0000] cupsdProcessIPPRequest: 8 status_code=0 (successful-ok)
D [22/Feb/2009:09:53:57 +0000] cupsdCloseClient: 8
D [22/Feb/2009:09:53:57 +0000] cupsdAcceptClient: 8 from 192.168.22.1:631 (IPv4)
D [22/Feb/2009:09:53:57 +0000] cupsdReadClient: 8 POST / HTTP/1.1
D [22/Feb/2009:09:53:57 +0000] cupsdAuthorize: No authentication data provided.
D [22/Feb/2009:09:53:57 +0000] Get-Printer-Attributes ipp://192.168.22.200:631/printers/bonoo
D [22/Feb/2009:09:53:57 +0000] cupsdProcessIPPRequest: 8 status_code=0 (successful-ok)
D [22/Feb/2009:09:53:57 +0000] cupsdCloseClient: 8
Код: Выделить всё
Domain=[SHTPL] OS=[Unix] Server=[Samba 3.0.34]
Sharename Type Comment
--------- ---- -------
data Disk Data Drive
pack Disk
IPC$ IPC IPC Service (just test server)
bonoo Printer
сечас в очереди так и стоит:
Код: Выделить всё
bonoo-4 smbprn.00000004 CUPS-SAMBA: простейший прин... efbid 2318k 1 processing since Sun Feb 22 09:53:57 2009