SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
bacula-dir not working
Author Message
Post bacula-dir not working 
Hi,

My bacula-dir cannot start using the script /etc/init.d/bacula-ctl-dir, and looking the bacula log I have this:

12-Mar 08:11 bacula-dir: ERROR TERMINATION at bsys.c:494
bacula-dir is already running. pid=19523
Check file /var/run/bacula-dir.9101.pid


I try to move the /var/run/bacula-dir.9101.pid to another folder but not working too.

The bacula-sd and bacula-fd working fine.

I'm using bacula 2.4.4-1


Someone on the list could help me?


Thanks a lot,

Rodrigo Fernandes

Post bacula-dir not working 
It just say what it is : already running
a cat of /var/run/bacula-dir.9101.pid
should normally give you the pid process. (19523)

a ps aux | grep 19523, the pid obtained would show you a bacula-dir running.

so first try to stop it kindly /etc/init.d/bacula-ctl-dir stop
if it doesn't want try a kill -9 19523

Double check it has disappear from ps aux (otherwise you can face a zombie and need to restart the server ! Uh...)
Also the pid file should have gone, or rm it

Some infos : Os, package or own compilation ?

On 03/12/2010 12:43 PM, Rodrigo Fernandes wrote:
Hi,

My bacula-dir cannot start using the script /etc/init.d/bacula-ctl-dir, and
looking the bacula log I have this:

12-Mar 08:11 bacula-dir: ERROR TERMINATION at bsys.c:494
bacula-dir is already running. pid=
Check file /var/run/bacula-dir.9101.pid


I try to move the /var/run/bacula-dir.9101.pid to another folder but not
working too.

The bacula-sd and bacula-fd working fine.

I'm using bacula 2.4.4-1


Someone on the list could help me?


Thanks a lot,

Rodrigo Fernandes




------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev



_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--

Bruno Friedmann

Ioda-Net Sàrl
2830 Vellerat - Switzerland

Tél : ++41 32 435 7171
Fax : ++41 32 435 7172
gsm : ++41 78 802 6760
www.ioda-net.ch

Centre de Formation et de Coaching En Ligne
www.cfcel.com

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post bacula-dir not working 
Thanks for the reply. I´m found the problem. There was a blocked query on the database "update pool ..." due to a problem with bacula-dir. After performing a restart on baculaa-dir the database was "locked" preventing the bacula-dir to access the database.
 
By the way, I wonder if someone on the list have knowledge about how to climb the bacula to backup over 200 servers?  It´s is possible?
 
Currently, my "Max Concurrent Jobs" on Bacula-dir, bacula-fd and bacula-sd is equal to 60 (Bacula-dir, bacula-fd and bacula-sd is running on the same server).
 
I have 50 servers that run the full backup over the weekend (due to the large volume of data) and servers with smaller volume of data run the full backup during the week. The problem is that due to the large number of servers the incremental backup ends up creating problems during the weekend, causing backups Fulls the servers are canceled due to problems with bacula-dir (because of the variable max concurrent jobs of the file bacula-dir exceeded the 60 jobs). I tried to resolve the problem by reducing the number of "Max Concurrent Jobs" in bacula-sd to 10, it is the number of servers allocated to each storage, but the number of jobs continues to exceed the variable Max Concurrent on file bacula-dir and the problem continues.

The question is, I believe that you cannot exceed more than 60 jobs in the variable "max concurrent jobs" because the network will be an obstacle to it on the hardware side.

I thought to include more network cards, making the bacula-sd respond on port 9104, but I'll keep bumping the bacula-dir limits.

Can anybody have some idea about how to resolve this issue?

My backup server has the bacula version 2.4.4-1 installed via tar.gz in a Red Hat Enterprise Server 5.4 x86_64

I appreciate any help right now and I apologize for the long text.

Rodrigo Fernandes


On Sat, Mar 13, 2010 at 4:47 PM, Bruno Friedmann <bruno < at > ioda-net.ch ([email]bruno < at > ioda-net.ch[/email])> wrote:
It just say what it is : already running
a cat of /var/run/bacula-dir.9101.pid
should normally give you the pid process. (19523)

a ps aux | grep 19523, the pid obtained would show you a bacula-dir running.

so first try to stop it kindly /etc/init.d/bacula-ctl-dir stop
if it doesn't want try a kill -9 19523

Double check it has disappear from ps aux (otherwise you can face a zombie and need to restart the server ! Uh...)
Also the pid file should have gone, or rm it

Some infos : Os, package or own compilation ?

On 03/12/2010 12:43 PM, Rodrigo Fernandes wrote:
Hi,

My bacula-dir cannot start using the script /etc/init.d/bacula-ctl-dir, and
looking the bacula log I have this:

12-Mar 08:11 bacula-dir: ERROR TERMINATION at bsys.c:494
bacula-dir is already running. pid=

Check file /var/run/bacula-dir.9101.pid


I try to move the /var/run/bacula-dir.9101.pid to another folder but not
working too.

The bacula-sd and bacula-fd working fine.

I'm using bacula 2.4.4-1


Someone on the list could help me?


Thanks a lot,

Rodrigo Fernandes





------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev



_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net ([email]Bacula-users < at > lists.sourceforge.net[/email])
https://lists.sourceforge.net/lists/listinfo/bacula-users


--

    Bruno Friedmann

Ioda-Net Sàrl
 2830 Vellerat - Switzerland

 Tél : ++41 32 435 7171
 Fax : ++41 32 435 7172
 gsm : ++41 78 802 6760
 www.ioda-net.ch

 Centre de Formation et de Coaching En Ligne
 www.cfcel.com

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net ([email]Bacula-users < at > lists.sourceforge.net[/email])
https://lists.sourceforge.net/lists/listinfo/bacula-users


Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB