KB Article #67976

Impossible to stop Passport PM : "Error = (316) : Message file is full"

Problem

Passport PM cannot be halted cleanly:



    $tpmadm -a stop



    Sending message is failed: Error = (316) : Message file is full


Resolution

Most probable cause is that Sentinel and/or Event Router services are not responding.
Restart them and check whether are correctly working and are accessible by Passport PM service.



However, under some circumstances, the message file from the XMS server bundled in Passport might get corrupted. To reinitialize it, follow the procedure below:



1/ Go in the directory PassPort_PM/runtime/bin directory, and launch :
    ./xmsstop.sh



2/ Make a backup copy of the PassPort_PM/runtime/xms directory,



3/ Edit the file PassPort_PM/xms/etc/install.ins, and add the following line at its beginning:
   xms_delete_message=y



4/ Go in the directory PassPort_PM/xms/bin, and launch:
   ./xmsinstall -p ../etc/install.ins



5/ Edit the file PassPort_PM/runtime/xms/etc directory, and remove the "/bin" part from the following line:
    x_home_dir="/supxfb/users/sgeusebr/ATOS_env/PassPort_V3.4.4/PassPort_PM/xms/bin"
So it becomes:
   x_home_dir="/supxfb/users/sgeusebr/ATOS_env/PassPort_V3.4.4/PassPort_PM/xms"



6/ Go in the directory PassPort_PM/runtime/bin directory, and launch :
    ./xmsstart.sh



Now use "tpmadm -a stop" to stop cleanly the TPM server.