AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only

samba unable to lock file smbpasswd. Error was A system call received an interrupt

  • 1.  samba unable to lock file smbpasswd. Error was A system call received an interrupt

    Posted Fri May 12, 2023 04:53 AM

    In my samba environment, the smbpasswd file is from a NFS location that is shared to multiple servers and i am seeing the below message in the log.smbd and users are not able to access the shares. A reboot of the samba server also did not help. 

    Has anyone ran across this issue and any leads are appreciated. 

    [2023/05/11 10:34:43.298058,  0] ../source3/passdb/pdb_smbpasswd.c:111(do_file_lock)

      do_file_lock: failed to lock file.

    [2023/05/11 10:34:43.298664,  0] ../source3/passdb/pdb_smbpasswd.c:265(startsmbfilepwent)

      startsmbfilepwent_internal: unable to lock file /var/samba/private/smbpasswd. Error was A system call received an interrupt.



    ------------------------------
    Prathap Nelaballi
    ------------------------------