I am trying to enable crypto hardware support on an IBM z/Series system 
running Linux.

webserver1:/etc/apache2 # SPident

CONCLUSION: System is NOT up-to-date!
  found    SLE-10-s390x
  expected SLE-10-s390x-SP1

webserver1:/etc/apache2 #

I run this command ..
strace  -o modutil.strace.log modutil -dbdir /etc/apache2/SampleCertDBs/ 
-add opencryptoki -libfile /usr/lib64/libopencryptoki.so -mechanisms 
RSA:RC2:RC4:RC5:DES:SHA1:MD5:MD2:SSL:TLS

WARNING: Performing this operation while the browser is running could 
cause
corruption of your security databases. If the browser is currently 
running,
you should exit browser before continuing this operation. Type
'q <enter>' to abort, or <enter> to continue:

Using database directory /etc/apache2/SampleCertDBs...
ERROR: Failed to add module "opencryptoki".
webserver1:/etc/apache2 # ipcs -l

------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 18014398509481983
max total shared memory (pages) = 1152921504606846720
min seg size (bytes) = 1

------ Semaphore Limits --------
max number of arrays = 1024
max semaphores per array = 250
max semaphores system wide = 256000
max ops per semop call = 32
semaphore max value = 32767

------ Messages: Limits --------
max queues system wide = 16
max size of message (bytes) = 65536
default max size of queue (bytes) = 65536

webserver1:/etc/apache2 # ipcs -m

------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status

webserver1:/etc/apache2 #

the strace file had these failures ..

open("/etc/apache2/SampleCertDBs/libnssckbi.so", O_RDONLY) = -1 ENOENT (No 
such file or directory)
open("/usr/lib64/libopencryptoki.so", O_RDONLY) = 5
:
:
send(6, "\0\0\0\2\0\0\0\v\0\0\0\7passwd\0\0", 20, MSG_NOSIGNAL) = 20
poll([{fd=6, events=POLLIN|POLLERR|POLLHUP, 
revents=POLLIN|POLLERR|POLLHUP}], 1, 5000) = 1
recvmsg(6, {msg_name(0)=NULL, msg_iov(1)=[{"passwd\0", 7}], 
msg_controllen=24, {cmsg_len=20, cmsg_level=SOL_SOCKET, 
cmsg_type=SCM_RIGHTS, {7}}, msg_flags=0}, 0) = 7
fstat(7, {st_mode=S_IFREG|0600, st_size=217016, ...}) = 0
pread(7, "\0\0\0\1\0\0\0h\0\0\2\260\0\0\0\1\0\0\0\0H}\377\263\0\0"..., 
104, 0) = 104
mmap(NULL, 217016, PROT_READ, MAP_SHARED, 7, 0) = 0x200003fd000
close(7)                                = 0
close(6)                                = 0
geteuid()                               = 0
stat("/usr/sbin/pkcsslotd", {st_mode=S_IFREG|0755, st_size=84044, ...}) = 
0
shmget(1644265837, 557664, 0660)        = -1 ENOENT (No such file or 
directory)
gettimeofday({1216687956, 512799}, NULL) = 0
open("/etc/localtime", O_RDONLY)        = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
fstat(6, {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2000019d000
read(6, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0"..., 4096) 
= 1267
close(6)                                = 0
munmap(0x2000019d000, 4096)             = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
send(5, "<27>Jul 21 20:52:36 openCryptoki"..., 98, MSG_NOSIGNAL) = 98
stat("/usr/sbin/pkcsslotd", {st_mode=S_IFREG|0755, st_size=84044, ...}) = 
0
getuid()                                = 0
geteuid()                               = 0
stat("/usr/sbin/pkcsslotd", {st_mode=S_IFREG|0755, st_size=84044, ...}) = 
0
shmget(1644265837, 557664, 0660)        = -1 ENOENT (No such file or 
directory)
gettimeofday({1216687956, 513668}, NULL) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
send(5, "<27>Jul 21 20:52:36 openCryptoki"..., 98, MSG_NOSIGNAL) = 98
munmap(0x2000018d000, 65208)            = 0
write(2, "ERROR: Failed to add module \"ope"..., 44) = 44
lseek(3, 0, SEEK_SET)                   = 0
write(3, "[EMAIL PROTECTED]"..., 
260) = 260
close(3)                                = 0


_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to