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      256        0      0
NAME        130        1      0
FNAME       256        9      4
MSG         512        3      0
EMSG       1024        2      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/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to