You could check if nc can bind it:

nc -l ...ip.address... 10243

That gives the "Cannot assign requested address" error for me if the ip
address is not local.

Also, if selinux is enabled then maybe that is blocking it?

__Martin



>>>>> On Mon, 2 Dec 2019 17:02:19 +0000 (GMT), Mac  said:
> 
> Hi Martin 
> 
> Thank you for your reply
> 
> It is setup to use an ip address 
> 
> I have Webmin running on this vm and those ports are working as expected 
> 
> Everything else seems to be working as expected websites ,mail etc.
> 
> Kind Regards
> Brad
> 
> ----- Original Message -----
> step 3.: "Martin Simmons" <mar...@lispworks.com>
> To: "Mac" <m...@eduki2.co.uk>
> Cc: bacula-users@lists.sourceforge.net
> Sent: Monday, 2 December, 2019 4:38:11 PM
> Subject: Re: [Bacula-users] Sudden error on Bacula client 7.4.4
> 
> If it works with the ip address hardwired to localhost, then I strongly
> suspect some misconfiguration of the ip address (or name lookup if you
> configured it as a name).
> 
> The segv is caused by the "Cannot bind port" error so I don't think the
> btrackback will be useful afterall.
> 
> __Martin
> 
> 
>>>>> On Mon, 2 Dec 2019 14:24:55 +0000 (GMT), Mac  said:
> > 
> > Hi Martin 
> > 
> > Thank you for your help.
> > 
> > Yes the error is shown when the service is started independently of the vm
> > 
> > Replacing the hardwired ip with localhost -  allows the service to start 
> > without error.
> > 
> > This is the content of the .traceback file 
> > 
> > *********
> > 
> > /usr/sbin/btraceback: 60: /usr/sbin/btraceback: gdb: not found
> > 
> > 
> > *********
> > 
> > The btrackback file is present in  /usr/sbin/
> > 
> > 
> > Kind Regards
> > Brad
> > 
> > ----- Original Message -----
> > step 3.: "Martin Simmons" <mar...@lispworks.com>
> > To: "Mac" <m...@eduki2.co.uk>
> > Cc: bacula-users@lists.sourceforge.net
> > Sent: Monday, 2 December, 2019 1:17:42 PM
> > Subject: Re: [Bacula-users] Sudden error on Bacula client 7.4.4
> > 
> > Does it fail with the "Cannot bind port 9102: ERR=Cannot assign requested
> > address" message if you start the bacula-fd.service manually when the vm is
> > running?
> > 
> > Try removing the hardwired ip address if you can to see if that makes a
> > difference.
> > 
> > Also, the look for "*.traceback" files in the bacula-fd's working directory.
> > They might give some clue about where the segmentation violation came from.
> > 
> > __Martin
> > 
> > 
>>>>> On Mon, 2 Dec 2019 12:49:48 +0000 (GMT), Mac  said:
> > > 
> > > Hi Martin 
> > > 
> > > Thank you for your reply and suggestion.
> > > 
> > > Yes I do have the ip address hardwired  -  No it has not changed.
> > > 
> > > The vm configuration is also not unique and I have a few other vm all 
> > > configured the same way who's Bacula clients are all working as expected. 
> > > 
> > > Anything else I can look at? 
> > > 
> > > Kind Regards
> > > Brad
> > > 
> > > 
> > > ----- Original Message -----
> > > step 3.: "Martin Simmons" <mar...@lispworks.com>
> > > To: "Mac" <m...@eduki2.co.uk>
> > > Cc: bacula-users@lists.sourceforge.net
> > > Sent: Monday, 2 December, 2019 12:24:58 PM
> > > Subject: Re: [Bacula-users] Sudden error on Bacula client 7.4.4
> > > 
>>>>> On Mon, 2 Dec 2019 10:52:56 +0000 (GMT), Mac  said:
> > > > 
> > > > Hi there 
> > > > 
> > > > I have a client on a Debian 9 vm that has been working perfectly for 18 
> > > > months. 
> > > > 
> > > > I have just received an error on bconsole that the scheduled backup 
> > > > failed. 
> > > > 
> > > > I have done all the standard operations including full reboot of the 
> > > > vm. 
> > > > 
> > > > The Client come online after a restart for a short time showing this 
> > > > error (status) 
> > > > 
> > > > ************** 
> > > > 
> > > > Warning: Cannot bind port 9102: ERR=Cannot assign requested address: 
> > > > Retrying ... 
> > > 
> > > This error is:
> > > 
> > >        EADDRNOTAVAIL
> > >               A nonexistent interface was requested or the requested 
> > > address was not local.
> > > 
> > > Do you have the client's IP address hardwired in the bacula-fd.conf on 
> > > the vm?
> > > If so, is it the correct IP address (maybe the vm's IP address has 
> > > changed)?
> > > 
> > > __Martin
> > > 
> > 
> 


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to