Bacula-users

Re: [Bacula-users] Problem with director

2009-01-17 18:37:32
Subject: Re: [Bacula-users] Problem with director
From: Dan Langille <dan AT langille DOT org>
To: soveren <2005now AT mail DOT ru>
Date: Sat, 17 Jan 2009 16:34:33 -0500
soveren wrote:
> Hello guys, here's my problem: when i trying to check director config, he's
> wrote to me
> 
> # bacula-dir -t -d /usr/local/etc/bacula-dir.conf
> bacula-dir in free(): error: modified (chunk-) pointer
> bacula-dir in malloc(): error: recursive call
> bacula-dir in free(): error: recursive call
> 
> my system is:
> 
> uname -a
> FreeBSD Srv.domain.lan 6.4-RELEASE FreeBSD 6.4-RELEASE #1: Wed Dec 17
> 14:34:26 MSK 2008
> 
> version of bacula is 2.4.4 i installed it from the ports. When i'm trying to
> start rc.d script, no error shows, director just don't starting.

I suspect bacula-dir cannot connect to the database.  Confirm this by 
keeping bacula-dir in the foreground with debug on.

bacula-dir -f -d 99 -u bacula -g bacula -v -c \
/usr/local/etc/bacula-dir.conf

The above values are mostly from bacula_dir_flags in 
/usr/local/etc/rc.d/bacula-dir


> Here is my director config, i took it from the working system so i don't
> belive it's because of him:
> 
> Director {
>   Name = backup-dir
>   DIRport = 9101
>   QueryFile = "/usr/local/share/bacula/query.sql"
>   WorkingDirectory = "/var/db/bacula"
>   PidDirectory = "/var/run"
>   Maximum Concurrent Jobs = 1
>   Password = "123"
>   Messages = Daemon
> }
> Job {
>   Name = "RestoreFiles"
>   Type = Restore
>   Client= first
>   FileSet= "standart-set"
>   Storage = backup-sd
>   Pool = main-pool
>   Messages = Daemon
>   Where = /bacula-restores
> }
> FileSet {
>     Name = "standart-set"
>     Include {
>         Options {
>               signature = MD5
>                 }
>          File = /etc
>             }
> }
> Client {
>   Name = first
>   Address = 10.10.10.10
>   FDPort = 9102
>   Catalog = "default"
>   Password = "123"
>   File Retention = 30 days
>   Job Retention = 3 months
>   AutoPrune = yes
> }
> Storage {
>   Name = backup-sd
>   Address = 10.10.10.100
>   SDPort = 9103
>   Password = "123"
>   Device = backup-dev
>   Media Type = File
> }
> Messages {
>   Name = Daemon
>   syslog = all
> }
> Pool {
>   Name = main-pool
>   Pool Type = Backup
>   Recycle = yes
>   AutoPrune = yes
>   Volume Retention = 365 days
> }
> Pool {
>   Name = Scratch
>   Pool Type = Backup
> }
> Catalog {
>   Name = default
>   dbname = "bacula"; dbuser = "bacula"; dbpassword = ""


-- 
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:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users