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

2008-01-29 Thread John Drescher
On Jan 29, 2008 10:56 AM, Reynier Perez Mira <[EMAIL PROTECTED]> wrote:
> > 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?
>
I am not sure how to do that on your distro. It may work to just copy
the bacula-ctl-dir, bacula-ctl-fd and bacula-ctl-sd to the /etc/init.d
folder and add these to the init process like you did for the
database. Or there may be a local.start script (or similar) that
starts at each reboot in which you can call all three bacula scripts
directly like the following:

/etc/bacula/bacula-ctl-fd start
/etc/bacula/bacula-ctl-sd start
/etc/bacula/bacula-ctl-dir start

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
> 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 John Drescher
On Jan 29, 2008 10:16 AM, Reynier Perez Mira <[EMAIL PROTECTED]> wrote:
> 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?
>
To me It looks like bacula-dir is now working. In my example it should
only terminate if it has an error or you stop it. Did you try on that
box connecting to bacula via bconsole?

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 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 John Drescher
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-28 Thread John Drescher
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 John Drescher
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 John Drescher
On Jan 24, 2008 5:20 PM, John Drescher <[EMAIL PROTECTED]> wrote:
> 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?
>
I meant the ones that start bacula daemons.

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 John Drescher
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 John Drescher
> 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 Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

John Drescher wrote:
>> 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

I would be willing to handle an OS or two also -- I may not be a
programmer, but I'd like to give back.

Another thing to mention -- unbelievable as it is -- I think there is at
least one distro package out there that does not create the database AND
does not come with the script to do so!

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

iD8DBQFHmQujmb+gadEcsb4RApqfAKDETZAVIy4EWHN5+oT2/ECxKL9QWACffLh6
B8aLB0lxPTJ0+UYOsmZbd8o=
=Qzgq
-END PGP SIGNATURE-
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:[EMAIL PROTECTED]
title:Systems Programmer III
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard

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


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

2008-01-24 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dan Langille wrote:
> John Drescher wrote:
>> On Jan 24, 2008 4:23 PM, Dan Langille <[EMAIL PROTECTED]> wrote:
>>> 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:
>>>
>> He originally had bacula configured to use mysql and now he wants to
>> use postgresql and he compiled bacula-dir with the option for postgres
>> but it still is asking for mysql. I believe the reason is he the
>> compile from source is putting bacula in a different folder than the
>> previous install and that one is still being used.
> 
> I think someone else mentioned: this is a good case study for why 
> packages / ports should be used.
> 
> Sorry that's not much help in the current situation.

He tried that and could not figure out how to get things going once the
package was installed.

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.

Does RedHat provide for a way to query the user to setup the database?


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

iD8DBQFHmQWYmb+gadEcsb4RAt9lAKCvRxS5REIjf87Ap1XHKzdvLCK++QCgr+hm
y5avXrP3OkpRLqa8SyfDB2U=
=ZSKq
-END PGP SIGNATURE-
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:[EMAIL PROTECTED]
title:Systems Programmer III
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard

-
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 John Drescher
On Jan 24, 2008 4:33 PM, Reynier Perez Mira <[EMAIL PROTECTED]> wrote:
> No, It haven't any output. If I do make uninstall how I'm sure that Bacula 
> doesn't exists any more?
>
My guess here is you once installed a package from your distro and
that does not get removed with make uninstall because your distro
choose a different folder to install than what make install is.
>

I would go to /usr/sbin/ and look for all files that start with bacula
and delete them.

Is the /sbin/bacula-dir the same old file as the /usr/sbin/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 Dan Langille
John Drescher wrote:
> On Jan 24, 2008 4:23 PM, Dan Langille <[EMAIL PROTECTED]> wrote:
>> 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:
>>
> 
> He originally had bacula configured to use mysql and now he wants to
> use postgresql and he compiled bacula-dir with the option for postgres
> but it still is asking for mysql. I believe the reason is he the
> compile from source is putting bacula in a different folder than the
> previous install and that one is still being used.

I think someone else mentioned: this is a good case study for why 
packages / ports should be used.

Sorry that's not much help in the current situation.

-- 
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
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 John Drescher
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 John Drescher
On Jan 24, 2008 4:23 PM, Dan Langille <[EMAIL PROTECTED]> wrote:
> 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:
>

He originally had bacula configured to use mysql and now he wants to
use postgresql and he compiled bacula-dir with the option for postgres
but it still is asking for mysql. I believe the reason is he the
compile from source is putting bacula in a different folder than the
previous install and that one is still being used.

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 John Drescher
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
> -rwxr-xr-x 1 root root 675600 2007-10-14 22:46 /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 Dan Langille
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 John Drescher
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 John Drescher
On Jan 24, 2008 9:41 AM, Reynier Perez Mira <[EMAIL PROTECTED]> wrote:
> 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

When you compiled from source. Did you do all 3 steps?

./configure   [ENTER YOUR PARAMATERS HERE]
make
make install

I believe that the build failed for the catalog or the director.
Although I do build from source I am using gentoo and the gentoo
package manager does that for me. In my case some of the builds may
fail but the whole process completes and appears to be a success. If
you can get on a terminal with a large history or use &> to capture
the build messages to a file.

This second approach would be like

./configure  [ENTER YOUR PARAMATERS HERE]

make &> output.txt

Then look at the text file to see if any section says failed.

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
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 John Drescher
> 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 John Drescher
> 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 John Drescher
> > Are you sure you have the new executables installed in the
> > proper place?
>
> What you mean with "new executables"?
>
Yes. I meant are you 100% sure that the executables you compiled with
the postgresql support were installed in the same place any previous
install you may have done on the same computer. I am worried that
possibly an install from rpms may have installed the executables for
bacula in a different location than the install that you just did when
you compiled from source.

I ask because a few months ago something similar happened to me. When
building from source the executable for bacula-dir failed to build
while other executables built and installed so it looked like
everything was ok. I restarted the services and thought I had the
correct executable only to find out a few days later that I had still
been using a previous version of bacula that did not contain an update
to fix a problem I was having with a two drive autochanger.

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 John Drescher
> I believe it was a linux server with windows clients.

I forgot to add he is compiling from source. He had originally
compiled for mysql and now wants to use postgresql.

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 John Drescher
> Whoops ! I should have taken more time to look over the above, it
> would appear to be a windows install ?
>
> *blush*
>
> Sorry :(
>
I believe it was a linux server with windows clients.

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 Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Matt Brown wrote:
>>> 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?
>> Well the Debian/Ubuntu packages use sqlite3 by default, which packages
>> did you install ?
>>
>> In apt-get you should find the following for bacula packages:
> 
> 
> 
> Whoops ! I should have taken more time to look over the above, it  
> would appear to be a windows install ?
> 
> *blush*
> 
> Sorry :(
> 
> Matt Brown

I'm pretty sure those are the gentleman's filesets, but I could be wrong.

It is no fault of your own, in any case, if you aren't able to follow.
He starts a new thread for every phase of his problem, but provides no
hint of the previous steps involved. I personally have not the time or
energy.


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

iD8DBQFHl5uDmb+gadEcsb4RAhNCAKCc8xCDJ7jDAKLM4R7lQ1mt/4QS4gCgqED4
96H27roU0grtZ9djBjahXog=
=FIJF
-END PGP SIGNATURE-
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:[EMAIL PROTECTED]
title:Systems Programmer III
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard

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

>>
>> 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?
>
> Well the Debian/Ubuntu packages use sqlite3 by default, which packages
> did you install ?
>
> In apt-get you should find the following for bacula packages:



Whoops ! I should have taken more time to look over the above, it  
would appear to be a windows install ?

*blush*

Sorry :(

Matt Brown

-
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 John Drescher
On Jan 23, 2008 8:37 AM, Reynier Perez Mira <[EMAIL PROTECTED]> wrote:
> > 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?
>
Are you sure you have the new executables installed in the proper place?
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 Matt Brown
>
> 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?

Well the Debian/Ubuntu packages use sqlite3 by default, which packages  
did you install ?

In apt-get you should find the following for bacula packages:

bacula - Network backup, recovery and verification (Meta-package)
bacula-client - Network backup, recovery and verification (Client meta- 
package)
bacula-common - Network backup, recovery and verification (Common  
Support files)
bacula-console - Network backup, recovery and verification (Mgmt.  
Console)
bacula-console-gnome - Network backup, recovery and verification  
(Console, Gnome version)
bacula-console-wx - Network backup, recovery and verification  
(Console, Gnome version)
bacula-director-common - Network backup, recovery and verification  
(Director common files)
bacula-director-mysql - Network backup, recovery and verification  
(Director daemon)
bacula-director-pgsql - Network backup, recovery and verification  
(Director daemon)
bacula-director-sqlite - Network backup, recovery and verification  
(Director daemon)
bacula-director-sqlite3 - Network backup, recovery and verification  
(Director daemon)
bacula-doc - Documentation for Bacula
bacula-fd - Network backup, recovery and verification (Filer daemon)
bacula-sd - Network backup, recovery and verification (Storage daemon)
bacula-sd-mysql - Network backup, recovery and verification (SD tools- 
MySQL)
bacula-sd-pgsql - Network backup, recovery and verification (SD tools- 
PostgreSQL)
bacula-sd-sqlite - Network backup, recovery and verification (SD tools- 
SQLite)
bacula-sd-sqlite3 - Network backup, recovery and verification (SD  
tools-SQLite3)
bacula-server - Network backup, recovery and verification (Server meta- 
package)
bacula-traymonitor - Network backup, recovery and verification (Tray  
monitor)

I resorted to compiling from source as the packages were older - 1.3.8  
or something.

I also noticed you had the following in the above output:

bacula-dir: mysql.c:182 db_user=bacula db_name=bacula db_password=

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 ?

Regards

Matt Brown

-
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-23 Thread Matt Brown
Hi Reynier,

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

Try adding the debug option

i.e [pathto]/bacula-dir -d 99 -t -c [pathto]bacula-dir.conf

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

HTH

Matt Brown


-
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 Dan Langille
Reynier Perez Mira wrote:
> 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

Possibly a database connection issue.  Look in that bacula-director 
file, find the command it's running, and issue it from the command line. 
   Add one more option:

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


Add -f.  Perhaps you can some errors.  Try also -v or -d.

> 
> 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
> }
> 
> #C

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