Страница 1 из 1

Samba - отваливаются подключения

Добавлено: 2011-08-19 13:14:56
serge21
Добрый день всем!

Установлена
uname -a
FreeBSD router.tfb.lg.ua 7.4-STABLE FreeBSD 7.4-STABLE #0 r224610: Tue Aug 2 17:28:25 EEST 2011 serge@router.tfb.lg.ua:/usr/obj/usr/src/sys/PROXY_KERNEL i

и Самба 3.4.0 с такими настройками

Код: Выделить всё

router# cat /usr/local/etc/smb.conf
# Samba config file created using SWAT
# from UNKNOWN (192.168.0.205)
# Date: 2011/08/01 14:49:45

[global]
        dos charset = cp866
        unix charset = koi8-r
        workgroup = MSHOME
        server string = Kleviy Servak
        security = SHARE
        null passwords = Yes
        log level = 1
        log file = /var/log/sambalog
#       time server = Yes
#       wins support = Yes
#        deadtime=120
#       ldap ssl = no

[TFB]
#        path = /base
        path = /server_TFB
        read only = No
        create mask = 0777
        directory mask = 0777
        guest ok = Yes

[TEST_BASE]
        path = /base
        read only = No
        create mask = 0777
        directory mask = 0777
        guest ok = Yes


К самбашаре с базами аксесса коннектится MSACCESS 97 и отваливается каждые 2-5 минут, от количества машин не зависит. Клиенты на WINXP HOME/Prof/2003. Отваливается в простое

логи самбы
  • router# cat /var/log/sambalog
    [2011/08/19 13:05:06.828550, 0] printing/print_cups.c:109(cups_connect)
    Unable to connect to CUPS server localhost:631 - Operation timed out
    [2011/08/19 13:05:06.828939, 0] printing/print_cups.c:468(cups_async_callback)
    failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
    [2011/08/19 13:05:06.829199, 1] smbd/files.c:193(file_init)
    file_init: Information only: requested 16384 open files, 10873 are available.
    [2011/08/19 13:05:09.787788, 0] smbd/server.c:385(smbd_accept_connection)
    open_sockets_smbd: accept: Software caused connection abort
    [2011/08/19 13:05:09.793585, 1] smbd/service.c:1070(make_connection_snum)
    192.168.0.205 (192.168.0.205) connect to service TFB initially as user nobody (uid=65534, gid=65534) (pid 4896)
    [2011/08/19 13:09:51.864845, 0] printing/print_cups.c:109(cups_connect)
    Unable to connect to CUPS server localhost:631 - Operation timed out
    [2011/08/19 13:09:51.865116, 0] printing/print_cups.c:468(cups_async_callback)
    failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
    [2011/08/19 13:09:51.865262, 0] smbd/server.c:385(smbd_accept_connection)
    open_sockets_smbd: accept: Software caused connection abort
    [2011/08/19 13:09:51.865624, 0] smbd/server.c:385(smbd_accept_connection)
    open_sockets_smbd: accept: Software caused connection abort
    [2011/08/19 13:09:51.865695, 0] smbd/server.c:385(smbd_accept_connection)
    open_sockets_smbd: accept: Software caused connection abort
    [2011/08/19 13:09:51.866821, 0] smbd/server.c:281(remove_child_pid)
    Could not find child 4919 -- ignoring
    [2011/08/19 13:09:51.870561, 1] smbd/service.c:1070(make_connection_snum)
    192.168.0.205 (192.168.0.205) connect to service TFB initially as user nobody (uid=65534, gid=65534) (pid 4929)
    [2011/08/19 13:09:54.802053, 0] printing/print_cups.c:109(cups_connect)
    Unable to connect to CUPS server localhost:631 - Operation timed out
    [2011/08/19 13:09:54.802313, 0] printing/print_cups.c:468(cups_async_callback)
    failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
    [2011/08/19 13:09:54.803300, 1] smbd/service.c:1251(close_cnum)
    192.168.0.205 (192.168.0.205) closed connection to service TFB
    [2011/08/19 13:09:54.803959, 1] smbd/server.c:267(remove_child_pid)
    Scheduled cleanup of brl and lock database after unclean shutdown
    [2011/08/19 13:10:14.805448, 1] smbd/server.c:240(cleanup_timeout_fn)
    Cleaning up brl and lock database after unclean shutdown
Ранее вся эта кухня работала на 2003 сервере, могла быть часами неактивна и никогда не отваливалась

Как победить?

Re: Samba - отваливаются подключения

Добавлено: 2011-08-19 13:27:22
manefesto
пока с каким опциями собирал

Re: Samba - отваливаются подключения

Добавлено: 2011-08-19 13:34:27
serge21

Код: Выделить всё

                                                                           ??????????????????????????????????????????????????????????????????????
                                                                                    ?                    Options for samba34 3.4.14                      ?
                                                                                    ? ?????????????????????????????????????????????????????????????????? ?
                                                                                    ? ?  [X] LDAP         With LDAP support                            ? ?
                                                                                    ? ?  [ ] ADS          With Active Directory support                ? ?
                                                                                    ? ?  [X] CUPS         With CUPS printing support                   ? ?
                                                                                    ? ?  [ ] WINBIND      With WinBIND support                         ? ?
                                                                                    ? ?  [ ] SWAT         With SWAT WebGUI                             ? ?
                                                                                    ? ?  [X] ACL_SUPPORT  With ACL support                             ? ?
                                                                                    ? ?  [ ] AIO_SUPPORT  With Asyncronous IO support                  ? ?
                                                                                    ? ?  [ ] FAM_SUPPORT  With File Alteration Monitor                 ? ?
                                                                                    ? ?  [X] SYSLOG       With Syslog support                          ? ?
                                                                                    ? ?  [X] QUOTAS       With Disk quota support                      ? ?
                                                                                    ? ?  [ ] UTMP         With UTMP accounting support                 ? ?
                                                                                    ? ?  [X] PAM_SMBPASS  With PAM authentication vs passdb backends   ? ?
                                                                                    ? ?  [ ] DNSUPDATE    With dynamic DNS update(require ADS)         ? ?
                                                                                    ? ?  [ ] AVAHI        With Bonjour service discovery support       ? ?
                                                                                    ? ?  [ ] EXP_MODULES  With experimental modules                    ? ?
                                                                                    ?????????v(+)?????????????????????????????????????????????????????????
                                                                                    ?                       [  OK  ]       Cancel                        ?
                                                                                    ??????????????????????????????????????????????????????????????????????