Alan, thank you very much for your help. I built bacula from source, and I will try this.
-- Jeronimo Zucco LPIC-1 Linux Professional Institute Certified NĂșcleo de Processamento de Dados Universidade de Caxias do Sul http://jczucco.blogspot.com Alan Davis escreveu: > >> ShivaJob.2007-02-01_02.05.00 Fatal error: Socket error on Storage >> > command: > >> ERR=No data available 01-Feb 03:12 bacula-dir: >> ShivaJob.2007-02-01_02.05.00 >> Error: Bacula 2.0.2 (28Jan07): 01-Feb-2007 03:12:11 >> > > This is the /real/ error and it does indicate that your RunBeforeJob is > taking longer than 30 minutes. > > I ran into this same error a few days ago when I was working with /very/ > large file lists. > > There isn't an SD directive to make it wait more than 30 minutes, it's > hardcoded into the SD. > > If you are running from bacula built from source you can change it in > the .../src/stored/job.c file, recompile the SD and install the modified > SD. > > If you are using bacula installed from RPM you will need the source RPM > (SRPM) and work through the standard source to binary build process. > > The relevant lines are : > > gettimeofday(&tv, &tz); > timeout.tv_nsec = tv.tv_usec * 1000; > timeout.tv_sec = tv.tv_sec + 30 * 60; /* wait 30 minutes */ > > Dmsg1(100, "%s waiting on FD to contact SD\n", jcr->Job); > /* > * Wait for the File daemon to contact us to start the Job, > * when he does, we will be released, unless the 30 minutes > * expires. > */ > P(mutex); > for ( ;!job_canceled(jcr); ) { > errstat = pthread_cond_timedwait(&jcr->job_start_wait, &mutex, > &timeout); > if (errstat == 0 || errstat == ETIMEDOUT) { > break; > } > } > V(mutex); > > > Stop the SD. > Save a copy of job.c > Change the 30 to something larger - 90 would make it wait for 90 > minutes. > In the .../src/stored directory run "make && make install" > Start the SD. > > > > > > ---- > Alan Davis > Senior Architect > Ruckus Network, Inc. > 703.464.6578 (o) > 410.365.7175 (m) > [EMAIL PROTECTED] > alancdavis AIM > > > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users