cancel
Showing results for 
Search instead for 
Did you mean: 

MaxDB 7.7.02_10 on Red Hat es 4.5 segmentation fault - New Installation

Former Member
0 Kudos

Thanks ahead of time for any help on this. Any time we try to authenticate to the default database, the system generates a segmentation fault.

Clean install of Red Hat ES 4.5 32bit on HP DL380 G1 internal RAID 5

Clean install of MaxDB 7.7.02_10 using GUI install (SDBSETUP) and accepting all defaults

Database software and default MAXDB1 instance seem to install without error according to SDBSETUP. Running anything trying to connect to the databse using authorization results in a "segmentation fault"

[root@berdb0005 FirstSteps]# dbmcli -d MAXDB1 -u DBM,***

Segmentation fault

Approaching this a different way results in a similar authorization error:

[root@berdb0005 FirstSteps]# dbmcli -d MAXDB1

dbmcli on MAXDB1>user_logon DBM,DBM

Segmentation fault

[root@berdb0005 FirstSteps]# 11455 2008-03-10 09:39:23.000 ERROR: Could not write to 'teo110_PipeBase::eo110_WritePipe' pipe, rc = 32 - (teo110_PipeBase::eo110_WritePipe)

If I do not logon to the database, I recieve no error. The error leaves the following process running:

sdb 7026 1 99 09:38 pts/0 00:05:53 /opt/maxdb/MAXDB1/pgm/dbmsrv -P 0000000500000008000000090000000c

These other processes were started after installation:

root 7053 6930 0 09:41 pts/0 00:00:00 grep sdb

sdb 12851 1 0 Mar07 ? 00:00:00 /opt/maxdb/programs/pgm/vserver start

sdb 12852 12851 0 Mar07 ? 00:00:00 xserver.prt logger

sdb 12862 1 0 Mar07 ? 00:00:00 /opt/maxdb/MAXDB1/pgm/kernel MAXDB1

sdb 12869 12862 0 Mar07 ? 00:00:07 /opt/maxdb/MAXDB1/pgm/kernel MAXDB1

sdb 12924 1 0 Mar07 ? 00:00:00 /opt/maxdb/MAXDB1/pgm/dbmsrv -sdbstarter 5115 3105 A -DBMSHM 12854 16008 MAXDB1 sdb_ibgs_InternalEventDispatcher

I followed the Red Hat guides starting with SAPNote 171356 and verified all the steps were taken from the following notes:

722273 - Followed everything here

917815

916650

895807

1048303 - this is RedHat 5, but, looked it over just in case

1021236 - SAP Kernel related, looked it over just in case

977515

960510

755836

uname banner:

Linux berdb0005 2.6.9-55.ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007 i686 i686 i386 GNU/Linux

[root@berdb0005 FirstSteps]# hostname

berdb0005

[root@berdb0005 FirstSteps]# hostname -s

berdb0005

[root@berdb0005 FirstSteps]# hostname -f

berdb0005.vertexinc.com

[root@berdb0005 FirstSteps]# more /etc/hosts

  1. Do not remove the following line, or various programs

  2. that require network functionality will fail.

127.0.0.1 localhost.localdomain localhost

10.20.3.156 berdb0005.vertexinc.com berdb0005

User and groups created from MaxDB install:

sdb:x:5115:3105:MaxDB user:/home/sdb:/bin/false

sdba:x:3105:

The system was originally configured as an NIS client, but I believe we removed all traces of NIS and let the install create all the authority on the last installation attempt.

Log files:

dbmsrv_berdb0005.err is 0 length

-


dbmsrv_berdb0005.prt:

-


Date Time TID(hex) Typ MsgID Label Message

-


2008-03-07 16:19:42 0x0000321a INF 216 DBMSrv DBM Server client connect

ion (established at 2008-03-07 16:19:41): PID 12824 on computer berdb0005.vertex

inc.com

2008-03-07 16:19:42 0x0000321a INF 283 DBMSrv command inst_reg -k /opt/

maxdb/MAXDB1

2008-03-07 16:19:42 0x0000321a ERR -24961 DBMSrv ERR_STATE: The operationa

l state of the database instance could not be determined

0x0000321a ERR -24994 DBMSrv ERR_RTE: Runtime environm

ent error

0x0000321a ERR 1 RTEDBState database not found

2008-03-07 16:19:42 0x0000321a INF 226 DBMSrv DBM Server client disconn

ect: PID 12824 on computer berdb0005.vertexinc.com

2008-03-07 16:19:48 0x00003223 INF 216 DBMSrv DBM Server client connect

ion (established at 2008-03-07 16:19:48): PID 12833 on computer berdb0005.vertex

inc.com

2008-03-07 16:19:50 0x00003223 INF 283 DBMSrv command db_create MAXDB1.

..

2008-03-07 16:19:50 0x00003223 ERR -24961 DBMSrv ERR_STATE: The operationa

l state of the database instance could not be determined

0x00003223 ERR -24994 DBMSrv ERR_RTE: Runtime environm

ent error

0x00003223 ERR 1 RTEDBState database not found

2008-03-07 16:19:50 0x00003223 INF 226 DBMSrv DBM Server client disconn

ect: PID 12833 on computer berdb0005.vertexinc.com

2008-03-07 16:19:51 0x00003236 INF 216 DBMSrv DBM Server client connect

ion (established at 2008-03-07 16:19:51): PID 12811 on computer localhost.locald

omain

2008-03-07 16:19:51 0x00003236 INF 283 DBMSrv command param_checkall

2008-03-07 16:19:51 0x00003236 INF 283 DBMSrv command param_commitsessi

on

2008-03-07 16:19:51 0x00003236 INF 283 DBMSrv command param_directput _

UNICODE YES

2008-03-07 16:19:51 0x00003236 INF 283 DBMSrv command param_directput M

AXCPU 2

2008-03-07 16:19:51 0x00003236 INF 283 DBMSrv command param_directput C

ACHE_SIZE 91648

2008-03-07 16:19:51 0x00003236 INF 283 DBMSrv command param_directput M

AXDATAVOLUMES 64

2008-03-07 16:19:51 0x00003236 INF 283 DBMSrv command param_directput M

AXUSERTASKS 20

2008-03-07 16:19:51 0x00003236 INF 283 DBMSrv command param_checkall

2008-03-07 16:19:51 0x00003236 INF 283 DBMSrv command param_addvolume 1

DATA "/var/opt/sdb/data/MAXDB1/data/DISKD0001" F 131072

2008-03-07 16:19:51 0x00003236 INF 283 DBMSrv command param_addvolume 1

LOG "/var/opt/sdb/data/MAXDB1/log/DISKL0001" F 6400

2008-03-07 16:19:51 0x00003236 INF 283 DBMSrv command db_admin

2008-03-10 09:28:16 0x00001b44 INF 216 DBMSrv DBM Server client connect

ion (established at 2008-03-10 09:28:16): PID 6978 on computer berdb0005.vertexi

nc.com

2008-03-10 09:28:16 0x00001b44 ERR -24977 DBMSrv ERR_COMMAND: Unknown DBM

command "MAXDB1"

2008-03-10 09:28:16 0x00001b44 INF 226 DBMSrv DBM Server client disconn

ect: PID 6978 on computer berdb0005.vertexinc.com

-


MAXDB1.knl

47D1B2290004| |HISTLOST | | |200

8-03-07 16:22:49| | | | |

| | | 0

47D1B2290005| |HISTLOST | | |200

8-03-07 16:22:49| | | | |

| | | 0

47D1B231000D| |HISTLOST | | |200

8-03-07 16:22:57| | | | |

| | | 0

-


Partial instance install log:

MSG: packagedata of package DB Analyzer changed

MSG: writing 10 packages

MSG: net install registry size = 116425 bytes

MSG: wrote install registry (145874 bytes)

[/opt/maxdb/programs/bin/dbmcli -R "/opt/maxdb/MAXDB1" -R "/opt/maxdb/MAXDB1" d

b_create MAXDB1 DBM,*** ]

[/opt/maxdb/programs/bin/x_server start]

ERR 11779 NISERVER Error during startup:'dlopen failed:/opt/maxdb/programs/lib/libs'

WNG 12457 XSERVER NI Init: Automatic niserver start failed, rc = 1

WNG 12453 NISSLSRV NISSL Init: dlopen failed:/opt/maxdb/programs/lib/libs

12902 XSERVER started, 'U32/LINUX 7.7.02 Build 010-121-153-906'

[user_logon DBM,*** ]

[param_startsession]

[param_init]

[param_checkall]

[param_commitsession]

[param_directput _UNICODE YES]

[param_directput MAXCPU 2]

[param_directput CACHE_SIZE 91648]

[param_directput MAXDATAVOLUMES 64]

[param_directput MAXUSERTASKS 20]

[param_checkall]

[mkpath /var/opt/sdb/data/MAXDB1/data]

[chown 5115:3105 /var/opt/sdb/data/MAXDB1/data]

[chmod 0750 /var/opt/sdb/data/MAXDB1/data]

[chown 5115:3105 /var/opt/sdb/data/MAXDB1]

[chmod 0551 /var/opt/sdb/data/MAXDB1]

[mkpath /var/opt/sdb/data/MAXDB1/log]

[chown 5115:3105 /var/opt/sdb/data/MAXDB1/log]

[chmod 0750 /var/opt/sdb/data/MAXDB1/log]

[chown 5115:3105 /var/opt/sdb/data/MAXDB1]

[chmod 0551 /var/opt/sdb/data/MAXDB1]

[param_addvolume 1 DATA "/var/opt/sdb/data/MAXDB1/data/DISKD0001" F 131072]

[param_addvolume 1 LOG "/var/opt/sdb/data/MAXDB1/log/DISKL0001" F 6400]

[db_admin]

[db_activate DBADMIN,*** ]

[auto_extend ON]

[load_systab -u DBADMIN,*** -ud domain]

[db_execute SET LOG AUTO OVERWRITE ON]

Closing DBM-Connection.

MSG: writing 10 packages

MSG: net install registry size = 116425 bytes

MSG: wrote install registry (145874 bytes)

MSG: install registry successfully unlocked

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member229109
Active Contributor
0 Kudos

Dear Mr. Braun,

1) Are you SAP customer? Did you already create the OSS message, where this

problem was reported?

2) Please provide additional information:

  • Please run as root user 'sdbverify' & update with the results.

  • Please run the following commands & update with outputs:

xinstinfo MAXDB1

sdbregview -l

dbmcli inst_enum

< you will get the IntallationPath >

dbmcli db_enum

<IntallationPath>/pgm/dbmshm CHECK <indepDataPath> MAXDB1

ls -l <IntallationPath>/pgm

Thank you and best regards, Natalia Khlopina

Former Member
0 Kudos

Thanks for your response. This is my first forum encounter at SAP, so, I am unfamiliar with an OSS. I did not issue one of those. Could you explain what an OSS is? I'll be sure to do what's required. We are a current development partner with SAP, so, I guess that counts as being a customer. Below are the outputs from the various programs you asked mr to run:

sdbverify:

[root@berdb0005 FirstSteps]# sdbverify

ODBC 7.7.02.10 32 bit in /opt/maxdb/programs

-


check files... ok

check dependencies... ok

package data is consistent

Server Utilities 7.7.02.10 32 bit in /opt/maxdb/programs

-


check files... ok

check dependencies... ok

package data is consistent

DB Analyzer 7.7.02.10 32 bit in /opt/maxdb/programs

-


check files... ok

check dependencies... ok

package data is consistent

Database Kernel 7.7.02.10 32 bit in /opt/maxdb/MAXDB1

-


check files... ok

check dependencies... ok

check rte registration of package... ok

package data is consistent

Loader 7.7.02.10 32 bit in /opt/maxdb/programs

-


check files... ok

check dependencies... ok

package data is consistent

Base 7.7.02.10 32 bit in /opt/maxdb/programs

-


check files... ok

check dependencies... ok

check rte registration of package... ok

package data is consistent

Redist Python 7.7.02.10 32 bit in /opt/maxdb/programs

-


check files... ok

check dependencies... ok

package data is consistent

SQLDBC 7.7.02.10 32 bit in /opt/maxdb/programs

-


check files... ok

check dependencies... ok

package data is consistent

JDBC 7.6.03.02 in /opt/maxdb/programs

-


check files... ok

check dependencies... ok

package data is consistent

Messages MSG 0.5010 in /opt/maxdb/programs

-


check files... ok

check dependencies... ok

package data is consistent

VERIFICATION SUMMARY:

*********************

INVALID PACKAGES: 0

VALID PACKAGES: 10

INCONSISTENT PACKAGES: 0

TOTAL FILES: 312

MISSED FILES: 0

MODIFIED FILES: 0

FILES WITH MODIFIED PERMISSIONS: 0

[root@berdb0005 FirstSteps]# xinstinfo MAXDB1

IndepData : /var/opt/sdb/data

IndepPrograms : /opt/maxdb/programs

InstallationPath : /opt/maxdb/MAXDB1

Kernelversion : KERNEL 7.7.02 BUILD 010-121-153-906

Rundirectory : /var/opt/sdb/data/wrk/MAXDB1

[root@berdb0005 FirstSteps]# sdbregview -l

ODBC /opt/maxdb/programs 7.7.02.10 32 bit valid

Server Utilities /opt/maxdb/programs 7.7.02.10 32 bit valid

DB Analyzer /opt/maxdb/programs 7.7.02.10 32 bit valid

Database Kernel /opt/maxdb/MAXDB1 7.7.02.10 32 bit valid

Loader /opt/maxdb/programs 7.7.02.10 32 bit valid

Base /opt/maxdb/programs 7.7.02.10 32 bit valid

Redist Python /opt/maxdb/programs 7.7.02.10 32 bit valid

SQLDBC /opt/maxdb/programs 7.7.02.10 32 bit valid

JDBC /opt/maxdb/programs 7.6.03.02 valid

Messages /opt/maxdb/programs MSG 0.5010 valid

[root@berdb0005 FirstSteps]# dbmcli inst_enum

OK

7.7.02.10 /opt/maxdb/MAXDB1

ls -l pgm

[root@berdb0005 pgm]# ls -l

total 59340

-r-xr-x--- 1 sdb sdba 945963 Jun 25 2007 backup

-r-xr-x--- 1 sdb sdba 1297577 Jun 25 2007 cons

-r-xr-x--- 1 sdb sdba 1080789 Jun 25 2007 dbmreg

-r-xr-x--- 1 sdb sdba 6880699 Jun 25 2007 dbmshm

-r-sr-s--x 1 sdb sdba 6885612 Jun 25 2007 dbmsrv

-r-xr-x--- 1 sdb sdba 1080835 Jun 25 2007 dbmstart

-r-xr-x--- 1 sdb sdba 1080812 Jun 25 2007 dbmstop

-r-xr-x--- 1 sdb sdba 1080835 Jun 25 2007 dbmunreg

-r-sr-x--- 1 root sdba 944324 Jun 25 2007 dbmverifypw

-r-xr-x--- 1 sdb sdba 2370422 Jun 25 2007 diagnose

-r-xr-x--- 1 sdb sdba 21895451 Jun 25 2007 kernel

-r-xr-x--- 1 sdb sdba 6784840 Jun 25 2007 lserver

-r-xr-x--- 1 sdb sdba 5198689 Jun 25 2007 python

-r-xr-x--- 1 sdb sdba 1101785 Jun 25 2007 start

dr-x------ 2 sdb sdba 4096 Mar 7 16:19 starter

-r-xr-x--- 1 sdb sdba 1101627 Jun 25 2007 stop

-r-xr-x--- 1 sdb sdba 21055 Jun 25 2007 sysrc

-r-xr-x--- 1 sdb sdba 862833 Jun 25 2007 tracesort

Thanks again for your help on this.

former_member229109
Active Contributor
0 Kudos

Dear Mr. Braun,

1) As SAP customer and development partner with SAP, you should be able to create the SAP ticket < message > - the OSS message.

service.sap.com -> SAP Partner Portal < Support > -> Create SAP Customer Messages

2)

Please also post the output of the following 3 commands ::

dbmcli db_enum

/opt/maxdb/MAXDB1/pgm/dbmshm CHECK /var/opt/sdb/data MAXDB1

ps -efe | grep sdb

3)

Do you have truss or a truss-like command< strace > installed on the database server?

Could you run:

truss -f -o truss.prt /opt/maxdb/programs/bin/dbmcli -d MAXDB1 -u dbm,dbm db_state

&& post truss.prt file.

4)

->Could you please stop the x_server - 'x_server stop'.

->Check if you have any sdb processes running - 'ps -efe | grep sdb'.

< kill all left dbmsrv processes. >

Check if you have NOT sdb processes running - 'ps -efe | grep sdb'.

->Remove the shared memory used from the dbmsrv/dbmrfc procsses using the command:

/opt/maxdb/MAXDB1/pgm/dbmshm DELETE /var/opt/sdb/data MAXDB1

->Run the following commands on the database server & update with output:

ls -l /var/opt/sdb/data/wrk

/opt/maxdb/programs/bin/dbmcli -d MAXDB1 -u dbm,dbm db_state

Thank you and best regards, Natalia Khlopina

Edited by: Natalia Khlopina on Mar 11, 2008 5:18 PM

Former Member
0 Kudos

1) I am running into an authorization issue with the OSS message. Our SAP support account administrator is working on granting permissions for me to open the customer message

2)

[root@berdb0005 FirstSteps]# dbmcli inst_enum

OK

7.7.02.10 /opt/maxdb/MAXDB1

[root@berdb0005 maxdb]# /opt/maxdb/MAXDB1/pgm/dbmshm CHECK /var/opt/sdb/data MAXDB1

OK

VERSION

Required 6

Found 6

LOCKING

Normal lock UNLOCKED

Reserve lock UNLOCKED

Locking pid 0

PROCESSES

pid | status

22424 | ALIVE

LOCKCOUNTER

257906

HALFSWITCHER

overall size 102400

used size 202

offset 213

=============

LINES

=============

      • Eventing

Existing lines 0

      • Resource Locks

Existing lines 0

      • Scheduler communication

Existing lines 0

      • DBMStop

Existing lines 1

index 0

owner pid 22424

current command none

stop initiator pid -1

since 2008-03-12 10:24:44

read flag unset

ready flag unset

requested action none

      • BackgroundServer

Existing lines 0

[root@berdb0005 ~]# ps -efe | grep sdb

sdb 7026 1 99 Mar10 ? 3-23:32:13 /opt/maxdb/MAXDB1/pgm/dbmsrv -P 0000000500000008000000090000000c

sdb 12851 1 0 Mar07 ? 00:00:00 /opt/maxdb/programs/pgm/vserver start

sdb 12852 12851 0 Mar07 ? 00:00:00 xserver.prt logger

sdb 12862 1 0 Mar07 ? 00:00:00 /opt/maxdb/MAXDB1/pgm/kernel MAXDB1

sdb 12869 12862 0 Mar07 ? 00:00:08 /opt/maxdb/MAXDB1/pgm/kernel MAXDB1

sdb 12924 1 0 Mar07 ? 00:00:00 /opt/maxdb/MAXDB1/pgm/dbmsrv -sdbstarter 5115 3105 A -DBMSHM 12854 16008 MAXDB1 sdb_ibgs_InternalEventDispatcher

sdb 12963 1 99 Mar07 ? 9-07:58:35 /opt/maxdb/MAXDB1/pgm/dbmsrv -P 0000000500000008000000090000000c

root 22137 22104 0 09:38 pts/2 00:00:00 grep sdb

3) the trace is very large. Is there a way to attach a file to the post (7MB)?

strace -f /opt/maxdb/programs/bin/dbmcli -d MAXDB1 -u dbm,dbm db_state

[root@berdb0005 maxdb]# more strace.prt

22265 execve("/opt/maxdb/programs/bin/dbmcli", ["/opt/maxdb/programs/bin/dbmcli"

, "-d", "MAXDB1", "-u", "DBM,DBM", "db_state"], [/* 29 vars */]) = 0

22265 uname({sys="Linux", node="berdb0005", ...}) = 0

22265 brk(0) = 0x8689000

22265 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)

22265 open("/opt/maxdb/programs/lib/tls/i686/sse2/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 stat64("/opt/maxdb/programs/lib/tls/i686/sse2", 0xbffff0a0) = -1 ENOENT (No such file or directory)

22265 open("/opt/maxdb/programs/lib/tls/i686/libdl.so.2", O_RDONLY) = -1 ENOENT(No such file or directory)

22265 stat64("/opt/maxdb/programs/lib/tls/i686", 0xbffff0a0) = -1 ENOENT (No such file or directory)22265 open("/opt/maxdb/programs/lib/tls/sse2/libdl.so.2", O_RDONLY) = -1 ENOENT(No such file or directory)

22265 stat64("/opt/maxdb/programs/lib/tls/sse2", 0xbffff0a0) = -1 ENOENT (No such file or directory)

22265 open("/opt/maxdb/programs/lib/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 stat64("/opt/maxdb/programs/lib/tls", 0xbffff0a0) = -1 ENOENT (No such file or directory)

22265 open("/opt/maxdb/programs/lib/i686/sse2/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 stat64("/opt/maxdb/programs/lib/i686/sse2", 0xbffff0a0) = -1 ENOENT (No such file or directory)

22265 open("/opt/maxdb/programs/lib/i686/libdl.so.2", O_RDONLY) = -1 ENOENT (Nosuch file or directory)

22265 stat64("/opt/maxdb/programs/lib/i686", 0xbffff0a0) = -1 ENOENT (No such file or directory)

22265 open("/opt/maxdb/programs/lib/sse2/libdl.so.2", O_RDONLY) = -1 ENOENT (Nosuch file or directory)

22265 stat64("/opt/maxdb/programs/lib/sse2", 0xbffff0a0) = -1 ENOENT (No such file or directory)

22265 open("/opt/maxdb/programs/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No suchfile or directory)

22265 stat64("/opt/maxdb/programs/lib", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0

22265 open("tls/i686/sse2/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("tls/i686/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("tls/sse2/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("i686/sse2/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("i686/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("sse2/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("/etc/ld.so.cache", O_RDONLY) = 322265 fstat64(3, {st_mode=S_IFREG|0644, st_size=68595, ...}) = 0

22265 old_mmap(NULL, 68595, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fef00022265 close(3) = 0

22265 open("/lib/libdl.so.2", O_RDONLY) = 322265 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\333"..., 512) = 512

22265 fstat64(3, {st_mode=S_IFREG|0755, st_size=16732, ...}) = 0

22265 old_mmap(0x33d000, 12388, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,3, 0) = 0x33d000

22265 old_mmap(0x33f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x33f000

22265 close(3) = 0

22265 open("/opt/maxdb/programs/lib/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("tls/i686/sse2/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("tls/i686/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("tls/sse2/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("tls/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("i686/sse2/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("i686/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("sse2/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("/lib/libcrypt.so.1", O_RDONLY) = 3

22265 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\'Y"..., 512)= 512

22265 fstat64(3, {st_mode=S_IFREG|0755, st_size=28476, ...}) = 0

22265 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,0) = 0xb7fee000

22265 old_mmap(0x592000, 184636, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x592000

22265 old_mmap(0x597000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x597000

22265 old_mmap(0x599000, 155964, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x599000

22265 close(3) = 0

22265 open("/opt/maxdb/programs/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (Nosuch file or directory)

22265 open("tls/i686/sse2/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such fileor directory)

22265 open("tls/i686/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("tls/sse2/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("tls/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("i686/sse2/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("i686/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("sse2/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("/lib/tls/libpthread.so.0", O_RDONLY) = 3

22265 open("/lib/tls/libpthread.so.0", O_RDONLY) = 3

22265 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\330E\000"..., 512) = 512

22265 fstat64(3, {st_mode=S_IFREG|0755, st_size=107800, ...}) = 0

22265 old_mmap(0x459000, 70108, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,3, 0) = 0x459000

22265 old_mmap(0x467000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd000) = 0x467000

22265 old_mmap(0x469000, 4572, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x469000

22265 close(3) = 0

22265 open("/opt/maxdb/programs/lib/librt.so.1", O_RDONLY) = -1 ENOENT (No suchfile or directory)

22265 open("tls/i686/sse2/librt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("tls/i686/librt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("tls/sse2/librt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("tls/librt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("i686/sse2/librt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("i686/librt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("sse2/librt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("librt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("/lib/tls/librt.so.1", O_RDONLY) = 3

22265 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320PL\000"..., 512) = 512

22265 fstat64(3, {st_mode=S_IFREG|0755, st_size=50672, ...}) = 0

22265 old_mmap(0x4c3000, 81656, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,3, 0) = 0x4c3000

22265 old_mmap(0x4cb000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x4cb000

22265 old_mmap(0x4cd000, 40696, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4cd00022265 close(3) = 0

22265 open("/opt/maxdb/programs/lib/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("tls/i686/sse2/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("tls/i686/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("tls/sse2/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("tls/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("i686/sse2/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("i686/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("sse2/libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("libstdc++.so.5", O_RDONLY) = -1 ENOENT (No such file or directory)

22265 open("/usr/lib/libstdc++.so.5", O_RDONLY) = 3

22265 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\277"..., 512) = 512

22265 fstat64(3, {st_mode=S_IFREG|0755, st_size=733488, ...}) = 0

22265 old_mmap(NULL, 757012, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,0) = 0xefd000

22265 old_mmap(0xfac000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xae000) = 0xfac000

22265 old_mmap(0xfb1000, 19732, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xfb1000

22265 close(3) = 0

22265 open("/opt/maxdb/programs/lib/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

...

22267 open("/var/opt/sdb/data/wrk/.global.cfg", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)

22267 time(NULL) = 1205330255

22267 time(NULL) = 1205330255

22267 time(NULL) = 1205330255

22267 read(5, "(\0\0\0\0\1\0\0\1\0\0\0\0\0\0\0\0\0\4\0(\0\0\0", 24) = 24

22267 read(5, "dbm_version ", 16) = 16

22267 time(NULL) = 1205330255

22267 uname({sys="Linux", node="berdb0005", ...}) = 0

22267 open("/etc/opt/sdb", O_RDONLY|O_LARGEFILE) = 11

22267 read(11, "\n", 1) = 1

22267 read(11, "[", 1) = 1

22267 read(11, "G", 1) = 1

22267 read(11, "l", 1) = 1

22267 read(11, "o", 1) = 1

22267 read(11, "b", 1) = 1

22267 read(11, "a", 1) = 1

22267 read(11, "l", 1) = 1

22267 read(11, "s", 1) = 1

22267 read(11, "]", 1) = 1

22267 read(11, "\n", 1) = 1

22267 read(11, "I", 1) = 1

22267 read(11, "n", 1) = 1

22267 read(11, "d", 1) = 1

22267 read(11, "e", 1) = 1

22267 read(11, "p", 1) = 1

22267 read(11, "D", 1) = 1

22267 read(11, "a", 1) = 1

22267 read(11, "t", 1) = 1

22267 read(11, "a", 1) = 1

22267 read(11, "=", 1) = 1

22267 read(11, "/", 1) = 1

22267 read(11, "v", 1) = 1

22267 read(11, "a", 1) = 1

22267 read(11, "r", 1) = 1

22267 read(11, "/", 1) = 1

22267 read(11, "o", 1) = 1

22267 read(11, "p", 1) = 1

22267 read(11, "t", 1) = 1

22267 read(11, "/", 1) = 1

22267 read(11, "s", 1) = 1

22267 read(11, "d", 1) = 1

22267 read(11, "b", 1) = 1

22267 read(11, "/", 1) = 1

22267 read(11, "d", 1) = 1

22267 read(11, "a", 1) = 1

22267 read(11, "t", 1) = 1

22267 read(11, "a", 1) = 1

22267 read(11, "\n", 1) = 1

22267 close(11) = 0

22267 stat64("/var/opt/sdb/data/config/MAXDB1", {st_mode=S_IFREG|0660, st_size=13025, ...}) = 0

22267 open("/var/opt/sdb/data/config/MAXDB1", O_RDONLY|O_LARGEFILE) = 11

22267 read(11, "SAPDB_XPARAM_FILE_06RW\330\7\3\0\5\0\7\0\20\0"..., 8192) = 8192

22267 read(11, "\0\0\0\0\0\0\0\0\0\0MAXBACKUPDEVS\0\0\0\21\2\0\0\0\0"..., 8192) = 4833

22267 read(11, "", 8192) = 0

22267 close(11) = 0

22267 time(NULL) = 1205330255

22267 uname({sys="Linux", node="berdb0005", ...}) = 0

22267 time(NULL) = 1205330255

22267 write(8, "\23\1\0\0\1\1\0\0\377\377\377\377\377\377\377\377\0\0\4"..., 275 <unfinished ...>

22265 <... read resumed> "\23\1\0\0\1\1\0\0\377\377\377\377\377\377\377\377\0\0\4"..., 24) = 24

22267 <... write resumed> ) = 275

22265 read(7, <unfinished ...>

22267 read(5, <unfinished ...>

22265 <... read resumed> "OK\nVERSION = 7.7.02\nBUILD "..., 251) = 251

22265 getuid32() = 0

22265 open("/tmp/krb5cc_0", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)

22265 open("/tmp/krb5cc_0", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)

22265 --- SIGSEGV (Segmentation fault) @ 0 (0) ---

22271 <... poll resumed> [{fd=-1}], 1, 100) = 0

22271 poll( <unfinished ...>

22270 <... read resumed> "", 24) = 0

22267 <... read resumed> "", 24) = 0

22265 +++ killed by SIGSEGV +++

...

THIS SECTION REPEATS

[pid 22234] read(9, <unfinished ...>

[pid 22231] mmap2(NULL, 2105344, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 <unfinished ...>

[pid 22234] <... read resumed> "", 24) = 0

[pid 22231] <... mmap2 resumed> ) = 0xb6fab000

[pid 22235] <... nanosleep resumed> NULL) = 0

[pid 22234] read(9, <unfinished ...>

[pid 22231] time( <unfinished ...>

[pid 22235] nanosleep({0, 10000000}, <unfinished ...>

[pid 22234] <... read resumed> "", 24) = 0

[pid 22231] <... time resumed> NULL) = 1205330046

[pid 22234] read(9, <unfinished ...>

[pid 22231] time( <unfinished ...>

[pid 22234] <... read resumed> "", 24) = 0

[pid 22231] <... time resumed> NULL) = 1205330046

[pid 22234] read(9, <unfinished ...>

[pid 22231] munmap(0xb6fab000, 2105344 <unfinished ...>

[pid 22234] <... read resumed> "", 24) = 0

[pid 22231] <... munmap resumed> ) = 0

[pid 22234] read(9, <unfinished ...>

[pid 22231] read(5, <unfinished ...>

[pid 22234] <... read resumed> "", 24) = 0

[pid 22231] <... read resumed> "", 24) = 0

[pid 22234] read(9, <unfinished ...>

THIS SECTION REPEATS

4)

[root@berdb0005 maxdb]# x_server stop

12905 XSERVER stopped

[root@berdb0005 maxdb]# ps -efe | grep sdb

sdb 7026 1 99 Mar10 ? 4-00:44:41 /opt/maxdb/MAXDB1/pgm/dbmsrv -P 0000000500000008000000090000000c

sdb 12862 1 0 Mar07 ? 00:00:00 /opt/maxdb/MAXDB1/pgm/kernel MAXDB1

sdb 12869 12862 0 Mar07 ? 00:00:08 /opt/maxdb/MAXDB1/pgm/kernel MAXDB1

sdb 12963 1 99 Mar07 ? 9-09:10:09 /opt/maxdb/MAXDB1/pgm/dbmsrv -P 0000000500000008000000090000000c

sdb 22231 1 3 09:53 pts/2 00:00:43 /opt/maxdb/MAXDB1/pgm/dbmsrv -P 0000000500000008000000090000000c

root 22403 22104 0 10:15 pts/2 00:00:00 grep sdb

[root@berdb0005 maxdb]# kill -9 7026 12862 12869 12963 22231

[root@berdb0005 maxdb]# ps -efe | grep sdb

root 22409 22104 0 10:16 pts/2 00:00:00 grep sdb

[root@berdb0005 maxdb]# /opt/maxdb/MAXDB1/pgm/dbmshm DELETE /var/opt/sdb/data MAXDB1

[root@berdb0005 maxdb]# ls -l /var/opt/sdb/data/wrk

total 940

-rw-rw---- 1 sdb sdba 0 Mar 7 16:19 dbmsrv_berdb0005.err

-rw-rw---- 1 sdb sdba 3216 Mar 10 09:28 dbmsrv_berdb0005.prt

-rw-rw---- 1 sdb sdba 813338 Mar 7 16:22 loader.log

drwxrwx--- 4 sdb sdba 4096 Mar 7 16:22 MAXDB1

-rw-rw---- 1 sdb sdba 852 Mar 7 16:22 MAXDB1.knl

-rw-rr 1 root root 56221 Mar 7 16:23 MaxDBInstanceCreation_install-07.03.2008-16.23.log

-rw-r----- 1 sdb sdba 65536 Mar 12 10:15 xserver_berdb0005.prt

[root@berdb0005 maxdb]# /opt/maxdb/programs/bin/dbmcli -d MAXDB1 -u DBM,DBM db_state

Segmentation fault

[root@berdb0005 maxdb]# ps -efe | grep sdb

sdb 22424 1 99 10:19 pts/2 00:00:38 /opt/maxdb/MAXDB1/pgm/dbmsrv -P 0000000500000008000000090000000c