Re: [Bacula-users] st: from_buffer offset overflow. - I/O Error
Same Problem now on other Servers kern.log: xx kernel: [451873.506638] st0: Can't allocate 199 bytetape buffer xx kernel: [452173.632081] st: from_buffer offset overflow. xx kernel: [452173.632085] st: from_buffer offset overflow. xx kernel: [452173.632087] st: from_buffer offset overflow. only a reboot helps :( bacula-sd.conf Minimum block size = 199 Maximum block size = 199 This is the only Value that we have changed. With lower Values our Backup was verry slow. We have LTO4 Tapes. Whats your Values? here is our stinit.def (only 1 line without comment header): {buffer-writes read-ahead async-writes} We made no changes to this File. tapeinfo -f /dev/st0 Product Type: Tape Drive Vendor ID: 'IBM ' Product ID: 'ULT3580-HH4 ' Revision: '97F1' Attached Changer API: No SerialNumber: '1K10044361' MinBlock: 1 MaxBlock: 16777215 SCSI ID: 0 SCSI LUN: 0 Ready: yes BufferedMode: yes Medium Type: 0x48 Density Code: 0x46 BlockSize: 0 DataCompEnabled: yes DataCompCapable: yes DataDeCompEnabled: yes CompType: 0x1 DeCompType: 0x1 BOP: yes Block Position: 0 Partition 0 Remaining Kbytes: -1 Partition 0 Size in Kbytes: -1 ActivePartition: 0 EarlyWarningSize: 0 regards Kernel Log: On 15.06.2011 23:08, Wolfgang Denk wrote: Dear Tobias Dinse, In message4df88a7d.1020...@stegbauer.info you wrote: still the same Kernel and I/O Error: Jun 14 14:26:10 xx kernel: [451873.506638] st0: Can't allocate 199 byte tape buffer. Why are you trying to allocate a 2 MB buffer for your tape driver? Bacula will write in 63 KiB blocks, so you should never need that much. What does your /etc/stinit.def look like? [Or where else do you configure your tape driver to use such buffers?] Best regards, Wolfgang Denk -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Job is waiting for a mount request
Op 20110629 om 15:00 schreef John Drescher: Tons of thanks for your valuable time and pointing me to right direction. I am glad to be part of wonderful Bacula community. Thanks again, You are welcome. I am glad I could help. John Hello John, Here a public compliment from me. I appriciate your contributions to the Bacula mailinglist. Especial that you make it possible to read in the discussion order for the ML subscribers and the ML archive readers by replying below the text. It is good to see good practice in action. Cheers Geert Stappers Fan of the guide lines from http://en.opensuse.org/openSUSE:Mailing_list_netiquette -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Migrating form mysql to postgresql: Duplicate filename entries?
On Wed, 29 Jun 2011 22:40:16 +0100, Gavin McCullagh said: The database was originally made in Ubuntu Hardy which was v2.x as I recall now. We then upgraded to v3 (ubuntu packages built using the debian package git archive as we needed volume shadow copy support under Win64) and since then moved to v5 using the Lucid packages. So, yes, made by old versions. Am I missing a constraint I should have? No, the current MySQL table definitions don't have that constraint either. I think Bacula has very few constraints for performance reasons. I was wondering about old versions because that increases the chance that a bug in Bacula caused it long ago. Bacula's dbcheck program has an option to eliminate the duplicates, which suggests that it was a problem at some time in the past. __Martin -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Job is waiting for a mount request
Here a public compliment from me. I appriciate your contributions to the Bacula mailinglist. Especial that you make it possible to read in the discussion order for the ML subscribers and the ML archive readers by replying below the text. It is good to see good practice in action. Thank You. :) I am a long time bacula user (8 years now at work and home) and I try to give back whenever I can. John -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula vchanger
On Tue, May 3, 2011 at 11:05 AM, Josh Fisher jfis...@pvct.com wrote: On 5/3/2011 5:55 AM, Koenraad Lelong wrote: ... # chmod 770 /mnt/vchanger/49299ccc-6489-43f8-9536-d63dd3de9663/ # ls -la /mnt/vchanger/49299ccc-6489-43f8-9536-d63dd3de9663/ totaal 196768 drwxrwx--- 6 bacula bacula 4096 3 mei 10:36 . drwxr-xr-x 3 root root 0 3 mei 10:51 .. drwx-- 2 bacula bacula 16384 21 apr 11:39 lost+found ... ls -la /var/lib/bacula/c2/ totaal 12 drwxr-x--- 2 bacula bacula 4096 3 mei 11:29 . drwxr-xr-x 3 bacula bacula 4096 3 mei 11:29 .. -rw-r--r-- 1 bacula bacula 1 3 mei 11:29 bay1 -rw-r--r-- 1 bacula bacula 0 3 mei 11:29 state0 So I'm still stuck. Just for fun I tried again : # vchanger -u bacula -g bacula /etc/bacula/c2.conf initmag 1 magazine bay 1 has no magazine mounted # vchanger -u bacula -g disk /etc/bacula/c2.conf initmag 1 created magazine 1 in bay 1 [/mnt/vchanger/49299ccc-6489-43f8-9536-d63dd3de9663] So the disk-group can initialize the magazine, the bacula-group has problems. I looked at the udev-rules, but there is nothing there that rings a bell. So, bacula:bacula cannot write, but bacula:disk can, yet all accessed directories appear to be owned by bacula:bacula? What group does the bacula-sd daemon run as? On Fedora, it is typical for bacula-dir to run as bacula:bacula, while bacula-sd runs as bacula:disk. Perhaps this is an selinux thing? Maybe the simple solution is to change everything to be owned by bacula:disk and run bacula-sd as bacula:disk. Hi... I had the same error today in ubuntu server: $ sudo vchanger -u bacula -g bacula /etc/bacula/disco_usb.conf initmag 1 magazine bay 1 has no magazine mounted $ sudo vchanger -u bacula -g tape /etc/bacula/disco_usb.conf initmag 1 magazine bay 1 has no magazine mounted $ sudo vchanger -u bacula -g disk /etc/bacula/disco_usb.conf initmag 1 magazine in bay 1 (/mnt/vchanger/29d9d497-62dd-4903-9054-a3fb9777b79d) already initialized as magazine 1 bacula-dir and bacula-sd are working in bacula and tape groups respectively and all folders and files have this groups. = $ find /var/lib/bacula/ /var/log/bacula/ /var/bacula -not -group bacula -and -not -group tape /var/log/bacula/ = and after check the output of strace = $ sudo strace -s 100 vchanger -u bacula -g bacula /etc/bacula/disco_usb.conf initmag 1 stat64(/dev/sdc1, {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 33), ...}) = 0 time(NULL) = 1309454624 stat64(/dev/sdc1, {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 33), ...}) = 0 open(/dev/sdc1, O_RDONLY|O_LARGEFILE) = -1 EACCES (Permission denied) read(4, , 1024) = 0 close(4) = I found that the problem is that vchanger try to access the device (/dev/sd*) directly and not the directory/mountpoint configured.. and how the script are running with a group (bacula/tape) that don't have access do /dev/sd*, the script don't work... === $ ls -ltr /dev/sd* brw-rw 1 root disk 8, 16 2011-06-28 11:16 /dev/sdb brw-rw 1 root disk 8, 0 2011-06-28 11:16 /dev/sda brw-rw 1 root disk 8, 1 2011-06-28 11:16 /dev/sda1 brw-rw 1 root disk 8, 17 2011-06-28 11:16 /dev/sdb1 brw-rw 1 root disk 8, 21 2011-06-28 11:16 /dev/sdb5 brw-rw 1 root disk 8, 18 2011-06-28 11:16 /dev/sdb2 brw-rw 1 root disk 8, 32 2011-06-30 12:10 /dev/sdc brw-rw 1 root disk 8, 33 2011-06-30 12:10 /dev/sdc1 === solution... mmm .. include bacula in disk group ?? attentive -- -- Victor Hugo dos Santos Linux Counter #224399 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Ubuntu 10.10 Install Script
Dear bacul-ors and bacula-rettes, I submit to you an updated Ubuntu 10.10 install script which works for me on a 64 bit machine. Bacula 5.0.3 on Ubuntu 10.10 server - Jun 2011 *NOTE: The following instructions were developed with postgresql installed as part of the server install process. - PRE-REQUISITES sudo apt-get upgrade sudo apt-get update sudo apt-get install g++ libpq-dev === COMPILE a. Untar and cd to installation directory b. Put this in a bacula_conf file and make it executable sudo chmod 744 bacula_conf #!/bin/sh CFLAGS=-g -O2 -Wall \ ./configure \ --sbindir=/usr/local/sbin \ --sysconfdir=/usr/local/etc \ --mandir=/usr/local/sbin \ --enable-smartalloc \ --enable-batch-insert \ --enable-largefile \ --with-postgresql \ --with-working-dir=/usr/local/bacula/working \ --with-dump-email=mehmasa...@gmail.com \ --with-pid-dir=/usr/local/bacula/working \ --with-subsys-dir=/usr/local/bacula/working \ --with-job-email=mehmasa...@gmail.com \ --with-smtp-host=smtp.gmail.com exit 0 ***NOTE: BAT is not enabled - it requires qt to be installed c. sudo mkdir -p /usr/local/bacula/working d. Still in the installation directory: sudo ./yss-config sudo make sudo make install clean === SQL ASCII THE DATABASE ***NOTE: DON'T HAVE TO DO THIS FOR Ubuntu 10.10, 64 bit with postgresql installed as part of server build UTF-8 to SQL_ASCII sudo pg_dropcluster --stop 8.4 main sudo pg_createcluster --start -e SQL_ASCII 8.4 main === DATABASE sudo chown postgres:postgres /usr/local/etc/see note [*NOTE only the create database, make tables and grant privileges files need to be chown-ed.] sudo su - postgres As user postgres: createuser bacula Shall the new role be a superuser? (y/n) n Shall the new role be allowed to create databases? (y/n) y Shall the new role be allowed to create more new roles? (y/n) n As user postgres: /usr/local/etc/create_bacula_database As user postgres: /usr/local/etc/make_bacula_tables As user postgres: /usr/local/etc/grant_bacula_privileges $ psql bacula bacula=# alter user bacula with password 'bacula'; \q exit sudo vi /etc/postgresql/8.4/main/pg_hba.conf change line local all all ident to local allall md5 sudo /etc/init.d/postgresql restart === FIRE_IT_UP a. Add password: vi /usr/local/etc/bacula-dir.conf and add password 'bacula' to dbpassword variable b. From anywhere: sudo bacula start c. Check status: sudo bacula status -of dir, sd and pd processes - if the config or install does not go well, one or more process will die === TEST sudo /usr/local/sbin/bacula-dir -t -c /usr/local/etc/bacula-dir.conf sudo /usr/local/sbin/bacula-fd -t -c /usr/local/etc/bacula-fd.conf sudo /usr/local/sbin/bacula-sd -t -c /usr/local/etc/bacula-sd.conf sudo /usr/local/sbin/bconsole -t -c /usr/local/etc/bconsole.conf === -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula vchanger
On 6/30/2011 1:28 PM, Victor Hugo dos Santos wrote: On Tue, May 3, 2011 at 11:05 AM, Josh Fisherjfis...@pvct.com wrote: So, bacula:bacula cannot write, but bacula:disk can, yet all accessed directories appear to be owned by bacula:bacula? What group does the bacula-sd daemon run as? On Fedora, it is typical for bacula-dir to run as bacula:bacula, while bacula-sd runs as bacula:disk. Perhaps this is an selinux thing? Maybe the simple solution is to change everything to be owned by bacula:disk and run bacula-sd as bacula:disk. Hi... I had the same error today in ubuntu server: $ sudo vchanger -u bacula -g bacula /etc/bacula/disco_usb.conf initmag 1 magazine bay 1 has no magazine mounted $ sudo vchanger -u bacula -g tape /etc/bacula/disco_usb.conf initmag 1 magazine bay 1 has no magazine mounted $ sudo vchanger -u bacula -g disk /etc/bacula/disco_usb.conf initmag 1 magazine in bay 1 (/mnt/vchanger/29d9d497-62dd-4903-9054-a3fb9777b79d) already initialized as magazine 1 bacula-dir and bacula-sd are working in bacula and tape groups respectively and all folders and files have this groups. = $ find /var/lib/bacula/ /var/log/bacula/ /var/bacula -not -group bacula -and -not -group tape /var/log/bacula/ = and after check the output of strace = $ sudo strace -s 100 vchanger -u bacula -g bacula /etc/bacula/disco_usb.conf initmag 1 stat64(/dev/sdc1, {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 33), ...}) = 0 time(NULL) = 1309454624 stat64(/dev/sdc1, {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 33), ...}) = 0 open(/dev/sdc1, O_RDONLY|O_LARGEFILE) = -1 EACCES (Permission denied) read(4, , 1024) = 0 close(4) = I found that the problem is that vchanger try to access the device (/dev/sd*) directly and not the directory/mountpoint configured.. Could be. If magazines are specified by UUID, then libblkid functions are used to discover the device node with that UUID, followed by a getmntent() call to query the mountpoint path. Either libblkid or getmntent() is very likely making the stat64() call on the device node. and how the script are running with a group (bacula/tape) that don't have access do /dev/sd*, the script don't work... === $ ls -ltr /dev/sd* brw-rw 1 root disk 8, 16 2011-06-28 11:16 /dev/sdb brw-rw 1 root disk 8, 0 2011-06-28 11:16 /dev/sda brw-rw 1 root disk 8, 1 2011-06-28 11:16 /dev/sda1 brw-rw 1 root disk 8, 17 2011-06-28 11:16 /dev/sdb1 brw-rw 1 root disk 8, 21 2011-06-28 11:16 /dev/sdb5 brw-rw 1 root disk 8, 18 2011-06-28 11:16 /dev/sdb2 brw-rw 1 root disk 8, 32 2011-06-30 12:10 /dev/sdc brw-rw 1 root disk 8, 33 2011-06-30 12:10 /dev/sdc1 === solution... mmm .. include bacula in disk group ?? That, or run bacula-sd as bacula:disk, rather than bacula:tape, if that is possible. The user bacula-sd runs as needs read-only access in order to look up the mountpoint using a getmntent() call. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula and TLS
I'm trying to get TLS working with bacula, I'm following the instructions on this web site: http://www.devco.net/pubwiki/Bacula/TLS/ I came to this statement Repeat this certificate creation steps - create a key, csr and cert - for each of your clients and directors My question is, is it possible to setup TLS and Bacula with the same certs and keys? Do I really have to create and sign a cert for *every* client I want to back up? I have hundreds of machines, I hope there is an easier way of doing this. Thank you! mike -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula and TLS
Am 30.06.2011 20:28, schrieb Mike Hobbs: I'm trying to get TLS working with bacula, I'm following the instructions on this web site: http://www.devco.net/pubwiki/Bacula/TLS/ I came to this statement Repeat this certificate creation steps - create a key, csr and cert - for each of your clients and directors My question is, is it possible to setup TLS and Bacula with the same certs and keys? Do I really have to create and sign a cert for *every* client I want to back up? I have hundreds of machines, I hope there is an easier way of doing this. Hi Mike, Clients sharing the same key can quite easily obtain access to files backed up from a different client. If this is acceptable, you could also use the same key. If not, you might be able to automate key creation and distribution in some way (scripting, puppet, ... whatever you like). Regards Ansgar -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bextract not returning data
Success!! Given the difficulties I was having with bextract, I decided to go back to bscan an try again (3th time) to get the volume into the database and use restore to get the files I needed. It worked!.. I think what was happening before was the nightly jobs were running and pruning the database, before I got round to restoring the data. Anyway thanks to all who responded! This is a great community of folk. Troy On 28,Jun 2011, at 6:22 AM, Martin Simmons wrote: On Mon, 27 Jun 2011 14:07:35 -0500, Troy Kocher said: All, I could really use some ideas.. #bextract -d99 -i databaselist.rest -V DatabaseF-0027 /data/bacula /data/tmp bextract: stored_conf.c:698-0 Inserting director res: foobar-dir bextract: butil.c:282 Using device: /data/bacula for reading. bextract: acquire.c:109-0 MediaType dcr= dev=File bextract: acquire.c:228-0 opened dev pool (/data/bacula) OK bextract: acquire.c:231-0 calling read-vol-label Volume Label: Id: Bacula 1.0 immortal VerNo : 11 VolName : DatabaseF-0027 PrevVolName : VolFile : 0 LabelType : VOL_LABEL LabelSize : 186 PoolName : DatabaseF MediaType : File PoolType : Backup HostName : foobar.mtadistributors.com Date label written: 06-Sep-2010 02:23 bextract: acquire.c:235-0 Got correct volume. 24-Jun 11:16 bextract JobId 0: Ready to read from volume DatabaseF-0027 on device pool (/data/bacula). bextract: attr.c:281-0 -rw-rw 1 pgsqlpgsql 386091824 2011-06-09 08:51:47 /data/tmp/mnt/database/usr/home/pgsql/dumps/mta.dump.sql.gz-4 bextract JobId 0: -rw-rw 1 pgsqlpgsql 386091824 2011-06-09 08:51:47 /data/tmp/mnt/database/usr/home/pgsql/dumps/mta.dump.sql.gz-4 -- I started this on Friday and this morning a zero byte file existed @ '/data/tmp/mnt/database/usr/home/pgsql/dumps/mta.dump.sql.gz-4'. Top showed the one of the processors working on 'bextract' and consuming 100%. Any help would be greatly appreciated! Which version of Bacula? Can you try attaching gdb to the bextract process and doing: thread apply all bt __Martin -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula Storage Daemon
*I try to check the status of my storage daemon because I am ready to implement Bacula. My backups will not start and I assume it is because it can't connect to the SD. I have studied by .confs very closely and all the IP's, ports, and passwords seem to all match up. Anybody have a suggestion what I may try to fix this? I can connect with bat.exe from my machine I want to backup. But baculafd.exe crashes after it starts. HELP plz :( Failed to fetch status from File : Failed to connect to Storage daemon File. * -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Ubuntu 10.10 Install Script
On Thu, Jun 30, 2011 at 11:04:34AM -0700, Mehma Sarja wrote: I submit to you an updated Ubuntu 10.10 install script which works for me on a 64 bit machine. [...] What's wrong with `aptitude install bacula`? In case you desperately need 5.0.3 over 5.0.2 from meerkat, what's wrong with backporting a 5.0.3 package from a more recent OS release? -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula Storage Daemon
2011/6/30 Jake Debord jake.deb...@gmail.com: I try to check the status of my storage daemon because I am ready to implement Bacula. My backups will not start and I assume it is because it can't connect to the SD. I have studied by .confs very closely and all the IP's, ports, and passwords seem to all match up. Did you use an external ipaddress for the SD? I mean 127.0.0.1 or localhost will not work if you want to backup more than the server that bacula is on. Anybody have a suggestion what I may try to fix this? I can connect with bat.exe from my machine I want to backup. But baculafd.exe crashes after it starts. You probably do not have a valid bacula-fd.conf in the directory that bacula expects. Run it directly from the command line and see what message it returns. John -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Ubuntu 10.10 Install Script
On 6/30/11 2:34 PM, Konstantin Khomoutov wrote: On Thu, Jun 30, 2011 at 11:04:34AM -0700, Mehma Sarja wrote: I submit to you an updated Ubuntu 10.10 install script which works for me on a 64 bit machine. [...] What's wrong with `aptitude install bacula`? In case you desperately need 5.0.3 over 5.0.2 from meerkat, what's wrong with backporting a 5.0.3 package from a more recent OS release? I did not know that existed. But there are a couple of things wrong with apt-get install bacula. The choices are confusing and the hit and miss approach leaves a broken install. apt-get install selects some odd places to put bacula config files. I could not find any control files, eg bacula-ctl-dir, on the system. I could not get postgresql to switch modes to sql_ascii from utf8. I don't know what a postgresql server dev package installs other than to satisfy the libpq need. What a headache to save typing a few commands and compile the thing. Besides a native compile is always good, eh? It is clean and simple and you control what functionality to compile in. It also gives one some practice skills for when the time cometh and we go looking for the usr local etc directory to run the upgrade commands. Mehma -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Ubuntu 10.10 Install Script
On Fri, Jul 1, 2011 at 5:53 AM, Mehma Sarja mehmasa...@gmail.com wrote: On 6/30/11 2:34 PM, Konstantin Khomoutov wrote: On Thu, Jun 30, 2011 at 11:04:34AM -0700, Mehma Sarja wrote: I submit to you an updated Ubuntu 10.10 install script which works for me on a 64 bit machine. [...] What's wrong with `aptitude install bacula`? In case you desperately need 5.0.3 over 5.0.2 from meerkat, what's wrong with backporting a 5.0.3 package from a more recent OS release? I did not know that existed. But there are a couple of things wrong with apt-get install bacula. The choices are confusing and the hit and miss approach leaves a broken install. apt-get install selects some odd places to put bacula config files. I could not find any control files, eg bacula-ctl-dir, on the system. I could not get postgresql to switch modes to sql_ascii from utf8. I don't know what a postgresql server dev package installs other than to satisfy the libpq need. What a headache to save typing a few commands and compile the thing. Besides a native compile is always good, eh? It is clean and simple and you control what functionality to compile in. It also gives one some practice skills for when the time cometh and we go looking for the usr local etc directory to run the upgrade commands. The way package dependencies are handled in Ubuntu can be bit confusing at times. I have Bacula installed in 10.10 and I find all the configuration files in /etc/bacula. You can find state files in /var/lib/bacula and log in /var/lob/bacula. I am using MySQL though. Thanks, Venkatesh K -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Ubuntu 10.10 Install Script
On 6/30/11 7:09 PM, Venkatesh K Reddy wrote: The way package dependencies are handled in Ubuntu can be bit confusing at times. I have Bacula installed in 10.10 and I find all the configuration files in /etc/bacula. You can find state files in /var/lib/bacula and log in /var/lob/bacula. I am using MySQL though. I like postgres and that's what I kept selecting. Is the apt-get or aptitude convenience that people like or is there an aversion to compiling? It is easy and you have so many configure options to select from. Mehma -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users