ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Timur Batyrshin <batyrshin@ieml.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] 1C + Samba
Date: Mon, 05 Feb 2007 14:05:44 +0300
Message-ID: <45C70F88.7040205@ieml.ru> (raw)
In-Reply-To: <200611100306.12675.lav@altlinux.ru>

Vitaly Lipatov пишет:
>> Посоветуйте что почитать о настройке самбы для хранения на ней
>> много пользовательской базы 1С v8 ?
>> ALM2.4, samba-3.0.14a-alt1.M24.1
>> При доступе к базе более одного пользователя вылезает ошибка:
>> "Ошибка выполнения операции с информационной базой. Ошибка
>> открытия файла базы данных 1Cv8.1CD".
>> Права на базу и в конфиге самбы 0666 (0777 на диры), т.е. не в
>> них дело.
>> Нашёл на опеннете статью о 2й Самбе и 1с 7-ке, подёргал оплоки
>> и параметры sysctl как там сказано - не помогло..
> Думали в сторону того что пользователю, под которым работает 
> самба, не хватает лимитов на количество открытых файлов (nofile 
> в /etc/security/limits.conf) ?

Сейчас вообще какая-то мистика началась. Неделю работает, потом
перестаёт. Конфиги в течение этого времени не меняются.

$ cat /proc/sys/fs/file-nr
1601    34      209708

/etc/security/limits.conf:
*               soft    core    0
*               soft    nproc   128
*               hard    nproc   256
*               soft    nofile  65536
*               hard    nofile  131072
@root           soft    nproc   256

/etc/pam.d/samba:
#%PAM-1.0
auth     include        system-auth
account  include        system-auth
password required       pam_deny.so
session  include        system-auth
session  required       pam_limits.so




  parent reply	other threads:[~2007-02-05 11:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-09 13:33 Timur Batyrshin
2006-11-10  0:06 ` Vitaly Lipatov
2006-11-10  8:35   ` Timur Batyrshin
2006-11-10  9:22   ` Alexander Yereschenko
2006-11-10  9:46     ` Timur Batyrshin
2006-11-10  9:50     ` Timur Batyrshin
2006-11-10 10:35   ` [Sysadmins] [faq] " Michael Shigorin
2007-02-05 11:05   ` Timur Batyrshin [this message]
2007-02-07 16:03     ` [Sysadmins] " Timur Batyrshin

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=45C70F88.7040205@ieml.ru \
    --to=batyrshin@ieml.ru \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

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

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


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