Re: [Bacula-users] RPM installation error

2014-06-20 Thread Kern Sibbald
One of the things that I did in 7.0.4 was to upgrade the libtool version
because it was needed by FreeBSD.  This upgrade seems to have created
problems with RHEL 6 because it caused the dependencies for the shared
libraries to be messed up (I am not yet sure that this is a libtool bug
or some change in the way libtool works).  I suspect that the same
problem may be occurring for RHEL 7, which is apparently what you are
using.  One way to check this is to see exactly what dependencies each
of the packages supplies.

Otherwise, if you (Ankush More) are really using CentOS 6.5 as you
write, then it appears that you are trying to build and install RHEL 7
packages on RHEL 6.

Best regards,
Kern

On 06/18/2014 08:42 PM, Brady, Mike wrote:
> On 2014-06-19 00:55, More, Ankush wrote:
>> Hi Team,
>>
>> I am installing Bacula-7.0.4 RPM's on CentOS 6.5.
>> Currently glibc_2.12 is default with centos 6.5 which is latest OS 
>> version.
>>
>> Can someone please help to resolve this issue.
>>
>> [root@bacula7 bacula7]# rpm -ivh bacula-libs-7.0.4-1.el7.x86_64.rpm
>> warning: bacula-libs-7.0.4-1.el7.x86_64.rpm: Header V4 DSA/SHA1
>> Signature, key ID 10b7998e: NOKEY
>> error: Failed dependencies:
>> libc.so.6(GLIBC_2.14)(64bit) is needed by 
>> bacula-libs-7.0.4-1.el7.x86_64
>> [root@bacula7 bacula7]# rpm -ivh bacula-client-7.0.4-1.el7.x86_64.rpm
>> warning: bacula-client-7.0.4-1.el7.x86_64.rpm: Header V4 DSA/SHA1
>> Signature, key ID 10b7998e: NOKEY
>> error: Failed dependencies:
>> bacula-common(x86-64) = 7.0.4-1.el7 is needed by
>> bacula-client-7.0.4-1.el7.x86_64
>> bacula-libs(x86-64) = 7.0.4-1.el7 is needed by
>> bacula-client-7.0.4-1.el7.x86_64
>> libbac-7.0.4.so()(64bit) is needed by 
>> bacula-client-7.0.4-1.el7.x86_64
>> libbaccfg-7.0.4.so()(64bit) is needed by
>> bacula-client-7.0.4-1.el7.x86_64
>> libbacfind-7.0.4.so()(64bit) is needed by
>> bacula-client-7.0.4-1.el7.x86_64
>> libc.so.6(GLIBC_2.14)(64bit) is needed by
>> bacula-client-7.0.4-1.el7.x86_64
>> systemd is needed by bacula-client-7.0.4-1.el7.x86_64
>>
>>
>> Thank you,
>> ___
>> Ankush More
>> NA India TS - IM
>>
>> Capgemini India | Mumbai-vi
>> Tel.: +91 22 67557000 Extn. 2258582
>> www.capgemini.com
>> People matter, results count.
>> ___
>>
>>
>> -Original Message-
>> From: More, Ankush
>> Sent: 18 June 2014 16:31
>> To: 'bacula-users@lists.sourceforge.net'
>> Subject: RE: Autochanger with 2 drives
>>
>> Hi Team,
>>
>> I am compiling Bacula-7.0.4 on CentOS 6.5.
>> Getting error while compiling with below options.
>> Error file is attached.
>>
>> #CFLAGS="-g -Wall" ./configure --sbindir=/opt/bacula/bin
>> --sysconfdir=/opt/bacula/etc --enable-smartalloc --with-mysql
>> --with-working-dir=/opt/bacula/working
>> --with-pid-dir=/opt/bacula/working
>> --with-subsys-dir=/opt/bacula/working --enable-readline
>>
>> Is am missing anything in above command?
>>
>>
>> Thank you,
>> Ankush
>> This message contains information that may be privileged or
>> confidential and is the property of the Capgemini Group. It is
>> intended only for the person to whom it is addressed. If you are not
>> the intended recipient, you are not authorized to read, print, retain,
>> copy, disseminate, distribute, or use this message or any part
>> thereof. If you receive this message in error, please notify the
>> sender immediately and delete all copies of this message.
>>
>>
>> --
>> HPCC Systems Open Source Big Data Platform from LexisNexis Risk 
>> Solutions
>> Find What Matters Most in Your Big Data with HPCC Systems
>> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
>> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
>> http://p.sf.net/sfu/hpccsystems
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
> You are trying to install Centos7/RHEL7 RPMs on Centos6.  Install the 
> Centos6/RHEL6 packages. 
> http://repos.fedorapeople.org/repos/slaanesh/bacula7/epel-6/x86_64/
>
> --
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>


--
HPCC Systems Open Source Big Data Platform

Re: [Bacula-users] Job keeps waiting on storage daemon

2014-06-20 Thread John Drescher
On Thu, Jun 19, 2014 at 10:51 PM, altiris
 wrote:
> Well...I already know I am doing multiple things wrong. I just made a new 
> daemon for each storage device, if I added a new storage device I would add a 
> new storage daemon and make them match such as the Media type name. I have 
> the two storage daemons on the same IP address and same port. This is all 
> being done on one machine. What confuses me though is even with just having 
> one backup job enabled and trying to run it I get that same error message as 
> when having two backup jobs enabled with only one job going.

That is because the second daemon fails to run.

John

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-dir dead but subsys locked

2014-06-20 Thread More, Ankush
After running below command , issue is resolve.

# alternatives --set libbaccats.so /usr/lib64/libbaccats-mysql.so

Thanks Simone.

Thank you,
Ankush

From: Simone Caronni [mailto:negativ...@gmail.com]
Sent: 19 June 2014 20:07
To: More, Ankush
Cc: John Drescher; bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] bacula-dir dead but subsys locked

You didn't read the documents I told you earlier, did you?
[root@localhost ~]# cd /usr/share/doc/bacula-common-7.0.4/
[root@localhost bacula-common-7.0.4]# ls -al
total 60
drwxr-xr-x.   2 root root  4096 Jun 19 16:33 .
drwxr-xr-x. 771 root root 36864 Jun 19 16:35 ..
-rw-r--r--.   1 root root  1727 Jun  4 15:37 quickstart_mysql.txt
-rw-r--r--.   1 root root  1787 Jun  4 15:37 quickstart_postgresql.txt
-rw-r--r--.   1 root root  1663 Jun  4 15:37 quickstart_sqlite3.txt
-rw-r--r--.   1 root root  1888 Jun  4 15:37 README.Redhat


On 19 June 2014 16:02, More, Ankush 
mailto:ankush.m...@capgemini.com>> wrote:
Hi John,

I want to use MySql database with bacula.
It look like bacula-dir is looking for Postgresql.
How do I change to look for MySql.

[root@bacula7 bacula]# bacula-dir -c /etc/bacula/bacula-dir.conf 
-d100bacula-dir: postgresql.c:229-0 pg_real_connect done
bacula-dir: postgresql.c:231-0 db_user=bacula db_name=bacula db_password=bacula
bacula-dir: dird.c:972-0 Could not open Catalog "MyCatalog", database "bacula".
bacula-dir: dird.c:977-0 postgresql.c:236 Unable to connect to PostgreSQL 
server. Database=bacula User=bacula
Possible causes: SQL server not running; password incorrect; max_connections 
exceeded.
19-Jun 09:39 bacula-dir ERROR TERMINATION

Thank you,
___
Ankush More


-Original Message-
From: John Drescher [mailto:dresche...@gmail.com]
Sent: Thursday, June 19, 2014 6:55 PM
To: More, Ankush
Cc: 
bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] bacula-dir dead but subsys locked

> I have installed Bacula-7.0.4 on CentOS 6.5 with RPM successfully.
> Bacula-dir,sd,fd start successfully, but when I try access bconsole.
> Bacula-dir daemon show " bacula-dir dead but subsys locked"
>
> Below is daemon staus:
> root@bacula7 bacula]# service bacula-dir start
> Starting bacula-dir:   [  OK  ]
>
> [root@bacula7 bacula]# service bacula-dir status bacula-dir (pid 1831)
> is running...
>
> # bconsole
> Connecting to Director 206.245.49.66:9101
>
> [root@bacula7 bacula]# service bacula-dir status bacula-dir dead but
> subsys locked
>
> Thank you,
> Ankush

I would run bacula-dir directly with increased verbosity of debug messages and 
see what you get. Something like:

bacula-dir -c /etc/bacula/bacula-dir.conf -d100

John
This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient, you are not authorized 
to read, print, retain, copy, disseminate, distribute, or use this message or 
any part thereof. If you receive this message in error, please notify the 
sender immediately and delete all copies of this message.
--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



--
You cannot discover new oceans unless you have the courage to lose sight of the 
shore (R. W. Emerson).

http://xkcd.com/229/
http://negativo17.org/
--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users