ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Ivan Adzhubey <iadzhubey@rics.bwh.harvard.edu>
To: sisyphus@lists.altlinux.org
Subject: [sisyphus] Samba+CUPS
Date: Wed, 11 Oct 2006 20:27:10 +0400
Message-ID: <200610112027.10491.iadzhubey@rics.bwh.harvard.edu> (raw)

Это у кого-нибудь работает? Мне пишет (при попытке что-либо распечатать с 
клиента):

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

...и так далее.

--Иван


             reply	other threads:[~2006-10-11 16:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-11 16:27 Ivan Adzhubey [this message]
2006-10-13  6:45 ` Stanislav Ievlev
2006-10-13  6:47   ` Stanislav Ievlev
2006-10-13  7:04   ` Fr. Br. George
2006-10-13 12:10     ` Stanislav Ievlev
2006-10-13 13:23     ` Stanislav Ievlev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200610112027.10491.iadzhubey@rics.bwh.harvard.edu \
    --to=iadzhubey@rics.bwh.harvard.edu \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git