LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Bacula Backup Server Problems. Bacula-Director is off! (https://www.linuxquestions.org/questions/linux-server-73/bacula-backup-server-problems-bacula-director-is-off-4175630274/)

peleu 05-23-2018 02:48 AM

Bacula Backup Server Problems. Bacula-Director is off!
 
Hello Guys, i have to make a Bacula Backup Server, and i have some issues about the director, i cant connect with him. I use CentOS Linux 7.5.1804 and when i try to connect to bacula using bconsole, nothing response:

https://image.ibb.co/fbrqi8/Untitled.png

I using Bacula as graphic administration, using Webmin 1.881. The Bacula Director daemon seems to be down, and i really dont know why this happen.

https://image.ibb.co/eADvi8/director_off.png

If you guys can help me, please do it.

unSpawn 05-27-2018 04:46 AM

Quote:

Originally Posted by peleu (Post 5858218)
I using Bacula as graphic administration, using Webmin 1.881. The Bacula Director daemon seems to be down, and i really dont know why this happen.

...and that is where the problem starts! You should not rely on a GUI for "making things work" until you know how to properly troubleshoot problems from the command line. I suggest you do the following:
- verify if the Bacula installation is complete (if not: remove all related packages and configs and re-install from scratch from the command line).
- read the relevant documentation, configure all services manually, ensure all required services are started at boot and monitored for any outage (Monit?) or other problems (Logwatch?).
- Now you should have a generic Bacula service running, restart services, reboot machine and check service state and the logs for any glaring errors.
- Now configure your Vault and one test case and run the backup command from the command line (don't automate things yet).
- If the backup job fails check output and logs and use verbose or debug mode. Rinse, repeat.


Should you wish somebody provides further help then your next post should best include:
- Linux distribution and version,
- Bacula software version,
- clear and unambiguous confirmation you have checked & configured everything manually and have checked the relevant logs,
- any related excerpts from the job output and service logs.


HTH

Pricetagg 11-13-2018 02:11 PM

I have had issues connecting and it came down to SELINUX blocking the Bacula. Try setting it to permissive and then try to connect. If you can then that seems like it is one of your issues. Don't keep it like that but put it back to enforcing.I did this:

chcon system_u:object_r:bacula_store_t:s0 /your storage place

I am using CentOS7 for my backup server running Bacula.
regards


All times are GMT -5. The time now is 04:27 PM.