[OpenAFS] Moving AFS server processes
Michael Aldrich
maldrich@reserveamerica.com
Tue, 19 Feb 2002 10:04:46 -0500
[root@test1 /root]# strace /usr/afs/bin/bosserver
execve("/usr/afs/bin/bosserver", ["/usr/afs/bin/bosserver"], [/* 21 vars
*/]) = 0
uname({sys="Linux", node="test1", ...}) = 0
brk(0) = 0x807aaac
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40017000
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=11836, ...}) = 0
old_mmap(NULL, 11836, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
close(3) = 0
open("/lib/libresolv.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20*\0\000"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=274054, ...}) = 0
old_mmap(NULL, 74080, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001b000
mprotect(0x4002a000, 12640, PROT_NONE) = 0
old_mmap(0x4002a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0xe000) = 0x4002a000
old_mmap(0x4002b000, 8544, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4002b000
close(3) = 0
open("/lib/i686/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\302"..., 1024)
= 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=5634864, ...}) = 0
old_mmap(NULL, 1242920, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4002e000
mprotect(0x40154000, 38696, PROT_NONE) = 0
old_mmap(0x40154000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x125000) = 0x40154000
old_mmap(0x4015a000, 14120, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4015a000
close(3) = 0
munmap(0x40018000, 11836) = 0
getpid() = 4721
geteuid32() = 0
brk(0) = 0x807aaac
brk(0x807af1c) = 0x807af1c
brk(0x807b000) = 0x807b000
brk(0x807c000) = 0x807c000
mmap2(NULL, 200704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x4015e000
mmap2(NULL, 200704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x4018f000
gettimeofday({1014130642, 280884}, NULL) = 0
rt_sigaction(SIGCHLD, {0x804beac, [], 0x4000000}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {0x804beac, [], 0x4000000}, NULL, 8) = 0
stat64("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/usr/afs", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/usr/afs/bin", {st_mode=S_IFDIR|S_ISGID|0755, st_size=4096, ...}) =
0
stat64("/usr/afs/etc", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
stat64("/usr/afs/local", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
stat64("/usr/afs/db", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
stat64("/usr/afs/logs", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/usr/vice", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/usr/vice/etc", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
symlink("/usr/afs/etc/ThisCell", "/usr/vice/etc/ThisCell") = -1 EEXIST (File
exists)
symlink("/usr/afs/etc/CellServDB", "/usr/vice/etc/CellServDB") = -1 EEXIST
(File exists)
chdir("/usr/afs/logs") = 0
getpid() = 4721
getpgrp() = 4720
setsid() = 4721
getpid() = 4721
getpgrp() = 4721
fork() = 4722
_exit(0) = ?
----- Original Message -----
From: "Derrick J Brashear" <shadow@dementia.org>
To: "openafs" <openafs-info@openafs.org>
Sent: Friday, February 15, 2002 1:26 PM
Subject: Re: [OpenAFS] Moving AFS server processes
> On Fri, 15 Feb 2002, Michael Aldrich wrote:
>
> > > try truss /usr/afs/bin/bosserver and see what files it's failing to
open?
> > >
> > > -D
> > What is truss?
>
> Sorry, strace. I forgot it was a Linux system.
>
>
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>