[Bacula-users] Compile release 7.2.0 from sources failed in Centos 6.7

2015-08-26 Thread reynie...@gmail.com
Hi there, I'm trying to compile Bacula 7.2.0 because sadly the release at
CentOS is old 5.0.0-13. So I've downloaded the latest release from
Sourcefore, unzip and detar the sources and run this first command (which I
ran the last time I compiled Bacula from sources around April 2009 when
Bacula was at version 3.0.1. If this command is not need please let me
know):

export CFLAGS="-O2 -g -msse -mmmx -march=i586 -mtune=i686 -funroll-loops
-mfpmath=sse -fmessage-length=0 -fno-strict-aliasing -pipe
-fstack-protector -Wall -D_FORTIFY_SOURCE=0"

The second command I did ran was:

./configure --with-db-name=pdone_bck --with-db-user=root
--with-db-password=xx --with-mysql

I should say I am using MariaDB instead of MySQL but I had installed devel
libraries for MariaDB.

That command ends with this:

checking for true... /bin/true
checking for false... /bin/false
configuring for Bacula 7.2.0 (14 August 2015)
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/tmp/bacula-7.2.0':
configure: error: C compiler cannot create executables
See `config.log' for more details

And cat config.log reads as follow:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by bacula configure 7.1.0, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --with-db-name=pdone_bck --with-db-user=root
--with-db-password=1qazxsw2 --with-mysql

## - ##
## Platform. ##
## - ##

hostname = webvm.local
uname -m = x86_64
uname -r = 2.6.32-573.3.1.el6.x86_64
uname -s = Linux
uname -v = #1 SMP Thu Aug 13 22:55:16 UTC 2015

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch  = x86_64
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo  = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /usr/lib64/qt-3.3/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /root/bin
PATH: /root/.composer/vendor/bin


## --- ##
## Core tests. ##
## --- ##

configure:3159: checking for true
configure:3177: found /bin/true
configure:3189: result: /bin/true
configure:3205: checking for false
configure:3223: found /bin/false
configure:3235: result: /bin/false
configure:3338: checking for gcc
configure:3354: found /usr/bin/gcc
configure:3365: result: gcc
configure:3594: checking for C compiler version
configure:3603: gcc --version >&5
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3614: $? = 0
configure:3603: gcc -v >&5
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
--enable-bootstrap --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada
--enable-java-awt=gtk --disable-dssi
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
--with-ppl --with-cloog --with-tune=generic --with-arch_32=i686
--build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC)
configure:3614: $? = 0
configure:3603: gcc -V >&5
gcc: '-V' option must have argument
configure:3614: $? = 1
configure:3603: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:3614: $? = 1
configure:3634: checking whether the C compiler works
configure:3656: gcc -O2 -g -msse -mmmx -march=i586 -mtune=i686
-funroll-loops -mfpmath=sse -fmessage-length=0 -fno-strict-aliasing -pipe
-fstack-protector -Wall -D_FORTIFY_SOURCE=0   conftest.c  >&5
conftest.c:1: error: CPU you selected does not support x86-64 instruction
set
configure:3660: $? = 1
configure:3698: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "bacula"
| #define PACKAGE_TARNAME "bacula"
| #define PACKAGE_VERSION "7.1.0"
| #define PACKAGE_STRING "bacula 7.1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3703: error: in `/tmp/bacula-7.2.0':
configure:3705: error: C compiler cannot create executables
See `config.log' for more details

##  ##
## Cache variables. ##
##  ##

ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -g -msse -mmmx -march=i586

Re: [Bacula-users] Compile release 7.2.0 from sources failed in Centos 6.7

2015-08-27 Thread reynie...@gmail.com
Isn't hurt me you're right but what about if I want to update the release?
I will need to compile again and that's exactly what I'm trying to avoid.
If you tell me that I can compile and then update using repository then
good I can compile and try if not I prefer to wait
On Aug 27, 2015 8:45 AM, "John Stoffel"  wrote:

>
> It can't hurt to just do a test configure and build.
>
> Reynier> That's exactly what I thought, some bad setup on the CFLAGS, but
> I'll waits
> Reynier> until Simone builds the RPMS for CentOS, anyway thanks for your
> suggestion
> Reynier> Regards
>
> Reynier> -Original Message-
> Reynier> From: John Stoffel [mailto:j...@stoffel.org]
> Reynier> Sent: Wednesday, August 26, 2015 9:54 PM
> Reynier> To: reynie...@gmail.com
> Reynier> Cc: bacula-users@lists.sourceforge.net
> Reynier> Subject: Re: [Bacula-users] Compile release 7.2.0 from sources
> failed in
> Reynier> Centos 6.7
>
> >>>>> "reynierpm@gmail" == reynierpm@gmail com <mailto:reynie...@gmail.com
> >
> Reynier> writes:
>
> Reynier> reynierpm@gmail> Hi there, I'm trying to compile Bacula 7.2.0
> because sadly
> Reynier> the release at CentOS is old 5.0.0-13.  reynierpm@gmail> So I've
> downloaded
> Reynier> the latest release from Sourcefore, unzip and detar the sources
> and run this
> Reynier> reynierpm@gmail> first command (which I ran the last time I
> compiled Bacula
> Reynier> from sources around April 2009 when reynierpm@gmail> Bacula was
> at version
> Reynier> 3.0.1. If this command is not need please let me know):
>
> Reynier> reynierpm@gmail> export CFLAGS="-O2 -g -msse -mmmx -march=i586
> Reynier> -mtune=i686 -funroll-loops -mfpmath=sse reynierpm@gmail>
> Reynier> -fmessage-length=0 -fno-strict-aliasing -pipe -fstack-protector
> -Wall
> Reynier> -D_FORTIFY_SOURCE=0"
>
> Reynier> Get rid of all this export CFLAGS, compilers and environments have
> Reynier> progressed alot over the years.  You're trying to restrict your
> CPU to an
> Reynier> old Pentium, which is broken in today's world.
>
> Reynier> Just do the configure step, and that should do the trick for
> you...
>
>
--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula for backup/restore a huge PostgreSQL DB enviroment

2011-12-12 Thread reynie...@gmail.com
Hi every:
I'm thinking in use Bacula to make backup/restore of a huge enviroment with
a lot of PostgreSQL DB servers configured in HA Cluster using Pgpool II. I
do a research first to see if find any and just see this thread [1] but I'm
not so clear in the *HOW TO* just knew that recommendation is to use PITR
instead of pg_dump or LVM Snapshots. My question is: any here has this
implemented and can give me some tips or step to follow?

Cheers and thanks in advance

[1] http://old.nabble.com/Bacula-for-backing-up-postgres-td21268085.html
Ing. Reynier Pérez Mira
Cel: +58 424.180.5609 / +58 416.921.7406
Correo: reynie...@gmail.com / reynie...@hotmail.com
--
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Any repo for latest release 5.2?

2011-12-17 Thread reynie...@gmail.com
Hi, exists any repo for CentOS 6 x86_64 with latest version of Bacula?
Cheers and thanks in advace
Ing. Reynier Pérez Mira
Cel: +58 424.180.5609 / +58 416.921.7406
Correo: reynie...@gmail.com / reynie...@hotmail.com
--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Any repo for latest release 5.2?

2011-12-18 Thread reynie...@gmail.com
Thanks Bill, now I have a question, how to add this repo to my
/etc/yum.repos.d? Just adding the URL to any of my .repo files or create a
new one?

Ing. Reynier Pérez Mira
Cel: +58 424.180.5609 / +58 416.921.7406
Correo: reynie...@gmail.com / reynie...@hotmail.com



On Sun, Dec 18, 2011 at 2:06 PM, Bill Merriam  wrote:

> On Sat, 17 Dec 2011 17:25:28 -0430
> "reynie...@gmail.com"  wrote:
>
> > Hi, exists any repo for CentOS 6 x86_64 with latest version of Bacula?
> > Cheers and thanks in advace
> > Ing. Reynier Pérez Mira
> > Cel: +58 424.180.5609 / +58 416.921.7406
> > Correo: reynie...@gmail.com / reynie...@hotmail.com
>
> There is:
>
>
> http://download.opensuse.org/repositories/Archiving:/Backup:/Factory/CentOS_CentOS-6/x86_64/
>
> Yes, that's right, the Centos repository is maintained by the openSUSE
> project.  They keep it very up to date.
>
> Bill
>
>
> --
> Learn Windows Azure Live!  Tuesday, Dec 13, 2011
> Microsoft is holding a special Learn Windows Azure training event for
> developers. It will provide a great way to learn Windows Azure and what it
> provides. You can attend the event by watching it streamed LIVE online.
> Learn more at http://p.sf.net/sfu/ms-windowsazure
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Any repo for latest release 5.2?

2011-12-18 Thread reynie...@gmail.com
Thanks but I'm getting this error: "Error: Package:
bacula-catalog-postgresql-5.2.3-179.1.x86_64 (Archiving_Backup_Factory)
Requires: libpq.so.4()(64bit)" I need to install PostgreSQL devel?

Ing. Reynier Pérez Mira
Cel: +58 424.180.5609 / +58 416.921.7406
Correo: reynie...@gmail.com / reynie...@hotmail.com



On Sun, Dec 18, 2011 at 5:27 PM, Randy Katz wrote:

>  cd /etc/yum.repos.d
> wget
> http://download.opensuse.org/repositories/Archiving:/Backup:/Factory/CentOS_CentOS-5/Archiving:Backup:Factory.repo
> yum search bacula
>
> Regards,
> Randy
>
>
> On 12/18/2011 11:36 AM, reynie...@gmail.com wrote:
>
> Thanks Bill, now I have a question, how to add this repo to my
> /etc/yum.repos.d? Just adding the URL to any of my .repo files or create a
> new one?
>
> Ing. Reynier Pérez Mira
> Cel: +58 424.180.5609 / +58 416.921.7406
> Correo: reynie...@gmail.com / reynie...@hotmail.com
>
>
>
> On Sun, Dec 18, 2011 at 2:06 PM, Bill Merriam wrote:
>
>>  On Sat, 17 Dec 2011 17:25:28 -0430
>> "reynie...@gmail.com"  wrote:
>>
>> > Hi, exists any repo for CentOS 6 x86_64 with latest version of Bacula?
>> > Cheers and thanks in advace
>> > Ing. Reynier Pérez Mira
>> > Cel: +58 424.180.5609 <%2B58%20424.180.5609> / +58 
>> > 416.921.7406<%2B58%20416.921.7406>
>> > Correo: reynie...@gmail.com / reynie...@hotmail.com
>>
>>  There is:
>>
>>
>> http://download.opensuse.org/repositories/Archiving:/Backup:/Factory/CentOS_CentOS-6/x86_64/
>>
>> Yes, that's right, the Centos repository is maintained by the openSUSE
>> project.  They keep it very up to date.
>>
>> Bill
>>
>>
>> --
>> Learn Windows Azure Live!  Tuesday, Dec 13, 2011
>> Microsoft is holding a special Learn Windows Azure training event for
>> developers. It will provide a great way to learn Windows Azure and what it
>> provides. You can attend the event by watching it streamed LIVE online.
>> Learn more at http://p.sf.net/sfu/ms-windowsazure
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>
>
>
> --
> Learn Windows Azure Live!  Tuesday, Dec 13, 2011
> Microsoft is holding a special Learn Windows Azure training event for
> developers. It will provide a great way to learn Windows Azure and what it
> provides. You can attend the event by watching it streamed LIVE online.
> Learn more at http://p.sf.net/sfu/ms-windowsazure
>
>
>
> ___
> Bacula-users mailing 
> listBacula-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
>
> --
> > Randy Katz - *SimplicityHosting.Com, Inc.* - Premium Web Hosting
> Services
> ██ cPanel Shared, VPS, Dedicated, eCommerce, Affiliates
> ██ Custom Configurations and Pricing Available to your Need
> > http://www.simplicityhosting.com
>
--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Any repo for latest release 5.2?

2011-12-19 Thread reynie...@gmail.com
Hmmm this is the result from running that command:

postgresql-devel-8.4.9-1.el6_
1.1.i686 : PostgreSQL development header files and libraries
Repo: updates
Matched from:
Filename: /usr/lib/libpq.so

postgresql-libs-8.4.9-1.el6_1.1.x86_64 : The shared libraries required for
any PostgreSQL clients
Repo: installed
Matched from:
Filename: /usr/lib64/libpq.so.5.2
Other   : libpq.so
Other   : libpq.so.5()(64bit)
Filename: /usr/lib64/libpq.so.5

postgresql91-libs-9.1.2-1PGDG.rhel6.x86_64 : The shared libraries required
for any PostgreSQL clients
Repo: installed
Matched from:
Other   : libpq.so
Filename: /usr/pgsql-9.1/lib/libpq.so.5.4
Other   : libpq.so.5()(64bit)
Filename: /usr/pgsql-9.1/lib/libpq.so.5

postgresql91-devel-9.1.2-1PGDG.rhel6.x86_64 : PostgreSQL development header
files and libraries
Repo: installed
Matched from:
Filename: /usr/pgsql-9.1/lib/libpq.so

And as you can see the libraries are installed so what else I need to
install Bacula?
Cheers and thanks

Ing. Reynier Pérez Mira
Cel: +58 424.180.5609 / +58 416.921.7406
Correo: reynie...@gmail.com / reynie...@hotmail.com


On Mon, Dec 19, 2011 at 6:15 AM, John Doe  wrote:

> From: "reynie...@gmail.com" 
>
> > Thanks but I'm getting this error: "Error: Package:
> bacula-catalog-postgresql-5.2.3-179.1.x86_64 (Archiving_Backup_Factory)
> Requires: libpq.so.4()(64bit)" I need to install PostgreSQL devel?
>
> That would be postgresql-libs but...
>
> yum whatprovides \*libpq.so\*
>
> libpq.so.4 is in CentOS 5.x
>
> CentOS 6.x uses libpq.so.5...
>
>
> JD
>
>
>
> --
> Learn Windows Azure Live!  Tuesday, Dec 13, 2011
> Microsoft is holding a special Learn Windows Azure training event for
> developers. It will provide a great way to learn Windows Azure and what it
> provides. You can attend the event by watching it streamed LIVE online.
> Learn more at http://p.sf.net/sfu/ms-windowsazure
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
--
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] It's possible to use Bacula with PostgreSQL 9.1.x?

2011-12-25 Thread reynie...@gmail.com
Hi and happy new year to every, I'm just wondering if it's possible to use
Bacula with PostgreSQL 9.1.x because I'm trying several ways and have not
luck because it ask for  libpq.so.4. Which is not available at CentOS 6.
Error: Package: bacula-catalog-postgresql-5.2.3-180.1.x86_64
(Archiving_Backup_Factory)
   Requires: libpq.so.4()(64bit)
I tried to fake the repos enabling CentOS 5 but then get this other error:

[root@rep-mgr ~]# yum install postgresql-libs-8.1.23-1.el5_6.1.x86_64
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos-mirror.hostdime.com.br
 * extras: centos-mirror.hostdime.com.br
 * updates: centos-mirror.hostdime.com.br
Setting up Install Process
No package postgresql-libs-8.1.23-1.el5_6.1.x86_64 available.
Error: Nothing to do

But the package exists because see this other command output:

[root@rep-mgr ~]# export http_proxy=http://10.13.13.251:808
[root@rep-mgr ~]# yum whatprovides \*libpq.so\* --enablerepo=base5
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos-mirror.hostdime.com.br
 * base5: centos-mirror.hostdime.com.br
 * extras: centos-mirror.hostdime.com.br
 * updates: centos-mirror.hostdime.com.br
base5

  | 1.1 kB
00:00
base5/primary

  | 1.2 MB
00:03
base5


 3566/3566
base5/filelists

  | 3.5 MB
00:32
postgresql-devel-8.4.9-1.el6_1.1.x86_64 : PostgreSQL development header
files and libraries
Repo: base
Matched from:
Filename: /usr/lib64/libpq.so

postgresql-devel-8.4.9-1.el6_1.1.i686 : PostgreSQL development header files
and libraries
Repo: base
Matched from:
Filename: /usr/lib/libpq.so

postgresql-libs-8.4.9-1.el6_1.1.x86_64 : The shared libraries required for
any PostgreSQL clients
Repo: base
Matched from:
Filename: /usr/lib64/libpq.so.5.2
Other   : libpq.so = 8.4.9-1.el6_1.1
Other   : libpq.so.5()(64bit)
Filename: /usr/lib64/libpq.so.5

postgresql-libs-8.4.9-1.el6_1.1.i686 : The shared libraries required for
any PostgreSQL clients
Repo: base
Matched from:
Filename: /usr/lib/libpq.so.5.2
Filename: /usr/lib/libpq.so.5
Other   : libpq.so.5
Other   : libpq.so = 8.4.9-1.el6_1.1

postgresql84-devel-8.4.7-1.el5_6.1.i386 : PostgreSQL development header
files and libraries
Repo: base5
Matched from:
Filename: /usr/lib/libpq.so

postgresql-libs-8.1.23-1.el5_6.1.i386 : The shared libraries required for
any PostgreSQL clients.
Repo: base5
Matched from:
Other   : libpq.so
Filename: /usr/lib/libpq.so.4
Other   : libpq.so.4
Filename: /usr/lib/libpq.so.4.1

postgresql84-libs-8.4.7-1.el5_6.1.i386 : The shared libraries required for
any PostgreSQL clients
Repo: base5
Matched from:
Filename: /usr/lib/libpq.so.5.2
Other   : libpq.so = 8.4.7-1.el5_6.1
Filename: /usr/lib/libpq.so.5
Other   : libpq.so.5

postgresql-libs-8.1.23-1.el5_6.1.x86_64 : The shared libraries required for
any PostgreSQL clients.
Repo: base5
Matched from:
Other   : libpq.so
Other   : libpq.so.4()(64bit)
Filename: /usr/lib64/libpq.so.4.1
Filename: /usr/lib64/libpq.so.4

postgresql84-libs-8.4.7-1.el5_6.1.x86_64 : The shared libraries required
for any PostgreSQL clients
Repo: base5
Matched from:
Filename: /usr/lib64/libpq.so.5.2
Other   : libpq.so = 8.4.7-1.el5_6.1
Other   : libpq.so.5()(64bit)
Filename: /usr/lib64/libpq.so.5

postgresql84-devel-8.4.7-1.el5_6.1.x86_64 : PostgreSQL development header
files and libraries
Repo: base5
Matched from:
Filename: /usr/lib64/libpq.so

postgresql-devel-8.1.23-1.el5_6.1.i386 : PostgreSQL development header
files and libraries.
Repo: base5
Matched from:
Filename: /usr/lib/libpq.so

postgresql-devel-8.1.23-1.el5_6.1.x86_64 : PostgreSQL development header
files and libraries.
Repo: base5
Matched from:
Filename: /usr/lib64/libpq.so

So, any help on this?
Cheers and thanks in advance

Ing. Reynier Pérez Mira
Cel: +58 424.180.5609 / +58 416.921.7406
Correo: reynie...@gmail.com / reynie...@hotmail.com
--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] It's possible to use Bacula with PostgreSQL 9.1.x?

2011-12-26 Thread reynie...@gmail.com
Thanks Joseph it works like a charm, I did not know about this repo and few
days ago I ask about the same in the list and it was several answers as for
example: symlink  libpq.so.4 to  libpq.so.5, use SuSE repositories and none
works until now.
Cheers and happy new year

Ing. Reynier Pérez Mira
Cel: +58 424.180.5609 / +58 416.921.7406
Correo: reynie...@gmail.com / reynie...@hotmail.com



On Sun, Dec 25, 2011 at 10:18 PM, Joseph L. Casale <
jcas...@activenetwerx.com> wrote:

> >Hi and happy new year to every, I'm just wondering if it's possible to
> use Bacula with
> >PostgreSQL 9.1.x because I'm trying several ways and have not luck
> because it ask for
> > libpq.so.4. Which is not available at CentOS 6.
>
> >I tried to fake the repos enabling CentOS 5 but then get this other error:
>
> I can't imagine a good reason to do ever do that? While I use the provided
> Postgre
> packages the fact those packages are built for centos 6 but don’t provide
> their own
> non stock deps nor get them from any package in base is concerning. Last
> time I looked
> at the spec it was so long and unruly I wasn’t surprised they became
> impossible to
> maintain.
>
> >So, any help on this?
>
> Yes, I can only imagine the packages at that repo are built but not ever
> tested. If they
> are tested, the QA environment certainly does not represent a stock setup
> as you just
> found one of more issues with them. Now you will encounter other problems
> when
> you remove those packages, you'll end up needing to prevent the scripts
> section from
> executing as they likely won't work, then be forced to cleanup manually
> removing old
> init scripts and working directories etc.
>
> Install from a repo that is tested and does work, delete that repo file
> add the one from
> Simone Caronni at
> http://repos.fedorapeople.org/repos/slaanesh/bacula/epel-6/x86_64/
>
> These packages do work well and the maintainer validates his builds and
> uses a
> more thorough build process. He's also responsive to suggestions from the
> list.
>
> Good luck,
> jlc
>
> --
> Write once. Port to many.
> Get the SDK and tools to simplify cross-platform app development. Create
> new or port existing apps to sell to consumers worldwide. Explore the
> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
> http://p.sf.net/sfu/intel-appdev
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula and PostgreSQL in UTF8

2011-12-26 Thread reynie...@gmail.com
Hi every:
I know this topic has been discussed here before but can't find a solution
or the best solution to it. I have installed PgSQL 9.1.2-4 from PostgreSQL
official repositories and when run the initdb and because I'm on Linux it
takes UTF-8 as the encoding. Now I'm trying to running the command
create_bacula_database and get this error:

psql: FATAL: role "root" does not exist.

!
 Creation of bacula database failed. 
!

Database encoding bad. Do not use this database

So my question here is: it's posibble to use this PgSQL to store Bacula
Catalog? Then here I have two problems: one for the role "root" which not
exists in my PgSQL and the other for the encoding then which are the steps
I must follow in order to get this work?

Cheers and thanks in advance

Ing. Reynier Pérez Mira
Cel: +58 424.180.5609 / +58 416.921.7406
Correo: reynie...@gmail.com / reynie...@hotmail.com
--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] It's possible to use Bacula with PostgreSQL 9.1.x?

2011-12-26 Thread reynie...@gmail.com
Hi Bruno and yes you're right in CentOS 6 only PostgreSQL 8.4.4 is present
but I get latest 9.1.2 from PostgreSQL repositories and for that my
problem, any way I have installed now Bacula 5.3 (latest) and PostgreSQL
9.1.2-4 thanks to the Bacula Community and I will continue using Bacula for
a long time :) and jlc and Bruno this is not a thread for cause problems I
just ask for help :) so peace jejejeje
Regards both
Ing. Reynier Pérez Mira
Cel: +58 424.180.5609 / +58 416.921.7406
Correo: reynie...@gmail.com / reynie...@hotmail.com



On Mon, Dec 26, 2011 at 2:48 PM, Bruno Friedmann  wrote:

> The funky things is we build for pure stock release and CentOS 6 has only
> postgresql 8.4.4
>
> jlc : about the cleaning, in rpm way and guidlines (cross-distribution) we
> don't have the right to remove
> something that has been touched (there's the purge option for that)
> Also you never send any comment or feedback against the package, we're
> trying to build for the community.
> emails are in spec, in build environnement etc.
>
> As we are only humans, working for free, sorry we can't get it perfect on
> the first try.
>
> and second point the lenght of the spec, omg the simone has 1160 lines our
> 1360  ... wtf!
> sorry bacula is not simple as a plasmoid to package especially when you
> try to get build and working for 12 distributions version.
>
> But at least you are free to not trust the open build system if you want,
> but most of your remarks are just wrong, or fud.
>
> And the last point, I've patched the description of the project, it's a
> factory : so not intended to be used on production yet!
>
--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] It's possible to use Bacula with PostgreSQL 9.1.x?

2011-12-26 Thread reynie...@gmail.com
Hi, it's me again. I'm following the book to configure my bacula but can't
find the bacula script to start bacula-dir, bacula-sd and bacula-fd should
be in somewhere but "locate bacula" does not find this file. Remember I
installed from repos recomended by Joseph so I miss something or I need to
start the daemon one by one?
Cheers
Ing. Reynier Pérez Mira
Cel: +58 424.180.5609 / +58 416.921.7406
Correo: reynie...@gmail.com / reynie...@hotmail.com



On Mon, Dec 26, 2011 at 4:42 PM, Joseph L. Casale  wrote:

> >The funky things is we build for pure stock release and CentOS 6 has only
> postgresql 8.4.4
>
> Maybe you missed the OPs query about the libpq.so.4 dep? Not sure what
> provides that? I
> saw that in a recent build, looks like its resolved now as it correctly
> requires libpq.so.5.
>
> >jlc : about the cleaning, in rpm way and guidlines (cross-distribution)
> we don't have the right
> > to remove something that has been touched (there's the purge option for
> that)
>
> Uhm, when you `yum update` you often get the new package installed
> alongside the old one,
> as well as when you attempt to simply remove the packages, the scripts
> section has issues
> and leaves you no choice but to remove with a --noscripts. I think you
> need to review your
> postun's at a minimum.
>
> Are the init scripts getting left behind no an uninstall ok?
>
> >Also you never send any comment or feedback against the package, we're
> trying to build
> > for the community. emails are in spec, in build environnement etc.
>
> Actually I did and it went unanswered?
>
> >As we are only humans, working for free, sorry we can't get it perfect on
> the first try.
>
> I don’t object to that, and I do appreciate the effort but for people
> without devel environments
> and or the knowledge and infrastructure to test all this, the packages in
> a broken state cause
> more harm than good, no?
>
> >and second point the lenght of the spec, omg the simone has 1160 lines
> our 1360  ... wtf!
> >sorry bacula is not simple as a plasmoid to package especially when you
> try to get build
> >and working for 12 distributions version.
>
> I guess it's not the line count specifically, but how the spec file is
> written, have look at them
> side by side...
>
> >But at least you are free to not trust the open build system if you want,
> but most of your
> >remarks are just wrong, or fud.
>
> Sigh, the packages have factual errors, the bad lib dep recently, the
> broken postun's, do you
> not see this as an issue? I don’t not trust it just for the fun of it?
> Which part specifically is fud?
>
> >And the last point, I've patched the description of the project, it's a
> factory : so not intended
> >to be used on production yet!
>
> 5.2.3 is upstreams stable production release, it is somewhat misleading
> for a user to then see
> 5.2.3 rpms that are only devel level builds when hunting for something to
> install, but I guess
> by the factory def you are right...
>
> --
> Write once. Port to many.
> Get the SDK and tools to simplify cross-platform app development. Create
> new or port existing apps to sell to consumers worldwide. Explore the
> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
> http://p.sf.net/sfu/intel-appdev
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users