AIX Open Source

 View Only
  • 1.  SAMBA abnormally down

    Posted Tue January 19, 2021 09:40 PM
    Hi,

    Our samba server went down several time in a month, and I only go the following information from the smbd.log.
    Any one have idea on this? thanks!

    [2021/01/17 22:54:56.425110, 1] ../../source3/lib/messages.c:899(send_all_fn)
    send_all_fn: messaging_send_buf to 16384396 failed: NT_STATUS_OBJECT_NAME_NOT_FOUND
    [2021/01/18 00:09:56.428954, 1] ../../source3/lib/messages.c:899(send_all_fn)
    send_all_fn: messaging_send_buf to 20578598 failed: NT_STATUS_OBJECT_NAME_NOT_FOUND
    [2021/01/18 16:38:17.818774, 1] ../../source3/profile/profile_dummy.c:30(set_profile_level)
    INFO: Profiling support unavailable in this build.
    [2021/01/18 16:38:17.951603, 0] ../../lib/util/become_daemon.c:136(daemon_ready)
    daemon_ready: daemon 'smbd' finished starting up and ready to serve connections
    [2021/01/18 16:38:17.954390, 1] ../../source3/printing/printer_list.c:234(printer_list_get_last_refresh)
    Failed to fetch record!
    [2021/01/18 16:38:17.977986, 1] ../../source3/lib/messages.c:899(send_all_fn)
    send_all_fn: messaging_send_buf to 14746030 failed: NT_STATUS_OBJECT_NAME_NOT_FOUND
    [2021/01/18 16:38:17.978114, 1] ../../source3/lib/messages.c:899(send_all_fn)
    send_all_fn: messaging_send_buf to 18153788 failed: NT_STATUS_OBJECT_NAME_NOT_FOUND
    [2021/01/18 16:38:17.978198, 1] ../../source3/lib/messages.c:899(send_all_fn)
    send_all_fn: messaging_send_buf to 18153790 failed: NT_STATUS_OBJECT_NAME_NOT_FOUND

    =================
    The package i installed as following:

    samba-libs-4.10.13-2.ppc
    samba-winbind-clients-4.10.13-2.ppc
    samba-common-4.10.13-2.ppc
    samba-4.10.13-2.ppc
    samba-winbind-krb5-locator-4.10.13-2.ppc
    samba-pidl-4.10.13-2.ppc
    samba-devel-4.10.13-2.ppc
    samba-winbind-4.10.13-2.ppc
    samba-client-4.10.13-2.ppc
    samba-python-4.10.13-2.ppc
    samba-winbind-devel-4.10.13-2.ppc


    Regards,
    Ray

    ------------------------------
    ray lo
    ------------------------------


  • 2.  RE: SAMBA abnormally down

    Posted Wed January 20, 2021 02:12 AM
    Please share the smb.conf file and smbd.log file.
    These messages are not very critical , so there can be something else behind the abnormal shutdown.

    ------------------------------
    Ayappan P
    ------------------------------



  • 3.  RE: SAMBA abnormally down

    Posted Wed January 20, 2021 02:35 AM
      |   view attached
    Hi Ayappan,


    smb.conf :
    -----------------------------------------------
    [global]

    workgroup = WORKGROUP

    server string = Application Server

    security = user
    encrypt passwords = yes
    smb passwd file = /etc/samba/smbpasswd

    hosts allow = 127. 172.16.xx.xx 172.16.xx.xx 10.109.xx.xx 10.109.64.xx
    smb ports = 139 445

    log file = /var/adm/logs/%m.log
    log level = 1

    max log size = 5000

    dns proxy = no

    server signing = auto


    #============================ Share Definitions ==============================

    [faxdata]
    path = /appsdata/faxdata
    valid users = faxuser
    public = no
    writable = yes
    printable = no
    create mode = 0764
    directory mode = 0764
    write list = faxuser

    [faxlogs]
    path = /appsdata/faxlogs
    valid users = faxuser
    public = no
    writable = yes
    printable = no
    create mode = 0764
    directory mode = 0764
    write list = faxuser

    [ppsdata]
    path = /appsdata/ppsdata
    valid users = ppsuser
    public = no
    writable = yes
    printable = no
    create mode = 0764
    directory mode = 0764

    --------------------------------

    and the log attached.

    Regards,
    Ray

    ------------------------------
    ray lo
    ------------------------------

    Attachment(s)

    log
    smbd.log   33 KB 1 version


  • 4.  RE: SAMBA abnormally down

    Posted Wed January 20, 2021 03:50 AM
    Going through the log file, it looks like printer settings is the likely cause for these messages.
    Add "load printers = no" in the global section of smb.conf and reload samba " smbcontrol all reload-config".
    Check if you are still getting these messages and abnormal shutdown still persists.

    ------------------------------
    Ayappan P
    ------------------------------



  • 5.  RE: SAMBA abnormally down

    Posted Thu January 21, 2021 03:34 AM
    Dear Ayappan,

    Thanks, let me try it first.

    Regards,

    ------------------------------
    ray lo
    ------------------------------