Re: Invalid value for ai_flags
2007-05-04 17:48:02
Hi Jean-Louis,
At 02:05 PM 5/4/2007, you wrote:
Richard Stockton wrote:
Is this the same problem that Steven was having with Solaris?? Will the same
patch work for me? Or is this something different?
It's the same problem, patch attached.
Applied patch, now fails like this;
=============================================================================
FINISH planner date 20070505143046 time 9.760
FAIL dumper bak-05 da3s1d 20070505143046 0 [port open: Bad address]
FAIL driver bak-05 da2s1d 20070505143046 0 [can't switch to incremental dump]
FAIL driver bak-05 da3s1d 20070505143046 0 [dump to tape failed]
=============================================================================
Would all this continue to happen if I went back to 2.5.1p3? Or even 2.5.0?
I really need to get this working soon.
Thanks.
- Richard
diff -u -r --show-c-function --new-file
--exclude-from=/home/martinea/src.orig/amanda.diff
--ignore-matching-lines='$Id:' amanda-2.5.2/common-src/stream.c
amanda-2.5.2.bind/common-src/stream.c
--- amanda-2.5.2/common-src/stream.c 2007-04-20 12:54:17.000000000 -0400
+++ amanda-2.5.2.bind/common-src/stream.c 2007-05-04
13:42:46.000000000 -0400
@@ -131,7 +131,7 @@ stream_server(
dbprintf(("%s: stream_server: Could not bind to port in
range: %d - %d.\n",
debug_prefix_time(NULL), portrange[0], portrange[1]));
} else {
- socklen = sizeof(server);
+ socklen = SS_LEN(&server);
if (bind(server_socket, (struct sockaddr *)&server,
socklen) == 0)
goto out;
dbprintf(("%s: stream_server: Could not bind to any port: %s\n",
|
|
|