In exceptional circumstances one of the following error messages may be displayed:

SD-ENTER

Indicates that the shared memory segment you were using has been removed using ipcrm.

Opened File Twice

Closed Unopened File

Requested Currency for File Not in List

Error Putting Currency

Error Unblocking Record

Any of these messages indicates that the shared memory segment used by PROISAM to hold record lock data has become corrupted. Normally this can only happen as a result of one of the following conditions:

  • An attempt was made to run two different versions of PROIV at the same time (the Installation Guide documents this restriction)

  • A new version of PROIV was installed without first killing the iscollect process (the Installation Guide explains how to halt the iscollect process)

  • iscollect was not installed via the normal installation process (documented in the Installation Guide).

If any of the above conditions are true, you must perform the following:

  • Reboot the machine, or if this is not practical, use the following procedure to delete the PROIV shared memory segment and semaphores. 

    Make sure that all users log out of PROIV (and stay out of PROIV).

  • Use the following PROISAM command to display the PROIV shared memory segment and semaphore identifiers for the version/revision of PROIV in use:

    isview –v

  • If you have more than one version/revision of PROIV loaded, make sure you use the command from the appropriate directory, for example, where it was loaded.

  • Remove the PROIV shared memory segment and semaphore segment with the following command:

    ipcrm -mshmid –ssemid


    w
    here:

    shmid
    is the id of the shared memory segment
    semid
    is the id of the semaphore segment as obtained from the isview -v command

  • Correct the condition that caused the problem to occur

  • Re-enter PROIV in the normal way

PROIV creates and initializes a new shared memory segment when PROIV is next re-entered.

Example

isview -v
isview ------ PROIV (R) View Shared Memory/Semaphore.
Copyright (C) 1994, PROIV Technologies.
All rights reserved.  Unauthorized use strictly prohibited.
PROISAM Version   : 13.03.00.01.005  Date: Feb 15, 1995
Shared memory key starts with ā€˜g’[hex 0x67]
Shared Memory ID  :  402
Semaphore ID      :   23
$ ipcrm -m402 -s23

Comment on this topic

Topic ID: 720270

Table of Contents

Index

Glossary

-Search-

Back