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/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to