RPM Community Forums

Mailing List Message of <rpm-users>

rpm errors upon running

From: Miller, Vincent (Rick) <vmiller@verisign.com>
Date: Fri 17 Jun 2011 - 19:43:20 CEST
Message-ID: <CA210A75.2BA4%vmiller@verisign.com>
Hi,

I have installed RPM5 on FreeBSD 8.2-RELEASE and am now unable to do anything useful with it due to errors.  I tried searching the mail archives for similar issues, but only found a reference to DB_CONFIG in reference to initializing a the rpm db.  Since this is a brand new install and there were no db files on the host, I figured it might apply.  It mentions mmapsize, which is definitely set, but offered no recommendations into calculating what to set it to.

I'll include as much info as I can here, but it'll mean the length of this mail may be substantial.

The error I receive when I attempt to rpm –qa is:

rpmdb: unable to allocate memory for mutex; resize mutex region
rpmdb: PANIC: Cannot allocate memory
==> rpmdbe_event_notify(0x80206a000, NO_SUCH_EVENT(0), 0x7fffffffe024) app_private 0x0
rpmdb: unable to join the environment
error: db_init:db3.c:950: dbenv->open(-30973): DB_RUNRECOVERY: Fatal error, run database recovery
Re-opening dbenv with DB_RECOVER ...
rpmdb: unable to allocate memory for mutex; resize mutex region
rpmdb: PANIC: Cannot allocate memory
==> rpmdbe_event_notify(0x80206a000, NO_SUCH_EVENT(0), 0x7fffffffe024) app_private 0x0
rpmdb: unable to join the environment
error: db_init:db3.c:950: dbenv->open(-30973): DB_RUNRECOVERY: Fatal error, run database recovery
recovery failed. Exiting ...

I consequently ran the command through truss and received the following output:

40771: __sysctl(0x7fffffffe420,0x2,0x7fffffffe43c,0x7fffffffe430,0x0,0x0) = 0 (0x0)
40771: mmap(0x0,656,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365202432 (0x800536000)
40771: munmap(0x800536000,656) = 0 (0x0)
40771: __sysctl(0x7fffffffe490,0x2,0x80063f648,0x7fffffffe488,0x0,0x0) = 0 (0x0)
40771: mmap(0x0,32768,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34365202432 (0x800536000)
40771: issetugid(0x800537015,0x800530ce4,0x80064bd30,0x80064bd00,0x6331,0x0) = 0 (0x0)
40771: open("/etc/libmap.conf",O_RDONLY,0666) ERR#2 'No such file or directory'
40771: access("/usr/local/lib/librpmbuild-5.3.so",0) = 0 (0x0)
40771: open("/usr/local/lib/librpmbuild-5.3.so",O_RDONLY,030772440) = 3 (0x3)
40771: fstat(3,{ mode=-rwxr-xr-x ,inode=7493742,size=575618,blksize=16384 }) = 0 (0x0)
40771: pread(0x3,0x80063e500,0x1000,0x0,0x101010101010101,0x8080808080808080) = 4096 (0x1000)
40771: mmap(0x0,1236992,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34366341120 (0x80064c000)
40771: mmap(0x80064c000,143360,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE,3,0x0) = 34366341120 (0x80064c000)
40771: mmap(0x80076f000,16384,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x23000) = 34367533056 (0x80076f000)
40771: mprotect(0x800773000,28672,PROT_READ|PROT_WRITE) = 0 (0x0)
40771: close(3) = 0 (0x0)
40771: access("/usr/local/lib/librpm-5.3.so",0) = 0 (0x0)
40771: open("/usr/local/lib/librpm-5.3.so",O_RDONLY,030772440) = 3 (0x3)
40771: fstat(3,{ mode=-rwxr-xr-x ,inode=7493738,size=1433441,blksize=16384 }) = 0 (0x0)
40771: pread(0x3,0x80063e500,0x1000,0x0,0x101010101010101,0x8080808080808080) = 4096 (0x1000)
40771: mmap(0x0,1458176,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34367578112 (0x80077a000)
40771: mmap(0x80077a000,360448,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE,3,0x0) = 34367578112 (0x80077a000)
40771: mmap(0x8008d1000,45056,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x57000) = 34368983040 (0x8008d1000)
40771: mprotect(0x8008dc000,8192,PROT_READ|PROT_WRITE) = 0 (0x0)
40771: close(3) = 0 (0x0)
40771: access("/usr/local/lib/librpmdb-5.3.so",0) = 0 (0x0)
40771: open("/usr/local/lib/librpmdb-5.3.so",O_RDONLY,030772440) = 3 (0x3)
40771: fstat(3,{ mode=-rwxr-xr-x ,inode=7493734,size=1428991,blksize=16384 }) = 0 (0x0)
40771: pread(0x3,0x80063e500,0x1000,0x0,0x101010101010101,0x8080808080808080) = 4096 (0x1000)
40771: mmap(0x0,1454080,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34369036288 (0x8008de000)
40771: mmap(0x8008de000,339968,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE,3,0x0) = 34369036288 (0x8008de000)
40771: mmap(0x800a31000,40960,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x53000) = 34370424832 (0x800a31000)
40771: mprotect(0x800a3b000,24576,PROT_READ|PROT_WRITE) = 0 (0x0)
40771: close(3) = 0 (0x0)
40771: access("/usr/local/lib/librpmio-5.3.so",0) = 0 (0x0)
40771: open("/usr/local/lib/librpmio-5.3.so",O_RDONLY,030772440) = 3 (0x3)
40771: fstat(3,{ mode=-rwxr-xr-x ,inode=7493730,size=3040692,blksize=16384 }) = 0 (0x0)
40771: pread(0x3,0x80063e500,0x1000,0x0,0x101010101010101,0x8080808080808080) = 4096 (0x1000)
40771: mmap(0x0,2244608,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34370490368 (0x800a41000)
40771: mmap(0x800a41000,1093632,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE,3,0x0) = 34370490368 (0x800a41000)
40771: mmap(0x800c4b000,73728,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x10a000) = 34372628480 (0x800c4b000)
40771: mprotect(0x800c5d000,32768,PROT_READ|PROT_WRITE) = 0 (0x0)
40771: close(3) = 0 (0x0)
40771: access("/usr/local/lib/librpmmisc-5.3.so",0) = 0 (0x0)
40771: open("/usr/local/lib/librpmmisc-5.3.so",O_RDONLY,030772440) = 3 (0x3)
40771: fstat(3,{ mode=-rwxr-xr-x ,inode=7493726,size=2902780,blksize=16384 }) = 0 (0x0)
40771: pread(0x3,0x80063e500,0x1000,0x0,0x101010101010101,0x8080808080808080) = 4096 (0x1000)
40771: mmap(0x0,3526656,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34372734976 (0x800c65000)
40771: mmap(0x800c65000,2326528,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE,3,0x0) = 34372734976 (0x800c65000)
40771: mmap(0x800f9c000,155648,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x237000) = 34376105984 (0x800f9c000)
40771: close(3) = 0 (0x0)
40771: access("/usr/local/lib/libm.so.5",0) ERR#2 'No such file or directory'
40771: open("/var/run/ld-elf.so.hints",O_RDONLY,030772440) = 3 (0x3)
40771: read(3,"Ehnt\^A\0\0\0\M^@\0\0\0@\0\0\0\0"...,128) = 128 (0x80)
40771: lseek(3,0x80,SEEK_SET) = 128 (0x80)
40771: read(3,"/lib:/usr/lib:/usr/lib/compat:/u"...,64) = 64 (0x40)
40771: close(3) = 0 (0x0)
40771: access("/lib/libm.so.5",0) = 0 (0x0)
40771: open("/lib/libm.so.5",O_RDONLY,030772440) = 3 (0x3)
40771: fstat(3,{ mode=-r--r--r-- ,inode=1271813,size=154320,blksize=16384 }) = 0 (0x0)
40771: pread(0x3,0x80063e500,0x1000,0x0,0x101010101010101,0x8080808080808080) = 4096 (0x1000)
40771: mmap(0x0,1179648,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34376261632 (0x800fc2000)
40771: mmap(0x800fc2000,122880,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE,3,0x0) = 34376261632 (0x800fc2000)
40771: mmap(0x8010e0000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x1e000) = 34377433088 (0x8010e0000)
40771: close(3) = 0 (0x0)
40771: access("/usr/local/lib/libgomp.so.1",0) ERR#2 'No such file or directory'
40771: access("/lib/libgomp.so.1",0) ERR#2 'No such file or directory'
40771: access("/usr/lib/libgomp.so.1",0) = 0 (0x0)
40771: open("/usr/lib/libgomp.so.1",O_RDONLY,030772440) = 3 (0x3)
40771: fstat(3,{ mode=-r--r--r-- ,inode=7470435,size=30904,blksize=16384 }) = 0 (0x0)
40771: pread(0x3,0x80063e500,0x1000,0x0,0x101010101010101,0x8080808080808080) = 4096 (0x1000)
40771: mmap(0x0,1077248,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34377441280 (0x8010e2000)
40771: mmap(0x8010e2000,24576,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE,3,0x0) = 34377441280 (0x8010e2000)
40771: mmap(0x8011e7000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x5000) = 34378510336 (0x8011e7000)
40771: close(3) = 0 (0x0)
40771: access("/usr/local/lib/libmagic.so.4",0) ERR#2 'No such file or directory'
40771: access("/lib/libmagic.so.4",0) ERR#2 'No such file or directory'
40771: access("/usr/lib/libmagic.so.4",0) = 0 (0x0)
40771: open("/usr/lib/libmagic.so.4",O_RDONLY,030772440) = 3 (0x3)
40771: fstat(3,{ mode=-r--r--r-- ,inode=7470285,size=103744,blksize=16384 }) = 0 (0x0)
40771: pread(0x3,0x80063e500,0x1000,0x0,0x101010101010101,0x8080808080808080) = 4096 (0x1000)
40771: mmap(0x0,1150976,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34378518528 (0x8011e9000)
40771: mmap(0x8011e9000,94208,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE,3,0x0) = 34378518528 (0x8011e9000)
40771: mmap(0x801300000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x17000) = 34379661312 (0x801300000)
40771: close(3) = 0 (0x0)
40771: access("/usr/local/lib/libexpat.so.6",0) = 0 (0x0)
40771: open("/usr/local/lib/libexpat.so.6",O_RDONLY,030772440) = 3 (0x3)
40771: fstat(3,{ mode=-rwxr-xr-x ,inode=7493512,size=163490,blksize=16384 }) = 0 (0x0)
40771: pread(0x3,0x80063e500,0x1000,0x0,0x101010101010101,0x8080808080808080) = 4096 (0x1000)
40771: mmap(0x0,1196032,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34379669504 (0x801302000)
40771: mmap(0x801302000,126976,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE,3,0x0) = 34379669504 (0x801302000)
40771: mmap(0x801421000,20480,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x1f000) = 34380845056 (0x801421000)
40771: close(3) = 0 (0x0)
40771: access("/usr/local/lib/libz.so.5",0) ERR#2 'No such file or directory'
40771: access("/lib/libz.so.5",0) = 0 (0x0)
40771: open("/lib/libz.so.5",O_RDONLY,030772440) = 3 (0x3)
40771: fstat(3,{ mode=-r--r--r-- ,inode=1271842,size=85584,blksize=16384 }) = 0 (0x0)
40771: pread(0x3,0x80063e500,0x1000,0x0,0x101010101010101,0x8080808080808080) = 4096 (0x1000)
40771: mmap(0x0,1134592,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34380865536 (0x801426000)
40771: mmap(0x801426000,81920,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE,3,0x0) = 34380865536 (0x801426000)
40771: mmap(0x801539000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x13000) = 34381991936 (0x801539000)
40771: close(3) = 0 (0x0)
40771: access("/usr/local/lib/libthr.so.3",0) ERR#2 'No such file or directory'
40771: access("/lib/libthr.so.3",0) = 0 (0x0)
40771: open("/lib/libthr.so.3",O_RDONLY,030772440) = 3 (0x3)
40771: fstat(3,{ mode=-r--r--r-- ,inode=1271840,size=93328,blksize=16384 }) = 0 (0x0)
40771: pread(0x3,0x80063e500,0x1000,0x0,0x101010101010101,0x8080808080808080) = 4096 (0x1000)
40771: mmap(0x0,1150976,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34382000128 (0x80153b000)
40771: mmap(0x80153b000,81920,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE,3,0x0) = 34382000128 (0x80153b000)
40771: mmap(0x80164e000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x13000) = 34383126528 (0x80164e000)
40771: mprotect(0x801651000,12288,PROT_READ|PROT_WRITE) = 0 (0x0)
40771: close(3) = 0 (0x0)
40771: access("/usr/local/lib/libgss.so.3",0) = 0 (0x0)
40771: open("/usr/local/lib/libgss.so.3",O_RDONLY,030772440) = 3 (0x3)
40771: fstat(3,{ mode=-rwxr-xr-x ,inode=7493680,size=32465,blksize=16384 }) = 0 (0x0)
40771: pread(0x3,0x80063e500,0x1000,0x0,0x101010101010101,0x8080808080808080) = 4096 (0x1000)
40771: mmap(0x0,1073152,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34383151104 (0x801654000)
40771: mmap(0x801654000,24576,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE,3,0x0) = 34383151104 (0x801654000)
40771: mmap(0x801759000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x5000) = 34384220160 (0x801759000)
40771: close(3) = 0 (0x0)
40771: access("/usr/local/lib/libpopt.so.0",0) = 0 (0x0)
40771: open("/usr/local/lib/libpopt.so.0",O_RDONLY,030772440) = 3 (0x3)
40771: fstat(3,{ mode=-rwxr-xr-x ,inode=7493480,size=54154,blksize=16384 }) = 0 (0x0)
40771: pread(0x3,0x80063e500,0x1000,0x0,0x101010101010101,0x8080808080808080) = 4096 (0x1000)
40771: mmap(0x0,1093632,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34384224256 (0x80175a000)
40771: mmap(0x80175a000,40960,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE,3,0x0) = 34384224256 (0x80175a000)
40771: mmap(0x801863000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x9000) = 34385309696 (0x801863000)
40771: close(3) = 0 (0x0)
40771: access("/usr/local/lib/libintl.so.9",0) = 0 (0x0)
40771: open("/usr/local/lib/libintl.so.9",O_RDONLY,030772440) = 3 (0x3)
40771: fstat(3,{ mode=-r--r--r-- ,inode=3038674,size=47531,blksize=16384 }) = 0 (0x0)
40771: pread(0x3,0x80063e500,0x1000,0x0,0x101010101010101,0x8080808080808080) = 4096 (0x1000)
40771: mmap(0x0,1085440,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34385317888 (0x801865000)
40771: mmap(0x801865000,32768,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE,3,0x0) = 34385317888 (0x801865000)
40771: mmap(0x80196d000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x8000) = 34386399232 (0x80196d000)
40771: close(3) = 0 (0x0)
40771: access("/usr/local/lib/libiconv.so.3",0) = 0 (0x0)
40771: open("/usr/local/lib/libiconv.so.3",O_RDONLY,030772440) = 3 (0x3)
40771: fstat(3,{ mode=-r--r--r-- ,inode=3038591,size=1074215,blksize=16384 }) = 0 (0x0)
40771: pread(0x3,0x80063e500,0x1000,0x0,0x101010101010101,0x8080808080808080) = 4096 (0x1000)
40771: mmap(0x0,2072576,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34386403328 (0x80196e000)
40771: mmap(0x80196e000,1007616,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE,3,0x0) = 34386403328 (0x80196e000)
40771: mmap(0x801b64000,16384,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0xf6000) = 34388459520 (0x801b64000)
40771: close(3) = 0 (0x0)
40771: access("/usr/local/lib/libc.so.7",0) ERR#2 'No such file or directory'
40771: access("/lib/libc.so.7",0) = 0 (0x0)
40771: open("/lib/libc.so.7",O_RDONLY,030772440) = 3 (0x3)
40771: fstat(3,{ mode=-r--r--r-- ,inode=1271810,size=1295416,blksize=16384 }) = 0 (0x0)
40771: pread(0x3,0x80063e500,0x1000,0x0,0x101010101010101,0x8080808080808080) = 4096 (0x1000)
40771: mmap(0x0,2367488,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34388475904 (0x801b68000)
40771: mmap(0x801b68000,1081344,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE,3,0x0) = 34388475904 (0x801b68000)
40771: mmap(0x801d70000,126976,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x108000) = 34390605824 (0x801d70000)
40771: mprotect(0x801d8f000,110592,PROT_READ|PROT_WRITE) = 0 (0x0)
40771: close(3) = 0 (0x0)
40771: access("/usr/local/lib/libgcc_s.so.1",0) ERR#2 'No such file or directory'
40771: access("/lib/libgcc_s.so.1",0) = 0 (0x0)
40771: open("/lib/libgcc_s.so.1",O_RDONLY,030772440) = 3 (0x3)
40771: fstat(3,{ mode=-r--r--r-- ,inode=1271851,size=58816,blksize=16384 }) = 0 (0x0)
40771: pread(0x3,0x80063e500,0x1000,0x0,0x101010101010101,0x8080808080808080) = 4096 (0x1000)
40771: mmap(0x0,1105920,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34390843392 (0x801daa000)
40771: mmap(0x801daa000,49152,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE,3,0x0) = 34390843392 (0x801daa000)
40771: mmap(0x801eb6000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0xc000) = 34391941120 (0x801eb6000)
40771: close(3) = 0 (0x0)
40771: mmap(0x0,36864,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34365235200 (0x80053e000)
40771: sysarch(0x81,0x7fffffffe510,0x80053ab08,0x0,0xfffffffffe7c7b50,0x801b83e78) = 0 (0x0)
40771: mmap(0x0,1984,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365272064 (0x800547000)
40771: munmap(0x800547000,1984) = 0 (0x0)
40771: mmap(0x0,5008,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365272064 (0x800547000)
40771: munmap(0x800547000,5008) = 0 (0x0)
40771: mmap(0x0,13488,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365272064 (0x800547000)
40771: munmap(0x800547000,13488) = 0 (0x0)
40771: mmap(0x0,9968,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365272064 (0x800547000)
40771: munmap(0x800547000,9968) = 0 (0x0)
40771: mmap(0x0,22656,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365272064 (0x800547000)
40771: munmap(0x800547000,22656) = 0 (0x0)
40771: mmap(0x0,39760,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365272064 (0x800547000)
40771: munmap(0x800547000,39760) = 0 (0x0)
40771: mmap(0x0,4112,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365272064 (0x800547000)
40771: munmap(0x800547000,4112) = 0 (0x0)
40771: mmap(0x0,2544,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365272064 (0x800547000)
40771: munmap(0x800547000,2544) = 0 (0x0)
40771: mmap(0x0,3088,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365272064 (0x800547000)
40771: munmap(0x800547000,3088) = 0 (0x0)
40771: mmap(0x0,1904,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365272064 (0x800547000)
40771: munmap(0x800547000,1904) = 0 (0x0)
40771: mmap(0x0,2144,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365272064 (0x800547000)
40771: munmap(0x800547000,2144) = 0 (0x0)
40771: mmap(0x0,8144,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365272064 (0x800547000)
40771: munmap(0x800547000,8144) = 0 (0x0)
40771: mmap(0x0,1552,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365272064 (0x800547000)
40771: munmap(0x800547000,1552) = 0 (0x0)
40771: mmap(0x0,2320,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365272064 (0x800547000)
40771: munmap(0x800547000,2320) = 0 (0x0)
40771: mmap(0x0,1680,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365272064 (0x800547000)
40771: munmap(0x800547000,1680) = 0 (0x0)
40771: mmap(0x0,1152,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365272064 (0x800547000)
40771: munmap(0x800547000,1152) = 0 (0x0)
40771: mmap(0x0,43696,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365272064 (0x800547000)
40771: munmap(0x800547000,43696) = 0 (0x0)
40771: mmap(0x0,2160,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365272064 (0x800547000)
40771: munmap(0x800547000,2160) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: __sysctl(0x7fffffffe4a0,0x2,0x5068f0,0x7fffffffe498,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: getpid() = 40771 (0x9f43)
40771: __sysctl(0x7fffffffe480,0x2,0x801653370,0x7fffffffe488,0x0,0x0) = 0 (0x0)
40771: __sysctl(0x7fffffffe410,0x2,0x7fffffffe3a0,0x7fffffffe408,0x80154d698,0xd) = 0 (0x0)
40771: __sysctl(0x7fffffffe3a0,0x3,0x801652268,0x7fffffffe488,0x0,0x0) = 0 (0x0)
40771: __sysctl(0x7fffffffe440,0x2,0x801d95408,0x7fffffffe438,0x0,0x0) = 0 (0x0)
40771: __sysctl(0x7fffffffdf60,0x2,0x801d94cc8,0x7fffffffdf58,0x0,0x0) = 0 (0x0)
40771: __sysctl(0x7fffffffde80,0x2,0x7fffffffde10,0x7fffffffde78,0x801c62620,0xc) = 0 (0x0)
40771: __sysctl(0x7fffffffde10,0x2,0x801d94ed0,0x7fffffffded8,0x0,0x0) = 0 (0x0)
40771: readlink("/etc/malloc.conf",0x7fffffffdf80,1024) ERR#2 'No such file or directory'
40771: issetugid(0x801c612d9,0x7fffffffdf80,0xffffffffffffffff,0x0,0x2,0x0) = 0 (0x0)
40771: break(0x600000) = 0 (0x0)
40771: __sysctl(0x7fffffffe240,0x2,0x7fffffffe25c,0x7fffffffe250,0x0,0x0) = 0 (0x0)
40771: mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34391949312 (0x801eb8000)
40771: mmap(0x8020b8000,1343488,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34394046464 (0x8020b8000)
40771: munmap(0x801eb8000,1343488) = 0 (0x0)
40771: thr_self(0x8020041c0,0x0,0x0,0x0,0x188,0x802000080) = 0 (0x0)
40771: mmap(0x7fffffbff000,4096,PROT_NONE,MAP_ANON,-1,0x0) = 140737484156928 (0x7fffffbff000)
40771: thr_set_name(0x18703,0x80154d6e0,0x400000,0x1000,0xffffffff,0x0) = 0 (0x0)
40771: rtprio_thread(0x0,0x18703,0x7fffffffe430,0x1000,0xffffffff,0x0) = 0 (0x0)
40771: sysarch(0x81,0x7fffffffe450,0x801651e40,0x801652048,0xffffffff,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,SIGHUP|SIGINT|SIGQUIT|SIGILL|SIGABRT|SIGEMT|SIGFPE|SIGKILL|SIGBUS|SIGSEGV|SIGSYS|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigaction(32,{ 0x801546fc0 SA_RESTART|SA_SIGINFO ss_t },0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: __sysctl(0x7fffffffe450,0x2,0x7fffffffe46c,0x7fffffffe460,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: fstat(0,{ mode=crw--w---- ,inode=88,size=0,blksize=4096 }) = 0 (0x0)
40771: fstat(1,{ mode=crw--w---- ,inode=88,size=0,blksize=4096 }) = 0 (0x0)
40771: fstat(2,{ mode=crw--w---- ,inode=88,size=0,blksize=4096 }) = 0 (0x0)
40771: open("/usr/local/lib/rpm/rpmpopt",O_RDONLY,00) = 3 (0x3)
40771: lseek(3,0x0,SEEK_END) = 19244 (0x4b2c)
40771: lseek(3,0x0,SEEK_SET) = 0 (0x0)
40771: read(3,"#/*! \page config_rpmpopt Defau"...,19244) = 19244 (0x4b2c)
40771: close(3) = 0 (0x0)
40771: open("/usr/local/lib/rpm/%{_target}/rpmpopt",O_RDONLY,00) ERR#2 'No such file or directory'
40771: stat("/etc/rpm/",0x7fffffff7de0) ERR#2 'No such file or directory'
40771: open("/etc/rpm/rpmpopt",O_RDONLY,00) ERR#2 'No such file or directory'
40771: open("/etc/rpm/%{_target}/rpmpopt",O_RDONLY,00) ERR#2 'No such file or directory'
40771: open("~/.rpmpopt",O_RDONLY,00) ERR#2 'No such file or directory'
40771: open("/usr/local/etc/popt",O_RDONLY,00) ERR#2 'No such file or directory'
40771: open("/etc/popt",O_RDONLY,00) ERR#2 'No such file or directory'
40771: stat("/etc/popt.d",0x7fffffffe9a0) ERR#2 'No such file or directory'
40771: open("/root/.popt",O_RDONLY,00) ERR#2 'No such file or directory'
40771: umask(0x12,0x0,0xffffffff,0x1,0x0,0x0) = 18 (0x12)
40771: __sysctl(0x7fffffffe910,0x2,0x8008dd7c0,0x7fffffffe908,0x0,0x0) = 0 (0x0)
40771: __sysctl(0x7fffffffe910,0x2,0x8008dd8c0,0x7fffffffe908,0x0,0x0) = 0 (0x0)
40771: __sysctl(0x7fffffffe910,0x2,0x8008dd9c0,0x7fffffffe908,0x0,0x0) = 0 (0x0)
40771: __sysctl(0x7fffffffe910,0x2,0x8008ddac0,0x7fffffffe908,0x0,0x0) = 0 (0x0)
40771: __sysctl(0x7fffffffe910,0x2,0x8008ddbc0,0x7fffffffe908,0x0,0x0) = 0 (0x0)
40771: open("/etc/rpm/platform",O_RDONLY,00) ERR#2 'No such file or directory'
40771: open("/usr/local/lib/rpm/macros",O_RDONLY,00) = 3 (0x3)
40771: fcntl(3,F_SETFD,FD_CLOEXEC) = 0 (0x0)
40771: fcntl(3,F_GETFL,) = 0 (0x0)
40771: fstat(3,{ mode=-rw-r--r-- ,inode=9138841,size=33810,blksize=16384 }) = 0 (0x0)
40771: read(3,"#/*! \page config_macros Defaul"...,16384) = 16384 (0x4000)
40771: open("/usr/local/lib/rpm/macros.d/selinux",O_RDONLY,00) = 4 (0x4)
40771: fcntl(4,F_SETFD,FD_CLOEXEC) = 0 (0x0)
40771: fcntl(4,F_GETFL,) = 0 (0x0)
40771: fstat(4,{ mode=-rw-r--r-- ,inode=9138863,size=1224,blksize=16384 }) = 0 (0x0)
40771: read(4,"# SELinux specific macro definit"...,16384) = 1224 (0x4c8)
40771: read(4,0x80204b000,16384) = 0 (0x0)
40771: close(4) = 0 (0x0)
40771: gettimeofday({1308254121.185571 },0x0) = 0 (0x0)
40771: gettimeofday({1308254121.185964 },0x0) = 0 (0x0)
40771: gettimeofday({1308254121.186229 },0x0) = 0 (0x0)
40771: gettimeofday({1308254121.186580 },0x0) = 0 (0x0)
40771: gettimeofday({1308254121.186717 },0x0) = 0 (0x0)
40771: gettimeofday({1308254121.187179 },0x0) = 0 (0x0)
40771: gettimeofday({1308254121.187510 },0x0) = 0 (0x0)
40771: close(4) ERR#9 'Bad file descriptor'
40771: gettimeofday({1308254121.188191 },0x0) = 0 (0x0)
40771: read(3,"used}_Triggername}}\n%_dbi_confi"...,16384) = 16384 (0x4000)
40771: open("/usr/local/lib/rpm/macros.rpmbuild",O_RDONLY,00) = 4 (0x4)
40771: fcntl(4,F_SETFD,FD_CLOEXEC) = 0 (0x0)
40771: fcntl(4,F_GETFL,) = 0 (0x0)
40771: fstat(4,{ mode=-rw-r--r-- ,inode=9138842,size=21772,blksize=16384 }) = 0 (0x0)
40771: read(4,"#/*! \page build_macros Default"...,16384) = 16384 (0x4000)
40771: read(4,"e for modern autotools:\n%make_i"...,16384) = 5388 (0x150c)
40771: read(4,0x802065000,16384) = 0 (0x0)
40771: close(4) = 0 (0x0)
40771: gettimeofday({1308254121.202821 },0x0) = 0 (0x0)
40771: close(4) ERR#9 'Bad file descriptor'
40771: gettimeofday({1308254121.203653 },0x0) = 0 (0x0)
40771: open("/usr/local/lib/rpm/macros.d/perl",O_RDONLY,00) = 4 (0x4)
40771: fcntl(4,F_SETFD,FD_CLOEXEC) = 0 (0x0)
40771: fcntl(4,F_GETFL,) = 0 (0x0)
40771: fstat(4,{ mode=-rw-r--r-- ,inode=9138859,size=1674,blksize=16384 }) = 0 (0x0)
40771: read(4,"# Perl specific macro definition"...,16384) = 1674 (0x68a)
40771: read(4,0x802063000,16384) = 0 (0x0)
40771: close(4) = 0 (0x0)
40771: gettimeofday({1308254121.207577 },0x0) = 0 (0x0)
40771: close(4) ERR#9 'Bad file descriptor'
40771: gettimeofday({1308254121.208327 },0x0) = 0 (0x0)
40771: open("/usr/local/lib/rpm/macros.d/python",O_RDONLY,00) = 4 (0x4)
40771: fcntl(4,F_SETFD,FD_CLOEXEC) = 0 (0x0)
40771: fcntl(4,F_GETFL,) = 0 (0x0)
40771: fstat(4,{ mode=-rw-r--r-- ,inode=9138862,size=2175,blksize=16384 }) = 0 (0x0)
40771: read(4,"# Python specific macro definiti"...,16384) = 2175 (0x87f)
40771: read(4,0x802063000,16384) = 0 (0x0)
40771: close(4) = 0 (0x0)
40771: gettimeofday({1308254121.212335 },0x0) = 0 (0x0)
40771: close(4) ERR#9 'Bad file descriptor'
40771: gettimeofday({1308254121.213164 },0x0) = 0 (0x0)
40771: open("/usr/local/lib/rpm/macros.d/php",O_RDONLY,00) = 4 (0x4)
40771: fcntl(4,F_SETFD,FD_CLOEXEC) = 0 (0x0)
40771: fcntl(4,F_GETFL,) = 0 (0x0)
40771: fstat(4,{ mode=-rw-r--r-- ,inode=9138861,size=592,blksize=16384 }) = 0 (0x0)
40771: read(4,"# Perl specific macro definition"...,16384) = 592 (0x250)
40771: read(4,0x802063000,16384) = 0 (0x0)
40771: close(4) = 0 (0x0)
40771: gettimeofday({1308254121.216798 },0x0) = 0 (0x0)
40771: close(4) ERR#9 'Bad file descriptor'
40771: gettimeofday({1308254121.217573 },0x0) = 0 (0x0)
40771: read(3,"--------------------------------"...,16384) = 1042 (0x412)
40771: open("/usr/local/lib/rpm/macros.d/java",O_RDONLY,00) = 4 (0x4)
40771: fcntl(4,F_SETFD,FD_CLOEXEC) = 0 (0x0)
40771: fcntl(4,F_GETFL,) = 0 (0x0)
40771: fstat(4,{ mode=-rw-r--r-- ,inode=9138856,size=713,blksize=16384 }) = 0 (0x0)
40771: read(4,"# Java specific macro definition"...,16384) = 713 (0x2c9)
40771: read(4,0x802063000,16384) = 0 (0x0)
40771: close(4) = 0 (0x0)
40771: gettimeofday({1308254121.221470 },0x0) = 0 (0x0)
40771: close(4) ERR#9 'Bad file descriptor'
40771: gettimeofday({1308254121.222064 },0x0) = 0 (0x0)
40771: open("/usr/local/lib/rpm/macros.d/java",O_RDONLY,00) = 4 (0x4)
40771: fcntl(4,F_SETFD,FD_CLOEXEC) = 0 (0x0)
40771: fcntl(4,F_GETFL,) = 0 (0x0)
40771: fstat(4,{ mode=-rw-r--r-- ,inode=9138856,size=713,blksize=16384 }) = 0 (0x0)
40771: read(4,"# Java specific macro definition"...,16384) = 713 (0x2c9)
40771: read(4,0x802063000,16384) = 0 (0x0)
40771: close(4) = 0 (0x0)
40771: gettimeofday({1308254121.225362 },0x0) = 0 (0x0)
40771: close(4) ERR#9 'Bad file descriptor'
40771: gettimeofday({1308254121.226219 },0x0) = 0 (0x0)
40771: open("/usr/local/lib/rpm/macros.d/java",O_RDONLY,00) = 4 (0x4)
40771: fcntl(4,F_SETFD,FD_CLOEXEC) = 0 (0x0)
40771: fcntl(4,F_GETFL,) = 0 (0x0)
40771: fstat(4,{ mode=-rw-r--r-- ,inode=9138856,size=713,blksize=16384 }) = 0 (0x0)
40771: read(4,"# Java specific macro definition"...,16384) = 713 (0x2c9)
40771: read(4,0x802063000,16384) = 0 (0x0)
40771: close(4) = 0 (0x0)
40771: gettimeofday({1308254121.229584 },0x0) = 0 (0x0)
40771: close(4) ERR#9 'Bad file descriptor'
40771: gettimeofday({1308254121.230528 },0x0) = 0 (0x0)
40771: open("/usr/local/lib/rpm/macros.d/java",O_RDONLY,00) = 4 (0x4)
40771: fcntl(4,F_SETFD,FD_CLOEXEC) = 0 (0x0)
40771: fcntl(4,F_GETFL,) = 0 (0x0)
40771: fstat(4,{ mode=-rw-r--r-- ,inode=9138856,size=713,blksize=16384 }) = 0 (0x0)
40771: read(4,"# Java specific macro definition"...,16384) = 713 (0x2c9)
40771: read(4,0x802063000,16384) = 0 (0x0)
40771: close(4) = 0 (0x0)
40771: gettimeofday({1308254121.233927 },0x0) = 0 (0x0)
40771: close(4) ERR#9 'Bad file descriptor'
40771: gettimeofday({1308254121.234576 },0x0) = 0 (0x0)
40771: read(3,0x802047000,16384) = 0 (0x0)
40771: close(3) = 0 (0x0)
40771: gettimeofday({1308254121.236053 },0x0) = 0 (0x0)
40771: close(3) ERR#9 'Bad file descriptor'
40771: gettimeofday({1308254121.236863 },0x0) = 0 (0x0)
40771: open("/usr/local/lib/rpm/amd64-freebsd/macros",O_RDONLY,00) ERR#2 'No such file or directory'
40771: stat("/etc/rpm",0x7fffffffe520) ERR#2 'No such file or directory'
40771: open("/etc/rpm/macros",O_RDONLY,00) ERR#2 'No such file or directory'
40771: open("/etc/rpm/amd64-freebsd/macros",O_RDONLY,00) ERR#2 'No such file or directory'
40771: stat("/root/.rpmmacros",{ mode=-rw-r--r-- ,inode=1295368,size=0,blksize=16384 }) = 0 (0x0)
40771: open("/root/.rpmmacros",O_RDONLY,00) = 3 (0x3)
40771: fcntl(3,F_SETFD,FD_CLOEXEC) = 0 (0x0)
40771: fcntl(3,F_GETFL,) = 0 (0x0)
40771: fstat(3,{ mode=-rw-r--r-- ,inode=1295368,size=0,blksize=16384 }) = 0 (0x0)
40771: read(3,0x802047000,16384) = 0 (0x0)
40771: close(3) = 0 (0x0)
40771: gettimeofday({1308254121.242339 },0x0) = 0 (0x0)
40771: close(3) ERR#9 'Bad file descriptor'
40771: gettimeofday({1308254121.243293 },0x0) = 0 (0x0)
40771: gettimeofday({1308254121.243679 },0x0) = 0 (0x0)
40771: gettimeofday({1308254121.243951 },0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGILL|SIGTRAP|SIGABRT|SIGEMT|SIGFPE|SIGKILL|SIGBUS|SIGSEGV|SIGSYS|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigaction(SIGHUP,0x0,{ SIG_DFL 0x0 ss_t }) = 0 (0x0)
40771: sigaction(SIGHUP,{ 0x800b05960 SA_SIGINFO ss_t },{ SIG_DFL 0x0 ss_t }) = 0 (0x0)
40771: sigaction(SIGINT,0x0,{ SIG_DFL 0x0 ss_t }) = 0 (0x0)
40771: sigaction(SIGINT,{ 0x800b05960 SA_SIGINFO ss_t },{ SIG_DFL 0x0 ss_t }) = 0 (0x0)
40771: sigaction(SIGTERM,0x0,{ SIG_DFL 0x0 ss_t }) = 0 (0x0)
40771: sigaction(SIGTERM,{ 0x800b05960 SA_SIGINFO ss_t },{ SIG_DFL 0x0 ss_t }) = 0 (0x0)
40771: sigaction(SIGQUIT,0x0,{ SIG_DFL 0x0 ss_t }) = 0 (0x0)
40771: sigaction(SIGQUIT,{ 0x800b05960 SA_SIGINFO ss_t },{ SIG_DFL 0x0 ss_t }) = 0 (0x0)
40771: sigaction(SIGPIPE,0x0,{ SIG_DFL 0x0 ss_t }) = 0 (0x0)
40771: sigaction(SIGPIPE,{ 0x800b05960 SA_SIGINFO ss_t },{ SIG_DFL 0x0 ss_t }) = 0 (0x0)
40771: fstat(0,{ mode=crw--w---- ,inode=88,size=0,blksize=4096 }) = 0 (0x0)
40771: fstat(1,{ mode=crw--w---- ,inode=88,size=0,blksize=4096 }) = 0 (0x0)
40771: fstat(2,{ mode=crw--w---- ,inode=88,size=0,blksize=4096 }) = 0 (0x0)
40771: getgid() = 0 (0x0)
40771: getuid() = 0 (0x0)
40771: stat("/",{ mode=drwxr-xr-x ,inode=2,size=512,blksize=16384 }) = 0 (0x0)
40771: stat("/var/",{ mode=drwxr-xr-x ,inode=3038208,size=512,blksize=16384 }) = 0 (0x0)
40771: stat("/var/local/",{ mode=drwxr-xr-x ,inode=3039074,size=512,blksize=16384 }) = 0 (0x0)
40771: stat("/var/local/lib/",{ mode=drwxr-xr-x ,inode=3039076,size=512,blksize=16384 }) = 0 (0x0)
40771: stat("/var/local/lib/rpm",{ mode=drwxr-xr-x ,inode=3039077,size=512,blksize=16384 }) = 0 (0x0)
40771: access("/var/local/lib/rpm",2) = 0 (0x0)
40771: access("/var/local/lib/rpm/__db.001",0) ERR#2 'No such file or directory'
40771: access("/var/local/lib/rpm/Packages",0) ERR#2 'No such file or directory'
40771: access("/var/local/lib/rpm/Packages",2) ERR#2 'No such file or directory'
40771: __sysctl(0x7fffffffe100,0x2,0x7fffffffe11c,0x7fffffffe110,0x0,0x0) = 0 (0x0)
40771: __sysctl(0x7fffffffe090,0x2,0x7fffffffe020,0x7fffffffe088,0x801c641e5,0xd) = 0 (0x0)
40771: __sysctl(0x7fffffffe020,0x2,0x7fffffffe0f8,0x7fffffffe110,0x0,0x0) = 0 (0x0)
40771: __sysctl(0x7fffffffe100,0x2,0x7fffffffe11c,0x7fffffffe110,0x0,0x0) = 0 (0x0)
40771: getpid() = 40771 (0x9f43)
40771: __sysctl(0x7fffffffe070,0x2,0x7fffffffe08c,0x7fffffffe080,0x0,0x0) = 0 (0x0)
40771: open("/var/local/lib/rpm/DB_CONFIG",O_RDONLY,0666) = 3 (0x3)
40771: fstat(3,{ mode=-rw-r--r-- ,inode=3039080,size=993,blksize=16384 }) = 0 (0x0)
40771: read(3,"# ================ Environment\n"...,16384) = 993 (0x3e1)
40771: read(3,0x802047000,16384) = 0 (0x0)
40771: close(3) = 0 (0x0)
40771: open("/var/local/lib/rpm/__db.001",O_RDWR|O_CREAT|O_EXCL,0644) = 3 (0x3)
40771: fcntl(3,F_SETFD,FD_CLOEXEC) = 0 (0x0)
40771: open("/var/local/lib/rpm/__db.001",O_RDWR|O_CREAT,0644) = 4 (0x4)
40771: fcntl(4,F_SETFD,FD_CLOEXEC) = 0 (0x0)
40771: lseek(4,0x6000,SEEK_SET) = 24576 (0x6000)
40771: write(4,"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,8192) = 8192 (0x2000)
40771: mmap(0x0,32768,PROT_READ|PROT_WRITE,MAP_SHARED|MAP_HASSEMAPHORE|MAP_NOSYNC,4,0x0) = 34365272064 (0x800547000)
40771: close(4) = 0 (0x0)
40771: clock_gettime(13,{1308254121.000000000 }) = 0 (0x0)
40771: clock_gettime(4,{609942.342413518 }) = 0 (0x0)
40771: clock_gettime(0,{1308254121.266409944 }) = 0 (0x0)
40771: close(3) = 0 (0x0)
40771: __sysctl(0x7fffffffdf60,0x2,0x7fffffffdf7c,0x7fffffffdf70,0x0,0x0) = 0 (0x0)
40771: open("/var/local/lib/rpm/__db.002",O_RDWR|O_CREAT,0644) = 3 (0x3)
40771: fcntl(3,F_SETFD,FD_CLOEXEC) = 0 (0x0)
40771: lseek(3,0x6c000,SEEK_SET) = 442368 (0x6c000)
40771: write(3,"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,8192) = 8192 (0x2000)
40771: mmap(0x0,450560,PROT_READ|PROT_WRITE,MAP_SHARED|MAP_HASSEMAPHORE|MAP_NOSYNC,3,0x0) = 34365304832 (0x80054f000)
40771: close(3) = 0 (0x0)
40771: open("/var/local/lib/rpm/__db.003",O_RDWR|O_CREAT,0644) = 3 (0x3)
40771: fcntl(3,F_SETFD,FD_CLOEXEC) = 0 (0x0)
40771: lseek(3,0x26f6000,SEEK_SET) = 40853504 (0x26f6000)
40771: write(3,"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,8192) = 8192 (0x2000)
40771: mmap(0x0,40861696,PROT_READ|PROT_WRITE,MAP_SHARED|MAP_HASSEMAPHORE|MAP_NOSYNC,3,0x0) = 34395389952 (0x802200000)
40771: close(3) = 0 (0x0)
rpmdb40771: write(2,"rpmdb",5) = 5 (0x5)
: 40771: write(2,": ",2) = 2 (0x2)
unable to allocate memory for mutex; resize mutex region40771: write(2,"unable to allocate memory for mu"...,56) = 56 (0x38)

40771: write(2,"\n",1) = 1 (0x1)
40771: munmap(0x802200000,40861696) = 0 (0x0)
rpmdb40771: write(2,"rpmdb",5) = 5 (0x5)
: 40771: write(2,": ",2) = 2 (0x2)
PANIC40771: write(2,"PANIC",5) = 5 (0x5)
40771: stat("/usr/share/nls/C/libc.cat",0x7fffffffd500) ERR#2 'No such file or directory'
40771: stat("/usr/share/nls/libc/C",0x7fffffffd500) ERR#2 'No such file or directory'
40771: stat("/usr/local/share/nls/C/libc.cat",0x7fffffffd500) ERR#2 'No such file or directory'
40771: stat("/usr/local/share/nls/libc/C",0x7fffffffd500) ERR#2 'No such file or directory'
: Cannot allocate memory40771: write(2,": Cannot allocate memory",24) = 24 (0x18)

40771: write(2,"\n",1) = 1 (0x1)
==> rpmdbe_event_notify(0x80206a000, NO_SUCH_EVENT(0), 0x7fffffffe004) app_private 0x0
40771: write(2,"==> rpmdbe_event_notify(0x80206a"...,87) = 87 (0x57)
40771: munmap(0x80054f000,450560) = 0 (0x0)
40771: munmap(0x800547000,32768) = 0 (0x0)
40771: open("/var/local/lib/rpm/__db.001",O_RDWR,00) = 3 (0x3)
40771: fcntl(3,F_SETFD,FD_CLOEXEC) = 0 (0x0)
40771: fstat(3,{ mode=-rw-r--r-- ,inode=3039092,size=32768,blksize=16384 }) = 0 (0x0)
40771: close(3) = 0 (0x0)
40771: open("/var/local/lib/rpm/__db.001",O_RDWR,00) = 3 (0x3)
40771: fcntl(3,F_SETFD,FD_CLOEXEC) = 0 (0x0)
40771: mmap(0x0,32768,PROT_READ|PROT_WRITE,MAP_SHARED|MAP_HASSEMAPHORE|MAP_NOSYNC,3,0x0) = 34365272064 (0x800547000)
40771: close(3) = 0 (0x0)
40771: munmap(0x800547000,32768) = 0 (0x0)
rpmdb40771: write(2,"rpmdb",5) = 5 (0x5)
: 40771: write(2,": ",2) = 2 (0x2)
unable to join the environment40771: write(2,"unable to join the environment",30) = 30 (0x1e)

40771: write(2,"\n",1) = 1 (0x1)
40771: stat("/var/local/lib/rpm",{ mode=drwxr-xr-x ,inode=3039077,size=512,blksize=16384 }) = 0 (0x0)
40771: open("/var/local/lib/rpm",O_NONBLOCK,00) = 3 (0x3)
40771: fstat(3,{ mode=drwxr-xr-x ,inode=3039077,size=512,blksize=16384 }) = 0 (0x0)
40771: fcntl(3,F_SETFD,FD_CLOEXEC) = 0 (0x0)
40771: fstatfs(0x3,0x7fffffffd760,0x80203e040,0xd,0x0,0x0) = 0 (0x0)
40771: getdirentries(0x3,0x802047000,0x1000,0x80203e548,0x0,0x2) = 512 (0x200)
40771: stat("/var/local/lib/rpm/.",{ mode=drwxr-xr-x ,inode=3039077,size=512,blksize=16384 }) = 0 (0x0)
40771: stat("/var/local/lib/rpm/..",{ mode=drwxr-xr-x ,inode=3039076,size=512,blksize=16384 }) = 0 (0x0)
40771: stat("/var/local/lib/rpm/log",{ mode=drwxr-xr-x ,inode=3039078,size=512,blksize=16384 }) = 0 (0x0)
40771: stat("/var/local/lib/rpm/tmp",{ mode=drwxr-xr-x ,inode=3039079,size=512,blksize=16384 }) = 0 (0x0)
40771: stat("/var/local/lib/rpm/__db.001",{ mode=-rw-r--r-- ,inode=3039092,size=32768,blksize=16384 }) = 0 (0x0)
40771: stat("/var/local/lib/rpm/DB_CONFIG",{ mode=-rw-r--r-- ,inode=3039080,size=993,blksize=16384 }) = 0 (0x0)
40771: stat("/var/local/lib/rpm/__db.002",{ mode=-rw-r--r-- ,inode=3039096,size=450560,blksize=16384 }) = 0 (0x0)
40771: stat("/var/local/lib/rpm/__db.003",{ mode=-rw-r--r-- ,inode=3039097,size=40861696,blksize=16384 }) = 0 (0x0)
40771: getdirentries(0x3,0x802047000,0x1000,0x80203e548,0x9708,0x3) = 0 (0x0)
40771: lseek(3,0x0,SEEK_SET) = 0 (0x0)
40771: close(3) = 0 (0x0)
40771: unlink("/var/local/lib/rpm/__db.003") = 0 (0x0)
40771: unlink("/var/local/lib/rpm/__db.002") = 0 (0x0)
40771: unlink("/var/local/lib/rpm/__db.001") = 0 (0x0)
error: 40771: write(2,"error: ",7) = 7 (0x7)
db_init:db3.c:950: dbenv->open(-30973): DB_RUNRECOVERY: Fatal error, run database recovery
40771: write(2,"db_init:db3.c:950: dbenv->open(-"...,91) = 91 (0x5b)
40771: getuid() = 0 (0x0)
40771: getuid() = 0 (0x0)
40771: geteuid() = 0 (0x0)
40771: getgid() = 0 (0x0)
40771: getegid() = 0 (0x0)
40771: fstat(1,{ mode=crw--w---- ,inode=88,size=0,blksize=4096 }) = 0 (0x0)
40771: ioctl(1,TIOCGETA,0xffffdf40) = 0 (0x0)
Re-opening dbenv with DB_RECOVER ...
40771: write(1,"Re-opening dbenv with DB_RECOVER"...,37) = 37 (0x25)
40771: getpid() = 40771 (0x9f43)
40771: __sysctl(0x7fffffffe070,0x2,0x7fffffffe08c,0x7fffffffe080,0x0,0x0) = 0 (0x0)
40771: open("/var/local/lib/rpm/DB_CONFIG",O_RDONLY,0666) = 3 (0x3)
40771: fstat(3,{ mode=-rw-r--r-- ,inode=3039080,size=993,blksize=16384 }) = 0 (0x0)
40771: read(3,"# ================ Environment\n"...,16384) = 993 (0x3e1)
40771: read(3,0x802063000,16384) = 0 (0x0)
40771: close(3) = 0 (0x0)
40771: open("/var/local/lib/rpm/__db.rep.init",O_RDONLY,00) ERR#2 'No such file or directory'
40771: open("/var/local/lib/rpm/__db.001",O_RDWR,00) ERR#2 'No such file or directory'
40771: stat("/var/local/lib/rpm",{ mode=drwxr-xr-x ,inode=3039077,size=512,blksize=16384 }) = 0 (0x0)
40771: open("/var/local/lib/rpm",O_NONBLOCK,00) = 3 (0x3)
40771: fstat(3,{ mode=drwxr-xr-x ,inode=3039077,size=512,blksize=16384 }) = 0 (0x0)
40771: fcntl(3,F_SETFD,FD_CLOEXEC) = 0 (0x0)
40771: fstatfs(0x3,0x7fffffffd7c0,0x80203e040,0xe,0x0,0x0) = 0 (0x0)
40771: getdirentries(0x3,0x802048000,0x1000,0x80203e5a8,0x0,0x2) = 512 (0x200)
40771: stat("/var/local/lib/rpm/.",{ mode=drwxr-xr-x ,inode=3039077,size=512,blksize=16384 }) = 0 (0x0)
40771: stat("/var/local/lib/rpm/..",{ mode=drwxr-xr-x ,inode=3039076,size=512,blksize=16384 }) = 0 (0x0)
40771: stat("/var/local/lib/rpm/log",{ mode=drwxr-xr-x ,inode=3039078,size=512,blksize=16384 }) = 0 (0x0)
40771: stat("/var/local/lib/rpm/tmp",{ mode=drwxr-xr-x ,inode=3039079,size=512,blksize=16384 }) = 0 (0x0)
40771: stat("/var/local/lib/rpm/DB_CONFIG",{ mode=-rw-r--r-- ,inode=3039080,size=993,blksize=16384 }) = 0 (0x0)
40771: getdirentries(0x3,0x802048000,0x1000,0x80203e5a8,0x8700,0x3) = 0 (0x0)
40771: lseek(3,0x0,SEEK_SET) = 0 (0x0)
40771: close(3) = 0 (0x0)
40771: open("/var/local/lib/rpm/__db.001",O_RDWR|O_CREAT|O_EXCL,0644) = 3 (0x3)
40771: fcntl(3,F_SETFD,FD_CLOEXEC) = 0 (0x0)
40771: open("/var/local/lib/rpm/__db.001",O_RDWR|O_CREAT,0644) = 4 (0x4)
40771: fcntl(4,F_SETFD,FD_CLOEXEC) = 0 (0x0)
40771: lseek(4,0x6000,SEEK_SET) = 24576 (0x6000)
40771: write(4,"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,8192) = 8192 (0x2000)
40771: mmap(0x0,32768,PROT_READ|PROT_WRITE,MAP_SHARED|MAP_HASSEMAPHORE|MAP_NOSYNC,4,0x0) = 34365272064 (0x800547000)
40771: close(4) = 0 (0x0)
40771: clock_gettime(13,{1308254121.000000000 }) = 0 (0x0)
40771: clock_gettime(4,{609942.398014439 }) = 0 (0x0)
40771: clock_gettime(0,{1308254121.322099145 }) = 0 (0x0)
40771: close(3) = 0 (0x0)
40771: __sysctl(0x7fffffffdf60,0x2,0x7fffffffdf7c,0x7fffffffdf70,0x0,0x0) = 0 (0x0)
40771: open("/var/local/lib/rpm/__db.002",O_RDWR|O_CREAT,0644) = 3 (0x3)
40771: fcntl(3,F_SETFD,FD_CLOEXEC) = 0 (0x0)
40771: lseek(3,0x6c000,SEEK_SET) = 442368 (0x6c000)
40771: write(3,"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,8192) = 8192 (0x2000)
40771: mmap(0x0,450560,PROT_READ|PROT_WRITE,MAP_SHARED|MAP_HASSEMAPHORE|MAP_NOSYNC,3,0x0) = 34365304832 (0x80054f000)
40771: close(3) = 0 (0x0)
40771: open("/var/local/lib/rpm/__db.003",O_RDWR|O_CREAT,0644) = 3 (0x3)
40771: fcntl(3,F_SETFD,FD_CLOEXEC) = 0 (0x0)
40771: lseek(3,0x26f6000,SEEK_SET) = 40853504 (0x26f6000)
40771: write(3,"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,8192) = 8192 (0x2000)
40771: mmap(0x0,40861696,PROT_READ|PROT_WRITE,MAP_SHARED|MAP_HASSEMAPHORE|MAP_NOSYNC,3,0x0) = 34395389952 (0x802200000)
40771: close(3) = 0 (0x0)
rpmdb40771: write(2,"rpmdb",5) = 5 (0x5)
: 40771: write(2,": ",2) = 2 (0x2)
unable to allocate memory for mutex; resize mutex region40771: write(2,"unable to allocate memory for mu"...,56) = 56 (0x38)

40771: write(2,"\n",1) = 1 (0x1)
40771: munmap(0x802200000,40861696) = 0 (0x0)
rpmdb40771: write(2,"rpmdb",5) = 5 (0x5)
: 40771: write(2,": ",2) = 2 (0x2)
PANIC40771: write(2,"PANIC",5) = 5 (0x5)
40771: stat("/usr/share/nls/C/libc.cat",0x7fffffffd500) ERR#2 'No such file or directory'
40771: stat("/usr/share/nls/libc/C",0x7fffffffd500) ERR#2 'No such file or directory'
40771: stat("/usr/local/share/nls/C/libc.cat",0x7fffffffd500) ERR#2 'No such file or directory'
40771: stat("/usr/local/share/nls/libc/C",0x7fffffffd500) ERR#2 'No such file or directory'
: Cannot allocate memory40771: write(2,": Cannot allocate memory",24) = 24 (0x18)

40771: write(2,"\n",1) = 1 (0x1)
==> rpmdbe_event_notify(0x80206a000, NO_SUCH_EVENT(0), 0x7fffffffe004) app_private 0x0
40771: write(2,"==> rpmdbe_event_notify(0x80206a"...,87) = 87 (0x57)
40771: munmap(0x80054f000,450560) = 0 (0x0)
40771: munmap(0x800547000,32768) = 0 (0x0)
40771: open("/var/local/lib/rpm/__db.001",O_RDWR,00) = 3 (0x3)
40771: fcntl(3,F_SETFD,FD_CLOEXEC) = 0 (0x0)
40771: fstat(3,{ mode=-rw-r--r-- ,inode=3039092,size=32768,blksize=16384 }) = 0 (0x0)
40771: close(3) = 0 (0x0)
40771: open("/var/local/lib/rpm/__db.001",O_RDWR,00) = 3 (0x3)
40771: fcntl(3,F_SETFD,FD_CLOEXEC) = 0 (0x0)
40771: mmap(0x0,32768,PROT_READ|PROT_WRITE,MAP_SHARED|MAP_HASSEMAPHORE|MAP_NOSYNC,3,0x0) = 34365272064 (0x800547000)
40771: close(3) = 0 (0x0)
40771: munmap(0x800547000,32768) = 0 (0x0)
rpmdb40771: write(2,"rpmdb",5) = 5 (0x5)
: 40771: write(2,": ",2) = 2 (0x2)
unable to join the environment40771: write(2,"unable to join the environment",30) = 30 (0x1e)

40771: write(2,"\n",1) = 1 (0x1)
40771: stat("/var/local/lib/rpm",{ mode=drwxr-xr-x ,inode=3039077,size=512,blksize=16384 }) = 0 (0x0)
40771: open("/var/local/lib/rpm",O_NONBLOCK,00) = 3 (0x3)
40771: fstat(3,{ mode=drwxr-xr-x ,inode=3039077,size=512,blksize=16384 }) = 0 (0x0)
40771: fcntl(3,F_SETFD,FD_CLOEXEC) = 0 (0x0)
40771: fstatfs(0x3,0x7fffffffd760,0x80203e040,0xe,0x0,0x0) = 0 (0x0)
40771: getdirentries(0x3,0x802048000,0x1000,0x80203e5a8,0x0,0x2) = 512 (0x200)
40771: stat("/var/local/lib/rpm/.",{ mode=drwxr-xr-x ,inode=3039077,size=512,blksize=16384 }) = 0 (0x0)
40771: stat("/var/local/lib/rpm/..",{ mode=drwxr-xr-x ,inode=3039076,size=512,blksize=16384 }) = 0 (0x0)
40771: stat("/var/local/lib/rpm/log",{ mode=drwxr-xr-x ,inode=3039078,size=512,blksize=16384 }) = 0 (0x0)
40771: stat("/var/local/lib/rpm/tmp",{ mode=drwxr-xr-x ,inode=3039079,size=512,blksize=16384 }) = 0 (0x0)
40771: stat("/var/local/lib/rpm/__db.001",{ mode=-rw-r--r-- ,inode=3039092,size=32768,blksize=16384 }) = 0 (0x0)
40771: stat("/var/local/lib/rpm/DB_CONFIG",{ mode=-rw-r--r-- ,inode=3039080,size=993,blksize=16384 }) = 0 (0x0)
40771: stat("/var/local/lib/rpm/__db.002",{ mode=-rw-r--r-- ,inode=3039096,size=450560,blksize=16384 }) = 0 (0x0)
40771: stat("/var/local/lib/rpm/__db.003",{ mode=-rw-r--r-- ,inode=3039097,size=40861696,blksize=16384 }) = 0 (0x0)
40771: getdirentries(0x3,0x802048000,0x1000,0x80203e5a8,0x8708,0x3) = 0 (0x0)
40771: lseek(3,0x0,SEEK_SET) = 0 (0x0)
40771: close(3) = 0 (0x0)
40771: unlink("/var/local/lib/rpm/__db.003") = 0 (0x0)
40771: unlink("/var/local/lib/rpm/__db.002") = 0 (0x0)
40771: unlink("/var/local/lib/rpm/__db.001") = 0 (0x0)
error: 40771: write(2,"error: ",7) = 7 (0x7)
db_init:db3.c:950: dbenv->open(-30973): DB_RUNRECOVERY: Fatal error, run database recovery
40771: write(2,"db_init:db3.c:950: dbenv->open(-"...,91) = 91 (0x5b)

40771: write(1,"\n",1) = 1 (0x1)
recovery failed. Exiting ...
40771: write(1,"recovery failed. Exiting ...\n",29) = 29 (0x1d)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)
40771: sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0)
40771: process exit, rval = 1

When I installed RPM, my configure line was:

./configure —with-expat CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" LIBS="-lgss"

I compiled and installed the binaries using: gmake; gmake install

My DB_CONFIG file is as follows:

# ================ Environment
#add_data_dir .
set_data_dir .
set_create_dir .
set_lg_dir ./log
set_tmp_dir ./tmp

# -- thread_count must be >= 8
set_thread_count 64

#set_verbose DB_VERB_DEADLOCK
#set_verbose DB_VERB_FILEOPS
#set_verbose DB_VERB_FILEOPS_ALL
#set_verbose DB_VERB_RECOVERY
#set_verbose DB_VERB_REGISTER
#set_verbose DB_VERB_REPLICATION
#set_verbose DB_VERB_REP_ELECT
#set_verbose DB_VERB_REP_LEASE
#set_verbose DB_VERB_REP_MISC
#set_verbose DB_VERB_REP_MSGS
#set_verbose DB_VERB_REP_SYNC
#set_verbose DB_VERB_REP_TEST
#set_verbose DB_VERB_REPMGR_CONNFAIL
#set_verbose DB_VERB_REPMGR_MISC
#set_verbose DB_VERB_WAITSFOR

# ================ Logging

# ================ Memory Pool
#XXX initializing dbenv with set_cachesize has unimplemented prerequsites
#set_cachesize 0 1048576 0
set_mp_mmapsize 16777216

# ================ Locking
set_lk_max_locks 8000
set_lk_max_lockers 8000
set_lk_max_objects 8000
mutex_set_max 8000

# ================ Replication

==
Vincent (Rick) Miller
Systems Engineer
vmiller@Verisign.com

t: 703-948-4395
21345 Ridgetop Cir Dulles, VA 20166

VerisignInc.com
Received on Sat Jun 18 00:52:37 2011
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.