Re: [Bacula-devel] bsmtp connection refused bacula-2.2.0

2007-08-22 Thread Arno Lehmann
Hi, 23.08.2007 02:31,, Support wrote:: > Dear Developers even though I'm not a developer... > I wondered why a job seemed to have failed or stalled - I got no email. > Then I found the database had the job as successfully completed. > > What I discovered in the log file is below. > > The error

Re: [Bacula-devel] Query changes in the catalog browser and indexes

2007-08-22 Thread Dirk Bartley
On Wed, 2007-08-22 at 10:11 -0400, Dan Langille wrote: > On 21 Aug 2007 at 20:07, Dirk Bartley wrote: > > > On Mon, 2007-08-20 at 08:04 -0400, Dan Langille wrote: > > > > > > > > There are basically three queries. One to get a list of directories, > > > > another to get a list of files and one t

[Bacula-devel] bsmtp connection refused bacula-2.2.0

2007-08-22 Thread Support
Dear Developers I wondered why a job seemed to have failed or stalled - I got no email. Then I found the database had the job as successfully completed. What I discovered in the log file is below. The error is :- 23-Aug 00:37 www-dir: message.c:476 Mail prog: bsmtp: bsmtp.c:329 Fatal connect er

Re: [Bacula-devel] bscan and nonstandard used of \\

2007-08-22 Thread Marc Schiffbauer
* Eric Bollengier schrieb am 22.08.07 um 19:32 Uhr: > On Wednesday 22 August 2007 18:06:07 Marc Schiffbauer wrote: > > * Cousin Marc schrieb am 22.08.07 um 15:01 Uhr: > > > Le Wednesday 22 August 2007 14:37:21 Martin Simmons, vous avez écrit : > > > > The problem is that PQescapeStringConn is not a

Re: [Bacula-devel] bscan and nonstandard used of \\

2007-08-22 Thread Dan Langille
On 22 Aug 2007 at 15:24, Kern Sibbald wrote: > On Wednesday 22 August 2007 14:06, Dan Langille wrote: > > On 22 Aug 2007 at 13:57, Kern Sibbald wrote: > > > On Wednesday 22 August 2007 13:06, Dan Langille wrote: > > > > On 22 Aug 2007 at 10:35, BOLLENGIER Eric wrote: > > > > > On Wednesday 22 Augu

Re: [Bacula-devel] Patch: kernstodo line 921 :-)

2007-08-22 Thread Kern Sibbald
On Wednesday 22 August 2007 22:07, Allan Black wrote: > Kern Sibbald wrote: > > As it stands, the current patch that you have submitted will not work > > correctly since two threads can be terminating at the same time, and the > > write_state_file() code is not thread safe. You can probably corre

Re: [Bacula-devel] Patch: kernstodo line 921 :-)

2007-08-22 Thread Allan Black
Kern Sibbald wrote: > As it stands, the current patch that you have submitted will not work > correctly since two threads can be terminating at the same time, and the > write_state_file() code is not thread safe. You can probably correct it by > moving the jcr chain lock. OK. Actually, that'

Re: [Bacula-devel] bscan and nonstandard used of \\

2007-08-22 Thread Marc Cousin
They don't support anything lower than 7.3.19, I think... On Wednesday 22 August 2007 18:06:07 Marc Schiffbauer wrote: > * Cousin Marc schrieb am 22.08.07 um 15:01 Uhr: > > Le Wednesday 22 August 2007 14:37:21 Martin Simmons, vous avez écrit : > > > The problem is that PQescapeStringConn is not av

Re: [Bacula-devel] bscan and nonstandard used of \\

2007-08-22 Thread Eric Bollengier
On Wednesday 22 August 2007 18:06:07 Marc Schiffbauer wrote: > * Cousin Marc schrieb am 22.08.07 um 15:01 Uhr: > > Le Wednesday 22 August 2007 14:37:21 Martin Simmons, vous avez écrit : > > > The problem is that PQescapeStringConn is not available in all 7.3.x. > > > > You're right but : > > - Post

Re: [Bacula-devel] bscan and nonstandard used of \\

2007-08-22 Thread Martin Simmons
> On Wed, 22 Aug 2007 15:24:32 +0200, Kern Sibbald said: > > On Wednesday 22 August 2007 14:06, Dan Langille wrote: > > On 22 Aug 2007 at 13:57, Kern Sibbald wrote: > > > On Wednesday 22 August 2007 13:06, Dan Langille wrote: > > > > On 22 Aug 2007 at 10:35, BOLLENGIER Eric wrote: > > > > > On

Re: [Bacula-devel] bscan and nonstandard used of \\

2007-08-22 Thread Marc Schiffbauer
* Cousin Marc schrieb am 22.08.07 um 15:01 Uhr: > Le Wednesday 22 August 2007 14:37:21 Martin Simmons, vous avez écrit : > > > > The problem is that PQescapeStringConn is not available in all 7.3.x. > > You're right but : > - Postgres 7.3 isn't supported by postgresql community (and therefore must

Re: [Bacula-devel] Query changes in the catalog browser and indexes

2007-08-22 Thread Dan Langille
On 21 Aug 2007 at 20:07, Dirk Bartley wrote: > On Mon, 2007-08-20 at 08:04 -0400, Dan Langille wrote: > > > > > > There are basically three queries. One to get a list of directories, > > > another to get a list of files and one to get a list of versions for a > > > specific file. > > > > > > 1.

Re: [Bacula-devel] Patch: kernstodo line 921 :-)

2007-08-22 Thread Kern Sibbald
As it stands, the current patch that you have submitted will not work correctly since two threads can be terminating at the same time, and the write_state_file() code is not thread safe. You can probably correct it by moving the jcr chain lock. In addition, as you note, you need to do someth

Re: [Bacula-devel] wrong date in mail report with 2.2.0

2007-08-22 Thread Martin Simmons
> On Wed, 22 Aug 2007 14:07:26 +0200, Kern Sibbald said: > > On Wednesday 22 August 2007 13:58, Martin Simmons wrote: > > > On Tue, 21 Aug 2007 21:07:49 +0200, Kern Sibbald said: > > > > > > Hello again, > > > > > > By the way, in the bug report, please show the date generated by both the

Re: [Bacula-devel] bscan and nonstandard used of \\

2007-08-22 Thread Kern Sibbald
On Wednesday 22 August 2007 14:06, Dan Langille wrote: > On 22 Aug 2007 at 13:57, Kern Sibbald wrote: > > On Wednesday 22 August 2007 13:06, Dan Langille wrote: > > > On 22 Aug 2007 at 10:35, BOLLENGIER Eric wrote: > > > > On Wednesday 22 August 2007 02:58:15 Dan Langille wrote: > > > > > On 21 Aug

Re: [Bacula-devel] bscan and nonstandard used of \\

2007-08-22 Thread Dan Langille
On 22 Aug 2007 at 13:37, Martin Simmons wrote: > > On Wed, 22 Aug 2007 13:50:22 +0200, BOLLENGIER Eric said: > > > > On Wednesday 22 August 2007 13:22:13 Martin Simmons wrote: > > > > On Wed, 22 Aug 2007 07:06:51 -0400, Dan Langille said: > > > > > > > > On 22 Aug 2007 at 10:35, BOLLENGIE

Re: [Bacula-devel] bscan and nonstandard used of \\

2007-08-22 Thread Cousin Marc
Le Wednesday 22 August 2007 14:37:21 Martin Simmons, vous avez écrit : > > On Wed, 22 Aug 2007 13:50:22 +0200, BOLLENGIER Eric said: > > > > On Wednesday 22 August 2007 13:22:13 Martin Simmons wrote: > > > > On Wed, 22 Aug 2007 07:06:51 -0400, Dan Langille said: > > > > > > > > On 22 Aug 20

Re: [Bacula-devel] bscan and nonstandard used of \\

2007-08-22 Thread Martin Simmons
> On Wed, 22 Aug 2007 13:50:22 +0200, BOLLENGIER Eric said: > > On Wednesday 22 August 2007 13:22:13 Martin Simmons wrote: > > > On Wed, 22 Aug 2007 07:06:51 -0400, Dan Langille said: > > > > > > On 22 Aug 2007 at 10:35, BOLLENGIER Eric wrote: > > > > On Wednesday 22 August 2007 02:58:15 D

[Bacula-devel] Patch: kernstodo line 921 :-)

2007-08-22 Thread Allan Black
- Can we write the state file after every job terminates? On Win32 the system crashes and the state file is not updated. Not just on Win32 :-) I have a similar problem sometimes, because I don't live in a large town and I don't have a UPS. I've changed the lib code and the three daemons, so tha

Re: [Bacula-devel] wrong date in mail report with 2.2.0

2007-08-22 Thread Dan Langille
On 22 Aug 2007 at 14:07, Kern Sibbald wrote: > On Wednesday 22 August 2007 13:58, Martin Simmons wrote: > > > On Tue, 21 Aug 2007 21:07:49 +0200, Kern Sibbald said: > > > > > > Hello again, > > > > > > By the way, in the bug report, please show the date generated by both the > > > mail (or Mai

Re: [Bacula-devel] Fix for bsmtp -d10 segv

2007-08-22 Thread Kern Sibbald
On Wednesday 22 August 2007 13:05, Martin Simmons wrote: > I get a segv in chat() when running > > ./bsmtp -d10 nobody > > on x86_64 FC3. I think the problem is that two calls to vfprintf() are > made with only one call to va_start(). > > This patch fixes it, assuming it is valid to call va_start(

Re: [Bacula-devel] wrong date in mail report with 2.2.0

2007-08-22 Thread Kern Sibbald
On Wednesday 22 August 2007 13:58, Martin Simmons wrote: > > On Tue, 21 Aug 2007 21:07:49 +0200, Kern Sibbald said: > > > > Hello again, > > > > By the way, in the bug report, please show the date generated by both the > > mail (or Mail) and bsmtp commands. On my machine the dates seem to be >

Re: [Bacula-devel] bscan and nonstandard used of \\

2007-08-22 Thread Dan Langille
On 22 Aug 2007 at 13:57, Kern Sibbald wrote: > On Wednesday 22 August 2007 13:06, Dan Langille wrote: > > On 22 Aug 2007 at 10:35, BOLLENGIER Eric wrote: > > > On Wednesday 22 August 2007 02:58:15 Dan Langille wrote: > > > > On 21 Aug 2007 at 23:34, Eric Bollengier wrote: > > > > > Hello, > > > >

Re: [Bacula-devel] wrong date in mail report with 2.2.0

2007-08-22 Thread Martin Simmons
> On Tue, 21 Aug 2007 21:07:49 +0200, Kern Sibbald said: > > Hello again, > > By the way, in the bug report, please show the date generated by both the > mail > (or Mail) and bsmtp commands. On my machine the dates seem to be correct. > Perhaps postfixing (CEST) confuses someone's email

Re: [Bacula-devel] bscan and nonstandard used of \\

2007-08-22 Thread Kern Sibbald
On Wednesday 22 August 2007 13:06, Dan Langille wrote: > On 22 Aug 2007 at 10:35, BOLLENGIER Eric wrote: > > On Wednesday 22 August 2007 02:58:15 Dan Langille wrote: > > > On 21 Aug 2007 at 23:34, Eric Bollengier wrote: > > > > Hello, > > > > > > > > Yes, bacula is using PQescapeString which is an

Re: [Bacula-devel] bscan and nonstandard used of \\

2007-08-22 Thread BOLLENGIER Eric
On Wednesday 22 August 2007 13:22:13 Martin Simmons wrote: > > On Wed, 22 Aug 2007 07:06:51 -0400, Dan Langille said: > > > > On 22 Aug 2007 at 10:35, BOLLENGIER Eric wrote: > > > On Wednesday 22 August 2007 02:58:15 Dan Langille wrote: > > > > On 21 Aug 2007 at 23:34, Eric Bollengier wrote: >

Re: [Bacula-devel] bscan and nonstandard used of \\

2007-08-22 Thread Kern Sibbald
On Wednesday 22 August 2007 13:22, Martin Simmons wrote: > > On Wed, 22 Aug 2007 07:06:51 -0400, Dan Langille said: > > > > On 22 Aug 2007 at 10:35, BOLLENGIER Eric wrote: > > > On Wednesday 22 August 2007 02:58:15 Dan Langille wrote: > > > > On 21 Aug 2007 at 23:34, Eric Bollengier wrote: > >

Re: [Bacula-devel] bscan and nonstandard used of \\

2007-08-22 Thread Kern Sibbald
On Wednesday 22 August 2007 13:06, Dan Langille wrote: > On 22 Aug 2007 at 10:35, BOLLENGIER Eric wrote: > > On Wednesday 22 August 2007 02:58:15 Dan Langille wrote: > > > On 21 Aug 2007 at 23:34, Eric Bollengier wrote: > > > > Hello, > > > > > > > > Yes, bacula is using PQescapeString which is an

Re: [Bacula-devel] bscan and nonstandard used of \\

2007-08-22 Thread Martin Simmons
> On Wed, 22 Aug 2007 07:06:51 -0400, Dan Langille said: > > On 22 Aug 2007 at 10:35, BOLLENGIER Eric wrote: > > > On Wednesday 22 August 2007 02:58:15 Dan Langille wrote: > > > On 21 Aug 2007 at 23:34, Eric Bollengier wrote: > > > > Hello, > > > > > > > > Yes, bacula is using PQescapeString

Re: [Bacula-devel] bscan and nonstandard used of \\

2007-08-22 Thread Dan Langille
On 22 Aug 2007 at 10:35, BOLLENGIER Eric wrote: > On Wednesday 22 August 2007 02:58:15 Dan Langille wrote: > > On 21 Aug 2007 at 23:34, Eric Bollengier wrote: > > > Hello, > > > > > > Yes, bacula is using PQescapeString which is an older, deprecated version > > > of PQescapeStringConn. We have to

[Bacula-devel] Fix for bsmtp -d10 segv

2007-08-22 Thread Martin Simmons
I get a segv in chat() when running ./bsmtp -d10 nobody on x86_64 FC3. I think the problem is that two calls to vfprintf() are made with only one call to va_start(). This patch fixes it, assuming it is valid to call va_start() a second time: Index: src/tools/bsmtp.c ===

Re: [Bacula-devel] bscan and nonstandard used of \\

2007-08-22 Thread BOLLENGIER Eric
On Wednesday 22 August 2007 02:58:15 Dan Langille wrote: > On 21 Aug 2007 at 23:34, Eric Bollengier wrote: > > Hello, > > > > Yes, bacula is using PQescapeString which is an older, deprecated version > > of PQescapeStringConn. We have to use the new version to avoid this > > message, but it's not s

Re: [Bacula-devel] Query changes in the catalog browser and indexes

2007-08-22 Thread Kern Sibbald
On Sunday 19 August 2007 18:35, Dirk Bartley wrote: > Hello > > Now that 2.2.0 is released, I've had the opportunity to use bat in my > work environment. It worked generally as hoped with one major > exception. The catalog browser. slow slow slow. Yes, in some cases, this is my experience too.

Re: [Bacula-devel] Where do we go after Bacula 2.2.0?

2007-08-22 Thread Kern Sibbald
On Wednesday 22 August 2007 00:08, David Boyes wrote: > > Copypools > > Extract capability (#25) > > Continued enhancement of bweb > > Threshold triggered migration jobs (not currently in list, but will be > > needed ASAP) > > Client triggered backups > > Complete rework of the scheduling system (n