[Samba] fam error

Willy Offermans Willy at rompen.nl
Fri Feb 23 16:11:48 GMT 2007


Hello James and samba friends,

Since Sep 2006 I got the following error again and again:

<snip>
...
Feb 23 16:46:17 sun smbd[35310]: [2007/02/23 16:46:17, 0] smbd/notify_fam.c:fam_check_reconnect(136)
Feb 23 16:46:17 sun smbd[35310]:   failed to connect to FAM service
Feb 23 16:46:21 sun smbd[35310]: [2007/02/23 16:46:21, 0] smbd/notify_fam.c:fam_check_reconnect(136)
Feb 23 16:46:21 sun smbd[35310]:   failed to connect to FAM service
Feb 23 16:46:22 sun smbd[35310]: [2007/02/23 16:46:22, 0] smbd/notify_fam.c:fam_check_reconnect(136)
Feb 23 16:46:22 sun smbd[35310]:   failed to connect to FAM service
Feb 23 16:46:44 sun smbd[35310]: [2007/02/23 16:46:44, 0] smbd/notify_fam.c:fam_check_reconnect(136)
Feb 23 16:46:44 sun smbd[35310]:   failed to connect to FAM service
Feb 23 16:46:46 sun smbd[35310]: [2007/02/23 16:46:46, 0] smbd/notify_fam.c:fam_check_reconnect(136)
Feb 23 16:46:46 sun smbd[35310]:   failed to connect to FAM service
Feb 23 16:46:59 sun smbd[35310]: [2007/02/23 16:46:59, 0] smbd/notify_fam.c:fam_check_reconnect(136)
Feb 23 16:46:59 sun smbd[35310]:   failed to connect to FAM service
Feb 23 16:47:12 sun smbd[35310]: [2007/02/23 16:47:12, 0] smbd/notify_fam.c:fam_check_reconnect(136)
Feb 23 16:47:12 sun smbd[35310]:   failed to connect to FAM service
Feb 23 16:47:15 sun smbd[35310]: [2007/02/23 16:47:15, 0] smbd/notify_fam.c:fam_check_reconnect(136)
Feb 23 16:47:15 sun smbd[35310]:   failed to connect to FAM service
Feb 23 16:47:16 sun smbd[35310]: [2007/02/23 16:47:16, 0] smbd/notify_fam.c:fam_check_reconnect(136)
Feb 23 16:47:16 sun smbd[35310]:   failed to connect to FAM service
Feb 23 16:47:20 sun smbd[35310]: [2007/02/23 16:47:20, 0] smbd/notify_fam.c:fam_check_reconnect(136)
Feb 23 16:47:20 sun smbd[35310]:   failed to connect to FAM service
Feb 23 16:47:23 sun smbd[35310]: [2007/02/23 16:47:23, 0] smbd/notify_fam.c:fam_check_reconnect(136)
Feb 23 16:47:23 sun smbd[35310]:   failed to connect to FAM service
Feb 23 16:47:43 sun smbd[35310]: [2007/02/23 16:47:43, 0] smbd/notify_fam.c:fam_check_reconnect(136)
Feb 23 16:47:43 sun smbd[35310]:   failed to connect to FAM service
Feb 23 16:48:34 sun smbd[35310]: [2007/02/23 16:48:34, 0] smbd/notify_fam.c:fam_check_reconnect(136)
Feb 23 16:48:34 sun smbd[35310]:   failed to connect to FAM service
Feb 23 16:48:38 sun smbd[35310]: [2007/02/23 16:48:38, 0] smbd/notify_fam.c:fam_check_reconnect(136)
Feb 23 16:48:38 sun smbd[35310]:   failed to connect to FAM service
Feb 23 16:48:41 sun smbd[35310]: [2007/02/23 16:48:41, 0] smbd/notify_fam.c:fam_check_reconnect(136)
Feb 23 16:48:41 sun smbd[35310]:   failed to connect to FAM service
...
</snip>

I have reported this already a long time ago. Nothing happened since
then.

Currently I'm running Samba version 3.0.24 on FreeBSD 6.1.

Does anybody have a clue how to solve this issue?

On Sat, Sep 09, 2006 at 11:20:21PM +1000, James Peach wrote:
> On 09/09/06, Willy Offermans <W.K.Offermans at tue.nl> wrote:
> >On Mon, Sep 04, 2006 at 10:27:35PM +1000, James Peach wrote:
> >> On 04/09/06, Willy Offermans <Willy at offermans.rompen.nl> wrote:
> >> >Dear Samba Friends,
> >> >
> >> >I got the following error again and again:
> >> >
> >> ><snip>
> >> >.....
> >> >Sep  4 10:58:18 sun smbd[94479]: [2006/09/04 10:58:18, 0]
> >> >smbd/notify_fam.c:fam_check_reconnect(136)
> >> >Sep  4 10:58:18 sun smbd[94479]:   failed to connect to FAM service
> >> >Sep  4 10:58:23 sun smbd[94479]: [2006/09/04 10:58:23, 0]
> >> >smbd/notify_fam.c:fam_check_reconnect(136)
> >> >Sep  4 10:58:23 sun smbd[94479]:   failed to connect to FAM service
> >> >Sep  4 10:58:24 sun smbd[94479]: [2006/09/04 10:58:24, 0]
> >> >smbd/notify_fam.c:fam_check_reconnect(136)
> >> >Sep  4 10:58:24 sun smbd[94479]:   failed to connect to FAM service
> >> >Sep  4 10:58:25 sun smbd[94479]: [2006/09/04 10:58:25, 0]
> >> >smbd/notify_fam.c:fam_check_reconnect(136)
> >> >Sep  4 10:58:25 sun smbd[94479]:   failed to connect to FAM service
> >> >Sep  4 10:58:25 sun smbd[94479]: [2006/09/04 10:58:25, 0]
> >> >smbd/notify_fam.c:fam_check_reconnect(136)
> >> >Sep  4 10:58:25 sun smbd[94479]:   failed to connect to FAM service
> >> >Sep  4 11:23:22 sun smbd[94479]: [2006/09/04 11:23:22, 0]
> >> >smbd/notify_fam.c:fam_check_reconnect(136)
> >> >Sep  4 11:23:22 sun smbd[94479]:   failed to connect to FAM service
> >> >.....
> >> ></snip>
> >> >
> >> >I'm using samba-3.0.23b,1 on FreeBSD 6.1
> >>
> >> I've only ever tested the FAM support on IRIX. smbd will automatically
> >> attempt to use FAM if it appears to be available, but it shouldn't
> >>
> >> >I did not specify anything with respect to fam in my
> >> >/usr/local/etc/smb.conf file.
> >> >
> >> >I have only noticed that a new directory has been created in /tmp/
> >> >
> >> >drwx------  2 root  wheel  512 Sep  4 08:45 /tmp/fam-root/
> >> >
> >> >This directory is empty and updated once and a while. I mean the
> >> >directory is recreated at a later time. Attributes and owner do not
> >> >change.
> >> >
> >> >In the clients log files I find the following:
> >> >
> >> ><snip>
> >> >....
> >> >[2006/09/04 11:36:41, 0] smbd/notify_fam.c:fam_check_reconnect(136)
> >> >  failed to connect to FAM service
> >> >  Socket directory /tmp/fam-root has different owner
> >> >  Failed to remove unsafe path /tmp/fam-root
> >> >...
> >> ></snip>
> >> >
> >> >It seems that the client tries to access /tmp/fam-root but has not the
> >> >right user priviliges.
> >> >
> >> >Can someone help me out and explain what is going on? How can I solve
> >> >the problem?
> >>
> >> You can disable FAM support by setting "fam change notify = no" in
> >> smb.conf. This
> >> will get rid of the messages, but obviously you won't get FAM support.
> >> I'd have to dig
> >> into the FAM implementation on FreeBSD to be more helpful, and I won't
> >> be able to
> >> do that for a couple of weeks.
> >>
> >> --
> >> James Peach | jorgar at gmail.com
> >
> >Well, since the error message is only annoying and __not__ critical at
> >the moment, I will just be patient then.
> 
> Yes, FAM can be disabled without losing any functionality. It is merely a
> performance optimisation.
> 
> >I do not know how fam is
> >implemented into samba and if calling the fam function in FreeBSD needs
> >special considerations. I expected that the samba developer, responsible
> >for the fam implementation, would have a look. I do not know if I reach
> >that person via this mailing list.
> 
> Yes, that's me. I just don't have the facility to do anything about this for
> couple of weeks.
> 
> -- 
> James Peach | jorgar at gmail.com
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba

-- 
Met vriendelijke groeten,
With kind regards,
Mit freundlichen Gruessen,
De jrus wah,

Willy

*************************************
W.K. Offermans
Home:   +31 45 544 49 44
Mobile: +31 653 27 16 23
e-mail: Willy at Offermans.Rompen.nl

                                       Powered by ....

                                            (__)
                                         \\\'',)
                                           \/  \ ^
                                           .\._/_)

                                       www.FreeBSD.org


More information about the samba mailing list