[sisyphus] Samba+CUPS
Ivan Adzhubey
=?iso-8859-1?q?iadzhubey_=CE=C1_rics=2Ebwh=2Eharvard=2Eedu?=
Ср Окт 11 20:27:10 MSD 2006
Это у кого-нибудь работает? Мне пишет (при попытке что-либо распечатать с
клиента):
Oct 11 20:06:28 protein smbd[10301]: Unable to connect to CUPS
server /var/run/cups/cups.sock - Permission denied
...и еще много ругани.
# ls -l /var/run/cups/cups.sock
srwxrwx--- 1 root lp 0 2006-10-11 20:14 /var/run/cups/cups.sock
Если сделать
# chmod o+rwx /var/run/cups/cups.sock
То все равно не печатает:
Oct 11 20:21:03 protein smbd[10075]: [2006/10/11 20:21:03, 0]
tdb/tdbutil.c:tdb_log(783)
Oct 11 20:21:03 protein smbd[10075]:
tdb(/var/lib/samba/printing/RawPrinter.tdb): rec_read bad magic 0xd9fee666 at
offset=21344
Oct 11 20:21:03 protein smbd[10075]: [2006/10/11 20:21:03, 0]
tdb/tdbutil.c:tdb_log(783)
Oct 11 20:21:03 protein smbd[10075]:
tdb(/var/lib/samba/printing/RawPrinter.tdb): remove_from_freelist: not on
list at off=28628
Oct 11 20:21:03 protein smbd[10075]: [2006/10/11 20:21:03, 0]
tdb/tdbutil.c:tdb_log(783)
Oct 11 20:21:03 protein smbd[10075]:
tdb(/var/lib/samba/printing/RawPrinter.tdb): tdb_free: left free failed at
28628
Oct 11 20:21:04 protein smbd[10068]: [2006/10/11 20:21:04, 0]
lib/util_sock.c:get_peer_addr(1229)
Oct 11 20:21:04 protein smbd[10068]: getpeername failed. Error was Transport
endpoint is not connected
Oct 11 20:21:04 protein smbd[10767]: [2006/10/11 20:21:04, 0]
lib/util_sock.c:get_peer_addr(1229)
Oct 11 20:21:04 protein smbd[10767]: getpeername failed. Error was Transport
endpoint is not connected
Oct 11 20:21:04 protein smbd[10767]: [2006/10/11 20:21:04, 0]
lib/util_sock.c:read_data(534)
Oct 11 20:21:04 protein smbd[10767]: read_data: read failure for 4 bytes to
client 0.0.0.0. Error = Connection reset by peer
Oct 11 20:21:04 protein smbd[10068]: [2006/10/11 20:21:04, 0]
lib/util_sock.c:get_peer_addr(1229)
Oct 11 20:21:04 protein smbd[10068]: getpeername failed. Error was Transport
endpoint is not connected
Oct 11 20:21:04 protein smbd[10784]: [2006/10/11 20:21:04, 0]
lib/util_sock.c:get_peer_addr(1229)
Oct 11 20:21:04 protein smbd[10784]: getpeername failed. Error was Transport
endpoint is not connected
...и так далее.
--Иван
Подробная информация о списке рассылки Sisyphus