I restarted the VM on which TC10 server is installed and I see this error on starting pool manager. Any idea what's wrong ? 2Tier RAC starts with no problems.
NOTE - 2016/4/12-10:45:29.625 UTC - NoId - SharedPreferenceList::init_and_load - Exception in initializing the shared memory : Unexpected exception.
- Teamcenter.CoreModelGeneral.tc at D:\workdir\tc101w0604_64\src\core\tc\sharedpreferencelist.cxx(235)
NOTE - 2016/4/12-10:45:29.625 UTC - NoId - Exiting - SharedPreferenceList::load Error initializing shared memory. Lock created is 1
- Teamcenter.CoreModelGeneral.tc at D:\workdir\tc101w0604_64\src\core\tc\sharedpreferencelist.cxx(140)
NOTE - 2016/4/12-10:45:29.625 UTC - NoId - Error during shared memory initialization. Falling back to use local per process implementation. - Teamcenter.CoreModelGeneral.Preferences at D:\workdir\tc101w0604_64\src\core\tc\preferences.cxx(771)
Solved! Go to Solution.
Share Memory is unstable in Tc10. Siemens PLM recommends to disable it in Tc10.
thanks for your response. Setting TC_NO_TEXTSRV_SHARED_MEMORY=TRUE will disable the shared memory, right ? If yes, it did not help. If no, could you please tell how to do that ?
I also found following message in Syslog:
NOTE - 2016/4/12-11:58:50.071 UTC - NoId - Exception caught while parsing preference data: Use askUserMessage ( ) or askSyslogMessage ( ) - Teamcenter.CoreModelGeneral.tc at D:\workdir\tc101w0604_64\src\core\tc\preferencexmlparser.cxx(183)
Set the following variables in tc_profilevars.bat to disable shared memory and pool manager started successfully.
set TC_USE_METADATA_SHARED_MEMORY=FALSE set TC_NO_TEXTSRV_SHARED_MEMORY=TRUE set TC_USE_PREFS_SHARED_MEMORY=FALSE set TC_USE_LOV_SHARED_MEMORY=FALSE
According to a SFB the only thing you need to set is TC_USE_PREFS_SHARED_MEMORY=FALSE, any other shared memory is not a problem usually.
Production: NX10.0.3, VERICUT 8.1, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX12.0 | AWC 3.4 Preparing: NX12.0
Employees of the customers, together we are strong ;)
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide
You don't want to disable all shared memory, only the preferences shared memory (see SFB-Teamcenter-8568). Occassionally, shared memory can get stale and you need to update it.
The shared memory dir, by default, is at %USERPROFILE%\Local Settings\Temp\V2007.1.8.20090825. Where V2007.1.8.20090825 is the version number of Teamcenter (yours will be different than shown). After deleting the dir, and starting up Teamcenter, the directory will be recreated. This time without the prefs.mem file since we added to not have it (step 3).
The metadata cache (step 5) is stored in a Dataset named SharedMetadataCache of type Fnd0SharedMetadataCache. When regenerating, do:
Note: All the -upg statements are shorthand for -u=infodba -p=infodba -g=dba.
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4
For now I will keep the 4 env variables (to disable shared memory) as server is running and other users are accessing the server. I will set only TC_USE_PREFS_SHARED_MEMORY=FALSE during next downtime.