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

2015-08-30 Thread Reynier Perez Mira
Hi Kern, FYI by running ./configure --with-mysql & make I was able to
compile everything I just don't install just yet. I'm waiting for RPMs
packages at repository by Simeone
Thanks


From: Kern Sibbald [mailto:k...@sibbald.com] 
Sent: Thursday, August 27, 2015 2:05 PM
To: reynie...@gmail.com; John Stoffel 
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Compile release 7.2.0 from sources failed in
Centos 6.7

Hello,

Doing:

./configure ... options
make

would be fine and allow you to see if Bacula builds correctly on your
system.

What you do want to avoid in your particular situation is doing:

make install  # do not do this

Best regards,
Kern

___
Bacula-users mailing list
mailto:Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2015-08-27 Thread Reynier Perez Mira
Thanks John, I'm very grateful for your time and help. I will clone my VM
and test this compilation, don't worry and I come back with some updates
while I waits for repos releases.
Cheers

-Original Message-
From: John Stoffel [mailto:j...@stoffel.org] 
Sent: Thursday, August 27, 2015 9:40 AM
To: reynie...@gmail.com
Cc: John Stoffel ; bacula-users@lists.sourceforge.net
Subject: RE: [Bacula-users] Compile release 7.2.0 from sources failed in
Centos 6.7


reynierpm> Isn't hurt me you're right but what about if I want to update 
reynierpm> the release? I will need to compile again and that's exactly 
reynierpm> what I'm trying to avoid. If you tell me that I can compile 
reynierpm> and then update using repository then good I can compile and 
reynierpm> try if not I prefer to wait

Ok... but you asked for help to re-compile it, and I gave you a hint that
your pre-defining of the CFLAGS was breaking things, and to not do it.  

I strongly suspect that you shouldn't have done that for your OLD compile
either, but I don't have enough details to be sure.

So anyway, feel free to wait, but I'd *still* do a test compile, if only to
see if I'm doing the right thing here.

Me personally, I'm thinking of switching from mysql to postgres as my
backend, but haven't made the leap yet.

Cheers,
John


--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2015-08-26 Thread Reynier Perez Mira
That's exactly what I thought, some bad setup on the CFLAGS, but I'll waits
until Simone builds the RPMS for CentOS, anyway thanks for your suggestion
Regards

-Original Message-
From: John Stoffel [mailto:j...@stoffel.org] 
Sent: Wednesday, August 26, 2015 9:54 PM
To: reynie...@gmail.com
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Compile release 7.2.0 from sources failed in
Centos 6.7

> "reynierpm@gmail" == reynierpm@gmail com 
writes:

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

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

Get rid of all this export CFLAGS, compilers and environments have
progressed alot over the years.  You're trying to restrict your CPU to an
old Pentium, which is broken in today's world.

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] Some help on this ...

2009-07-04 Thread Reynier Perez Mira
Hi every:
Thanks to many here I have Bacula working fine with 55 clients for now 
and one Storage (File) and I'm proud of this. Now I'm moving to the next 
step "Configuring my Tape Library". I have the Tape Library wich is Dell 
PowerVault 122 to a Windows Server. I want to use Bacula to save backups 
also to tapes when a certainly period has ended. For example my backup 
politics is:
1) Volume and Jobs retention: 1 year
2) Full Backup: First time off course and then the last Sunday of the month
3) Differential Backup: Every sunday except the last because Full Backup
4) Incremental Backup: Diary except when are Differential or Full

Now I want every week to save the Differential and Full backups to tapes 
but haven't any idea in how to do this. First of all as I said before 
the Tape Library is attached to a Windows Server 2003 RC2, second I 
haven't much knowledge about this topic.

What's your recommendations at this point? Any guide? Any samples? Any tip?
I'll be gracefully if any can help me here
Best,
-- 
Ing. Reynier Pérez Mira

--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] backup catalog fail?

2009-07-03 Thread Reynier Perez Mira

ginzzer wrote:

I check that, no /var/bacula directory. But I also check
make_catalog_backup, seems that it will produced a sql naming with the
database instead of bacula.sql, I change the corresponding option in the
configuration file and it seems work fine now. So am I doing it right?

on 2/7/2009 5:20:03, Kevin Keane  wrote:
Re: [Bacula-users] backup catalog fail?




Hi every:
I have a question here. I need to backup Bacula DB (PostgreSQL) too. My 
Job for do that is as follow:


Job {
  Name = "BackupCatalog"
  JobDefs = "DefaultJob"
  Level = Full
  FileSet="Catalog"
  Schedule = "WeeklyCycleAfterBackup"
  RunBeforeJob = "/etc/bacula/make_catalog_backup bacula_db bacula_user 
bacula_pass 10.128.50.3"

  RunAfterJob  = "/etc/bacula/delete_catalog_backup"
  Write Bootstrap = "/var/bacula/working/BackupCatalog.bsr"
  Priority = 11   # run after main backup
}

This create a file called bacula.sql in /var/bacula/working. Now I want 
to backup this file to my Storage (File). How I do that? I mean wich is 
the correct configuration? I need to create another Job?


Cheers and thanks in advance
--
Ing. Reynier Pérez Mira
begin:vcard
fn;quoted-printable:Reynier P=C3=A9rez Mira
n;quoted-printable:P=C3=A9rez Mira;Reynier
email;internet:rper...@uci.cu
tel;work:053-7-8358824
tel;pager:23744
tel;home:053-23-426126
x-mozilla-html:FALSE
version:2.1
end:vcard

--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backup space quotas

2009-07-02 Thread Reynier Perez Mira

Lee Huffman wrote:

Hello,

I'm trying to determine if there's a way to define space quotas on a per 
host basis in Bacula. I figured there might be a way to do it by 
limiting the size of volumes, number of volumes within a pool, and 
assigning each host it's own pool. I read in an old thread that this 
goes against the design principles of Bacula, but I could not find 
anything definitive.




Hi Lee:
I'm interesting in this featuring too. Have you something concrete about 
this topic? Maybe will be good if you open a new "Features request" and 
see wath Kern have to say. If any have C or C++ experience then we will 
help to program this feature, don't you think?

Cheers and waiting for your comments
--
Ing. Reynier Pérez Mira
begin:vcard
fn;quoted-printable:Reynier P=C3=A9rez Mira
n;quoted-printable:P=C3=A9rez Mira;Reynier
email;internet:rper...@uci.cu
tel;work:053-7-8358824
tel;pager:23744
tel;home:053-23-426126
x-mozilla-html:FALSE
version:2.1
end:vcard

--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problems with BAT after compile

2009-07-02 Thread Reynier Perez Mira

Dirk Bartley wrote:

You may be a little more litteral than I had hoped.  search the file for
baccfg

I run make install > make.output 2>&1 and get a line in make.output like

/home/dbartley/src/bacula/libtool --silent --tag=CXX --finish
--mode=install /usr/bin/install -c -m 0754 libbaccfg.la /usr/lib

which show libbaccfg being intalled in /usr/lib/

then

# ls /usr/lib | grep baccfg
libbaccfg.la
libbaccfg.so
libbaccfg.so.1
libbaccfg.so.1.0.0

The question I'm attempting toward is where is libbaccfg being installed
and what is the contents of /etc/ld.so.conf

Then with the directory that libbaccfg.so exists in the /etc/ld.so.conf
run
ldconfig
ldconfig -p | less to confirm.



Thanks Dirk, it was always my mistake. Because I follow the instructions 
pointed here: 
http://wiki.bacula.org/doku.php?id=howto_compile_and_install_bacula_bat_on_ubuntu_or_debian 
I forget to run "make install" and only execute "make" for that the 
library never was copied to /usr/lib. Who is at charge of this page? I 
will advice of this mistake because some others maybe have the same 
problem the first time.


Cheers and thanks for everything
--
Ing. Reynier Pérez Mira
begin:vcard
fn;quoted-printable:Reynier P=C3=A9rez Mira
n;quoted-printable:P=C3=A9rez Mira;Reynier
email;internet:rper...@uci.cu
tel;work:053-7-8358824
tel;pager:23744
tel;home:053-23-426126
x-mozilla-html:FALSE
version:2.1
end:vcard

--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problems with BAT after compile

2009-07-01 Thread Reynier Perez Mira

Dirk H Bartley wrote:

Try re-running make install and redirect to a file like so:

make install > make.output 2>&1

Then check the make.output file for where the library is installing.  My
first guess is that it is installing in somewhere like /opt...
or /usr/local/lib that is not in /etc/ld.so.conf

Dirk



Well I do the things as you suggest but didn't find this library. Wich 
package I need to install to do this?

Cheers
--
Ing. Reynier Pérez Mira
begin:vcard
fn;quoted-printable:Reynier P=C3=A9rez Mira
n;quoted-printable:P=C3=A9rez Mira;Reynier
email;internet:rper...@uci.cu
tel;work:053-7-8358824
tel;pager:23744
tel;home:053-23-426126
x-mozilla-html:FALSE
version:2.1
end:vcard

--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problems with BAT after compile

2009-07-01 Thread Reynier Perez Mira

Dirk Bartley wrote:

Did you run ldconfig after installing.  Is the path that the
libbaccfg.so.1 in the /etc/ld.so.conf file??  Use "ldconfig -p | less"
to determine if the linux loader knows of it's existence

Dirk



I didn't run until now but checking the file /etc/ld.so.conf I didn't 
see any file called libbaccfg.so.1. I run also the command: locate 
libbaccfg.so.1 and nothing appears. I miss something? When I run again 
the same bat command I get the same error


--
Ing. Reynier Pérez Mira
begin:vcard
fn;quoted-printable:Reynier P=C3=A9rez Mira
n;quoted-printable:P=C3=A9rez Mira;Reynier
email;internet:rper...@uci.cu
tel;work:053-7-8358824
tel;pager:23744
tel;home:053-23-426126
x-mozilla-html:FALSE
version:2.1
end:vcard

--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Problems with BAT after compile

2009-07-01 Thread Reynier Perez Mira

Hi every:
I follow the steps to configure and make BAT. The directory where I 
compile was located in /tmp/bacula-3.0.1 and I delete after compile. 
When I try to run BAT from command line using this command:


bat -d99 -c /etc/bacula/bat.conf

I get this error:

/usr/sbin/.libs/lt-bat: error while loading shared libraries: 
libbaccfg.so.1: cannot open shared object file: No such file or directory


Can any help me to solve this problem?
--
Ing. Reynier Pérez Mira
begin:vcard
fn;quoted-printable:Reynier P=C3=A9rez Mira
n;quoted-printable:P=C3=A9rez Mira;Reynier
email;internet:rper...@uci.cu
tel;work:053-7-8358824
tel;pager:23744
tel;home:053-23-426126
x-mozilla-html:FALSE
version:2.1
end:vcard

--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] A doubt about SVN backups

2009-07-01 Thread Reynier Perez Mira

Hi every:
I need to backup some SVN repositories. For that I check this wiki page 
http://wiki.bacula.org/doku.php?id=application_specific_backups:subversion_repositories 
 I don't know if this is outdate but I think that maybe it works (I 
need to test). My doubt came with the Job definition and Fileset. For 
now my client config is as follow:


#Job Definition
Job {
  Name = "SP_DC_SVN-FD"
  JobDefs = "DefinicionPorDefectoParaCopias"
  Level = Incremental
  Client = salvasprod_dc_svn-fd
  FileSet = "SP_DC_SVN-FS"
  Schedule = "ScheduleFull"
  Write Bootstrap = "/data/BoostrapFiles/SP_DC_SVN-FD.bsr"
  Priority = 5
  Pool = SP_DC_SVN_Pool

  RunScript {
Runs on Client = Yes
Runs When = Before
Abort Job on Error = No
Command = "/etc/bacula/scripts/svn_save.sh %l"
  }
}

#FileSet Definition
FileSet {
  Name = "SP_DC_SVN-FS"
  Include {
Options {
  signature = SHA1
  compression = GZIP
  onefs = no
}
File = "/etc"
  }
}

My question is: I need to define a Fileset when the script svn_save.sh 
backup the SVN using svnadmin command? Or the script only create the .gz 
file from svnadmin command and then in Fileset I need to specify the 
directory where .gz files are located?

Regards and waiting for your comments
--
Ing. Reynier Pérez Mira
begin:vcard
fn;quoted-printable:Reynier P=C3=A9rez Mira
n;quoted-printable:P=C3=A9rez Mira;Reynier
email;internet:rper...@uci.cu
tel;work:053-7-8358824
tel;pager:23744
tel;home:053-23-426126
x-mozilla-html:FALSE
version:2.1
end:vcard

--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to correctly delete a client

2009-07-01 Thread Reynier Perez Mira

Bruno Friedmann wrote:

Okay, I was afraid dbcheck was the only solution. Thanks.

--
// Tom


If too afraid, you can also dig with sql in the db .. :-)))




Hi both:
I'm running a similar problem: the DB have orphan records and I need to 
delete them. I was thinking and generate a SQL query could be tedious. I 
find the dbcheck script but didn't found in any directory of my Bacula 
Server. Can any say me where it's located?


Cheers
--
Ing. Reynier Pérez Mira
begin:vcard
fn;quoted-printable:Reynier P=C3=A9rez Mira
n;quoted-printable:P=C3=A9rez Mira;Reynier
email;internet:rper...@uci.cu
tel;work:053-7-8358824
tel;pager:23744
tel;home:053-23-426126
x-mozilla-html:FALSE
version:2.1
end:vcard

--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] I need to restart Bacula every times I made a change ...

2009-06-30 Thread Reynier Perez Mira

Hi every:
I'm configuring Bacula but day by day I need to add a client or maybe 
two or even more. I do that including a config file using "@" notation 
in bacula-dir.conf. I'm asking if I need to restart Bacula every times I 
add a new client or when I make changes in some specified client. Exists 
any way to avoid this? I'm asking because sometimes when I add a client 
some Bacula jobs are running if I'm restart the Bacula daemons all go 
down and my jobs fails.


Cheers and thanks in advance
--
Ing. Reynier Pérez Mira
begin:vcard
fn;quoted-printable:Reynier P=C3=A9rez Mira
n;quoted-printable:P=C3=A9rez Mira;Reynier
email;internet:rper...@uci.cu
tel;work:053-7-8358824
tel;pager:23744
tel;home:053-23-426126
x-mozilla-html:FALSE
version:2.1
end:vcard

--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula and Alfresco integration

2009-06-29 Thread Reynier Perez Mira

Hi Arno:
I'm configuring Bacula to save a PostgreSQL DB Server with your script 
but have some doubts. I create a file called DBServer wich contains the 
configuration for "DatabaseBackup" script. I give 770 permissions and 
root propietary as the doc said. So after that I execute the command:


./DatabaseBackup DBServer

and get this output:

 summary output of important settings: 
P_LOGGER :
P_MKTEMP :
LOG_STDERR : 0
LOG_STDOUT : 0
LOG_SYSLOG : 1
OUT_DUMP : /home
OUT_ERR : /dev/null
OUT_LOGERR : 0
DB_ALLDATABASES : 1
DB_DATABASES : *
DB_DUMPPROG : /usr/bin/pg_dumpall --user=postgres *
DB_HOST : localhost
DB_PASS : secret_pass
DB_PORT : 5432
DB_SOCKET :
DB_TYPE : postgres
DB_USER : postgres
BG_ON : 0
BG_STARTWAIT : 5
BG_WATCHDOGWAIT : 3600
TMPFILE : /tmp/DatabaseBackup.temp.29035.1246293364
TMPFILES :
TMPFILES_TOKEEP :
===

But nothing is saved. I'm doing something wrong?
Regards and waiting for your comments
PS: In this days I start backing up a Alfresco Server so I send you the 
feedback as soon as I get it.

--
Ing. Reynier Pérez Mira
begin:vcard
fn;quoted-printable:Reynier P=C3=A9rez Mira
n;quoted-printable:P=C3=A9rez Mira;Reynier
email;internet:rper...@uci.cu
tel;work:053-7-8358824
tel;pager:23744
tel;home:053-23-426126
x-mozilla-html:FALSE
version:2.1
end:vcard

--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula at FUDCon / LinuxTag plus invitation to social event

2009-06-18 Thread Reynier Perez Mira

Arno Lehmann wrote:
I'd really like to meet more of you in person. Even though we don't 
have to discuss Bacula or Backups or your work, both Eric Bollengier 
and I will be there  to answer any questions you might have regarding 
the relationship between the Bacula Open Source project and what 
Bacula Systems does!


This not applied to me, you know why. I just will wait for the 
presentation if you release after the conference to see it. Also I'm 
working in a internal community of Bacula in my work center. I'll let 
you know when this is complete.


Best
--
Ing. Reynier Pérez Mira
begin:vcard
fn;quoted-printable:Reynier P=C3=A9rez Mira
n;quoted-printable:P=C3=A9rez Mira;Reynier
email;internet:rper...@uci.cu
tel;work:053-7-8358824
tel;pager:23744
tel;home:053-23-426126
x-mozilla-html:FALSE
version:2.1
end:vcard

--
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


[Bacula-users] Setting variables directly from Bacula, is possible?

2009-06-12 Thread Reynier Perez Mira
Hi every:
I have Bacula configured for send me a beeper in case a Job fail. This script 
(make in Perl) needs Internet connection. Now I want to set the environment var 
http_proxy and unset directly from Bacula. Is this possible? I mean for 
example, following a simple logic:

if (job_fail)
 set http_proxy = some_ip:some_port
 send the beeper trough send_beeper.pl script
 set http_proxy = 

I need this because some others applications have a local repository and If I 
want to install something it fails because the proxy is on.

Any help on this?
Ing. Reynier Pérez Mira



--
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


[Bacula-users] Running jobs doesn't start

2009-06-10 Thread Reynier Perez Mira
Hi again:
I'm running 3 jobs at the same time and I'm using Webacula to monitoring the 
status of this jobs. None job is running OK and I don't know why. Can any help 
me? See the output below

Job Id   Level   Job Name   
Status
27   FullSP_CENTALAD-FD.2009-06-10_15.04.02_03  is 
waiting for Client salvasprod_centalad-fd to connect to Storage FileSAN
28   Full
SP_F06_POLO_BIOINFORMATICA-FD.2009-06-10_15.05.58_16   is waiting on max 
Storage jobs
29   FullSP_F10-FD.2009-06-10_15.06.42_20   
is waiting on max Storage jobs

What's wrong here?
Regards
Ing. Reynier Pérez Mira



--
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


[Bacula-users] Running a script on Failure

2009-06-10 Thread Reynier Perez Mira
Hi every:
I need send a beeper message when a Bacula Jobs fails. For this I write this in 
JobDefs:

JobDefs {
  Name = "DefinicionPorDefectoParaCopias"
  Type = Backup
  Level = Incremental
  Storage = FileSAN
  Messages = Standard
  Priority = 5 #Es la opcion por defecto, a mayor numero menos prioridad
  Reschedule on error = yes
  Reschedule interval = 1 hour
  Reschedule times = 2
  Max Start Delay = 8 hours
  RunScript {
RunsWhen = After
RunsOnFailure = yes
Command = /etc/bacula/scripts/paging.pl 23744 Job %n: %e
  }
}

Now the paging.pl script is this one:

#!/usr/bin/perl -w
#
# This script send beeper to movitel (v 1.1)
# Usage:
#   paging.pl  
#
use strict;

#Modulos para hacer un request HTTP
use LWP::UserAgent;
require HTTP::Request::Common;
require HTTP::Headers;

if ((defined($ARGV[0])) and (defined($ARGV[1])))
{
  my $pin = $ARGV[0];
  my $mess = substr($ARGV[1],0,119);
  my $url  = 'http://www.movitel.co.cu/cgi-bin/paging-send.pl';
  #printf "$pin|$mess\n";

  #INPUT Values from the web page of movitel
  my $tserv = 1;
  my $PIN = $pin;
  my $Msg = $mess;
  my $ok = 'http://www.movitel.co.cu/index.php?page=envios_ok';
  my $error = 'http://www.movitel.co.cu/index.php?page=envios_error';
  my $Submit2 = 'Enviar';

  my $browser = LWP::UserAgent->new;

  #my $header = HTTP::Headers->new(Content_Type => 'text/html; 
charset=iso-8859-1');
  #my $Request = 
HTTP::Request->new(POST=>$url,[Content_Type=>'application/x-www-form-urlencoded',tserv=>'1',PIN=>$pin,Msg=>$mess,ok=>$ok,error=>$error,Submi
  #printf $Request->as_string();
  #my $Response = $browser->request($Request);

  # send it 2 times to ensure it arrives
  my $Response = 
$browser->post($url,[tserv=>'1',PIN=>$pin,Msg=>$mess,ok=>$ok,error=>$error,Submit2=>'Enviar']);
  $Response = 
$browser->post($url,[tserv=>'1',PIN=>$pin,Msg=>$mess,ok=>$ok,error=>$error,Submit2=>'Enviar']);

  my $Resultado = $Response->content();

  my $Resp = "Unknow";
  if ($Resultado =~ /page\=envios_ok/i) {
$Resp = "0k";
  }
  if ($Resultado =~ /page\=envios_error/i) {
$Resp = "Error";
  }

  #printf $Resultado;
  my $time = localtime;
  open  File,">>/var/log/nagios/paging.log";
  print File "$time\|$pin\|$mess\|$Resp(movitel)\n";
  close File;
}

But Bacula never send me a message. What's wrong here?

Cheers and thanks in advance
Ing. Reynier Pérez Mira



--
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


[Bacula-users] Error while trying to access bacula-dir from a external console

2009-06-10 Thread Reynier Perez Mira
Hi every:
I want to check Bacula Dir from external Server and not the same where it's 
installed. WhenI type bconsole command in the remote server I get this error:

Connecting to Director 10.128.50.11:9101
10-Jun 09:09 bconsole JobId 0: Fatal error: bsock.c:129 Unable to connect to 
Director daemon on 10.128.50.11:9101. ERR=Connection refused

Why happen this?
Regards
Ing. Reynier Pérez Mira



--
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


[Bacula-users] Webacula configuration problems

2009-06-08 Thread Reynier Perez Mira
Hi every:
I trying to install Webacula 3.0 following every step in README file. This is 
my VirtualHost definition:

ServerName webacula
ServerAlias webacula.prod.uci.cu
ServerAdmin rper...@uci.cu
DirectoryIndex index.php index.htm index.html
DocumentRoot /var/www/webacula/html

Options FollowSymLinks
AllowOverride None


Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all


ErrorLog /var/log/apache2/webacula-error.log
LogLevel debug #To see the errors
CustomLog /var/log/apache2/webacula-access.log combined
ServerSignature Off


When I try to access to webacula I get this error in my browser:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to 
complete your request.
Please contact the server administrator, rper...@uci.cu and inform them of the 
time the error occurred, and anything you might have done that may have caused 
the error.
More information about this error may be available in the server error log.

I check then the logs files and see the output:
[Mon Jun 08 17:06:44 2009] [error] [client 10.8.40.4] Request exceeded the 
limit of 10 internal redirects due to probable$
[Mon Jun 08 17:06:44 2009] [debug] core.c(3046): [client 10.8.40.4] r->uri = 
/webacula/index.php
[Mon Jun 08 17:06:44 2009] [debug] core.c(3052): [client 10.8.40.4] redirected 
from r->uri = /webacula/index.php
[Mon Jun 08 17:06:44 2009] [debug] core.c(3052): [client 10.8.40.4] redirected 
from r->uri = /webacula/index.php
[Mon Jun 08 17:06:44 2009] [debug] core.c(3052): [client 10.8.40.4] redirected 
from r->uri = /webacula/index.php
[Mon Jun 08 17:06:44 2009] [debug] core.c(3052): [client 10.8.40.4] redirected 
from r->uri = /webacula/index.php
[Mon Jun 08 17:06:44 2009] [debug] core.c(3052): [client 10.8.40.4] redirected 
from r->uri = /webacula/index.php
[Mon Jun 08 17:06:44 2009] [debug] core.c(3052): [client 10.8.40.4] redirected 
from r->uri = /webacula/index.php
[Mon Jun 08 17:06:44 2009] [debug] core.c(3052): [client 10.8.40.4] redirected 
from r->uri = /webacula/index.php
[Mon Jun 08 17:06:44 2009] [debug] core.c(3052): [client 10.8.40.4] redirected 
from r->uri = /webacula/index.php
[Mon Jun 08 17:06:44 2009] [debug] core.c(3052): [client 10.8.40.4] redirected 
from r->uri = /webacula/index.php
[Mon Jun 08 17:06:44 2009] [debug] core.c(3052): [client 10.8.40.4] redirected 
from r->uri = /html/
[Mon Jun 08 17:06:44 2009] [debug] mod_deflate.c(619): [client 10.8.40.4] Zlib: 
Compressed 534 to 322 : URL /webacula/index.php

What's wrong here?

Ing. Reynier Pérez Mira



--
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] Autolabeling volumes ...

2009-06-03 Thread Reynier Perez Mira
> Do you have "LabelMedia = yes;" in the device resource of the SD
> configuration?

Yes it's. See:

Device {
  Name = FileStorage
  Media Type = File
  Archive Device = /media/bacula_save
  LabelMedia = yes;   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;   # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

Ing. Reynier Pérez Mira

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula and Tape Devices

2009-06-03 Thread Reynier Perez Mira
Hi John:

> > I have one server connected to a SAN in which I get installed and
> configured Bacula. Here is the Director and all others components except
> Catalog which run in another PostgreSQL DB Server. Now I have another Server
> (Win 2003 R2 for now) connected to a PowerVault 122T Tape Drive. I want to
> use this too for make Automatic Backups to tapes with Bacula. It's possible
> to do this? I mean if I have the Director in one server and the Tape Drive
> connected to other Server? Any guide or tip in how to do this?
> >

> Yes, I have my main tape library on a different machine than the
> director. The database is also not on the director machine. I have
> used this configuration for years with bacula. I can not help you with
> windows storage daemons however because all of my storage is on linux
> machines and I also do not have any windows servers.

Thx for your fast reply. Those servers have Windows 2003 for now as I said 
before but I want to install Linux on both. For now I only need to know how to 
setup Bacula for work with this external Tape Drives. I mean for example: what 
I'm need? A Director on those Tape Devices? A client? Just let me know how you 
have configured and I'll try to setup over Windows Enviroment and then publish 
in somewhere in the Wiki.

Cheers and thanks again
Ing. Reynier Pérez Mira

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] What is this error ...

2009-06-02 Thread Reynier Perez Mira
I run a Bacula Job and I get this message and I don't know what is mean:

02-Jun 11:01 salvasprod-fd JobId 15: Fatal error: 
/home/kern/bacula/k/src/filed/job.c:1886 Bad response to Append Data command. 
Wanted 3000 OK data
, got 3903 Error append data

02-Jun 11:01 FileSAN JobId 15: Job 
Copia-SalvasProdFull-FD.2009-06-02_10.35.28_04 canceled while waiting for mount 
on Storage Device ""FileStorage" (/media/bacula_save)".
02-Jun 11:01 FileSAN JobId 15: Fatal error: fd_cmds.c:170 Command error with 
FD, hanging up. Append data error.

02-Jun 11:01 serverbacula-dir ABORTING due to ERROR
watchdog.c:206 BUG! unregister_watchdog_unlocked called before start_watchdog

Can any help me?

Cheers and thanks in advance
Ing. Reynier Pérez Mira



--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Autolabeling volumes ...

2009-06-02 Thread Reynier Perez Mira
It's possible to Autolabel a volume? Every time I run a job it start fine but 
then it wait for a label command and I don't want that. This is my 
configuration for Pool directive:

Pool {
  Name = Copia-SalvasProd-Pool
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 1 year
  Recycle Oldest Volume = yes
  Maximum Volume Jobs = 1
  Label Format =  SalvasProd_Pool-
  Maximum Volumes = 2
}

Cheers and thanks in advance
Ing. Reynier Pérez Mira



--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] What is the problem with this deffinitions ...

2009-06-02 Thread Reynier Perez Mira
Hi again:
I have this config for one of my clients:

#Description: Backup the files include in FS for salvasprod-fd
#-
#Job Definition
Job {
  Name = "Copia-SalvasProdFull-FD"
  JobDefs = "DefinicionPorDefectoParaCopias"
  Level = Full
  Client = salvasprod-fd
  FileSet = "Copia-SalvasProd-FS"
  Schedule = "ScheduleFull"
  Write Bootstrap = 
"/media/bacula_save/bootstrap_files/Copia-SalvasProdFull-FD.bsr"
  Priority = 5  
  Pool = Copia-SalvasProd-FullPool
}

#Client Definition
Client {
  Name = salvasprod-fd
  Address = 10.128.50.114
  FDPort = 9102
  Catalog = MyCatalog
  Password = "sKNtH4g5j6GrC7da"
  File Retention = 1 years
  Job Retention = 1 years
}

# Copia mensual completa a la SAN
Schedule {
  Name = "ScheduleFull"
  Run = Level = Full Pool = Copia-SalvasProd-FullPool 4th sun at 4:00   
 
  Run = Level = Differential Pool = Copia-SalvasProd-DifferentialPool sun at 
2:00
  Run = Level = Incremental Pool = Copia-SalvasProd-IncrementalPool mon-sat at 
2:00  
}

#Pool Definition
Pool {
  Name = Copia-SalvasProd-FullPool
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 1 year
  Recycle Oldest Volume = yes
  Maximum Volume Jobs = 1
  Label Format =  Copia-SalvasProd-Pool-Full-
  Maximum Volumes = 2
}

Pool {
  Name = Copia-SalvasProd-DifferentialPool
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 1 year
  Recycle Oldest Volume = yes
  Maximum Volume Jobs = 1
  Label Format =  Copia-SalvasProd-Pool-Differential-
  Maximum Volumes = 2
}

Pool {
  Name = Copia-SalvasProd-IncrementalPool
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 1 year
  Recycle Oldest Volume = yes
  Maximum Volume Jobs = 1
  Label Format =  Copia-SalvasProd-Pool-Incremental-
  Maximum Volumes = 2
}

#FileSet Definition
FileSet {
  Name = "Copia-SalvasProd-FS"
  Include {
Options {
  signature = SHA1
  compression = GZIP9
}
File = "E:/Salva IP/PP_UCI_2009"
  }
}

All it's working fine but Bacula always do a Full Backup and not respect the 
Schedule part. Why? What I'm doing wrong?
Cheers
Ing. Reynier Pérez Mira



--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula and Tape Devices

2009-06-02 Thread Reynier Perez Mira
Hi every:
I have one server connected to a SAN in which I get installed and configured 
Bacula. Here is the Director and all others components except Catalog which run 
in another PostgreSQL DB Server. Now I have another Server (Win 2003 R2 for 
now) connected to a PowerVault 122T Tape Drive. I want to use this too for make 
Automatic Backups to tapes with Bacula. It's possible to do this? I mean if I 
have the Director in one server and the Tape Drive connected to other Server? 
Any guide or tip in how to do this?

Cheers and thanks in advance
Ing. Reynier Pérez Mira



--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] A external job doesn't recognize the JobDefs

2009-06-01 Thread Reynier Perez Mira
Ok, I answer myself. I bring up the includes just before JobDefs and now it 
works perfectly

# Jobs and Clients Definitions
@/etc/Bacula/clients/salvasprod-fd.conf

JobDefs {
  Name = "DefinicionPorDefectoParaCopias"
  Type = Backup
  Level = Incremental
  Storage = FileSAN
  Messages = Standard
  Priority = 5
  Reschedule on error = yes
  Reschedule interval = 1 hour
  Reschedule times = 2
  Max Start Delay = 8 hours
}

Cheers
Ing. Reynier Pérez Mira

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] What this message means?

2009-06-01 Thread Reynier Perez Mira
Hi:
I configure a Job and for testing I connect to bconsole and run the Job. I get 
this message and really don't know where the problem is:

Console connected at 01-Jun-09 13:52
 JobId Level   Name   Status
==
 8 FullCopia-SalvasProdFull-FD.2009-06-01_13.53.21_03 is waiting for 
Client salvasprod-fd to connect to Storage FileSAN


Can any help me here?
Cheers
Ing. Reynier Pérez Mira



--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] A external job doesn't recognize the JobDefs

2009-06-01 Thread Reynier Perez Mira
Hi every:
To get a better organization in my file and touch the Director 
(bacula-dir.conf) less I make a choice: work with external config files. Each 
file contains definitions for Job, Client, Schedule, Pools and FileSet. Then in 
my bacula-dir.conf file I add this line (for each new client):
@/etc/bacula/clients/salvasprod-fd.conf 

The JobDefs is defined in the bacula-dir.conf. My configuration now is as 
follow:

1) bacula-dir.conf (I delete the non relevant parts for make the post more 
readable)

Director {# define myself
  Name = serverbacula-dir
  Description = "Bacula Director Centro de Datos UCI"
  DIRport = 9101# where we listen for UA connections
  QueryFile = "/etc/bacula/query.sql"
  WorkingDirectory = "/var/bacula/working"
  PidDirectory = "/var/run"
  Maximum Concurrent Jobs = 5
  Password = "shqjya3k7n8w673ieDj6fRkh2SciKrBL2GhB6RrasThBG2xYTufoY3chV3cvm6x9" 
 Messages = Daemon
  FD Connect Timeout = 15 min 
  SD Connect Timeout = 15 min 
  Max Console Connections = 5 
}

JobDefs {
  Name = "DefinicionPorDefectoParaCopias"
  Type = Backup
  Level = Incremental
  Storage = FileSAN
  Messages = Standard
  Priority = 5 
  Reschedule on error = yes
  Reschedule interval = 1 hour
  Reschedule times = 2
  Max Start Delay = 8 hours
}

# Jobs and Clients Definitions
@/etc/Bacula/clients/salvasprod-fd.conf

2) salvasprod-fd.conf (contains the real definition for this client)
#Description: Backup the files include in FS for salvasprod-fd
#-
#Job Definition
Job {
  Name = "Copia-SalvasProdFull-FD"
  JobDefs = "DefinicionPorDefectoParaCopias"
  Level = Full
  Client = salvasprod-fd
  FileSet = "Copia-SalvasProd-FS"
  Schedule = "ScheduleFull"
  Write Bootstrap = 
"/media/bacula_save/bootstrap_files/Copia-SalvasProdFull-FD.bsr"
  Priority = 5  # Se ejecuta una vez que se haya realizado la salva
}

#Client Definition
Client {
  Name = salvasprod-fd
  Address = 10.128.50.114
  FDPort = 9102
  Catalog = MyCatalog
  Password = "sKNtH4g5j6GrC7da"
  File Retention = 1 years
  Job Retention = 1 years
}

# Copia mensual completa a la SAN
Schedule {
  Name = "ScheduleFull"
  Run = Level = Full Pool = Copia-SalvasProd-FullPool 4th sun at 4:00   
 
  Run = Level = Differential Pool = Copia-SalvasProd-DifferentialPool sun at 
2:00  
  Run = Level = Incremental Pool = Copia-SalvasProd-IncrementalPool mon-sat at 
2:00
}

#Pool Definition
Pool {
  Name = Copia-SalvasProd-FullPool
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 1 year
  Recycle Oldest Volume = yes
  Maximum Volume Jobs = 1
  Label Format =  Copia-SalvasProd-Pool-Full-
  Maximum Volumes = 2
}

Pool {
  Name = Copia-SalvasProd-DifferentialPool
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 1 year
  Recycle Oldest Volume = yes
  Maximum Volume Jobs = 1
  Label Format =  Copia-SalvasProd-Pool-Differential-
  Maximum Volumes = 2
}

Pool {
  Name = Copia-SalvasProd-IncrementalPool
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 1 year
  Recycle Oldest Volume = yes
  Maximum Volume Jobs = 1
  Label Format =  Copia-SalvasProd-Pool-Incremental-
  Maximum Volumes = 2
}

#FileSet Definition
FileSet {
  Name = " Copia-SalvasProd-FS"
  Include {
Options {
  signature = SHA1
  compression = GZIP9
}
File = "E:/Salva IP/PP_UCI_2009"
  }
}

All is fine at this point. When I test the file salvasprod-fd.conf to see if it 
contains some errors before run it using the command:
#/sbin/bacula-dir -t -c /etc/bacula/clients/salvasprod-fd.conf

I get this error:
01-Jun 11:16 bacula-dir: ERROR TERMINATION at parse_conf.c:477
Config error: Could not find config Resource DefinicionPorDefectoParaCopias 
referenced on line 6 :   JobDefs = "DefinicionPorDefectoParaCopias"
: line 6, col 44 of file /etc/bacula/clients/salvasprod-fd.conf
  JobDefs = "DefinicionPorDefectoParaCopias"

Can any say me why? What I'm doing wrong? This is the right command to test 
this file? 

Also If I try to restart Bacula the same error appear.

Cheers and thanks in advance
Ing. Reynier Pérez Mira



--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] BAT and BWeb from another machine

2009-05-27 Thread Reynier Perez Mira
Can I use this too amazing tools from other server rather than the same server 
where Director is running? I say this because Bacula (Director, Storage) run in 
one Ubuntu Server with no graphic interface. It the answer is yes then ¿any 
manual or guide in how to configure to get them working?

Cheers and thanks in advance
Ing. Reynier Pérez Mira
Dirección Técnica IP



--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to test my conf file

2009-05-26 Thread Reynier Perez Mira
Thx, it works now. They are located in /sbin/bacula-*
Cheers
Ing. Reynier Pérez Mira
Dirección Técnica IP


> -Original Message-
> From: Kevin Keane [mailto:subscript...@kkeane.com]
> Sent: Wednesday, May 27, 2009 12:10 AM
> Cc: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] How to test my conf file
> 
> You seem to be invoking a script, rather than the executable. Find out
> where the actual executable resides (probably something like /usr/sbin
> or /usr/local/sbin or /usr/local/bacula/sbin and then call bacula-sd
> with the path to be sure you really run the binary.
> 
> Reynier Perez Mira wrote:
> > Hi every:
> > I'm configuring a new Bacula and I need to test if all is fine. Reading the
> manual and finding how to test my bacula-sd.conf file I can see this:
> ./bacula-sd -t -c bacula-sd.conf (from /etc/bacula) But when I run this I get
> this message: Usage: ./bacula-ctl-sd {start|stop|restart|status} I can't test
> config files? I really need to see if all is fine.
> >
> --
> 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.
> 
> 
> -
> -
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] How to test my conf file

2009-05-26 Thread Reynier Perez Mira
Hi every:
I'm configuring a new Bacula and I need to test if all is fine. Reading the 
manual and finding how to test my bacula-sd.conf file I can see this: 
./bacula-sd -t -c bacula-sd.conf (from /etc/bacula) But when I run this I get 
this message: Usage: ./bacula-ctl-sd {start|stop|restart|status} I can't test 
config files? I really need to see if all is fine.

Cheers and thanks in advance
Ing. Reynier Pérez Mira
Dirección Técnica IP



--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula and Alfresco integration

2009-04-23 Thread Reynier Perez Mira
Hi Arno:
Any advanced on this? Did you end the document and send me to take a look
Cheers
Ing. Reynier Pérez Mira
Dirección Técnica IP


> -Mensaje original-
> De: Reynier Perez Mira [mailto:rper...@uci.cu]
> Enviado el: miércoles, 15 de abril de 2009 06:42 pm
> Para: Arno Lehmann; Bacula-users@lists.sourceforge.net
> Asunto: Re: [Bacula-users] Bacula and Alfresco integration
> 
> > Actually, I'm currently in the process of writing a small paper
> > describing how to do that.
> 
> Thanks a lot, I find over Internet and without success.
> 
> > At this time, I'm quite at the start :-) but you might ping me in a
> > week or so (this depends on when my customer will have their Alfresco
> > instance running).
> 
> Well, don't worry. Right now I'm defining some services and all of them need
> to be integrated with Bacula. The first is Alfresco but others like SVN
> (Subversion), Redmine (Projects Managment), Trac(Bug Tracking) and some
> others. In my work we try to create a collaborative development enviroment
> and Bacula needs to be integrated with all the services sayed before. I'll
> send you a email remembering you the next week.
> 
> > As far as I can see, Alfresco doesn't offer any real infrastructure
> > for backing up and restoring its data, so you can't do much except
> > grabbing the Alfresco-generated dumps.
> What about Alfresco API? Can I write a plugin or something from C/C++ to
> Access this API?
> 
> Regards
> Ing. Reynier Pérez Mira
> Dirección Técnica IP
> 
> 
> -
> -
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign 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] Bacula and Alfresco integration

2009-04-15 Thread Reynier Perez Mira
> Actually, I'm currently in the process of writing a small paper
> describing how to do that.

Thanks a lot, I find over Internet and without success. 

> At this time, I'm quite at the start :-) but you might ping me in a
> week or so (this depends on when my customer will have their Alfresco
> instance running).

Well, don't worry. Right now I'm defining some services and all of them need to 
be integrated with Bacula. The first is Alfresco but others like SVN 
(Subversion), Redmine (Projects Managment), Trac(Bug Tracking) and some others. 
In my work we try to create a collaborative development enviroment and Bacula 
needs to be integrated with all the services sayed before. I'll send you a 
email remembering you the next week.

> As far as I can see, Alfresco doesn't offer any real infrastructure
> for backing up and restoring its data, so you can't do much except
> grabbing the Alfresco-generated dumps.
What about Alfresco API? Can I write a plugin or something from C/C++ to Access 
this API?

Regards
Ing. Reynier Pérez Mira
Dirección Técnica IP


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula and Alfresco integration

2009-04-15 Thread Reynier Perez Mira
Exists any plugin or way to backup Alfresco systems?
Cheers and thanks in advance
Ing. Reynier Pérez Mira
Dirección Técnica IP



--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bacula-web in Bacula 3.0 error

2009-04-10 Thread Reynier Perez Mira
Hi every:
I'm trying to get Bacula-Web work with my recent new Bacula 3.0 installed but 
when I try to Access to the URL I get this error: Fatal error: Call to 
undefined method DB_Error::fetchRow() in /var/www/bweb/index.php on line 59 
where line 59 have this piece of code: $tmp = $client->fetchRow();
Can any help me?
Ing. Reynier Pérez Mira
Dirección Técnica IP



--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Project Status Report

2009-04-07 Thread Reynier Perez Mira
> 1.Bacula Release 3.0
When will be Bacula 3.0 released during this week? Is the SVN release ready for 
production?

Ing. Reynier Pérez Mira
Dirección Técnica IP



--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula and ACL over LDAP directory

2009-04-02 Thread Reynier Perez Mira
Hi every:
I'm trying to install Bacula as a service for a DataCenter. For now I have at 
least 144 clients and I need some security levels. Can Bacula works with ACL 
based on a LDAP directory? I mean for example if a user want to use the Bacula 
Service, can the client use the LDAP user account with Bacula? Also the same 
question is applied to baculaweb.

Cheers, thanks and waiting for your oppinions
Ing. Reynier Pérez Mira
Dirección Técnica IP 

--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula and databases ...

2009-02-04 Thread Reynier Perez Mira
Hi every:
I've been using Bacula for a while and now I have a big question: it's possible 
to save the database data? I mean like an SQL query or a dump? Any plugins for 
do that?
Cheers and thanks in advance
Ing. Reynier Pérez Mira
Dirección Técnica IP 
 

__ Información de ESET NOD32 Antivirus, versión de la base de firmas de 
virus 3825 (20090204) __

ESET NOD32 Antivirus ha comprobado este mensaje.

http://www.eset.com
 

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] ProblemsstartingBacula aftercompilingandinstalling

2009-01-21 Thread Reynier Perez Mira
> With what you indicate it would be reasonable to launch the same flags I use.
> I've several quite identical pc running same spec with this compilation.
> ( ok on opensuse, not debian but this would normaly doesn't change a lot. )

Thanks a lot Bruno, I compile with those CFLAGS and now I ran Bacula without 
problems.
 
> If the compil works, try to start each daemon at the beginning with some
> debug flags -d99 in foreground just to ensure you
> doesn't have crashes ...

It works but what you mean with crashes? Bacula now start fine I just need to 
configure my clients and jobs and try some to see if it works fine.

Cheers
Ing. Reynier Pérez Mira
Dirección Técnica IP 

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problems startingBacula aftercompilingandinstalling

2009-01-21 Thread Reynier Perez Mira
> before the .configure
> do a
> 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"
> 
> if you are on a 686 proc other flags exist for x86_64
> man gcc would be your friends or check what flags usually use other deb's
> packagers.

Hi again Bruno:
I have not experience working with flags in GCC compiler. Also as you suggested 
me I read the man for gcc and found this for my proc wich is i686:

i386 and x86-64 Options -mtune=cpu-type  -march=cpu-type -mfpmath=unit 
-masm=dialect  -mno-fancy-math-387 -mno-fp-ret-in-387  -msoft-float 
-mno-wide-multiply  -mrtd  -malign-double -mpreferred-stack-boundary=num -mcld  
 -mcx16 -msahf -mrecip -mmmx  -msse  -msse2 -msse3 -mssse3 -msse4.1 - 
sse4.2 -msse4 -msse4a -m3dnow -mpopcnt -mabm -msse5 -mthreads  
-mno-align-tringops  -minline-all-stringops -mpush-args  
-maccumulate-outgoing-args -m128bit-long-double -m96bit-long-double  
-mregparm=num  -msseregparm -mveclibabi=type -mpc32 -mpc64 -mpc80 
-mstackrealign -momit-leaf-frame-pointer  -mno-red-zone 
-mno-tls-direct-seg-refs -mcmodel=code-model -m32  -m64 
-mlarge-data-threshold=num -mfused-madd -mno-fused-madd

Seeing what you give me exist some flags that I don't know what they do in the 
export thing. I run this command: pg /proc/cpuinfo and get this information:

processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 15
model name  : Intel(R) Xeon(R) CPU5140  @ 2.33GHz
stepping: 8
cpu MHz : 2333.337
cache size  : 4096 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 10
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss constant_tsc arch_perfmon pebs 
bts pni ds_cpl ssse3
bogomips: 4666.67
clflush size: 64
power management:

processor   : 1
vendor_id   : GenuineIntel
cpu family  : 6
model   : 15
model name  : Intel(R) Xeon(R) CPU5140  @ 2.33GHz
stepping: 8
cpu MHz : 2333.337
cache size  : 4096 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 10
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss constant_tsc arch_perfmon pebs 
bts pni ds_cpl ssse3
bogomips: 4668.19
clflush size: 64

And also this other: uname -a
Linux BaculaDTServer 2.6.27-11-server #1 SMP Thu Jan 8 09:24:09 UTC 2009 i686 
GNU/Linux

Could you help me to write the right CFLAGS options for this machine and avoid 
the error while compiling the Bacula Sources?

Cheers and thanks in advance
Ing. Reynier Pérez Mira
Dirección Técnica IP 

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problems starting Bacula aftercompilingandinstalling

2009-01-21 Thread Reynier Perez Mira
Hi Timo:
I found a message[1] from myself  but I can't find the Developers section in 
Wiki. Can you help me?

[1] 
http://sourceforge.net/mailarchive/message.php?msg_id=49115117.2090200%40ioda-net.ch
Ing. Reynier Pérez Mira
Dirección Técnica IP 

> -Original Message-
> From: Timo Neuvonen [mailto:timo-n...@tee-en.net]
> Sent: Wednesday, January 21, 2009 11:06 AM
> To: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Problems starting Bacula
> aftercompilingandinstalling
> 
> "Reynier Perez Mira"  kirjoitti viestissä
> news:4d18382a12a9b64190e1ad825fb591f3019e9...@ucixw2.uci.cu...
> > > Search in the wiki & ml about the CX FLAGS D_FORTIFY_SOURCE=0
> > >
> > > Also there's explaination in the changelog of rpms sources
> > > made by Scott.
> >
> > Hi Bruno and thanks for your reply:
> > I search in Wiki and Bacula Installation and Configuration Manual as you
> > suggested me but I can't find nothing. Maybe I not know how to find. Also
> > I read the Changelog file in the rpms sources and I can't find nothing.
> > Any help?
> 
> I think you need to give that fortify_source stuff as an extra option to the
> compiler, but the exact syntax for your system may require some tuning. What
> you can find from rpm release notes (copypasted below) won't propably be
> a complete out-of-the-box solution for a non-rpm system that you obviously
> have. But it should at least give a hint what to keep looking for, and a
> short explanation what (new enough glibc version) is causing this.
> 
> Regards,
> Timo
> 
> 
> 
> *
> * Buffer Overflow Error and Crash in fd *
> *
> 
> Fedora 8/9 now set -D_FORTIFY_SOURCE=2 as default compiler option. This
> will probably be true on other platforms as they move to glibc >= 2.7. This
> causes a false "buffer overflow detected" error and crash in bacula-fd and
> other executables.
> 
> To avoid this problem a workaround for Redhat platforms is to set the CFLAGS
> in your ~/.rpmmacros file as follows:
> 
> # uncomment for bacula
> #%__global_cflags -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=0 -fno-
> exceptions
>  -fno-strict-aliasing -fno-rtti
> 
> For SuSE platforms set as follows in your ~/.rpmrc file:
> 
> optflags:
> i586 -O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -
> D_FORTIFY_SOURCE=0
> optflags: x86_64 -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=0
> 
> See the discussion thread on bacula-devel for more information:
> http://sourceforge.net/search/?ml_name=bacula-
> devel&type_of_search=mlists&group_id=50727&words=%22buffer+overflow+
> detected%22
> 
> 
> 
> 
> --
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problems starting Bacula after compiling andinstalling

2009-01-21 Thread Reynier Perez Mira
> Search in the wiki & ml about the CX FLAGS D_FORTIFY_SOURCE=0
> 
> Also there's explaination in the changelog of rpms sources
> made by Scott.

Hi Bruno and thanks for your reply:
I search in Wiki and Bacula Installation and Configuration Manual as you 
suggested me but I can't find nothing. Maybe I not know how to find. Also I 
read the Changelog file in the rpms sources and I can't find nothing. Any help?

Ing. Reynier Pérez Mira
Dirección Técnica IP 

 
> 
> 
> --
> 
>  Bruno Friedmann
> 
> 
> 
> 
> --
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Cleaning Bacula DB

2008-11-18 Thread Reynier Perez Mira
Hi every:
I've using Bacula with PostgreSQL DB. I need to delete every record stored in 
the tables because all of them was for testing purpose and may confuse some 
clients. Can any say me which tables I need to empty? Or is better recreate the 
DB?

Cheers and thanks in advance
Ing. Reynier Pérez Mira
Dirección Técnica IP 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problems with Webacula

2008-11-13 Thread Reynier Perez Mira
> So to access the bacula catalog the underlaying Zend Framework & PHP need 
> also the
> pdo_pgsql extension
> (which is quite easy to install : just activate it or get it from pecl)

Ok, thanks for your reply now it works I just need to enable this extension 
(pdo_pgsql.so) in my php.ini file. But I still having another error and it's 
with .htaccess file. When I try to access to the page I get this error:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to 
complete your request.

Please contact the server administrator, [EMAIL PROTECTED] and inform them of 
the time the error occurred, and anything you might have done that may have 
caused the error.

More information about this error may be available in the server error log.

I look into /var/log/apache2/webacula-error.log (wich is the log file for this 
VirtualHost) and this text is there:

Request exceeded the limit of 10 internal redirects due to probable 
configuration error. Use 'LimitInternalRecursion' to increase the limit if 
necessary. Use 'LogLevel debug' to get a backtrace.

Why this? What I'm doing wrong?
Regards, 

Ing. Reynier Pérez Mira
Dirección Técnica IP 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Problems with Webacula

2008-11-12 Thread Reynier Perez Mira
Hi:
I'm trying to install Webacula in my Ubuntu Server in wich I have Bacula and 
PostgreSQL running fine. I have this configuration in the file config.ini:

[general]
;db.adapter = PDO_MYSQL
db.adapter = PDO_PGSQL
db.config.host = localhost
db.config.username = postgres
db.config.password = postgresadmin
db.config.dbname = bacula

; see http://www.php.net/timezones
def.timezone = "Europe/Minsk"

; if language undefined, webacula use autodetect
 language = "es"
;language = "en"
;language = "de"
;language = "fr"
;language = "ru"

; see INSTALL file for details
bacula.sudo = "/usr/bin/sudo"
bacula.bconsole = "/usr/bin/bconsole"

; for bacula 1.38
;bacula.bconsolecmd = "-c /etc/bacula/bconsole.conf"
; for new version bacula
bacula.bconsolecmd = "-n -c /etc/bacula/bconsole.conf"

tmpdir = "/tmp"

[timeline]
gdfontpath = "/usr/share/fonts/dejavu-lgc"
fontname   = "DejaVuLGCSansMono"
fontsize   = 10


[webacula]
; support only MySQL
db.adapter = PDO_MYSQL
db.config.host = localhost
db.config.username = wbuser
db.config.password = "wbpass"
db.config.dbname = webacula
email.to_admin = [EMAIL PROTECTED]
email.from = [EMAIL PROTECTED]

And all is setup OK because I follow every step in the README file. When I try 
to access to Webacula I get this error:

Fatal error: Uncaught exception 'Zend_Db_Adapter_Exception' with message 'The 
pgsql driver is not currently installed' in 
/var/www/webacula/library/Zend/Db/Adapter/Pdo/Abstract.php:104 Stack trace: #0 
/var/www/webacula/library/Zend/Db/Adapter/Abstract.php(743): 
Zend_Db_Adapter_Pdo_Abstract->_connect() #1 
/var/www/webacula/library/Zend/Db/Adapter/Pdo/Pgsql.php(152): 
Zend_Db_Adapter_Abstract->quote('job') #2 
/var/www/webacula/library/Zend/Db/Table/Abstract.php(605): 
Zend_Db_Adapter_Pdo_Pgsql->describeTable('job', NULL) #3 
/var/www/webacula/library/Zend/Db/Table/Abstract.php(534): 
Zend_Db_Table_Abstract->_setupMetadata() #4 
/var/www/webacula/library/Zend/Db/Table/Abstract.php(269): 
Zend_Db_Table_Abstract->_setup() #5 
/var/www/webacula/application/models/Job.php(33): 
Zend_Db_Table_Abstract->__construct(Array) #6 
/var/www/webacula/application/controllers/IndexController.php(50): 
Job->__construct() #7 
/var/www/webacula/library/Zend/Controller/Action.php(502): 
IndexController->indexAction() #8 /var/www/webacula/library/Zend/Cont in 
/var/www/webacula/library/Zend/Db/Adapter/Pdo/Abstract.php on line 104

What I'm doing wrong?

PS: I want to stay in contact with Yuri Timotef (I tink this is the leader of 
the project) to send the Spanish translation maded by me.

Regards and thanks in advance
Ing. Reynier Pérez Mira
Dirección Técnica IP 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Big trouble compiling Bacula

2008-11-03 Thread Reynier Perez Mira
Hi every:
Recently I install a new Ubuntu 8.10 Server in an ESX VMWare Machine. Today I 
try to compile and configure Bacula 2.4.3 and I get a lot of errors when I try 
to start the service. See the logs:

/etc/init.d/bacula start
Starting the Bacula Storage daemon
*** buffer overflow detected ***: /sbin/bacula-sd terminated
=== Backtrace: =
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7be8558]
/lib/tls/i686/cmov/libc.so.6[0xb7be6680]
/sbin/bacula-sd[0x809abdc]
/sbin/bacula-sd[0x804d408]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7b04685]
/sbin/bacula-sd[0x804cc41]
=== Memory map: 
08048000-080ba000 r-xp  08:01 140796 /sbin/bacula-sd
080ba000-080bb000 r--p 00071000 08:01 140796 /sbin/bacula-sd
080bb000-080bd000 rw-p 00072000 08:01 140796 /sbin/bacula-sd
080bd000-080df000 rw-p 080bd000 00:00 0  [heap]
b79a6000-b79a7000 rw-p b79a6000 00:00 0
b79a7000-b79e6000 r--p  08:01 108546 
/usr/lib/locale/en_US.utf8/LC_CTYPE
b79e6000-b79e7000 r--p  08:01 108547 
/usr/lib/locale/en_US.utf8/LC_NUMERIC
b79e7000-b79e8000 r--p  08:01 108548 
/usr/lib/locale/en_US.utf8/LC_TIME
b79e8000-b7ac9000 r--p  08:01 108549 
/usr/lib/locale/en_US.utf8/LC_COLLATE
b7ac9000-b7aca000 r--p  08:01 108550 
/usr/lib/locale/en_US.utf8/LC_MONETARY
b7aca000-b7acb000 r--p  08:01 108552 
/usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
b7acb000-b7acc000 r--p  08:01 108553 
/usr/lib/locale/en_US.utf8/LC_PAPER
b7acc000-b7ad3000 r--s  08:01 93620  
/usr/lib/gconv/gconv-modules.cache
b7ad3000-b7ad5000 rw-p b7ad3000 00:00 0
b7ad5000-b7aea000 r-xp  08:01 262354 
/lib/tls/i686/cmov/libnsl-2.8.90.so
b7aea000-b7aeb000 r--p 00014000 08:01 262354 
/lib/tls/i686/cmov/libnsl-2.8.90.so
b7aeb000-b7aec000 rw-p 00015000 08:01 262354 
/lib/tls/i686/cmov/libnsl-2.8.90.so
b7aec000-b7aee000 rw-p b7aec000 00:00 0
b7aee000-b7c46000 r-xp  08:01 262347 
/lib/tls/i686/cmov/libc-2.8.90.so
b7c46000-b7c48000 r--p 00158000 08:01 262347 
/lib/tls/i686/cmov/libc-2.8.90.so
b7c48000-b7c49000 rw-p 0015a000 08:01 262347 
/lib/tls/i686/cmov/libc-2.8.90.so
b7c49000-b7c4c000 rw-p b7c49000 00:00 0
b7c4c000-b7c59000 r-xp  08:01 262162 /lib/libgcc_s.so.1
b7c59000-b7c5a000 r--p c000 08:01 262162 /lib/libgcc_s.so.1
b7c5a000-b7c5b000 rw-p d000 08:01 262162 /lib/libgcc_s.so.1
b7c5b000-b7c5c000 rw-p b7c5b000 00:00 0
b7c5c000-b7c8 r-xp  08:01 262352 
/lib/tls/i686/cmov/libm-2.8.90.so
b7c8-b7c81000 r--p 00023000 08:01 262352 
/lib/tls/i686/cmov/libm-2.8.90.so
b7c81000-b7c82000 rw-p 00024000 08:01 262352 
/lib/tls/i686/cmov/libm-2.8.90.so
b7c82000-b7d65000 r-xp  08:01 92335  /usr/lib/libstdc++.so.6.0.10
b7d65000-b7d66000 ---p 000e3000 08:01 92335  /usr/lib/libstdc++.so.6.0.10
b7d66000-b7d6a000 r--p 000e3000 08:01 92335  /usr/lib/libstdc++.so.6.0.10
b7d6a000-b7d6b000 rw-p 000e7000 08:01 92335  /usr/lib/libstdc++.so.6.0.10
b7d6b000-b7d71000 rw-p b7d6b000 00:00 0
b7d71000-b7ea3000 r-xp  08:01 107170 
/usr/lib/i686/cmov/libcrypto.so.0.9.8
b7ea3000-b7eab000 r--p 00132000 08:01 107170 
/usr/lib/i686/cmov/libcrypto.so.0.9.8
b7eab000-b7eb8000 rw-p 0013a000 08:01 107170 
/usr/lib/i686/cmov/libcrypto.so.0.9.8
b7eb8000-b7ebc000 rw-p b7eb8000 00:00 0
b7ebc000-b7efe000 r-xp  08:01 107171 
/usr/lib/i686/cmov/libssl.so.0.9.8
b7efe000-b7eff000 r--p 00041000 08:01 107171 
/usr/lib/i686/cmov/libssl.so.0.9.8
b7eff000-b7f02000 rw-p 00042000 08:01 107171 
/usr/lib/i686/cmov/libssl.so.0.9.8
b7f02000-b7f09000 r-xp  08:01 262434 /lib/libwrap.so.0.7.6
b7f09000-b7f0b000 rw-p 6000 08:01 262434 /lib/libwrap.so.0.7.6
b7f0b000-b7f0d000 r-xp  08:01 262351 
/lib/tls/i686/cmov/libdl-2.8.90.so
b7f0d000-b7f0e000 r--p 1000 08:01 262351 
/lib/tls/i686/cmov/libdl-2.8.90.so
b7f0e000-b7f0f000 rw-p 2000 08:01 262351 
/lib/tls/i686/cmov/libdl-2.8.90.so
b7f0f000-b7f1 rw-p b7f0f000 00:00 0
b7f1-b7f25000 r-xp  08:01 262362 
/lib/tls/i686/cmov/libpthread-2.8.90.so
b7f25000-b7f26000 r--p 00014000 08:01 262362 
/lib/tls/i686/cmov/libpthread-2.8.90.so
b7f26000-b7f27000 rw-p 00015000 08:01 262362 
/lib/tls/i686/cmov/libpthread-2.8.90.so
b7f27000-b7f29000 rw-p b7f27000 00:00 0
b7f29000-b7f3d000 r-xp  08:01 91020  /usr/lib/libz.so.1.2.3.3
b7f3d000-b7f3f000 rw-p 00013000 08:01 91020  /usr/lib/libz.so.1.2.3.3
b7f3f000-b7f4 r--p  08:01 108554 
/usr/lib/locale/en_US.utf8/LC_NAME
b7f4-b7f41000 r--p  08:01 108555 
/usr/lib/locale/en_US.utf8/LC_ADDRESS
b7f41000-b7f42000 r--p  08:01 108556 
/usr/lib/locale/en_US.utf8/LC_TELEPHONE
b7f42000-b7f43000 r--p  08:01 108557 
/usr/lib/locale/en_US.utf8/LC_MEASUREMENT
b7f43000-b7f44000 r--p  08:01 108558 
/usr/lib/locale/en_US.utf

Re: [Bacula-users] What's happen if a Client change their IPaddress?

2008-10-29 Thread Reynier Perez Mira
> > Myself, I simply linked the DNS and DHCP servers so that clients
> > register can their dynamic addresses at the DNS server. My Bacula daemon
> > then simply uses the hostnames to find them.

Ok, I'm think this is the best solution. Could you send me or tell me where to 
find some information about link DHCP and DNS servers? I need to study this 
because I never do this before

Cheers
Ing. Reynier Pérez Mira
Dirección Técnica IP 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] What's happen if a Client change their IP address?

2008-10-29 Thread Reynier Perez Mira
Hi every:
Recently I and some others people analyzed the idea to use Bacula as our Backup 
Software. The people ask to me his doubts and one of them was this:

 - What's happen if a client change their IP address? We need to reconfigure 
Bacula by hand or exists another alternative?

Because I don't know I ask here in Bacula List.

Cheers, thanks in advance and waiting for an answer
Ing. Reynier Pérez Mira
Dirección Técnica IP 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Support for Dell Tape Backup

2008-02-18 Thread Reynier Perez Mira
Hi every:
I have a little question, Bacula 2.2.8 support PowerVault 122T Tape from Dell?
Cheers
Ing Reynier Pérez Mira
Grupo Soporte al Desarrollo - Dirección Técnica IP 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Compiling Bacula in a new system

2008-02-18 Thread Reynier Perez Mira
Well I found the problem, I install postgresql-devel-8.2 and now I compile 
Bacula with PostgreSQL support.
Cheers
Ing Reynier Pérez Mira
Grupo Soporte al Desarrollo - Dirección Técnica IP 

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Reynier Perez Mira
> Sent: Monday, February 18, 2008 10:20 AM
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] Compiling Bacula in a new system
> 
> Hi every:
> Some friends ask me about Bacula configuration and I can't said anything to
> them. They trying to compile Bacula as follow:
> 
> ./configure --with-postgresql --with-openssl --sysconfdir=/workdata/bacula
> 
> But get this error before ./configure end:
> 
> checking for OpenSSL... no
> checking for PostgreSQL support... no
> configure: error: Unable to find libpq-fe.h in standard locations
> 
> What's wrong here? They need postgresql-devel libraries and what else?
> Cheers and thanks in advance
> Ing Reynier Pérez Mira
> Grupo Soporte al Desarrollo - Dirección Técnica IP
> 
> 
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Compiling Bacula in a new system

2008-02-18 Thread Reynier Perez Mira
Hi every:
Some friends ask me about Bacula configuration and I can't said anything to 
them. They trying to compile Bacula as follow: 

./configure --with-postgresql --with-openssl --sysconfdir=/workdata/bacula

But get this error before ./configure end:

checking for OpenSSL... no
checking for PostgreSQL support... no
configure: error: Unable to find libpq-fe.h in standard locations

What's wrong here? They need postgresql-devel libraries and what else?
Cheers and thanks in advance
Ing Reynier Pérez Mira
Grupo Soporte al Desarrollo - Dirección Técnica IP 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-director not running, why?

2008-01-29 Thread Reynier Perez Mira
> Did you try on that box connecting to bacula via bconsole?

Well, bconsole connect without problems. Now how I can start Bacula when server 
restart I mean like a real daemon as MySQL or PostgreSQL do?

Ing. Reynier Pérez Mira
Grupo de Soporte al Desarrollo - Dirección Técnica IP

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-director not running, why?

2008-01-29 Thread Reynier Perez Mira
Hi I stop bacula-dir and try again and this are the results:

[EMAIL PROTECTED]:/etc/bacula# /etc/bacula/bacula-ctl-dir stop
Stopping the Bacula Director daemon
gsdserver-dir: jcr.c:171-0 write_last_jobs seek to 188
Pool   Maxsize  Maxused  Inuse
NoPool  2560  0
NAME1301  0
FNAME   2569  4
MSG 5123  0
EMSG   10242  0

gsdserver-dir: mem_pool.c:418-0 Freed mem_pool count=15 size=6,633
[EMAIL PROTECTED]:/etc/bacula# bacula-dir -c /etc/bacula/bacula-dir.conf -d100
bacula-dir: dird.c:157-0 Debug level = 100
bacula-dir: jcr.c:132-0 read_last_jobs seek to 188
bacula-dir: jcr.c:139-0 Read num_items=0
bacula-dir: postgresql.c:103-0 db_open first time
[EMAIL PROTECTED]:/etc/bacula# bacula-dir: postgresql.c:194-0 pg_real_connect 
done
bacula-dir: postgresql.c:196-0 db_user=bacula db_name=bacula db_password=
gsdserver-dir: bnet_server.c:96-0 Addresses host[ipv4:0.0.0.0:9101]
gsdserver-dir: jcr.c:603-0 OnEntry JobStatus=gsdserver-dir: jcr.c:623-0 OnExit 
JobStatus=C set=C
gsdserver-dir: job.c:1127-0 wstorage=File
gsdserver-dir: job.c:1136-0 wstore=File where=Job resource
gsdserver-dir: jcr.c:603-0 OnEntry JobStatus=C set=R
gsdserver-dir: jcr.c:623-0 OnExit JobStatus=R set=R

I leave the command for more than six minutes and didn't return to command 
line. It just stop in the last line and still there for 10 minutes. What's 
wrong here?

Ing. Reynier Pérez Mira
Grupo de Soporte al Desarrollo - Dirección Técnica IP
 

> -Mensaje original-
> De: John Drescher [mailto:[EMAIL PROTECTED] 
> Enviado el: martes, 29 de enero de 2008 3:54 pm
> Para: Reynier Perez Mira
> CC: Bacula Users
> Asunto: Re: [Bacula-users] bacula-director not running, why?
> 
> On Jan 29, 2008 9:47 AM, Reynier Perez Mira <[EMAIL PROTECTED]> wrote:
> > Hi John and thanks again:
> > I reinstall Bacula from zero compiling the latest 2.2.8 
> version and you're right the init script are in /etc/bacula 
> dir. Also I run the command you suggest me and see the output:
> >
> >
> > ~#/etc/bacula# bacula-dir -c /etc/bacula/bacula-dir.conf -d100
> > bacula-dir: dird.c:157-0 Debug level = 100 
> [EMAIL PROTECTED]:/etc/bacula# 
> > bacula-dir: jcr.c:132-0 read_last_jobs seek to 188
> > bacula-dir: jcr.c:139-0 Read num_items=0
> > bacula-dir: postgresql.c:103-0 db_open first time
> > bacula-dir: postgresql.c:194-0 pg_real_connect done
> > bacula-dir: postgresql.c:196-0 db_user=bacula db_name=bacula 
> > db_password=
> > gsdserver-dir: bnet_server.c:96-0 Addresses host[ipv4:0.0.0.0:9101]
> > gsdserver-dir: jcr.c:603-0 OnEntry JobStatus=gsdserver-dir: 
> > jcr.c:623-0 OnExit JobStatus=C set=C
> > gsdserver-dir: job.c:1127-0 wstorage=File
> > gsdserver-dir: job.c:1136-0 wstore=File where=Job resource
> > gsdserver-dir: jcr.c:603-0 OnEntry JobStatus=C set=R
> > gsdserver-dir: jcr.c:623-0 OnExit JobStatus=R set=R bacula-dir -c 
> > /etc/bacula/bacula-dir.conf -d100
> > bacula-dir: dird.c:157-0 Debug level = 100 29-ene 09:51 bacula-dir: 
> > ERROR TERMINATION at bsys.c:494 bacula-dir is already running. 
> > pid=11291 Check file /var/run/bacula-dir.9101.pid ~#:/etc/bacula#
> >
> 
> This says that bacula-dir was already running. Did you first 
> start it with the bacula-ctl-dir script? Or did you run the 
> bacula-dir command that I gave you more than once? If it was 
> the first case you need to execute
> 
> /etc/bacua/bacula-ctl-dir stop
> 
> If it was not that pkill -9 bacula
> 
> John
> 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-director not running, why?

2008-01-29 Thread Reynier Perez Mira
Hi John and thanks again:
I reinstall Bacula from zero compiling the latest 2.2.8 version and you're 
right the init script are in /etc/bacula dir. Also I run the command you 
suggest me and see the output:


~#/etc/bacula# bacula-dir -c /etc/bacula/bacula-dir.conf -d100
bacula-dir: dird.c:157-0 Debug level = 100
[EMAIL PROTECTED]:/etc/bacula# bacula-dir: jcr.c:132-0 read_last_jobs seek to 
188
bacula-dir: jcr.c:139-0 Read num_items=0
bacula-dir: postgresql.c:103-0 db_open first time
bacula-dir: postgresql.c:194-0 pg_real_connect done
bacula-dir: postgresql.c:196-0 db_user=bacula db_name=bacula db_password=
gsdserver-dir: bnet_server.c:96-0 Addresses host[ipv4:0.0.0.0:9101]
gsdserver-dir: jcr.c:603-0 OnEntry JobStatus=gsdserver-dir: jcr.c:623-0 OnExit 
JobStatus=C set=C
gsdserver-dir: job.c:1127-0 wstorage=File
gsdserver-dir: job.c:1136-0 wstore=File where=Job resource
gsdserver-dir: jcr.c:603-0 OnEntry JobStatus=C set=R
gsdserver-dir: jcr.c:623-0 OnExit JobStatus=R set=R
bacula-dir -c /etc/bacula/bacula-dir.conf -d100
bacula-dir: dird.c:157-0 Debug level = 100
29-ene 09:51 bacula-dir: ERROR TERMINATION at bsys.c:494
bacula-dir is already running. pid=11291
Check file /var/run/bacula-dir.9101.pid
~#:/etc/bacula#

This is with the new conf files. I do not rewrite or touch anything yet.
Cheers
Ing. Reynier Pérez Mira
Grupo de Soporte al Desarrollo - Dirección Técnica IP
 

> -Mensaje original-
> De: John Drescher [mailto:[EMAIL PROTECTED] 
> Enviado el: martes, 29 de enero de 2008 12:32 am
> Para: Reynier Perez Mira; Bacula Users
> Asunto: Re: [Bacula-users] bacula-director not running, why?
> 
> I finished installing bacula from source today on a fresh os install.
> I started postgresql and then started the bacula install
> 
> Next, I configured bacula-2.2.7 for postgres and installed it 
> from source:
> 
> ./configure --with-postgresql
> make
> make install
> 
> steps I found that all the scripts are placed in /etc/bacula
> 
> bacula-ctl-dir
> 
> is for the director
> 
> You can call it with the following params: start, stop, 
> restart or status
> 
> After that my first test was to try to start bacula right 
> away with the debug output turned on and without using the 3 
> scripts to create the postgresql catalog database or editing 
> the bacula-dir.conf file so I knew it would fail:
> 
>  # bacula-dir -c /etc/bacula/bacula-dir.conf -d100
> bacula-dir: dird.c:156-0 Debug level = 100
> bacula-dir: bsys.c:566-0 Could not open state file. sfd=-1 size=192:
> ERR=No such file or directory
> bacula-dir: postgresql.c:103-0 db_open first time livecd 
> bacula # bacula-dir: postgresql.c:194-0 pg_real_connect done
> bacula-dir: postgresql.c:196-0 db_user=bacula db_name=bacula 
> db_password=
> bacula-dir: dird.c:875 Could not open Catalog "MyCatalog", 
> database "bacula".
> bacula-dir: dird.c:880 postgresql.c:202 Unable to connect to 
> PostgreSQL server.
> Database=bacula User=bacula
> It is probably not running or your password is incorrect.
> 28-Jan 18:00 bacula-dir ERROR TERMINATION Please correct 
> configuration file: /etc/bacula/bacula-dir.conf
> 
> NOTE, it took 3 minutes for the full output to be displayed.
> 
> 
> Can you run that same command and post the output? Remember 
> to wait a few minutes to get the whole error message.
> 
> John
> 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-director not running, why?

2008-01-24 Thread Reynier Perez Mira
Ok, then I waiting for you and thanks for the help

Ing. Reynier Pérez Mira
Grupo de Soporte al Desarrollo - Dirección Técnica IP
 

> -Mensaje original-
> De: John Drescher [mailto:[EMAIL PROTECTED] 
> Enviado el: jueves, 24 de enero de 2008 11:26 pm
> Para: Reynier Perez Mira
> CC: Bacula Users
> Asunto: Re: [Bacula-users] bacula-director not running, why?
> 
> On Jan 24, 2008 5:21 PM, Reynier Perez Mira <[EMAIL PROTECTED]> wrote:
> > Yes, shouldn't?
> >
> It would have been better to copy the init.d scripts because 
> they tend to be distro specific and place them back after the 
> install from source (possibly modifying them to account for 
> the path change). I believe what you deleted were from your 
> first install as a distro package.
> 
> Since I am not 100% sure what compiling from source uses to 
> start the services I am (time permitting) going to try that 
> for myself and to hopefully give you better advice on where 
> to go from here.
> 
> John
> 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-director not running, why?

2008-01-24 Thread Reynier Perez Mira
Yes, shouldn't?

Ing. Reynier Pérez Mira
Grupo de Soporte al Desarrollo - Dirección Técnica IP
 

> -Mensaje original-
> De: John Drescher [mailto:[EMAIL PROTECTED] 
> Enviado el: jueves, 24 de enero de 2008 11:21 pm
> Para: Reynier Perez Mira
> CC: Bacula Users
> Asunto: Re: [Bacula-users] bacula-director not running, why?
> 
> On Jan 24, 2008 5:14 PM, Reynier Perez Mira <[EMAIL PROTECTED]> wrote:
> > Soury I forgot that part. Yes, I delete every files that looks like 
> > and then configure again and compile from zero
> >
> So you deleted the /etc/init.d files as well?
> 
> John
> 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-director not running, why?

2008-01-24 Thread Reynier Perez Mira
Soury I forgot that part. Yes, I delete every files that looks like and then 
configure again and compile from zero

Ing. Reynier Pérez Mira
Grupo de Soporte al Desarrollo - Dirección Técnica IP
 

> -Mensaje original-
> De: John Drescher [mailto:[EMAIL PROTECTED] 
> Enviado el: jueves, 24 de enero de 2008 11:12 pm
> Para: Reynier Perez Mira
> CC: Bacula Users
> Asunto: Re: [Bacula-users] bacula-director not running, why?
> 
> > Well aparently now it compile fine but I can't find now the daemon 
> > under /etc/init.d/. Where is suppose that Bacula puts this 
> file? Also 
> > see the date now
> Please explain what you just did. Did you uninstall the 
> distro package or delete the bacula files in /usr/sbin?
> 
> John
> 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-director not running, why?

2008-01-24 Thread Reynier Perez Mira
Well aparently now it compile fine but I can't find now the daemon under 
/etc/init.d/. Where is suppose that Bacula puts this file? Also see the date now
#ls -al /sbin/bacula-dir
-rwxr-xr-- 1 root root 243 2008-01-24 17:07 /sbin/bacula-dir

Now the directory changes from /usr/sbin/bacula-dir to /sbin/bacula-dir
Cheers
Ing. Reynier Pérez Mira
Grupo de Soporte al Desarrollo - Dirección Técnica IP
 

> -Mensaje original-
> De: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] En nombre 
> de John Drescher
> Enviado el: jueves, 24 de enero de 2008 10:46 pm
> Para: Ryan Novosielski
> CC: Dan Langille; Bacula Users
> Asunto: Re: [Bacula-users] bacula-director not running, why?
> 
> > To be fair here, it is not always obvious. If you are not using 
> > something like Debian that has a configure step that will 
> pop up and 
> > ask you questions, once you install, it is not clear what 
> to do next. 
> > This is especially true if the installation of the package does not 
> > build the database. One expects to have to work with config 
> files when 
> > first installing a package, but the database creation 
> script is often 
> > in a non-obvious place and, I believe, has the password 
> hard-coded in 
> > the script.
> >
> I find this to be one weakness in the install section of 
> current manual. I mean I really think there should be some 
> guidance for a few of the most popular distros on how to 
> continue after installing the bacula package. I could provide 
> gentoo instruction if needed.
> 
> John
> 
> --
> ---
> This SF.net email is sponsored by: Microsoft Defy all 
> challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-director not running, why?

2008-01-24 Thread Reynier Perez Mira
No, It haven't any output. If I do make uninstall how I'm sure that Bacula 
doesn't exists any more?

Ing. Reynier Pérez Mira
Grupo de Soporte al Desarrollo - Dirección Técnica IP
 

> -Mensaje original-
> De: John Drescher [mailto:[EMAIL PROTECTED] 
> Enviado el: jueves, 24 de enero de 2008 10:31 pm
> Para: Reynier Perez Mira
> CC: Bacula Users
> Asunto: Re: [Bacula-users] bacula-director not running, why?
> 
> On Jan 24, 2008 4:29 PM, Reynier Perez Mira <[EMAIL PROTECTED]> wrote:
> > Well this is true, still with the same date but why?
> >
> > > -rwxr-xr-x 1 root root 675600 2007-10-14 22:46 
> /usr/sbin/bacula-dir
> 
> My guess is the make install put bacula-dir in a different folder.
> Does it have any output during the make install process to 
> tell you what folder things are being copyied to?
> 
> John
> 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-director not running, why?

2008-01-24 Thread Reynier Perez Mira
Well this is true, still with the same date but why?

> -rwxr-xr-x 1 root root 675600 2007-10-14 22:46 /usr/sbin/bacula-dir

Ing. Reynier Pérez Mira
Grupo de Soporte al Desarrollo - Dirección Técnica IP
 

> -Mensaje original-
> De: John Drescher [mailto:[EMAIL PROTECTED] 
> Enviado el: jueves, 24 de enero de 2008 10:25 pm
> Para: Reynier Perez Mira
> CC: Bacula Users
> Asunto: Re: [Bacula-users] bacula-director not running, why?
> 
> On Jan 24, 2008 4:19 PM, Reynier Perez Mira <[EMAIL PROTECTED]> wrote:
> > The date changes from 22/01 to 24/o1 (today) but when I start the 
> > daemon the same error come up. See the error below
> >
> I thought the previous date was (2007-10-14) from your previous email:
> 
> # ls -al /usr/sbin/bacula-dir
> 
> 
> Is this the location you found the new bacula-dir?
> 
> John
> 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-director not running, why?

2008-01-24 Thread Reynier Perez Mira
Dan:
My problem is that I made a clean installation from source compiling only with 
PostgreSQL support. Before that I have compiled Bacula with MySQL support but 
now I need PostgreSQL support only. For that I follow this steps:
1. ./configure --enable-bwx-console --enable-tray-monitor --with-mysql (This 
was my first ./configure)
2. make
3. make uninstall

Now I compile only with PostgreSQL support:
1. ./configure --with-postgresql
2. make
3. make install

My conf files are the same and the DB user is the same. I have all created but 
I Director doesn't start.

Ing. Reynier Pérez Mira
Grupo de Soporte al Desarrollo - Dirección Técnica IP
 

> -Mensaje original-
> De: Dan Langille [mailto:[EMAIL PROTECTED] 
> Enviado el: jueves, 24 de enero de 2008 10:24 pm
> Para: Reynier Perez Mira
> CC: John Drescher; Bacula Users
> Asunto: Re: [Bacula-users] bacula-director not running, why?
> 
> Reynier Perez Mira wrote:
> > The date changes from 22/01 to 24/o1 (today) but when I start the 
> > daemon the same error come up. See the error below
> > 
> > # /etc/init.d/bacula-director start
> > Starting Bacula Director: 24-ene 16:25 bacula-dir:  Fatal 
> error: Could not open Catalog "MyCatalog", database "bacula".
> > 24-ene 16:25 bacula-dir:  Fatal error: mysql.c:188 Unable 
> to connect to MySQL server.
> > Database=bacula User=bacula
> > It is probably not running or your password is incorrect.
> > 24-ene 16:25 bacula-dir ERROR TERMINATION Please correct 
> configuration 
> > file: /etc/bacula/bacula-dir.conf failed.
> 
> Have you corrected the above file?  Are you reading the 
> Bacula documentation on how to setup Bacula?
> 
> In short, make sure the supplied configuration items match 
> the database name and password.  Verify it by trying to 
> connect to the database from the command line.  The online 
> documentation is pretty good at showing you what to do step by step:
> 
> See http://www.bacula.org/rel-manual/
> 
> --
> Dan Langille
> 
> BSDCan - The Technical BSD Conference : http://www.bsdcan.org/
> PGCon  - The PostgreSQL Conference: http://www.pgcon.org/
> 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-director not running, why?

2008-01-24 Thread Reynier Perez Mira
The date changes from 22/01 to 24/o1 (today) but when I start the daemon the 
same error come up. See the error below

# /etc/init.d/bacula-director start
Starting Bacula Director: 24-ene 16:25 bacula-dir:  Fatal error: Could not open 
Catalog "MyCatalog", database "bacula".
24-ene 16:25 bacula-dir:  Fatal error: mysql.c:188 Unable to connect to MySQL 
server.
Database=bacula User=bacula
It is probably not running or your password is incorrect.
24-ene 16:25 bacula-dir ERROR TERMINATION
Please correct configuration file: /etc/bacula/bacula-dir.conf
failed.

Ing. Reynier Pérez Mira
Grupo de Soporte al Desarrollo - Dirección Técnica IP
 

> -Mensaje original-
> De: John Drescher [mailto:[EMAIL PROTECTED] 
> Enviado el: jueves, 24 de enero de 2008 8:14 pm
> Para: Reynier Perez Mira; Bacula Users
> Asunto: Re: [Bacula-users] bacula-director not running, why?
> 
> On Jan 24, 2008 2:06 PM, Reynier Perez Mira <[EMAIL PROTECTED]> wrote:
> > Hi John, I run the command and see the result:
> >
> > ==>Entering directory /data/Bacula/bacula-2.2.7/src/findlib
> > make[1]: se ingresa al directorio 
> `/data/Bacula/bacula-2.2.7/src/findlib'
> >  Make of findlib is good 
> >
> > make[1]: se sale del directorio 
> `/data/Bacula/bacula-2.2.7/src/findlib'
> > ==>Entering directory /data/Bacula/bacula-2.2.7/src/filed
> > make[1]: se ingresa al directorio 
> `/data/Bacula/bacula-2.2.7/src/filed'
> >  Make of filed is good 
> >
> > make[1]: se sale del directorio 
> `/data/Bacula/bacula-2.2.7/src/filed'
> > ==>Entering directory /data/Bacula/bacula-2.2.7/src/console
> > make[1]: se ingresa al directorio 
> `/data/Bacula/bacula-2.2.7/src/console'
> >  Make of console is good 
> >
> > make[1]: se sale del directorio 
> `/data/Bacula/bacula-2.2.7/src/console'
> > ==>Entering directory /data/Bacula/bacula-2.2.7/src/cats
> > make[1]: se ingresa al directorio 
> `/data/Bacula/bacula-2.2.7/src/cats'
> >  Make of cats is good 
> >
> > make[1]: se sale del directorio `/data/Bacula/bacula-2.2.7/src/cats'
> > ==>Entering directory /data/Bacula/bacula-2.2.7/src/dird
> > make[1]: se ingresa al directorio 
> `/data/Bacula/bacula-2.2.7/src/dird'
> >  Make of dird is good 
> >
> > make[1]: se sale del directorio `/data/Bacula/bacula-2.2.7/src/dird'
> > ==>Entering directory /data/Bacula/bacula-2.2.7/src/stored
> > make[1]: se ingresa al directorio 
> `/data/Bacula/bacula-2.2.7/src/stored'
> > = Make of stored is good 
> >
> > make[1]: se sale del directorio 
> `/data/Bacula/bacula-2.2.7/src/stored'
> > ==>Entering directory /data/Bacula/bacula-2.2.7/src/tools
> > make[1]: se ingresa al directorio 
> `/data/Bacula/bacula-2.2.7/src/tools'
> >  Make of tools is good 
> >
> > make[1]: se sale del directorio 
> `/data/Bacula/bacula-2.2.7/src/tools'
> > ==>Entering directory /data/Bacula/bacula-2.2.7/manpages
> > make[1]: se ingresa al directorio 
> `/data/Bacula/bacula-2.2.7/manpages'
> > make[1]: No se hace nada para `all'.
> > make[1]: se sale del directorio `/data/Bacula/bacula-2.2.7/manpages'
> >
> 
> That looks good. I expected it to fail in the cats build.
> 
> Now try the make install and see if the bacula-dir file is updated.
> 
> John
> 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-director not running, why?

2008-01-24 Thread Reynier Perez Mira
Hi John, I run the command and see the result:

==>Entering directory /data/Bacula/bacula-2.2.7/src/findlib
make[1]: se ingresa al directorio `/data/Bacula/bacula-2.2.7/src/findlib'
 Make of findlib is good 

make[1]: se sale del directorio `/data/Bacula/bacula-2.2.7/src/findlib'
==>Entering directory /data/Bacula/bacula-2.2.7/src/filed
make[1]: se ingresa al directorio `/data/Bacula/bacula-2.2.7/src/filed'
 Make of filed is good 

make[1]: se sale del directorio `/data/Bacula/bacula-2.2.7/src/filed'
==>Entering directory /data/Bacula/bacula-2.2.7/src/console
make[1]: se ingresa al directorio `/data/Bacula/bacula-2.2.7/src/console'
 Make of console is good 

make[1]: se sale del directorio `/data/Bacula/bacula-2.2.7/src/console'
==>Entering directory /data/Bacula/bacula-2.2.7/src/cats
make[1]: se ingresa al directorio `/data/Bacula/bacula-2.2.7/src/cats'
 Make of cats is good 

make[1]: se sale del directorio `/data/Bacula/bacula-2.2.7/src/cats'
==>Entering directory /data/Bacula/bacula-2.2.7/src/dird
make[1]: se ingresa al directorio `/data/Bacula/bacula-2.2.7/src/dird'
 Make of dird is good 

make[1]: se sale del directorio `/data/Bacula/bacula-2.2.7/src/dird'
==>Entering directory /data/Bacula/bacula-2.2.7/src/stored
make[1]: se ingresa al directorio `/data/Bacula/bacula-2.2.7/src/stored'
= Make of stored is good 

make[1]: se sale del directorio `/data/Bacula/bacula-2.2.7/src/stored'
==>Entering directory /data/Bacula/bacula-2.2.7/src/tools
make[1]: se ingresa al directorio `/data/Bacula/bacula-2.2.7/src/tools'
 Make of tools is good 

make[1]: se sale del directorio `/data/Bacula/bacula-2.2.7/src/tools'
==>Entering directory /data/Bacula/bacula-2.2.7/manpages
make[1]: se ingresa al directorio `/data/Bacula/bacula-2.2.7/manpages'
make[1]: No se hace nada para `all'.
make[1]: se sale del directorio `/data/Bacula/bacula-2.2.7/manpages'

So I súpose that every is fine. Then, what's wrong?

Ing. Reynier Pérez Mira
Grupo de Soporte al Desarrollo - Dirección Técnica IP

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-director not running, why?

2008-01-24 Thread Reynier Perez Mira
Wow, I follow the step and sorprise every is old and I don't know why. See:

# whereis bacula-dir
bacula-dir: /sbin/bacula-dir /usr/sbin/bacula-dir 
/usr/share/man/man8/bacula-dir.8.gz

# ls -al /usr/sbin/bacula-dir
-rwxr-xr-x 1 root root 675600 2007-10-14 22:46 /usr/sbin/bacula-dir

# bacula-dir -?
Copyright (C) 2000-2007 Free Software Foundation Europe e.V.

Version: 2.0.3 (06 March 2007)

this is the problem I think. So, how can I fix that problems?
Cheers again
Grupo Soporte al Desarrollo - Dirección Técnica
Ing. Reynier Pérez Mira  

> -Mensaje original-
> De: John Drescher [mailto:[EMAIL PROTECTED] 
> Enviado el: jueves, 24 de enero de 2008 3:04 pm
> Para: Reynier Perez Mira
> CC: bacula-users@lists.sourceforge.net
> Asunto: Re: [Bacula-users] bacula-director not running, why?
> 
> > Hi John:
> > I remember a email sended by myself in wich I call for a 
> clean Bacula installation but really I doesn't understand 
> where files I need to save in this case. I onlye save my conf 
> files because in there I have the configuration but nothing 
> else. What I'm doing wrong then?
> > Cheers
> That was all you needed to back up.
> 
> Did you verify that the date/time on the bacula-dir 
> executable was the same as the day you compiled it with 
> postgres support? If you do not know where it is you can 
> probably use the whereis command. Here is what I get:
> 
> # whereis bacula-dir
> bacula-dir: /usr/sbin/bacula-dir /usr/share/man/man8/bacula-dir.8.bz2
> 
> So then to check the date:
> 
> # ls -al /usr/sbin/bacula-dir
> -rwxr-xr-- 1 root root 1793144 Jan  3 17:50 /usr/sbin/bacula-dir
> 
> And the version:
> 
> # bacula-dir -?
> Copyright (C) 2000-2007 Free Software Foundation Europe e.V.
> 
> Version: 2.2.7 (24 December 2007)
> 
> Usage: dird [-f -s] [-c config_file] [-d debug_level] [config_file]
>-cset configuration file to file
>-dnnset debug level to nn
>-f  run in foreground (for debugging)
>-g  groupid
>-r run  now
>-s  no signals
>-t  test - read configuration and exit
>-u  userid
>-v  verbose user messages
>-?  print this message.
> 
> 
> John
> 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-director not running, why?

2008-01-24 Thread Reynier Perez Mira
Hi John:
I remember a email sended by myself in wich I call for a clean Bacula 
installation but really I doesn't understand where files I need to save in this 
case. I onlye save my conf files because in there I have the configuration but 
nothing else. What I'm doing wrong then?
Cheers

Grupo Soporte al Desarrollo - Dirección Técnica
Ing. Reynier Pérez Mira  

> -Mensaje original-
> De: John Drescher [mailto:[EMAIL PROTECTED] 
> Enviado el: jueves, 24 de enero de 2008 8:26 am
> Para: Reynier Perez Mira
> CC: Matt Brown; bacula-users@lists.sourceforge.net
> Asunto: Re: [Bacula-users] bacula-director not running, why?
> 
> > I noticed this too but known't why happen this. Before 
> compile && install the new Bacula I follow this steps:
> > 1. Run the same bacula configure command for old: ./configure 
> > --enable-bwx-console --enable-tray-monitor --with-mysql 2. 
> Then make 
> > 3. Then make uninstall
> >
> > After that I check the /ect/bacula dir and nothing are here 
> it's empty.
> >
> That was the expected behavior. I remember A person who was 
> helping you with that made a correction to their email 
> (possibly too late) telling you to make sure you made a copy 
> of your files in that folder.
> I assume you fixed that one.
> 
> John
> 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-director not running, why?

2008-01-23 Thread Reynier Perez Mira
> I believe it was a linux server with windows clients.

Yes you are right, is a Linux server with one Windows client. 

Grupo Soporte al Desarrollo - Dirección Técnica
Ing. Reynier Pérez Mira  

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-director not running, why?

2008-01-23 Thread Reynier Perez Mira
> Are you sure you have the new executables installed in the 
> proper place?

What you mean with "new executables"?

Grupo Soporte al Desarrollo - Dirección Técnica
Ing. Reynier Pérez Mira  


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-director not running, why?

2008-01-23 Thread Reynier Perez Mira
> Well the Debian/Ubuntu packages use sqlite3 by default, which 
> packages did you install ?

I not use Ubuntu packages I compile Bacula from source. Also my configure was:
./configure --with-postgresql
Nothing more.

> I also noticed you had the following in the above output:
> bacula-dir: mysql.c:182 db_user=bacula db_name=bacula db_password=

I noticed this too but known't why happen this. Before compile && install the 
new Bacula I follow this steps:
1. Run the same bacula configure command for old: ./configure 
--enable-bwx-console --enable-tray-monitor --with-mysql
2. Then make
3. Then make uninstall

After that I check the /ect/bacula dir and nothing are here it's empty.

> Was this deliberate to hide the password (always a wise thing 
> to do on a mailing list) ? or is there no actual password set 
> ? are you running mysql ? is the mysql database and tables 
> all setup and with appropriate grants so that bacula can access it ?

I have not problem with that since my PC is in a Intranet and can't be accesed 
from outside my VPN. Actually this MySQL haven't password because this is a 
testing server.
Regards
Grupo Soporte al Desarrollo - Dirección Técnica
Ing. Reynier Pérez Mira  

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-director not running, why?

2008-01-23 Thread Reynier Perez Mira
> I had a similar problem on Ubuntu (Debian based) and it was 
> down to a user and group permissions error, in the end I 
> found that the /var/log/ bacula dir was not owned by the 
> correct group and just failed to start without any output.
> 
> In the init script you probably have something like ARGS="-c 
> /etc/ bacula/bacula-dir.conf -u bacula -g bacula"
> 
> Tis a gotcha :-)

Well I run the command and get this:

/etc/bacula# bacula-dir -d 99 -t -c bacula-dir.conf
bacula-dir: dird.c:152 Debug level = 99
bacula-dir: inc_conf.c:526 set wilddir 80f6c20 size=1 [A-Z]:/Documents and 
Settings/*/Application Data/*/Profiles/*/*/Cache
bacula-dir: inc_conf.c:526 set wilddir 80f6c20 size=2 [A-Z]:/Documents and 
Settings/*/Application Data/*/Profiles/*/*/Cache.Trash
bacula-dir: inc_conf.c:526 set wilddir 80f6c20 size=3 [A-Z]:/Documents and 
Settings/*/Cookies
bacula-dir: inc_conf.c:526 set wilddir 80f6c20 size=4 [A-Z]:/Documents and 
Settings/*/Recent
bacula-dir: inc_conf.c:526 set wilddir 80f6c20 size=5 [A-Z]:/Documents and 
Settings/*/Local Settings/History
bacula-dir: inc_conf.c:526 set wilddir 80f6c20 size=6 [A-Z]:/Documents and 
Settings/*/Local Settings/Temp
bacula-dir: inc_conf.c:526 set wilddir 80f6c20 size=7 [A-Z]:/Documents and 
Settings/*/Local Settings/Temporary Internet Files
bacula-dir: inc_conf.c:526 set wildfile 80f6c20 size=1 [A-Z]:/Documents and 
Settings/All Users/Application Data/Microsoft/Network/Downloader/qmgr[01].dat
bacula-dir: inc_conf.c:526 set wilddir 80f6c20 size=8 [A-Z]:/WINDOWS/Temp
bacula-dir: inc_conf.c:526 set wilddir 80f6c20 size=9 [A-Z]:/temp
bacula-dir: inc_conf.c:526 set wildbase 80f6c20 size=1 *.tmp
bacula-dir: inc_conf.c:526 set wildbase 80f6c20 size=2 *.thumb
bacula-dir: inc_conf.c:526 set wilddir 80f6c20 size=10 [A-Z]:/RECYCLER
bacula-dir: inc_conf.c:526 set wildfile 80f6c20 size=2 [A-Z]:/pagefile.sys
bacula-dir: mysql.c:159 mysql_init done
bacula-dir: mysql.c:180 mysql_real_connect done
bacula-dir: mysql.c:182 db_user=bacula db_name=bacula db_password=
Pool   Maxsize  Maxused  Inuse
NoPool  2560  0
NAME1300  0
FNAME   2568  4
MSG 5121  0
EMSG   10242  0

But why MySQL appear here If I uninstall all and compile again with PostgreSQL 
support?

Grupo Soporte al Desarrollo - Dirección Técnica
Ing. Reynier Pérez Mira  

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-director not running, why?

2008-01-22 Thread Reynier Perez Mira
> You'll get more information from doing a:
> 
> [pathto]/bacula-dir -t -c [pathto]bacula-dir.conf
> 
> What does that say?

Nothing, it just run Ok and withouth any errors.

Ing. Reynier Pérez Mira  

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bacula-director not running, why?

2008-01-22 Thread Reynier Perez Mira
Hi every:
I try to run Bacula but it doesn't start and I known't why. I do:

~/etc/init.d/bacula-director start 
Starting Bacula Director: bacula-dir

and aparently all it's fine. This are my conf files for Director and BConsole:

bacula-dir.conf
--
#  For Bacula release 2.2.7 (24 December 2007) -- debian lenny/sid

#Director
Director {  
  Name = gsdbaculaserver-dir
  Description = "Bacula Director IP"
  QueryFile = "/etc/bacula/query.sql"
  WorkingDirectory = "/var/bacula/working"
  PidDirectory = "/var/run/bacula"
  Maximum Concurrent Jobs = 2
  Password = "PbiOij0+frEN37L4/VkFtZBLLtQM18Hny3HaHTfnrBhP"
  FDConnectTimeOut = 15min
  SDConnectTimeout = 15min
  Messages = Daemon
}

#Definiciones por defecto para un grupo de trabajos
JobDefs {
  Name = "Win32Incremental"
  Type = Backup
  Level = Incremental
  FileSet = "Win32Client"
  Schedule = "WeeklyCycle"
  Storage = File
  Messages = Daemon
  Priority = 10
}
JobDefs {
  Name = "OthersIncremental"
  Type = Backup
  Level = Incremental 
  FileSet = "OtherClient" 
  Schedule = "WeeklyCycle" 
  Storage = File 
  Messages = Daemon 
  Priority = 10
}

#Definición de trabajos
Job {
  Name = "BackupWindows"
  Client = "win32client"
  JobDefs = "Win32Incremental"
  Pool = Win32Pool
  Write Bootstrap = "/var/lib/bacula/Windows.bsr"
}
Job {
  Name = "BackupCatalog"
  Client = "win32client"
  JobDefs = "Win32Incremental"
  Pool = CatalogPool
  Level = Full
  FileSet = "CatalogBackup"
  Schedule = "WeeklyCycleAfterBackup"
  RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup   
"
  RunAfterJob  = "/etc/bacula/scripts/delete_catalog_backup"
  Write Bootstrap = "/var/lib/bacula/BackupCatalog.bsr"
  Priority = 11
}
#Job {
#  Name = "RestoreFiles"
#  Type = Restore
#  Client=gsdserver-fd 
#  FileSet="Full Set"  
#  Storage = File  
#  Pool = Default
#  Messages = Standard
#  Where = /bacula-restores
#}

#Ficheros
FileSet {
  Name = "Win32Client"
  Enable VSS = yes
  Include {
Options {
signature = MD5 #Create MD5 Signature
compression=GZIP5   #Compress Incoming Data on the client
Exclude = yes
IgnoreCase = yes
# Exclude Mozilla-based programs' file caches
WildDir = "[A-Z]:/Documents and Settings/*/Application 
Data/*/Profiles/*/*/Cache"
WildDir = "[A-Z]:/Documents and Settings/*/Application 
Data/*/Profiles/*/*/Cache.Trash"
# Exclude directories full of lots and lots of useless little files
WildDir = "[A-Z]:/Documents and Settings/*/Cookies"
WildDir = "[A-Z]:/Documents and Settings/*/Recent"
WildDir = "[A-Z]:/Documents and Settings/*/Local Settings/History"
WildDir = "[A-Z]:/Documents and Settings/*/Local Settings/Temp"
WildDir = "[A-Z]:/Documents and Settings/*/Local Settings/Temporary 
Internet Files"
# These are always open and unable to be backed up
WildFile = "[A-Z]:/Documents and Settings/All Users/Application 
Data/Microsoft/Network/Downloader/qmgr[01].dat"
# Temporary directories & files
WildDir = "[A-Z]:/WINDOWS/Temp"
WildDir = "[A-Z]:/temp"
WildFile = "*.tmp"
WildFile = "*.thumb"
# Recycle bins
WildDir = "[A-Z]:/RECYCLER"
# Swap files
WildFile = "[A-Z]:/pagefile.sys"
   }
File = "d:/Personal/WWW/portaldt.rar" 
  }
}
FileSet {
  Name = "OtherClient"
}
FileSet {
  Name = "CatalogBackup"
  Include {
Options {
  signature = MD5
}
File = /var/lib/bacula/bacula.sql
  }
}

#Programacion
Schedule {
  Name = "WeeklyCycle"
  Run = Level=Full Pool=Win32Pool sun-sat at 00:00   
}
Schedule {
  Name = "WeeklyCycleAfterBackup"
  Run = Full sun-sat at 23:10
}

#Clientes
Client {
  Name = win32client
  Address = 10.128.50.5 
  FDPort = 9102
  Catalog = MyCatalog
  Password = "ICvFjZwwt0wlGdMePA44BbEMWqzwzVoozflygnOiwLX8"   
  File Retention = 30 days
  Job Retention = 6 months
  AutoPrune = yes
  Maximum Concurrent Jobs = 2
}

#Almacenamiento
Storage {
  Name = File
  Address = 10.128.50.155  
  SDPort = 9103
  Password = "CeRTaJY4A8dHWjuMECHpGCOimrNV0uq4UbX5hNZ6J1Z5"
  Device = FileStorage
  Media Type = File
}

#BD
Catalog {
  Name = MyCatalog
  dbname = bacula; 
  user = bacula; 
  password = ""
}

#Mensajes
Messages {
  Name = Standard
  mailcommand = "/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula: 
%t %e of %c %l\" %r"
  operatorcommand = "/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s 
\"Bacula: Intervention needed for %j\" %r"
  mail = [EMAIL PROTECTED] = all, !skipped
  operator = [EMAIL PROTECTED] = mount
  console = all, !skipped, !saved
  append = "/var/bacula/working/log" = all, !skipped
}
Messages {
  Name = Daemon
  mailco

[Bacula-users] Clean bacula reinstall

2008-01-22 Thread Reynier Perez Mira
I have bacula installed via ./configure && make && make install. Now I need to 
reinstall Bacula with PostgreSQL and withouth MySQL support. How can unistall 
the old compiled Bacula for recompile with PostgreSQL support?
Cheers and thanks
Ing. Reynier Pérez Mira 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fwd: What's next ...

2008-01-22 Thread Reynier Perez Mira
> Yes, Please do so.
Ok, these are the conf files

bacula-dir.conf
--
Director {
  Name = gsdbaculaserver-dir
  Description = "Bacula Director IP Testing Server"
  Password = "72d3399cab6f8c711aed3824f0f934b95822ec9250a2245332b75f0f37c3b786" 
  # gsdbaculaserver-dir SHA256 Console Password
  Messages = Daemon
  WorkingDirectory = "/var/lib/bacula"
  PidDirectory = "/var/run/bacula"
  QueryFile = "/etc/bacula/scripts/query.sql"
  Maximum Concurrent Jobs = 2
  FD Connect Timeout = 15min
  SD Connect Timeout = 15min   
  DIRPort = 9101  
}
JobDefs {
  Name = "WinIncremental"
  Type = Backup
  Level = Incremental
  FileSet = "FileSetWin32Clients"   
  Schedule = "WeeklyCycle"
  Storage = gsdbaculaserver-sd
  Messages = Daemon
  Priority = 10
}
JobDefs {
  Name = "OthersIncremental"
  Type = Backup
  Level = Incremental   
  FileSet = "FileSetOthersClients"  
  Schedule = "WeeklyCycle"
  Storage = gsdbaculaserver-sd
  Messages = Daemon
  Priority = 10
}
Job {
  Name = "BackupWindows"
  Client = "win32client"
  JobDefs = "WinIncremental"
  Pool = Win32Pool
  Write Bootstrap = "/var/lib/bacula/Windows.bsr"
}
Job {
  Name = "BackupCatalog"
  Client = win32client
  JobDefs = "WinIncremental"
  Pool = CatalogPool
  Level = Full
  FileSet = "CatalogBackup"
  Schedule = "WeeklyCycleAfterBackup"
  # This creates an ASCII copy of the catalog
  RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup   
"
  # This deletes the copy of the catalog
  RunAfterJob  = "/etc/bacula/scripts/delete_catalog_backup"
  Write Bootstrap = "/var/lib/bacula/BackupCatalog.bsr"
  Priority = 10   # run after main backup
}
Client {
  Name = win32client
  Address = 10.128.50.5 
  FDPort = 9102
  Catalog = MyCatalog
  Password = "f799e1e82c796c31b697365aa044772c73b7a56568d25bcd21077228d1e64118" 
   # gsdclient SHA256 Password
  File Retention = 6days
  Job Retention = 6days
  AutoPrune = yes
  Maximum Concurrent Jobs = 2
}
FileSet {
  Name = "FileSetWin32Clients"
  Enable VSS = yes
  Include {
Options {
signature = MD5 #Create MD5 Signature
compression=GZIP5   #Compress Incoming Data on the client
Exclude = yes
IgnoreCase = yes
# Exclude Mozilla-based programs' file caches
WildDir = "[A-Z]:/Documents and Settings/*/Application 
Data/*/Profiles/*/*/Cache"
WildDir = "[A-Z]:/Documents and Settings/*/Application 
Data/*/Profiles/*/*/Cache.Trash"

# Exclude directories full of lots and lots of useless little files
WildDir = "[A-Z]:/Documents and Settings/*/Cookies"
WildDir = "[A-Z]:/Documents and Settings/*/Recent"
WildDir = "[A-Z]:/Documents and Settings/*/Local Settings/History"
WildDir = "[A-Z]:/Documents and Settings/*/Local Settings/Temp"
WildDir = "[A-Z]:/Documents and Settings/*/Local Settings/Temporary 
Internet Files"

# These are always open and unable to be backed up
WildFile = "[A-Z]:/Documents and Settings/All Users/Application 
Data/Microsoft/Network/Downloader/qmgr[01].dat"

# Temporary directories & files
WildDir = "[A-Z]:/WINDOWS/Temp"
WildDir = "[A-Z]:/temp"
WildFile = "*.tmp"
WildFile = "*.thumb"

# Recycle bins
WildDir = "[A-Z]:/RECYCLER"

# Swap files
WildFile = "[A-Z]:/pagefile.sys"
   }
File = "d:/Personal/WWW/portaldt.rar" 
  }

  Exclude {
#File = "c:/test"#Define Folders to exclude
  }
}
FileSet {
  Name = "FileSetOthersClients"
}
FileSet {
  Name = "CatalogBackup"
  Include {
Options {
  signature = MD5
}
File = /var/lib/bacula/bacula.sql
  }
}
Pool {
  Name = Win32Pool
  Pool Type = Backup
  Recycle = yes   # Bacula can automatically recycle Volumes
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 365 days # one year
}
Pool {
  Name = OthersPool
  Pool Type = Backup
  Recycle = yes   # Bacula can automatically recycle Volumes
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 365 days # one year
}
Pool {
  Name = CatalogPool
  Pool Type = Backup
  Recycle = yes   # Bacula can automatically recycle Volumes
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 365 days # one year
}
Schedule {
  Name = "WeeklyCycle"
  Run = Level=Full Pool=Win32Pool sun-sat at 00:00   
}
Schedule {
  Name = "WeeklyCycleAfterBackup"
  Run = Full sun-sat at 00:00
}
Storage {
  Name = gsdbaculaserver-sd   
  Address = 10.128.50.5 
  SDPort = 9103
  Password = "c0f0d3c2af8a6344eab966b5bb13e8b9536

[Bacula-users] Problem with bconsole from client [was: What's next]

2008-01-19 Thread Reynier Perez Mira
> For you next post, please use a more descriptive subject for 
> your email.  :)

Soury, for that but this title isn't for that message is just for other but I 
forgot to change it before send to the mailing list.

> Communications between the Directory and bacula-sd are failing. 
> Probably because SD is not running at 127.0.0.1
> ps auwx | grep bacula should look should all three daemons running.

Well as you said bacula-sd was not running so I start and now:

ps auwx | grep bacula
root  7275  0.0  0.1  11492   592 ?Ssl  Jan14   0:00 
/sbin/bacula-fd -v -c /etc/bacula/bacula-fd.conf
bacula   21542  0.0  0.4  35152  2304 ?Ssl  14:25   0:00 
/usr/sbin/bacula-dir -c /etc/bacula/bacula-dir.conf -u bacula -g bacula
bacula   21839  0.0  0.2  24560  1468 ?Ssl  16:45   0:00 
/usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u bacula -g tape
root 21859  0.0  0.1   3000   780 pts/0S+   16:52   0:00 grep bacula

When I try from client I get the same error, why?
Ing. Reynier Pérez Mira  

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fwd: What's next ...

2008-01-18 Thread Reynier Perez Mira
> Host is up?
What you mean with this?

> IP address is correct?
Yes

> bacula-fd is running on this host?
Yes, it's running

> Firewall allows connections to port TCP/9103 from the DIR?
I haven't any firewall running on Linux and none in Windows too.

> Also, this is the same IP as the one below. As you seem to 
> have trouble enough getting a basic setup running, I 
> recommend to use a simpler setup - no SD on windows, 
> identical names for machines, distinguished by the -dir and 
> -sd suffix, etc.
Can I share my conf files with the list?

> If you've got the first backups run, have your pools sorted 
> out, understand scheduling and job levels, have done test 
> restores, worked with bconsole, understand how to react to 
> user intervention requests, and know how to examine the pool 
> contents it's time to add more clients. You're not ready to 
> get this into production before that...

My last goal is that: using this in production

Ing. Reynier Pérez Mira  

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fwd: What's next ...

2008-01-18 Thread Reynier Perez Mira
Hi John:

> Do not use 127.0.0.1   in any ip address 
> unless you only want to backup the machine that has the 
> bacula server on.

I change the 127.0.0.1 to the server IP address. So now I get this the same 
error but with 10.128.50.155 address. Why?

Connecting to Storage daemon gsdbaculaserver-sd at 10.128.50.5:9103

Failed to connect to Storage daemon gsdbaculaserver-sd.

Connecting to Client win32client at 10.128.50.5:9102
Failed to connect to Client win32client.

18-ene 14:26 gsdbaculaserver-dir: *Console*.2008-01-18_14.26.09 Fatal error: 
bnet.c:870 Unable to connect to Storage daemon on 10.128.50.5:9103. 
ERR=Conexión rechazada
18-ene 14:26 gsdbaculaserver-dir: *Console*.2008-01-18_14.26.09 Fatal error: 
bnet.c:870 Unable to connect to File daemon on 10.128.50.5:9102. ERR=Conexión 
rechazada

Note: This is from Win32 client

Cheers and thanks in advance
Ing. Reynier Pérez Mira  

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] What's next ...

2008-01-18 Thread Reynier Perez Mira
Hi:
I have Bacula working fine without problems at least I think that. I run this 
commands:
 > bacula-dir -t -c bacula-dir.conf
 > bacula-sd -t -c bacula-sd.conf
 > bacula-fd -t -c bacula-fd.conf

And none give error. So I install bacula-client in a Win32 workstation. In this 
same PC I have a folder that I need to make a backup. In wich file I need to 
setup this? Also if I try to run status command from this PC I get this 
messages:

#status
Status available for:
 1: Director
 2: Storage
 3: Client
 4: All
Select daemon type for status (1-4): Unexpected question has been received.
4
gsdbaculaserver-dir Version: 2.0.3 (06 March 2007) i486-pc-linux-gnu debian 
lenny/sid
Daemon started 18-ene-08 08:45, 2 Jobs run since started.
 Heap: bytes=35,987 max_bytes=37,757 bufs=208 max_bufs=217

Scheduled Jobs:
Level  Type Pri  Scheduled  Name   Volume
===
Full   Backup10  19-ene-08 00:00BackupWindows  *unknown*
Full   Backup10  19-ene-08 00:00BackupCatalog  *unknown*


Running Jobs:
No Jobs running.


Terminated Jobs:
 JobId  LevelFiles  Bytes   Status   FinishedName 

 1  Full  0 0   Error15-ene-08 00:05 BackupWindows
 2  Full  0 0   Error15-ene-08 00:05 BackupCatalog
 3  Full  0 0   Error16-ene-08 00:05 BackupWindows
 4  Full  0 0   Error16-ene-08 00:05 BackupCatalog
 5  Full  0 0   Error17-ene-08 00:05 BackupWindows
 6  Full  0 0   Error17-ene-08 00:05 BackupCatalog
 7  Full  0 0   Error18-ene-08 00:15 BackupWindows
 8  Full  0 0   Error18-ene-08 00:15 BackupCatalog


Connecting to Storage daemon gsdbaculaserver-sd at 127.0.0.1:9103

Failed to connect to Storage daemon gsdbaculaserver-sd.

Connecting to Client win32client at 10.128.50.5:9102
Failed to connect to Client win32client.

18-ene 09:10 gsdbaculaserver-dir: *Console*.2008-01-18_09.10.23 Fatal error: 
bnet.c:870 Unable to connect to Storage daemon on 127.0.0.1:9103. ERR=Conexión 
rechazada

Why, what's wrong here?
Cheers and thanks in advance
Ing. Reynier Pérez Mira 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bacula-sd.conf not working

2008-01-18 Thread Reynier Perez Mira
Hi every:
I try to test if my bacula-sd.conf file is Ok but I get this error If the line 
WorkingDirectory is commented:  

> bacula-dir -t -c bacula-sd.conf
> 17-ene 12:02 bacula-dir: ERROR TERMINATION at parse_conf.c:884
> Config error: Keyword "PidDirectory" not permitted in this resource.
> Perhaps you left the trailing brace off of the previous resource.
> : line 17, col 16 of file bacula-sd.conf
>  Pid Directory = "/var/run"

Otherwise I get this other error:

> bacula-dir -t -c bacula-sd.conf
> 17-ene 12:06 bacula-dir: ERROR TERMINATION at parse_conf.c:884
> Config error: Keyword "WorkingDirectory" not permitted in this resource.
> Perhaps you left the trailing brace off of the previous resource.
> : line 16, col 19 of file bacula-sd.conf
>  WorkingDirectory = "/var/bacula/working"

I read the doc and see this: 
  Working Directory =  This directive is mandatory  ...
  Pid Directory =  This directive is mandatory  ...

So I don't know why happen this. My Storage definition is this:

Storage { 
  Name = gsdserver-sd
  SDport = 9103
  WorkingDirectory = "/var/bacula/working"
  Pid Directory = "/var/run"
  Maximum Concurrent Jobs = 20
}

Cheers and thanks in advance
Ing. Reynier Pérez Mira 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] JobDefs mandatory ?

2008-01-17 Thread Reynier Perez Mira
> I don't know that feature.  You get me a URL to read, and 
> I'll tell you.

Well I found it in rel-bacula.pdf manual at page 117. 

Ing. Reynier Pérez Mira  

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Any chance to get the default bacula-dir.conf file

2008-01-17 Thread Reynier Perez Mira
Hi every:
I made some changes to bacula-dir.conf file withouth made before a backup. 
Exists any chance to get the default bacula-dir.conf file?
Note: I'm not an expert administrator I just want to made some test with Bacula 
in local PC for later install and configuring in a server
Cheers and thanks in advance
Ing. Reynier Pérez Mira 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] JobDefs mandatory ?

2008-01-17 Thread Reynier Perez Mira
Hi every:
I'm still reading the documentation and have a few questions:
 1. Is the JobDefs mandatory?
 2. If the answer is yes then how much I can have in the same bacula-dir.conf 
file? (One or various for backup, one or various for restore, one or various 
for Verify)
 3. What means Job Type Admin in JobDefs?
 4. With the enabled parameter set to yes I win something?
Cheers, thanks in advance and waiting for replies
Ing. Reynier Pérez Mira 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Help configuring bacula

2008-01-14 Thread Reynier Perez Mira
Well the manual is a PDF file downloaded from Bacula site and in it first page 
said:
"November 11, 2007 This manual documents Bacula version 2.2.6 (10 November 
2007)" So I think this is right. But don't worry I reply myself and others if 
needed: Reading after the chapter 10 I notice a good graphic in wich the author 
represent wich files need to match and where values and of course where are 
those files.

Let me continue reading the manual, if I have another question I post here

Ing. Reynier Pérez Mira  

> -Mensaje original-
> De: Ryan Novosielski [mailto:[EMAIL PROTECTED] 
> Enviado el: martes, 15 de enero de 2008 5:58 am
> Para: Reynier Perez Mira
> CC: bacula-users@lists.sourceforge.net
> Asunto: Re: [Bacula-users] Help configuring bacula
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Which manual are you reading -- can you point to the website address?
> There is no FileDaemon definition -- perhaps you are looking 
> at a development copy of the manual for the next version?
> 
> Reynier Perez Mira wrote:
> > Hi every:
> > If anyone read my old messages then can see that I'm 
> newbie. Following some members recomendations I start from 
> zero and read almost the entire manual. First of all I 
> compile bacula-2.2.7 and now it's running with MySQL support. 
> The second step I try now is configure Bacula to work. 
> Reading the manual in chapter "9-A brief tutorial" in section 
> "9.8 Adding a second client" I notice this:
> > 
> >  #
> >  # "Global" File daemon configuration specifications  #  
> FileDaemon { 
> > # this is me
> >   Name = rufus-fd
> >   FDport = 9102 # where we listen for the director
> >   WorkingDirectory = /home/kern/bacula/working
> >   Pid Directory = /var/run
> >  }
> > 
> > But in bacula-dir.conf file I only have this sections:
> > 
> > Director { }, Client { }, JobDefs { }, Job { }, FileSet { 
> }, Pool { }, 
> > Schedule { }, Storage { }, Catalog { }, Messages { }, Console { }
> > 
> > So where is supposed to be place FileDaemon section? Is in 
> this file or another .conf file?
> > Cheers and thanks
> > Ing. Reynier Pérez Mira
> 
> 
> - --
>   _  _ _  _ ___  _  _  _
>  |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
>  |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 
> 973/972.0922 (2-0922)
>  \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science 
> Bldg - C630
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFHjD1Bmb+gadEcsb4RAuI5AJ9iWegLzIr2WTamzf3ra8rEkHlsVACg25fF
> xt23dCCL2crrsX+WWePuTxo=
> =1AiD
> -END PGP SIGNATURE-
> 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Help configuring bacula

2008-01-14 Thread Reynier Perez Mira
Hi every:
If anyone read my old messages then can see that I'm newbie. Following some 
members recomendations I start from zero and read almost the entire manual. 
First of all I compile bacula-2.2.7 and now it's running with MySQL support. 
The second step I try now is configure Bacula to work. Reading the manual in 
chapter "9-A brief tutorial" in section "9.8 Adding a second client" I notice 
this:

 #
 # "Global" File daemon configuration specifications
 #
 FileDaemon { # this is me
  Name = rufus-fd
  FDport = 9102 # where we listen for the director
  WorkingDirectory = /home/kern/bacula/working
  Pid Directory = /var/run
 }

But in bacula-dir.conf file I only have this sections:

Director { }, Client { }, JobDefs { }, Job { }, FileSet { }, Pool { }, Schedule 
{ }, Storage { }, Catalog { }, 
Messages { }, Console { }

So where is supposed to be place FileDaemon section? Is in this file or another 
.conf file?
Cheers and thanks
Ing. Reynier Pérez Mira 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Managing bacula with Webmin

2008-01-14 Thread Reynier Perez Mira

Hi:
I have installed the latest Webmin. This version come with a module for Bacula. 
When I logging in Webmin and go to "Director Configuration" section and then to 
"Director Configuration" this error appear: "Error - Perl execution failed: Too 
many section ends at line 126 at ./bacula-backup-lib.pl line 101." Why? 
Otherwise if I go to "Storage Daemon Configuration" or "File Daemon 
Configuration" section I can see the configuration parameters and file and all 
is OK. Any idea what's happen with  "Director Configuration" section?

Cheers and thanks in advance
Ing. Reynier Pérez Mira 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bconsole can't connect with bacula-director

2008-01-13 Thread Reynier Perez Mira
Well I add this line: "127.0.0.1 gsdserver" to the hosts file and the same 
error still appear. Why?

Ing. Reynier Pérez Mira  

> -Mensaje original-
> De: Frank Sweetser [mailto:[EMAIL PROTECTED] 
> Enviado el: lunes, 14 de enero de 2008 1:46 am
> Para: Reynier Perez Mira
> CC: bacula-users@lists.sourceforge.net
> Asunto: Re: [Bacula-users] bconsole can't connect with bacula-director
> 
> Reynier Perez Mira wrote:
> >> gsdserver doesn't resolve to the host that the director is 
> running on
> > 
> > Maybe, this is the main error. When I restart Apache this 
> error show up: 
> >> /etc/init.d/apache2 restart
> >  * Restarting web server apache2
> 
> >  apache2: Could not reliably determine the server's fully qualified 
> > domain name, using 127.0.1.1 for ServerName
> >  apache2: Could not reliably determine the server's fully qualified 
> > domain name, using 127.0.1.1 for ServerName [ OK ]
> > 
> > How can I fix this? Can I write IP address instead a name 
> for Director?
> 
> That, or add an entry to /etc/hosts for your hostname and the 
> matching IP address.
> 
> --
> Frank Sweetser fs at wpi.edu  |  For every problem, there is 
> a solution that
> WPI Senior Network Engineer   |  is simple, elegant, and 
> wrong. - HL Mencken
>  GPG fingerprint = 6174 1257 129E 0D21 D8D4  E8A3 8E39 
> 29E3 E2E8 8CEC
> 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bconsole can't connect with bacula-director

2008-01-13 Thread Reynier Perez Mira
> gsdserver doesn't resolve to the host that the director 
> is running on

Maybe, this is the main error. When I restart Apache this error show up: 
> /etc/init.d/apache2 restart
 * Restarting web server apache2
 apache2: Could not reliably determine the server's fully qualified domain 
name, using 127.0.1.1 for ServerName
 apache2: Could not reliably determine the server's fully qualified domain 
name, using 127.0.1.1 for ServerName [ OK ]

How can I fix this? Can I write IP address instead a name for Director?

Ing. Reynier Pérez Mira  

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bconsole can't connect with bacula-director

2008-01-13 Thread Reynier Perez Mira
Hi every:
After some post here I take a breath and start from zero. Now I have bacula 
installed running but I think it's not configured yet. I try to admin using 
Webmin and get this error:

The Bacula console command /etc/bacula/bconsole could not communicate with the 
Bacula director. Make sure the password in /etc/bacula/bconsole.conf is correct.

HTTP/1.0 500 Perl execution failed Server: MiniServ/0.01 Date: Sun, 13 Jan 2008 
22:49:47 GMT Content-type: text/html Connection: close
Error - Perl execution failed

Too many section ends at line 126 at ./bacula-backup-lib.pl line 101.

Also I try in console with:

> bconsole

and get this error:

bconsole
Connecting to Director gsdserver:9101
13-ene 17:51 bconsole JobId 0: Fatal error: bsock.c:129 Unable to connect to 
Director daemon on gsdserver:9101. ERR=Conexión rechazada

What's wrong here? I check the password at bacula-dir.conf and bconsole.conf 
file and they are the same.

Cheers and thanks in advance
Ing. Reynier Pérez Mira 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem compiling Bacula

2008-01-13 Thread Reynier Perez Mira
> should do it

Well I solve the problem running only:
 ./configure --enable-bwx-console --enable-tray-monitor --with-mysql
Thanks a lot
Ing. Reynier Pérez Mira  

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem compiling Bacula

2008-01-13 Thread Reynier Perez Mira
Hi Arjen:

> apt-get install libmysqlclient-dev

apt-get install libmysqlclient-dev
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Nota, seleccionando libmysqlclient15-dev en lugar de libmysqlclient-dev
libmysqlclient15-dev ya está en su versión más reciente.
0 actualizados, 0 se instalarán, 0 para eliminar y 0 no actualizados.

As you have noticed I have libmysqlclient15-dev installed. So this is not the 
problem. I run again ./configure --enable-bwx-console --enable-tray-monitor 
--with-mysql=/usr/include/mysql but I get the same error again and again. 

checking for MySQL support... no
configure: error: Invalid MySQL directory /usr/include/mysql/ - unable to find 
mysql.h under /usr/include/mysql/

I use the command sugested by Bruno to find the mysql.h file. 

find /usr/ -name "mysql.h"
/usr/include/mysql/mysql.h

So, what's the problem here?

Ing. Reynier Pérez Mira  

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem compiling Bacula

2008-01-09 Thread Reynier Perez Mira
I install libmysql++-dev but still without appear mysql.h. Another suggestion? 
Cheers

Ing. Reynier Pérez Mira 


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem compiling Bacula

2008-01-09 Thread Reynier Perez Mira
My mistake. I found it now named libmysql++-devel


Ing. Reynier Pérez Mira 
-Mensaje original-
De: Ryan Novosielski [mailto:[EMAIL PROTECTED] 
Enviado el: jueves, 10 de enero de 2008 6:14 am
Para: Reynier Perez Mira
CC: bacula-users@lists.sourceforge.net
Asunto: Re: [Bacula-users] Problem compiling Bacula

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

You probably need the mysql-devel package -- typically if you're missing a 
header file, you need -devel package installed.

Reynier Perez Mira wrote:
> Hi every:
> 
> Alter some headaches with Bacula I decide unistall using apt-get 
> autoremove bacula and then compile all from source. I try this:
> 
>> ./configure ?enable-bwx-console ?enable-tray-monitor
> ?with-mysql=/usr/share/mysql
> 
> Here appear a problem that I can?t find a way to solve it.
> 
>> configure: error: Invalid MySQL directory /usr/share/mysql/ - unable 
>> to
> find mysql.h under /usr/share/mysql/
> 
> I find this file over the entire computer using this time:
> 
>> locate mysql.h
> 
> But it doesn?t appear. Can any help me here?
> 
> Cheers and thanks in advance
> 
>  
> 
>  
> 
> 
> --
> --
> 
> --
> --- Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for just about anything 
> Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marke
> tplace
> 
> 
> --
> --
> 
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users


- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II  |$&| 
|__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)  \__/ Univ. 
of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -BEGIN PGP 
SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHhamymb+gadEcsb4RAjwCAJ9AGhkewfzbo/A5YpWT3tG+1abrMACfbXWQ
70EVD/HuEUcJ+9V0ckyF0lE=
=kGQv
-END PGP SIGNATURE-

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Problem compiling Bacula

2008-01-09 Thread Reynier Perez Mira
Hi every:

Alter some headaches with Bacula I decide unistall using apt-get
autoremove bacula and then compile all from source. I try this:

> ./configure -enable-bwx-console -enable-tray-monitor
-with-mysql=/usr/share/mysql

Here appear a problem that I can't find a way to solve it.

> configure: error: Invalid MySQL directory /usr/share/mysql/ - unable
to find mysql.h under /usr/share/mysql/

I find this file over the entire computer using this time:

> locate mysql.h 

But it doesn't appear. Can any help me here?

Cheers and thanks in advance

 

 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Catalog problem

2008-01-08 Thread Reynier Perez Mira
Hi Andrea:

> Generally speaking, opening two threads for the same problem 
> is not going to get you an answer any sooner. Having said that,

Soury for that, is not my intention open and reopen the same problem.

> My guess is that you did not create a 'bacula' database 
> within mysql, and/or that the user '[EMAIL PROTECTED]' is 
> missing the correct access privileges *for the bacula database*.

bacula database exists, bacula user have ALL PRIVILEGES.

> Can you connect with 'mysql -u bacula -p bacula' ?
Yes, I can connect.

> Also, do not forget that you will need to create the database 
> schema (with the included scripts) before starting to use the program.
What you mean with database schema? What command I need to run? Where to 
looking for those scripts?

Ing. Reynier Pérez Mira  

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Catalog problem

2008-01-08 Thread Reynier Perez Mira
> You may need to specify the MySQL socket 

With socket you mean this line in my.cnf:
 socket = /var/run/mysqld/mysqld.sock

> or you can try to connect to 127.0.0.1 
Catalog {
  Name = MyCatalog
  dbname = bacula;
  user = bacula;  
  password = "baculadmin"
  DB Address = 127.0.0.1
}
This?
Ing. Reynier Pérez Mira  

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Catalog problem

2008-01-08 Thread Reynier Perez Mira
Hi Mathias:

> if the mysql server just listens on a unix socket give it a 
> try to listen to tcp/ip localhost. You have to comment the 
> skip-networking option in your my.cnf file.

I can't find that in my.cnf file. I just see that refer to skip-networking:

#
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
bind-address= 127.0.0.1

Ing. Reynier Pérez Mira  

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Catalog problem

2008-01-08 Thread Reynier Perez Mira
Hi Arjen:

> Please post the relevant part of you bacula-dir.conf.

Catalog {
  Name = MyCatalog
  dbname = bacula;
  user = bacula;  
  password = "baculadmin"
}

Ing. Reynier Pérez Mira  

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Catalog problem

2008-01-08 Thread Reynier Perez Mira
Hi Orlando. Yes I check the password in bacula-dir.conf and it's correct. Is 
the same password I used to connect via mysql -u bacula -p.
Ing. Reynier Pérez Mira 
 




De: Orlando [mailto:[EMAIL PROTECTED] 
Enviado el: martes, 08 de enero de 2008 03:03 pm
Para: Reynier Perez Mira
CC: Bacula Users
Asunto: Re: [Bacula-users] Catalog problem


Have you checked the password on the bacula-dir.conf ?

cheers!

Orlando.


On Jan 8, 2008 7:41 AM, Reynier Perez Mira <[EMAIL PROTECTED]> wrote: 


Hi every:
After some headaches configuring bacula-dir I have another 
problem. When I try to test if bacula-dir.conf file is OK I get this message:

bacula-dir -t -c bacula-dir.conf
08-ene 08:43 bacula-dir:  Fatal error: Could not open Catalog 
"MyCatalog", database "bacula".
08-ene 08:43 bacula-dir:  Fatal error: mysql.c:188 Unable to 
connect to MySQL server.
Database=bacula User=bacula
It is probably not running or your password is incorrect.
08-ene 08:43 bacula-dir ERROR TERMINATION
Please correct configuration file: bacula-dir.conf

MySQL isn't the problem because I do this: mysql -u bacula -p 
and I can connect withouth any problem.
What's wrong here?
Cheers
Ing. Reynier Pérez Mira


- 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.

http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/bacula-users





-- 
---
ing. Javier O. Ramírez Martínez
Key fingerprint = CBFD AEC9 E7F9 C726 03BF  3D85 7B9E 47A7 EB84 70D4
http://linux.mty.itesm.mx/~oramirez
http://picasaweb.google.com/javier.ramirez 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Catalog problem

2008-01-08 Thread Reynier Perez Mira
Hi every:
After some headaches configuring bacula-dir I have another problem. When I try 
to test if bacula-dir.conf file is OK I get this message:

bacula-dir -t -c bacula-dir.conf
08-ene 08:43 bacula-dir:  Fatal error: Could not open Catalog "MyCatalog", 
database "bacula".
08-ene 08:43 bacula-dir:  Fatal error: mysql.c:188 Unable to connect to MySQL 
server.
Database=bacula User=bacula
It is probably not running or your password is incorrect.
08-ene 08:43 bacula-dir ERROR TERMINATION
Please correct configuration file: bacula-dir.conf

MySQL isn't the problem because I do this: mysql -u bacula -p and I can connect 
withouth any problem.
What's wrong here?
Cheers 
Ing. Reynier Pérez Mira 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Why this ...

2008-01-07 Thread Reynier Perez Mira
> make sure mysql is running and you can connect via command line.

I solve the MySQL problem but Bacula problem persist. Now I can connect to 
MySQL using "bacula" user. I made the changes to bacula-dir.conf file and now 
have this:

Catalog {
  Name = MyCatalog
  dbname = bacula;
  user = bacula;  
  password = "baculadmin"
}

But when I run 
 bacula-dir -t -c bacula-dir.conf 
I get the same error again:

/etc/bacula# bacula-dir -t -c bacula-dir.conf
07-ene 18:16 bacula-dir:  Fatal error: Could not open Catalog "MyCatalog", 
database "bacula".
07-ene 18:16 bacula-dir:  Fatal error: mysql.c:188 Unable to connect to MySQL 
server.
Database=bacula User=bacula
It is probably not running or your password is incorrect.
07-ene 18:16 bacula-dir ERROR TERMINATION
Please correct configuration file: bacula-dir.conf
Why? What I'm doing wrong?
Cheers
Ing. Reynier Pérez Mira  

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


  1   2   >