Re: [Bacula-users] Windows client refuses to connect
Thanks, Kern, Davide and Wanderlei. strangely enough the backup to the weekly pool seems to have run ok over the weekend. I’ll check if I can recover files from it and then see what happens to the daily run tonight. I’ll post back the results just for the sake of completeness. And yes, I know we need to update the server, Kern. It’s been on the list for a while, but as everything worked smoothly so far… Guess I need to push it up a bit. Thanks again, Korbinian > Am 30.04.2016 um 15:11 schrieb Kern Sibbald <k...@sibbald.com>: > > Hello, > > It is unlikely that a 5.2.10 client will work with a 5.0.2 Director/SD. You > should start by installing the 5.0.2 Client, or upgrade your server. Server > 5.0.2 is *very* old. > > Best regards, > Kern > > On 04/29/2016 03:30 PM, Korbinian Grote wrote: >> Hi everyone. >> >> I’ve run into a strange problem recently. >> We’ve had a bacula client running on a Windows 2008 Server machine without >> any >> problems whatsoever for a few years. All of a sudden it has stopped working >> telling me >> that the authorization fails. >> >> I did check the passwords back and forth, set them to simpler ones, checked >> if the >> file daemon was running, checked the network connectivity. I can ping both >> machines vice/versa. >> I can telnet via ports 9101 from client to director and via 9102 from >> director to client. TLS is not >> configured. >> >> I’ve tried to get things working by restarting the service, restarting the >> Windows machine itself, >> restarting the director and storage daemon on the bacula server, restarting >> the bacula server itself. >> >> I’ve resorted to re-install the bacula client on the windows machine, but >> the problem prevails. >> >> I can’t connect using bconsole.exe nor bat.exe. The error message I get on >> the client is: >> >> Director authorization problem. >> Most likely the passwords do not agree. >> If you are using TLS, there may have been a certificate validation error >> during the TLS handshake. >> >> The error I get on the server is: >> >> 29-Apr 14:59 bacula-dir: ERROR in authenticate.c:418 Unable to authenticate >> console "*UserAgent*" at client:192.168.xxx.xxx:36131. >> >> My bconsole.conf file looks like this: >> >> Director { >> Name = bacula-dir >> DIRport = 9101 >> address = bacula >> Password = "test” >> } >> >> The corresponding bacula-dir.conf file like this: >> >> Client { >> Name = winserv2000-fd >> Address = winserv2000 >> Catalog = MySQL >> Password = "test" >> File Retention = 60 days >> Job Retention = 12 months >> AutoPrune = yes >> Maximum Concurrent Jobs = 20 >> } >> >> >> I’m using the 5.2.10 client and a 5.0.2 server. >> >> I’m probably missing something, but I’m out of ideas right now. >> >> Any hints would be greatly appreciated. >> >> Thanks in advance, >> >> Korbinian >> >> >> >> -- >> Find and fix application performance issues faster with Applications Manager >> Applications Manager provides deep performance insights into multiple tiers >> of >> your business applications. It resolves application problems quickly and >> reduces your MTTR. Get your free trial! >> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z >> ___ >> Bacula-users mailing list >> Bacula-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bacula-users > -- Dr. Korbinian Grote Product Manager / Senior Scientist Genomatix GmbH http://www.genomatix.de Bayerstr. 85a, 80335 Muenchen, Germany HRB 117956 - Amtsgericht Muenchen Geschaeftsfuehrer: Klaus J.W. May -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Windows client refuses to connect
Hi everyone. I’ve run into a strange problem recently. We’ve had a bacula client running on a Windows 2008 Server machine without any problems whatsoever for a few years. All of a sudden it has stopped working telling me that the authorization fails. I did check the passwords back and forth, set them to simpler ones, checked if the file daemon was running, checked the network connectivity. I can ping both machines vice/versa. I can telnet via ports 9101 from client to director and via 9102 from director to client. TLS is not configured. I’ve tried to get things working by restarting the service, restarting the Windows machine itself, restarting the director and storage daemon on the bacula server, restarting the bacula server itself. I’ve resorted to re-install the bacula client on the windows machine, but the problem prevails. I can’t connect using bconsole.exe nor bat.exe. The error message I get on the client is: Director authorization problem. Most likely the passwords do not agree. If you are using TLS, there may have been a certificate validation error during the TLS handshake. The error I get on the server is: 29-Apr 14:59 bacula-dir: ERROR in authenticate.c:418 Unable to authenticate console "*UserAgent*" at client:192.168.xxx.xxx:36131. My bconsole.conf file looks like this: Director { Name = bacula-dir DIRport = 9101 address = bacula Password = "test” } The corresponding bacula-dir.conf file like this: Client { Name = winserv2000-fd Address = winserv2000 Catalog = MySQL Password = "test" File Retention = 60 days Job Retention = 12 months AutoPrune = yes Maximum Concurrent Jobs = 20 } I’m using the 5.2.10 client and a 5.0.2 server. I’m probably missing something, but I’m out of ideas right now. Any hints would be greatly appreciated. Thanks in advance, Korbinian -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Change a volume from 'Error' to 'Append'
Hi everyone. While I do have some basic knowledge of bacula (i.e. viewing logs, restoring files/folders, labeling volumes) I couldn’t really find conclusive documentation on how to resolve the following situation: We’re using bacula with a Tandberg tape library. One of the volumes (tapes) has a status of ‘Error’ when I do a ‘list volumes’ in bconsole. Looking at the logs at around the time of the ‘Last written to’ field, I can see that a - probably running job - got cancelled due to losing connection to the server. (Which coincides with a switch problem we had at that point, so that is probably what happened). The job had accessed two volumes but only one shows an ‘Error’ the other one is marked full. Querying the database I get 0 files and bytes written to either volume for the job. How do I go forward making the volume appendable again? (Assuming that the reason for the ‘Error' is the interrupted job?) Thanks in advance, Korbinian -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Change a volume from 'Error' to 'Append'
Thanks Ben John for the quick answers! The volume in question was a 1.5/3 TB LTO 5 tape and though they don’t cost the world anymore, I’d have hated to let it go to waste. Anyway, querying the database showed that there was just the one single job that failed assigned to it, so deleting that job and marking it purged should hopefully have done the trick. It’s now residing in the scratch pool waiting to be used, so I’ll know as soon as one of the other pools are full… Thanks again! Korbinian Am 21.05.2014 um 14:46 schrieb John Drescher dresche...@gmail.com: I've observed similar issues in the past. A job fails part way through and the catalog is not updated leaving a mismatch in the number of files in the volume versus what's recorded in the catalog. This is then detected the next time the volume is used, and Bacula marks the volume as Error without writing anything to it. Given the mismatch, the safest thing to do is mark the volume as Full, and wait for the retention period to expire so the volume can be recycled. Unfortunately this wastes space (more painful when you have 100GB volumes and it failed within the first few gig...), so you'll need to either have sufficient spare space on your SD that you can cope with this, or be willing to sacrifice the other jobs on the volume and delete jobs+purge or purge it immediately to regain the space. I'm not sure how Bacula would behave if you change it straight to append; whether it would leave a hole in the volume, or whether this mismatch would corrupt subsequent jobs. The times I have done this there was no problem. For file based volumes I keep them small 5 to 10 GB and in this case it does not really waste space to mark the volume Full and or recycling the job with the error. John -- Dr. Korbinian Grote Product Manager Genomatix Software GmbH http://www.genomatix.de Bayerstr. 85a, 80335 Muenchen, Germany HRB 117956 - Amtsgericht Muenchen Geschaeftsfuehrer: Klaus J.W. May -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Change a volume from 'Error' to 'Append'
05-May 19:49 bacula-sd JobId 38071: Volume A3L5 previously written, moving to end of data. 05-May 19:50 bacula-sd JobId 38071: Error: Bacula cannot write on tape Volume A3L5 because: The number of files mismatch! Volume=193 Catalog=192 05-May 19:50 bacula-sd JobId 38071: Marking Volume A3L5 in Error in Catalog. :-) Thanks, Ben!! Am 21.05.2014 um 15:18 schrieb Roberts, Ben ben.robe...@gsacapital.com: If you want to be sure that it was the file mismatch rather than a media error on the tape, look through the job logs for subsequent jobs to the one that had the network blip. You'll see something like: 29-Jan 08:39 backup1-sd JobId 28425: Volume XXX675 previously written, moving to end of data. 29-Jan 08:41 backup1-sd JobId 28425: Error: Bacula cannot write on tape Volume XXX675 because: The number of files mismatch! Volume=300 Catalog=299 29-Jan 08:41 backup1-sd JobId 28425: Marking Volume XXX675 in Error in Catalog. Ben Roberts -Original Message- From: Korbinian Grote [mailto:gr...@genomatix.de] Sent: 21 May 2014 14:15 To: John Drescher; Roberts, Ben; bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Change a volume from 'Error' to 'Append' Thanks Ben John for the quick answers! The volume in question was a 1.5/3 TB LTO 5 tape and though they don't cost the world anymore, I'd have hated to let it go to waste. Anyway, querying the database showed that there was just the one single job that failed assigned to it, so deleting that job and marking it purged should hopefully have done the trick. It's now residing in the scratch pool waiting to be used, so I'll know as soon as one of the other pools are full... Thanks again! Korbinian Am 21.05.2014 um 14:46 schrieb John Drescher dresche...@gmail.com: I've observed similar issues in the past. A job fails part way through and the catalog is not updated leaving a mismatch in the number of files in the volume versus what's recorded in the catalog. This is then detected the next time the volume is used, and Bacula marks the volume as Error without writing anything to it. Given the mismatch, the safest thing to do is mark the volume as Full, and wait for the retention period to expire so the volume can be recycled. Unfortunately this wastes space (more painful when you have 100GB volumes and it failed within the first few gig...), so you'll need to either have sufficient spare space on your SD that you can cope with this, or be willing to sacrifice the other jobs on the volume and delete jobs+purge or purge it immediately to regain the space. I'm not sure how Bacula would behave if you change it straight to append; whether it would leave a hole in the volume, or whether this mismatch would corrupt subsequent jobs. The times I have done this there was no problem. For file based volumes I keep them small 5 to 10 GB and in this case it does not really waste space to mark the volume Full and or recycling the job with the error. John -- Dr. Korbinian Grote Product Manager Genomatix Software GmbH http://www.genomatix.de Bayerstr. 85a, 80335 Muenchen, Germany HRB 117956 - Amtsgericht Muenchen Geschaeftsfuehrer: Klaus J.W. May This email and any files transmitted with it contain confidential and proprietary information and is solely for the use of the intended recipient. If you are not the intended recipient please return the email to the sender and delete it from your computer and you must not use, disclose, distribute, copy, print or rely on this email or its contents. This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. Any comments or statements made herein do not necessarily reflect those of GSA Capital. GSA Capital Partners LLP is authorised and regulated by the Financial Conduct Authority and is registered in England and Wales at Stratton House, 5 Stratton Street, London W1J 8LA, number OC309261. GSA Capital Services Limited is registered in England and Wales at the same address, number 5320529. -- Dr. Korbinian Grote Product Manager Genomatix Software GmbH http://www.genomatix.de Bayerstr. 85a, 80335 Muenchen, Germany HRB 117956 - Amtsgericht Muenchen Geschaeftsfuehrer: Klaus J.W. May -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users