ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Самба принтер (срочно надо помощь :-\)
@ 2005-05-03  7:28 Dolgov OV
  2005-05-03 13:23 ` Dolgov OV
  0 siblings, 1 reply; 5+ messages in thread
From: Dolgov OV @ 2005-05-03  7:28 UTC (permalink / raw)
  To: community

[-- 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 --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-05-05  8:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-03  7:28 [Comm] Самба принтер (срочно надо помощь :-\) Dolgov OV
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

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