FreeBSD and Bacula

2008-07-03 Thread Ivaylo Bonev
I want to use FreeBSD 7.0 for Backup server. After little searching, my  
decision was to use Bacula (because of Windows client). After installation  
of latest version (Bacula 2.4.0) and active googling, reading very  
carefuly Onlamp article of Bacula server on FreeBSD  
(http://www.onlamp.com/pub/a/onlamp/2004/01/09/bacula.html) and  
configuring File, Storage and Director files, I was astonished by the fact  
that Bacula cannot start from provided scripts in /usr/local/etc/rc.d/  
directory. No messages in log, no error messages in console, ps aux| grep  
'bacula' say nothing, nothing! I put

bacula_dir_enable=YES
bacula_fd_enable=YES
bacula_sd_enable=YES
and after restart on console shows this error:
03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483
Config error: Could not find config Resource bacula-fd referenced on line  
30 :

 Client = bacula-fd


: line 30, col 20 of file /usr/local/etc/bacula-dir.conf
  Client = bacula-fd

All Bacula .conf files are attached. Is there a bug, or misconfigured  
.conf files?


--
Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming, or what?

bacula-sd.conf
Description: Binary data


bacula-dir.conf
Description: Binary data


bacula-fd.conf
Description: Binary data
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: FreeBSD and Bacula

2008-07-03 Thread Chris St Denis

Ivaylo Bonev wrote:
I want to use FreeBSD 7.0 for Backup server. After little searching, 
my decision was to use Bacula (because of Windows client). After 
installation of latest version (Bacula 2.4.0) and active googling, 
reading very carefuly Onlamp article of Bacula server on FreeBSD 
(http://www.onlamp.com/pub/a/onlamp/2004/01/09/bacula.html) and 
configuring File, Storage and Director files, I was astonished by the 
fact that Bacula cannot start from provided scripts in 
/usr/local/etc/rc.d/ directory. No messages in log, no error messages 
in console, ps aux| grep 'bacula' say nothing, nothing! I put

bacula_dir_enable=YES
bacula_fd_enable=YES
bacula_sd_enable=YES
and after restart on console shows this error:
03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483
Config error: Could not find config Resource bacula-fd referenced on 
line 30 :

 Client = bacula-fd


: line 30, col 20 of file /usr/local/etc/bacula-dir.conf
  Client = bacula-fd

All Bacula .conf files are attached. Is there a bug, or misconfigured 
.conf files?




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
I don't know Bacula, but taking a quick look at the config file, it 
looks like you need a client block named bacula-fd (you have one 
called laptop-fd)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD and Bacula

2008-07-03 Thread Rodrigo Gonzalez
Ivaylo Bonev wrote:
 I want to use FreeBSD 7.0 for Backup server. After little searching, my
 decision was to use Bacula (because of Windows client). After
 installation of latest version (Bacula 2.4.0) and active googling,
 reading very carefuly Onlamp article of Bacula server on FreeBSD
 (http://www.onlamp.com/pub/a/onlamp/2004/01/09/bacula.html) and
 configuring File, Storage and Director files, I was astonished by the
 fact that Bacula cannot start from provided scripts in
 /usr/local/etc/rc.d/ directory. No messages in log, no error messages in
 console, ps aux| grep 'bacula' say nothing, nothing! I put
 bacula_dir_enable=YES
 bacula_fd_enable=YES
 bacula_sd_enable=YES
 and after restart on console shows this error:
 03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483
 Config error: Could not find config Resource bacula-fd referenced on
 line 30 :
  Client = bacula-fd
 
 
 : line 30, col 20 of file /usr/local/etc/bacula-dir.conf
   Client = bacula-fd
 
 All Bacula .conf files are attached. Is there a bug, or misconfigured
 .conf files?
 
You have laptop-fd in your bacula-fd configuration, you dont have
bacula-fd (I think you've renamed the Client conf from samples).

Change bacula-fd with laptop-fd and should work
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD and Bacula

2008-07-03 Thread Hugo Silva

Ivaylo Bonev wrote:
I want to use FreeBSD 7.0 for Backup server. After little searching, 
my decision was to use Bacula (because of Windows client). After 
installation of latest version (Bacula 2.4.0) and active googling, 
reading very carefuly Onlamp article of Bacula server on FreeBSD 
(http://www.onlamp.com/pub/a/onlamp/2004/01/09/bacula.html) and 
configuring File, Storage and Director files, I was astonished by the 
fact that Bacula cannot start from provided scripts in 
/usr/local/etc/rc.d/ directory. No messages in log, no error messages 
in console, ps aux| grep 'bacula' say nothing, nothing! I put

bacula_dir_enable=YES
bacula_fd_enable=YES
bacula_sd_enable=YES
and after restart on console shows this error:
03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483
Config error: Could not find config Resource bacula-fd referenced on 
line 30 :

 Client = bacula-fd


: line 30, col 20 of file /usr/local/etc/bacula-dir.conf
  Client = bacula-fd

All Bacula .conf files are attached. Is there a bug, or misconfigured 
.conf files?




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Surely a misconfiguration, I have just finished setting up bacula on a 
freebsd 7-STABLE host, successfully.


Regards,

Hugo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD and Bacula

2008-07-03 Thread Ivaylo Bonev

Thu, 03 Jul 2008 20:30:00 +0300, Rodrigo Gonzalez [EMAIL PROTECTED]:


Ivaylo Bonev wrote:

I want to use FreeBSD 7.0 for Backup server. After little searching, my
decision was to use Bacula (because of Windows client). After
installation of latest version (Bacula 2.4.0) and active googling,
reading very carefuly Onlamp article of Bacula server on FreeBSD
(http://www.onlamp.com/pub/a/onlamp/2004/01/09/bacula.html) and
configuring File, Storage and Director files, I was astonished by the
fact that Bacula cannot start from provided scripts in
/usr/local/etc/rc.d/ directory. No messages in log, no error messages in
console, ps aux| grep 'bacula' say nothing, nothing! I put
bacula_dir_enable=YES
bacula_fd_enable=YES
bacula_sd_enable=YES
and after restart on console shows this error:
03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483
Config error: Could not find config Resource bacula-fd referenced on
line 30 :
 Client = bacula-fd


: line 30, col 20 of file /usr/local/etc/bacula-dir.conf
  Client = bacula-fd

All Bacula .conf files are attached. Is there a bug, or misconfigured
.conf files?


You have laptop-fd in your bacula-fd configuration, you dont have
bacula-fd (I think you've renamed the Client conf from samples).

Change bacula-fd with laptop-fd and should work



Thanks, it works now!
What is name convention for Windows derectories and files in 'File ='
'c:/new' or '/new'?

--
Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming, or what?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD and Bacula

2008-07-03 Thread Rodrigo Gonzalez
Ivaylo Bonev wrote:
 Thu, 03 Jul 2008 20:30:00 +0300, Rodrigo Gonzalez [EMAIL PROTECTED]:
 
 Ivaylo Bonev wrote:
 I want to use FreeBSD 7.0 for Backup server. After little searching, my
 decision was to use Bacula (because of Windows client). After
 installation of latest version (Bacula 2.4.0) and active googling,
 reading very carefuly Onlamp article of Bacula server on FreeBSD
 (http://www.onlamp.com/pub/a/onlamp/2004/01/09/bacula.html) and
 configuring File, Storage and Director files, I was astonished by the
 fact that Bacula cannot start from provided scripts in
 /usr/local/etc/rc.d/ directory. No messages in log, no error messages in
 console, ps aux| grep 'bacula' say nothing, nothing! I put
 bacula_dir_enable=YES
 bacula_fd_enable=YES
 bacula_sd_enable=YES
 and after restart on console shows this error:
 03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483
 Config error: Could not find config Resource bacula-fd referenced on
 line 30 :
  Client = bacula-fd


 : line 30, col 20 of file /usr/local/etc/bacula-dir.conf
   Client = bacula-fd

 All Bacula .conf files are attached. Is there a bug, or misconfigured
 .conf files?

 You have laptop-fd in your bacula-fd configuration, you dont have
 bacula-fd (I think you've renamed the Client conf from samples).

 Change bacula-fd with laptop-fd and should work

 
 Thanks, it works now!
 What is name convention for Windows derectories and files in 'File ='
 'c:/new' or '/new'?
 
I dont use windows so I dont knowbut I think that should be c:/ or
wont know which disk/partition you are talking about
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD and Bacula

2008-07-03 Thread Andrea Venturoli

Ivaylo Bonev ha scritto:
 I was astonished by the 
fact that Bacula cannot start from provided scripts in 
/usr/local/etc/rc.d/ directory. No messages in log, no error messages in 
console, ps aux| grep 'bacula' say nothing, nothing! I put

bacula_dir_enable=YES
bacula_fd_enable=YES
bacula_sd_enable=YES


This is quite tipical behaviour for ports.




and after restart on console shows this error:
03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483
Config error: Could not find config Resource bacula-fd referenced on 
line 30 :

 Client = bacula-fd


: line 30, col 20 of file /usr/local/etc/bacula-dir.conf
  Client = bacula-fd

All Bacula .conf files are attached. Is there a bug, or misconfigured 
.conf files?


It's a problem in your configuration: you have some jobs that refers to 
a bacula-fd client resource, but your only client resource is named 
laptop-fd.

You'll want to change either one or the others of those definitions.

BTW, given this is not a FreeBSD or FreeBSD specific problem, this 
question belongs more to Bacula's own mailing list (even if I rarely 
ever found any help there).




 bye
av.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD and Bacula

2008-07-03 Thread Ivaylo Bonev

Thu, 03 Jul 2008 20:37:04 +0300, Andrea Venturoli [EMAIL PROTECTED]:


Ivaylo Bonev ha scritto:
 I was astonished by the fact that Bacula cannot start from provided  
scripts in /usr/local/etc/rc.d/ directory. No messages in log, no error  
messages in console, ps aux| grep 'bacula' say nothing, nothing! I put

bacula_dir_enable=YES
bacula_fd_enable=YES
bacula_sd_enable=YES


This is quite tipical behaviour for ports.




and after restart on console shows this error:
03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483
Config error: Could not find config Resource bacula-fd referenced on  
line 30 :

 Client = bacula-fd
  : line 30, col 20 of file /usr/local/etc/bacula-dir.conf
  Client = bacula-fd
 All Bacula .conf files are attached. Is there a bug, or misconfigured  
.conf files?


It's a problem in your configuration: you have some jobs that refers to  
a bacula-fd client resource, but your only client resource is named  
laptop-fd.

You'll want to change either one or the others of those definitions.

BTW, given this is not a FreeBSD or FreeBSD specific problem, this  
question belongs more to Bacula's own mailing list (even if I rarely  
ever found any help there).




  bye
av.



Because people here are friendly to newbies. We are humans after all,  
everyone make mistakes :)


--
Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming, or what?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD and Bacula

2008-07-03 Thread Drew Tomlinson

Ivaylo Bonev wrote:

Thu, 03 Jul 2008 20:30:00 +0300, Rodrigo Gonzalez [EMAIL PROTECTED]:


Ivaylo Bonev wrote:

I want to use FreeBSD 7.0 for Backup server. After little searching, my
decision was to use Bacula (because of Windows client). After
installation of latest version (Bacula 2.4.0) and active googling,
reading very carefuly Onlamp article of Bacula server on FreeBSD
(http://www.onlamp.com/pub/a/onlamp/2004/01/09/bacula.html) and
configuring File, Storage and Director files, I was astonished by the
fact that Bacula cannot start from provided scripts in
/usr/local/etc/rc.d/ directory. No messages in log, no error 
messages in

console, ps aux| grep 'bacula' say nothing, nothing! I put
bacula_dir_enable=YES
bacula_fd_enable=YES
bacula_sd_enable=YES
and after restart on console shows this error:
03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483
Config error: Could not find config Resource bacula-fd referenced on
line 30 :
 Client = bacula-fd


: line 30, col 20 of file /usr/local/etc/bacula-dir.conf
  Client = bacula-fd

All Bacula .conf files are attached. Is there a bug, or misconfigured
.conf files?


You have laptop-fd in your bacula-fd configuration, you dont have
bacula-fd (I think you've renamed the Client conf from samples).

Change bacula-fd with laptop-fd and should work



Thanks, it works now!
What is name convention for Windows derectories and files in 'File ='
'c:/new' or '/new'?


I use Bacula to backup files from Windows XP workstations in my home 
network.  Here is a snippet from my bacula-dir.conf for your reference:


FileSet {
 Name = Bigdaddy Data Files
 Enable VSS = yes
 Include {
   File = c:\\Documents and Settings
   File = c:\\Elks
   File = c:\\EG Magicians Circle

   Options {
 compression=GZIP
 signature=MD5
   }

 }

 # Second Include is to really Exclude some wildcard options.  See 
manual

 Include {

   Options {
 wild = *[Tt]emp*
 wild = *[Uu][Ss][Ee][Rr]*\.[Dd][Aa][Tt].*
 wild = UsrClass\.dat.*
 exclude=yes
   }
 }

 Exclude {

 }
}

It's been a long time since I set that up so I probably won't be able to 
answer any specific questions off the top of my head.  However I hope my 
example will help you find your answers.


Cheers,

Drew

--
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]