[OpenAFS] Bosserver exits openafs-1.4.8pre3
Derrick Brashear
shadow@gmail.com
Tue, 11 Nov 2008 11:34:14 -0500
26047 bind(3, {sa_family=AF_INET, sin_port=htons(7007),
sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EADDRINUSE (Address already
in use)
kill whatever is already holding the port
On Tue, Nov 11, 2008 at 11:24 AM, Ted Creedon <tcreedon@easystreet.net> wrote:
> Is it the .0.0.0.0 address? Somehow I got it running, blew it away,
> did a reinstall and I'm back to square 1.
>
> output from:
>
> strace -f bosserver -noauth&
>
> 26047 open("/usr/afs/logs/BosLog", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3
> 26047 fstat(3, {st_dev=makedev(8, 7), st_ino=2869843,
> st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096,
> st_blocks=0, st_size=0, st_atime=2008/11/11-08:18:39,
> st_mtime=2008/11/11-08:18:39, st_ctime=2008/11/11-08:18:39}) = 0
> 26047 mmap(NULL, 4096, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2af38cb76000
> 26047 fstat(3, {st_dev=makedev(8, 7), st_ino=2869843,
> st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096,
> st_blocks=0, st_size=0, st_atime=2008/11/11-08:18:39,
> st_mtime=2008/11/11-08:18:39, st_ctime=2008/11/11-08:18:39}) = 0
> 26047 lseek(3, 0, SEEK_SET) = 0
> 26047 write(3, "Tue Nov 11 08:18:39 2008: Server"..., 58) = 58
> | 00000 54 75 65 20 4e 6f 76 20 31 31 20 30 38 3a 31 38 Tue Nov 11 08:18 |
> | 00010 3a 33 39 20 32 30 30 38 3a 20 53 65 72 76 65 72 :39 2008 : Server |
> | 00020 20 64 69 72 65 63 74 6f 72 79 20 61 63 63 65 73 directo ry acces |
> | 00030 73 20 69 73 20 6f 6b 61 79 0a s is oka y. |
> 26047 close(3) = 0
> 26047 munmap(0x2af38cb76000, 4096) = 0
> 26047 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
> 26047 bind(3, {sa_family=AF_INET, sin_port=htons(7007),
> sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EADDRINUSE (Address already
> in use)
> 26047 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 26047 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 26047 select(0, NULL, NULL, NULL, {9, 989083}) = 0 (Timeout)
> 26047 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 26047 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 26047 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 26047 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 26047 bind(3, {sa_family=AF_INET, sin_port=htons(7007),
> sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EADDRINUSE (Address already
> in use)
> 26047 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 26047 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 26047 select(0, NULL, NULL, NULL, {9, 999656}) = 0 (Timeout)
> 26047 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 26047 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 26047 select(0, NULL, NULL, NULL, {0, 353}) = 0 (Timeout)
> 26047 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 26047 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 26047 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 26047 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 26047 bind(3, {sa_family=AF_INET, sin_port=htons(7007),
> sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EADDRINUSE (Address already
> in use)
> 26047 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 26047 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 26047 select(0, NULL, NULL, NULL, {9, 999666}) = 0 (Timeout)
> 26047 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 26047 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 26047 select(0, NULL, NULL, NULL, {0, 1018}) = 0 (Timeout)
> 26047 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 26047 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 26047 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 26047 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 26047 bind(3, {sa_family=AF_INET, sin_port=htons(7007),
> sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EADDRINUSE (Address already
> in use)
> 26047 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 26047 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 26047 select(0, NULL, NULL, NULL, {9, 999651}) = 0 (Timeout)
> 26047 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 26047 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 26047 select(0, NULL, NULL, NULL, {0, 273}) = 0 (Timeout)
> 26047 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 26047 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 26047 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 26047 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 26047 bind(3, {sa_family=AF_INET, sin_port=htons(7007),
> sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EADDRINUSE (Address already
> in use)
> 26047 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 26047 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 26047 select(0, NULL, NULL, NULL, {9, 999664}) = 0 (Timeout)
> 26047 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 26047 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 26047 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 26047 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 26047 bind(3, {sa_family=AF_INET, sin_port=htons(7007),
> sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EADDRINUSE (Address already
> in use)
> 26047 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 26047 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 26047 select(0, NULL, NULL, NULL, {9, 999662}) = 0 (Timeout)
> 26047 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 26047 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 26047 select(0, NULL, NULL, NULL, {0, 353}) = 0 (Timeout)
> 26047 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 26047 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 26047 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 26047 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 26047 bind(3, {sa_family=AF_INET, sin_port=htons(7007),
> sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EADDRINUSE (Address already
> in use)
> 26047 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
> 26047 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> 26047 select(0, NULL, NULL, NULL, {9, 999579}
> On Mon, Nov 10, 2008 at 4:03 PM, Russ Allbery <rra@stanford.edu> wrote:
>> "Ted Creedon" <tcreedon@easystreet.net> writes:
>>
>>> Here's an strace of
>>>
>>> bosserver -noauth&
>>>
>>> It exits immediately on SuSE 10.3 2.6.22.5-31 64 bit
>>
>> After forking a child process.
>>
>>> chdir("/usr/afs/logs") = 0
>>> clone(child_stack=0,
>>> flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
>>> child_tidptr=0x2ba495ab2b90) = 29847
>>> exit_group(0)
>>
>> Use strace -f to follow child processes.
>>
>> --
>> Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
>> _______________________________________________
>> OpenAFS-info mailing list
>> OpenAFS-info@openafs.org
>> https://lists.openafs.org/mailman/listinfo/openafs-info
>>
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>
--
Derrick