[OpenAFS] Moving AFS server processes

Michael Aldrich maldrich@reserveamerica.com
Tue, 19 Feb 2002 11:50:55 -0500


There was a second bosserver processes running. I killed them both and
started again using strace -f.
There was A LOT of output from this command:

open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or
directory)

Is ld.so.preload packaged with an RPM?

[pid  1051] open("/dev/tty", O_RDONLY)  = -1 ENXIO (No such device or
address)
open("/usr/afs/etc/CellAlias", O_RDONLY) = -1 ENOENT (No such file or
directory)
access("/usr/afs/local/BozoInit", F_OK) = -1 ENOENT (No such file or
directory)
stat64("/usr/afs/bin/salvager", {st_mode=S_IFREG|0755, st_size=120604, ...})
= 0
access("/usr/afs/local/SALVAGE.fs", F_OK) = -1 ENOENT (No such file or
directory)
rename("/usr/afs/local/BosConfig.NBZ", "/usr/afs/local/BosConfig") = 0
fork()                                  = 1052
[pid  1052] close(3)                    = 0
[pid  1052] close(4)                    = 0
[pid  1052] close(5)                    = -1 EBADF (Bad file descriptor)
[pid  1052] close(6)                    = -1 EBADF (Bad file descriptor)
[pid  1052] close(7)                    = -1 EBADF (Bad file descriptor)
[pid  1052] close(8 <unfinished ...>

The majority of the output is "-1 EBADF (Bad file descriptor)"
Could all of the problems be caused from the missing ld.so.preload file?
----- Original Message -----
From: "Derek Atkins" <derek@ihtfp.com>
To: "Michael Aldrich" <maldrich@reserveamerica.com>
Cc: "openafs" <openafs-info@openafs.org>
Sent: Tuesday, February 19, 2002 10:43 AM
Subject: Re: [OpenAFS] Moving AFS server processes


> "Michael Aldrich" <maldrich@reserveamerica.com> writes:
>
> > socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
> > bind(3, {sin_family=AF_INET, sin_port=htons(7007),
> > sin_addr=inet_addr("0.0.0.0")}}, 16) = -1 EADDRINUSE (Address already in
> > use)
>
> Ok, I think I'm a bit more awake, now...  This looks like something
> already has port 7007 bound.  Are you still running another copy of
> bosserver?  Does something else have UDP/7007 opened?
>
> -derek
> --
>        Derek Atkins
>        Computer and Internet Security Consultant
>        derek@ihtfp.com             www.ihtfp.com
>