Bacula Startup Errors Log Location

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Bacula Startup Errors Log Location

webmaster

Hi there.

I am on CentOS 7 with Bacula 7.4.4 buld from source.
I wonder, if there is a file where I can see why i.e. bacula-dir is not coming up i.e. if I have a mistake in my bacula-dir.conf.
Where is bacula logging those messages? I am not able to see anything in /var/log/messages or /opt/bacula/log/*...
Is there a way to set and/or increase log level? Does Bacula have a config file test parser like other apps have it?

Thanks for your time.
-fuz


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bacula Startup Errors Log Location

Josip Deanovic
On Monday 2017-01-09 14:53:21 [hidden email] wrote:

> Hi there.
>
> I am on CentOS 7 with Bacula 7.4.4 buld from source.
> I wonder, if there is a file where I can see why i.e. bacula-dir is not
> coming up i.e. if I have a mistake in my bacula-dir.conf. Where is
> bacula logging those messages? I am not able to see anything in
> /var/log/messages or /opt/bacula/log/*... Is there a way to set and/or
> increase log level? Does Bacula have a config file test parser like
> other apps have it?
>
> Thanks for your time.
> -fuz

Hi!

The path to log files depends on your bacula setup.
In my case I can see bacula logs in /var/log/bacula

You can use bacula-dir -t -c /etc/bacula/bacula-dir.conf
to test the configuration.
You can further help yourself while debugging if you run the bacula in
foreground using the option '-f'.
You can also set the debug level using the '-d' option.

--
Josip Deanovic

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Bacula Startup Errors Log Location

Daniel Heitepriem
In reply to this post by webmaster

Hi,

you can run bacula director in debug mode using:

"*path/to/your/bacula-dir* -f  -c /*path/to/bacula-dir.conf* -d 400" (400 is the maximal debug output, so expect  quite a lot written to stdout)

Best regards,
Daniel

On 09.01.17 14:53, [hidden email] wrote:

Hi there.

I am on CentOS 7 with Bacula 7.4.4 buld from source.
I wonder, if there is a file where I can see why i.e. bacula-dir is not coming up i.e. if I have a mistake in my bacula-dir.conf.
Where is bacula logging those messages? I am not able to see anything in /var/log/messages or /opt/bacula/log/*...
Is there a way to set and/or increase log level? Does Bacula have a config file test parser like other apps have it?

Thanks for your time.
-fuz



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot


_______________________________________________
Bacula-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Loading...