TimesTen Installation
57
• Not enough core (
ENOMEM, errno=12
) indicates a problem
allocating the requested amount of shared memory. Can you attach
with small
PermSize
and
TempSize
attributes?
• Shared memory can be fragmented. Sometimes, you can attach with
increasingly larger segments until you allocate what you want. Are
you attempting to allocate more than 1GB within your window (2GB
if using
SHMEM_MAGIC
)?
• Permission Denied (
EACCES, errno=13
) indicates that you are
attempting to attach to the wrong instance or are pointing to the
wrong memory window. Which
-i
argument is passed to
setmemwindow(1M)
?
• Invalid Argument (
EINVAL, errno=22
) indicates that the shared
segment may have been allocated in another quadrant. Did you mark
the TimesTen programs
SHMEM_MAGIC
? Did you also mark your
application
SHMEM_MAGIC
?
• No space left on device (
ENOSPC, errno=28
) may indicate that the
system is not configured for enough shared memory segments or
identifiers or that the system may have insufficient swap space to
allocate the shared segment. Check the values of
shmseg
,
shmmni
,
maxswapchunks
and run the
swapinfo(1M)
command.
Installing TimesTen on AIX systems
This section discusses installation and some related topics for
AIX systems.
Installing TimesTen
Before you can install the TimesTen software, you have to add and
mount the CD-ROM file system. To add the CD-ROM setup and install
TimesTen:
1.
Log in as the
TimesTen instance administrator
if installing as non-root,
or log in as user root.
2.
Insert the CD-ROM into the CD-ROM drive.
3.
Enter:
# crfs -v cdrfs -p ro -d cd0 -m /usr/cdrom/
TimesTen
7.0
This creates the directory into which you will mount the
CD-ROM.
4.
To mount the CD-ROM, enter: