Re: [Bacula-users] Restore client problems
Connection refused indicates that you can't even get a TCP connection to the FD. You can actually verify that with telnet. On the server, type: telnet arabella-100.example.com 9102 The list of possible reasons for this is fairly short: - The FD isn't running. Use netstat -ltunp to confirm that it is running and listening on port 9102, and on the correct ethernet interface. - A firewall blocks access to the FD. - The new machine isn't properly set up on the network (use ping to confirm that it works). That's pretty much it. John Kennedy wrote: We had a Bacula client machine die recently. I have reinstalled the machine with Debian - Lenny. I installed the bacula-client package from the Lenny repos. Our Bacula server is running version 2.2.6. I have edited /etc/bacula/bacula.conf (on the client) to have: FDAddress = IP of Bacula server but when trying to restore the Server connection is getting the following: 09-Jun 11:52 ceres-dir JobId 8555: Warning: bsock.c:123 Could not connect to Client: arabella-fd on arabella-100.example.com:9102. ERR=Connection refused (all one line and example.com is not the real domain) I am new to Bacula and can not find anything about setting up the client that makes any sense to me... Thanks, John The information in this message is intended solely for the addressee and should be considered confidential. Publishing Technology does not accept legal responsibility for the contents of this message and any statements contained herein which do not relate to the official business of Publishing Technology are neither given nor endorsed by Publishing Technology and are those of the individual and not of Publishing Technology. This message has been scanned for viruses using the most current and reliable tools available and Publishing Technology excludes all liability related to any viruses that might exist in any attachment or which may have been acquired in transit. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restore client problems
Jean, Please forgive my ignorance, I have a bacula-fd.conf file but no dir or sd conf files in /etc/bacula. In bacula-fd.conf there is no Listen directive. Here is the (sanitized) bacula-fd.conf file without comments: Director { Name = server-dir Password = password from server } Director { Name = server-mon Password = password from server Monitor = yes } Name = client-fd WorkingDirectory = /var/lib/bacula Pid Directory = /var/run/bacula Maximum Concurrent Jobs = 20 Password = password from server FDAddress = IP of client } Messages { Name = Standard director = server-dir = all, !skipped, !restored } I have also tried using the client info in place of the server info. Thanks, John Jean Gobin wrote: By default on Debian, Bacula listens only onlocalhost (127.0.0.1). Suppress the Listen directives on dir and sd. J. Jean F. Gobin, CCENT, CCNA Network Engineer Tel: 212.542.3175 Mobile: 917.213.3532 Fax: 212.981.6545 32 Avenue of the Americas, 4th Floor, New York, NY 10013 jgobin(at)strozfriedberg.com www.strozfriedberg.com S T R O Z F R I E D B E R G This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No right to confidential or privileged treatment of this message is waived or lost by any error in transmission. If you have received this message in error, please immediately notify the sender by e-mail or by telephone, delete the message and all copies from your system and destroy any hard copies. You must not, directly or indirectly, use, disclose, distribute, print or copy any part of this message if you are not the intended recipient. -Original Message- From: John Kennedy [mailto:john.kenn...@publishingtechnology.com] Sent: Tuesday, June 09, 2009 7:16 AM To: Bacula Users Subject: [Bacula-users] Restore client problems We had a Bacula client machine die recently. I have reinstalled the machine with Debian - Lenny. I installed the bacula-client package from the Lenny repos. Our Bacula server is running version 2.2.6. I have edited /etc/bacula/bacula.conf (on the client) to have: FDAddress = IP of Bacula server but when trying to restore the Server connection is getting the following: 09-Jun 11:52 ceres-dir JobId 8555: Warning: bsock.c:123 Could not connect to Client: arabella-fd on arabella-100.example.com:9102. ERR=Connection refused (all one line and example.com is not the real domain) I am new to Bacula and can not find anything about setting up the client that makes any sense to me... Thanks, John The information in this message is intended solely for the addressee and should be considered confidential. Publishing Technology does not accept legal responsibility for the contents of this message and any statements contained herein which do not relate to the official business of Publishing Technology are neither given nor endorsed by Publishing Technology and are those of the individual and not of Publishing Technology. This message has been scanned for viruses using the most current and reliable tools available and Publishing Technology excludes all liability related to any viruses that might exist in any attachment or which may have been acquired in transit. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users The information in this message is intended solely for the addressee and should be considered confidential. Publishing Technology does not accept legal responsibility for the contents of this message and any statements contained herein which do not relate to the official business of Publishing Technology are neither given nor endorsed by Publishing Technology and are those of the individual and not of Publishing Technology. This message has been scanned for viruses using the most current and reliable tools available and Publishing Technology excludes all liability related to any viruses that might exist in any attachment or which may have been acquired in transit. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net
Re: [Bacula-users] Restore client problems
Kevin Keane wrote: Connection refused indicates that you can't even get a TCP connection to the FD. You can actually verify that with telnet. On the server, type: telnet arabella-100.example.com 9102 The list of possible reasons for this is fairly short: - The FD isn't running. Use netstat -ltunp to confirm that it is running and listening on port 9102, and on the correct ethernet interface. - A firewall blocks access to the FD. - The new machine isn't properly set up on the network (use ping to confirm that it works). That's pretty much it. John Kennedy wrote: We had a Bacula client machine die recently. I have reinstalled the machine with Debian - Lenny. I installed the bacula-client package from the Lenny repos. Our Bacula server is running version 2.2.6. I have edited /etc/bacula/bacula.conf (on the client) to have: FDAddress = IP of Bacula server but when trying to restore the Server connection is getting the following: 09-Jun 11:52 ceres-dir JobId 8555: Warning: bsock.c:123 Could not connect to Client: arabella-fd on arabella-100.example.com:9102. ERR=Connection refused (all one line and example.com is not the real domain) I am new to Bacula and can not find anything about setting up the client that makes any sense to me... Thanks, John The information in this message is intended solely for the addressee and should be considered confidential. Publishing Technology does not accept legal responsibility for the contents of this message and any statements contained herein which do not relate to the official business of Publishing Technology are neither given nor endorsed by Publishing Technology and are those of the individual and not of Publishing Technology. This message has been scanned for viruses using the most current and reliable tools available and Publishing Technology excludes all liability related to any viruses that might exist in any attachment or which may have been acquired in transit. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Client:/etc/bacula# netstat -ltunp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp0 0 0.0.0.0:20490.0.0.0:* LISTEN - tcp0 0 0.0.0.0:59242 0.0.0.0:* LISTEN 1737/rpc.statd tcp0 0 0.0.0.0:57807 0.0.0.0:* LISTEN 2042/rpc.mountd tcp0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1725/portmap tcp0 0 0.0.0.0:59253 0.0.0.0:* LISTEN - tcp0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1996/sshd tcp6 0 0 :::22 :::* LISTEN 1996/sshd udp0 0 0.0.0.0:20490.0.0.0:* - udp0 0 0.0.0.0:641 0.0.0.0:* 1737/rpc.statd udp0 0 0.0.0.0:51993 0.0.0.0:* 1737/rpc.statd udp0 0 0.0.0.0:42532 0.0.0.0:* 2042/rpc.mountd udp0 0 0.0.0.0:42688 0.0.0.0:* - udp0 0 0.0.0.0:111 0.0.0.0:* 1725/portmap Client:/etc/bacula# ps -ef | grep bacula root 2478 1 0 13:06 ?00:00:00 /usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf I can ping the server from the client. For some reason the client is running but not listening on port 9102. Any idea why that might be? Thanks, John The information in this message is intended solely for the addressee and should be considered confidential. Publishing Technology does not accept legal responsibility for the contents of this message and any statements contained herein which do not relate to the official business of Publishing Technology are neither given nor endorsed by Publishing Technology and are those of the individual and not of Publishing Technology. This message has been scanned for viruses using the most current and reliable tools available and Publishing Technology excludes all liability related to any viruses that might exist in any attachment or which may have been acquired in transit. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects
Re: [Bacula-users] Restore client problems
John Kennedy schrieb: Jean, Please forgive my ignorance, I have a bacula-fd.conf file but no dir or sd conf files in /etc/bacula. In bacula-fd.conf there is no Listen directive. Here is the (sanitized) bacula-fd.conf file without comments: Director { Name = server-dir Password = password from server } Director { Name = server-mon Password = password from server Monitor = yes } Name = client-fd WorkingDirectory = /var/lib/bacula Pid Directory = /var/run/bacula Maximum Concurrent Jobs = 20 Password = password from server FDAddress = IP of client } Messages { Name = Standard director = server-dir = all, !skipped, !restored } I have also tried using the client info in place of the server info. Thanks, John Jean Gobin wrote: By default on Debian, Bacula listens only onlocalhost (127.0.0.1). Suppress the Listen directives on dir and sd. J. Jean F. Gobin, CCENT, CCNA Network Engineer Tel: 212.542.3175 Mobile: 917.213.3532 Fax: 212.981.6545 32 Avenue of the Americas, 4th Floor, New York, NY 10013 jgobin(at)strozfriedberg.com www.strozfriedberg.com S T R O Z F R I E D B E R G This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No right to confidential or privileged treatment of this message is waived or lost by any error in transmission. If you have received this message in error, please immediately notify the sender by e-mail or by telephone, delete the message and all copies from your system and destroy any hard copies. You must not, directly or indirectly, use, disclose, distribute, print or copy any part of this message if you are not the intended recipient. -Original Message- From: John Kennedy [mailto:john.kenn...@publishingtechnology.com] Sent: Tuesday, June 09, 2009 7:16 AM To: Bacula Users Subject: [Bacula-users] Restore client problems We had a Bacula client machine die recently. I have reinstalled the machine with Debian - Lenny. I installed the bacula-client package from the Lenny repos. Our Bacula server is running version 2.2.6. I have edited /etc/bacula/bacula.conf (on the client) to have: FDAddress = IP of Bacula server but when trying to restore the Server connection is getting the following: 09-Jun 11:52 ceres-dir JobId 8555: Warning: bsock.c:123 Could not connect to Client: arabella-fd on arabella-100.example.com:9102. ERR=Connection refused (all one line and example.com is not the real domain) I am new to Bacula and can not find anything about setting up the client that makes any sense to me... Thanks, John The information in this message is intended solely for the addressee and should be considered confidential. Publishing Technology does not accept legal responsibility for the contents of this message and any statements contained herein which do not relate to the official business of Publishing Technology are neither given nor endorsed by Publishing Technology and are those of the individual and not of Publishing Technology. This message has been scanned for viruses using the most current and reliable tools available and Publishing Technology excludes all liability related to any viruses that might exist in any attachment or which may have been acquired in transit. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users The information in this message is intended solely for the addressee and should be considered confidential. Publishing Technology does not accept legal responsibility for the contents of this message and any statements contained herein which do not relate to the official business of Publishing Technology are neither given nor endorsed by Publishing Technology and are those of the individual and not of Publishing Technology. This message has been scanned for viruses using the most current and reliable tools available and Publishing Technology excludes all liability related to any viruses that might exist in any attachment or which may have been acquired in transit. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Bacula-users