ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dolgov OV <dov@media-link.info>
To: community@altlinux.ru
Subject: [Comm] Самба принтер (срочно надо помощь :-\)
Date: Tue, 3 May 2005 10:28:48 +0300
Message-ID: <20050503102848.4bf0e23f@localhost.localdomain> (raw)

[-- Attachment #1: Type: text/plain, Size: 3009 bytes --]

Здравствуйте.

Не могу понять, что происходит %-(
Внезапно начала ломаться печать из VMware (WinXP) на локальный принтер, расшареный по самбе (дистр ALC-2.3).

На 12-й консоли неудачная попытка печати сопровождается:

smbd[6066]: [2005/05/03 10:04:47, 0] tdb/tdbutil.c:tdb_log(724)
smbd[6066]:   tdb(/var/cache/samba/printing/ML1250.tdb): rec_free_read bad magic 0x626d732f at offset=28688

При этом прога в винде виснет намертво (не отвечает) и приходится ее варварски убивать.

Локально все печатается без проблем. В самбе принтер виден. И раньше то печатал без перебоев. Вроде никаких пакетов не ставил :-\

Натолкните на мысль, плз., куда копать?

$ smbclient -L localhost
Password:

        Sharename      Type      Comment
        ---------      ----      -------
        myshare        Disk      Shared Folders
        print2pdf      Printer
        IPC$           IPC       IPC Service (Samba server on localhost (v. 3.0.1-ALT/3.0))
        ADMIN$         IPC       IPC Service (Samba server on localhost (v. 3.0.1-ALT/3.0))
        ML1250         Printer

        Server               Comment
        ---------            -------
        LOCALHOST            Samba server on localhost (v. 3.0.1-ALT/3.0)
        VMWARE

        Workgroup            Master
        ---------            -------
        WORKGROUP            LOCALHOST


$ testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[printers]"
Processing section "[myshare]"
Processing section "[print2pdf]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

# Global parameters
[global]
        dos charset = CP866
        unix charset = CP1251
        display charset = CP1251
        server string = Samba server on %h (v. %v)
        interfaces = 172.16.75.1/24
        security = SHARE
        guest account = into
        log file = /var/log/samba/log.%m
        max log size = 50
        name resolve order = wins lmhosts bcast
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        dns proxy = No
        hosts allow = 172.16.75., 192.168.2., 127.
        use sendfile = Yes
        printing = cups

[printers]
        comment = All Printers
        path = /var/spool/samba
        create mask = 0777
        guest ok = Yes
        printable = Yes
        print command = lpr-cups -P %p -o raw %s -r   # using client side printer drivers.
        lpq command = lpq -P %p
        lprm command = cancel %p-%j
        browseable = No

[myshare]
        comment = Shared Folders
        path = /mnt/D/
        read only = No
        create mask = 0777
        guest ok = Yes

[print2pdf]
        path = /tmp
        guest ok = Yes
        printable = Yes
        print command = /usr/local/bin/printpdf %s
        lpq command =
        lprm command =


-- 
С наилучшими,
Олег Долгов
<dov AT media-link DOT info>
Registered Linux user #315454

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2005-05-03  7:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-03  7:28 Dolgov OV [this message]
2005-05-03 13:23 ` Dolgov OV
2005-05-04 22:37   ` [Comm] яЮЛАЮ ОПХМРЕП (ЯПНВМН МЮДН ОНЛНЫЭ :-\) Arsen_Kirillov
2005-05-05  6:43     ` Dolgov OV
2005-05-05  8:01       ` Dolgov OV

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=20050503102848.4bf0e23f@localhost.localdomain \
    --to=dov@media-link.info \
    --cc=community@altlinux.ru \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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