>>>>> On Thu, 28 Feb 2019 11:25:48 +0100, Andrea Venturoli said: > > On 2/20/19 5:23 PM, Andrea Venturoli wrote: > > Hello. > > > > I've got such a NAS where I've been running bacula-sd 7.4.0 (self > > compiled from sources) for years. > > > > Now I'm trying to upgrade to 9.2.2 (same Director, same SD config file, > > same compilation procedure). > > The daemon starts, but Director cannot connect. > > Setting debug to 1000 I see (as soon as I issue "status storage"): > > > >> backup-xxxxxx-sd: bnet_server.c:184-0 Accept=-1 errno=38 > >> backup-xxxxxx-sd: bnet_server.c:184-0 Accept=-1 errno=38 > >> backup-xxxxxx-sd: bnet_server.c:184-0 Accept=-1 errno=38 > >> backup-xxxxxx-sd: bnet_server.c:184-0 Accept=-1 errno=38 > >> backup-xxxxxx-sd: bnet_server.c:184-0 Accept=-1 errno=38 > >> backup-xxxxxx-sd: bnet_server.c:184-0 Accept=-1 errno=38 > >> backup-xxxxxx-sd: bnet_server.c:184-0 Accept=-1 errno=38 > >> backup-xxxxxx-sd: bnet_server.c:184-0 Accept=-1 errno=38 > >> backup-xxxxxx-sd: bnet_server.c:184-0 Accept=-1 errno=38 > > > ... (and so on in a loop)... > > > > On a similar NAS (just a little newer), everything works fine. > > > > Any hint on this? > > For the record: > _ I tried upgrading to 9.4.2, but I got the same error; > _ I solved this by changing "baccept" to "accept" (as it was in 7.x) in > bnet_server.c.
That suggests the function accept4 was defined at compile time by fails with errno=38 (ENOSYS) at run time. __Martin _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users