cancel
Showing results for 
Search instead for 
Did you mean: 

Could not start FSC after restore TC-BIN

Builder
Builder

Hello,

 

I have a problem starting Teamcenter 10.1.2 FSC-Service, since restoring Teamcenter Root Directory.

 

First I have try to install Update from TC 10.1.2 to 10.1.6 and getting this error:

Error Update TC10.1.6.jpg

(Sorry, it´s german, but error-code in english)

 

After this I will restore the Backup of TC_ROOT. Deleting TC_ROOT and play back the backup. But now I can´t start FSC. FMS_HOME is set correctly. I can reach DB and I have cleaned Caches.

I look into "FSC_F6_infodbastderr.log" and found this:

 

java.lang.NoClassDefFoundError: org/mortbay/http/HttpHandler
Caused by: java.lang.ClassNotFoundException: org.mortbay.http.HttpHandler
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)

 

Is my JAVA corrupted after the brocken installtion=?

 

Michael

 

 

Michael Eichelberg, CAD-Consultant, Dr. Wallner Engineering Nord GmbH
Production: NX10.0.3 MP16, NX11.0.1 MP4
Development: Batch and VB Testing: NX12
25 REPLIES

Re: Could not start FSC after restore TC-BIN

Siemens Phenom Siemens Phenom
Siemens Phenom

Hallo Michael,

The error message indicates that it is a problem with running fsc as a service. Please try to start fsc from the command line. Open a Teamcenter shell, go to fsc directory and enter:

 

startfsc -Dfsc.config=%FSC_ID_HERE%.xml -Dfms.config=fmsmaster_%FSC_ID_HERE%.xml

%FSC_ID_HERE% must be replaced manually with your ID 

 

Gruß,

xtof

 

Re: Could not start FSC after restore TC-BIN

Builder
Builder

Hi xtof,

 

I have done it, but the FSC is still not started.

I start a TC-Commandshell, goes to %TC_ROOT%\fsc and start your command.

 

I get this:

****************************

D:\ugs\Teamcenter10\fsc>startfsc -Dfsc.config=FSC_F6_infodba.xml -Dfms.config=fm
smaster_FSC_F6_infodba.xml
Setting the classpath...
Starting the FSC...
2016/10/13-09:21:12,785 UTC MLD Log init: com.teamcenter.mld version V9000.1.0.2
0_20120806.00 (20121015)
log.properties found at D:\ugs\Teamcenter10\fsc\log.properties
OS name is Windows Server 2008 R2
JVM vendor is Oracle Corporation
Data model is 64
INFO  - 2016/10/13-09:21:16,226 UTC - F6 - FMSServerCache starting...
INFO  - 2016/10/13-09:21:16,243 UTC - F6 - FMSServerCache version: 10.1, build date: 20140515
INFO  - 2016/10/13-09:21:16,244 UTC - F6 - FMSUtil version: 10.1, build date: 20140515
INFO  - 2016/10/13-09:21:16,246 UTC - F6 - FSCJavaClientProxy version: 10.1, build date: 20140515
INFO  - 2016/10/13-09:21:16,247 UTC - F6 - java.vm.version: 24.45-b08
INFO  - 2016/10/13-09:21:16,247 UTC - F6 - java.vm.vendor: Oracle Corporation
INFO  - 2016/10/13-09:21:16,247 UTC - F6 - java.vm.info: mixed mode
INFO  - 2016/10/13-09:21:16,248 UTC - F6 - java.io.tmpdir: C:\Temp\
INFO  - 2016/10/13-09:21:16,248 UTC - F6 - java.library.path: D:\ugs\Teamcenter10\fsc/lib
INFO  - 2016/10/13-09:21:16,248 UTC - F6 - file.encoding: Cp1252
INFO  - 2016/10/13-09:21:16,722 UTC - F6 - line.separator: CRLF
INFO  - 2016/10/13-09:21:16,723 UTC - F6 - user.name: infodba
INFO  - 2016/10/13-09:21:16,723 UTC - F6 - user.home: C:\Users\infodba
INFO  - 2016/10/13-09:21:16,723 UTC - F6 - user.dir: D:\ugs\Teamcenter10\fsc
INFO  - 2016/10/13-09:21:17,897 UTC - F6 - ********************************************************************
INFO  - 2016/10/13-09:21:17,898 UTC - F6 - Master FSC Path = fmsmaster_FSC_F6_infodba.xml
INFO  - 2016/10/13-09:21:17,898 UTC - F6 - Local FSCId = FSC_F6_infodba
INFO  - 2016/10/13-09:21:17,898 UTC - F6 - Local enterpriseId = -2121577766
INFO  - 2016/10/13-09:21:17,899 UTC - F6 - ********************************************************************
INFO  - 2016/10/13-09:21:17,908 UTC - F6 - FSC Configuration master path: fmsmaster_FSC_F6_infodba.xml
INFO  - 2016/10/13-09:21:17,908 UTC - F6 - FSC Configuration local path: FSC_F6_infodba.xml
INFO  - 2016/10/13-09:21:17,909 UTC - F6 - FSC configuration is complete using a locally served FMS master configuration file.
INFO  - 2016/10/13-09:21:17,929 UTC - F6 - Configuration backup file already exists: D:\ugs\Teamcenter10\fsc/confighistory/-2121577766-e1ae2981d49aa547d900293e6724207-fmsmaster_FSC_F6_infodba.xml
INFO  - 2016/10/13-09:21:17,929 UTC - F6 - Located configuration for FSC: 'FSC_F6_infodba'
INFO  - 2016/10/13-09:21:17,950 UTC - F6 - volume 55310000408c818b4ada(D:\PLM\tcvolumes\volume2) write/read/content verified.
INFO  - 2016/10/13-09:21:17,985 UTC - F6 - volume 057600006f58818b4ada(D:\PLM\tcvolumes\volume3) write/read/content verified.
INFO  - 2016/10/13-09:21:18,001 UTC - F6 - volume 00f30000000c818b4ada(D:\PLM\tcvolumes\volume1) write/read/content verified.
INFO  - 2016/10/13-09:21:18,002 UTC - F6 - transientvolume 9935cbf05bcfd866e07e73f2220dd670(D:\ugstemp\transientVolume_infodba) write/read/content verified.
ERROR - 2016/10/13-09:21:18,149 UTC - F6 - The configured v100 encryption key is the default key:com.teamcenter.fms.servercache.FMSServerCache.initTicketingAndEncryption(FMSServerCache.java:417) com.teamcenter.fms.servercache.FMSServerCache

ERROR - 2016/10/13-09:21:18,219 UTC - F6 - The configured F100 encryption key is the default key:com.teamcenter.fms.servercache.FMSServerCache.initTicketingAndEncryption(FMSServerCache.java:424) com.teamcenter.fms.servercache.FMSServerCache

ERROR - 2016/10/13-09:21:18,221 UTC - F6 - The configured M050 encryption key is the default key:com.teamcenter.fms.servercache.FMSServerCache.initTicketingAndEncryption(FMSServerCache.java:431) com.teamcenter.fms.servercache.FMSServerCache

WARN  - 2016/10/13-09:21:18,223 UTC - F6 - The fscadmin command 'filestoredetail' can be run from any fscadmin client. 'fscadminpolicies' in the fmsmaster configuration can be used to prevent this.
WARN  - 2016/10/13-09:21:18,225 UTC - F6 - The fscadmin command 'cachedetail' can be run from any fscadmin client. 'fscadminpolicies' in the fmsmaster configuration can be used to prevent this.
WARNING: The FMS segment cache at D:\ugscache\FSCCache\infodba\FSC_F6_infodba\read
  was found in the OPEN state.  The cache will be thoroughly checked for
  internal consistency.  If any inconsistencies are found, the cache will
  not be re-used.  However, a successful consistency check does not preclude
  the possibility of data corruption.  If the process previously using this
  cache terminated normally, there is probably no issue.
However, if the process terminated abnormally, or corruption is otherwise
  suspected, shut down this FMS module and delete the fms.mf, fms.hsh, fms.seg,
  and fms.ext* files before proceeding.
INFO  - 2016/10/13-09:21:20,242 UTC - F6 - Read Fast Cache initialized at: D:/ugscache/FSCCache/infodba/FSC_F6_infodba/read
INFO  - 2016/10/13-09:21:20,244 UTC - F6 - Read Fast Cache parameter values: mfp=8192,ms=2040,hp=256,me=2,memb=32
WARNING: The FMS segment cache at D:\ugscache\FSCCache\infodba\FSC_F6_infodba\write
  was found in the OPEN state.  The cache will be thoroughly checked for
  internal consistency.  If any inconsistencies are found, the cache will
  not be re-used.  However, a successful consistency check does not preclude
  the possibility of data corruption.  If the process previously using this
  cache terminated normally, there is probably no issue.
However, if the process terminated abnormally, or corruption is otherwise
  suspected, shut down this FMS module and delete the fms.mf, fms.hsh, fms.seg,
  and fms.ext* files before proceeding.
INFO  - 2016/10/13-09:21:21,828 UTC - F6 - Write Fast Cache initialized at: D:/ugscache/FSCCache/infodba/FSC_F6_infodba/write
INFO  - 2016/10/13-09:21:21,840 UTC - F6 - Write Fast Cache parameter values: mfp=8192,ms=2040,hp=256,me=2,memb=32
INFO  - 2016/10/13-09:21:21,849 UTC - F6 - Whole File Cache disabled at: D:/ugscache/FSCCache
INFO  - 2016/10/13-09:21:21,850 UTC - F6 - Whole File Cache parameter values: filespersubdir=0,maxfileage=(3650/30),percentfree=30,purgewait=(0/30),purgecycle=(240/30),partitions=(1/0)
validateTickets=true
INFO  - 2016/10/13-09:21:22,468 UTC - F6 - LogLevel set to WARN
11:21:23.083 EVENT  Starting Jetty/4.2.x
11:21:23.101 EVENT  Started HttpContext[/]
11:21:23.205 EVENT  Started SocketListener on 0.0.0.0:4544
11:21:23.207 EVENT  Started org.mortbay.http.HttpServer@770d8fe9
INFO  - 2016/10/13-09:21:23,210 UTC - F6 - Server Initialization successful, server is started.

 

*******

At this point, nothing happens anymore in the DOS-Shell! No Path at the beginning of a line (D:\ugs\Teamcenter10\fsc>). I have to close the windows.

 

Any other idea? Do you need more information (Log-files etc)?

 

Michael

Michael Eichelberg, CAD-Consultant, Dr. Wallner Engineering Nord GmbH
Production: NX10.0.3 MP16, NX11.0.1 MP4
Development: Batch and VB Testing: NX12

Re: Could not start FSC after restore TC-BIN

Siemens Phenom Siemens Phenom
Siemens Phenom

did you try to start fsc with another jre? 

Re: Could not start FSC after restore TC-BIN

Builder
Builder

No, not yet. Should I do?

We have JRE 7u67 32Bit and 64Bit installed. Also JDK 7u45 64Bit and JDK 7u75 32Bit

 

Is it possible to deinstall FSC without any others and to reinstall it?

 

Michael

Michael Eichelberg, CAD-Consultant, Dr. Wallner Engineering Nord GmbH
Production: NX10.0.3 MP16, NX11.0.1 MP4
Development: Batch and VB Testing: NX12

Re: Could not start FSC after restore TC-BIN

Siemens Phenom Siemens Phenom
Siemens Phenom
At least I would give it a try. Just try to start fsc from cmd with another jre.
Before reinstall everything make sure that the service does not run anymore. Run the uninstall in fsc dir to make sure that the service is removed.

Re: Could not start FSC after restore TC-BIN

Builder
Builder

How can I start FSC with another JRE from Command?

If I deinstall it, how will it be reinstalled - by TEM? Do I have to stop any TC-Services befor uninstall FSC?

 

Michael

Michael Eichelberg, CAD-Consultant, Dr. Wallner Engineering Nord GmbH
Production: NX10.0.3 MP16, NX11.0.1 MP4
Development: Batch and VB Testing: NX12

Re: Could not start FSC after restore TC-BIN

Siemens Phenom Siemens Phenom
Siemens Phenom
if you try to start fsc from command line you run the following command:
startfsc -Dfsc.config=%FSC_ID_HERE%.xml -Dfms.config=fmsmaster_%FSC_ID_HERE%.xml
This starts the startfsc.bat file in which a Java command is defined. For testing just replace %JAVA_HOME% with the path to another jre
set fsc_cmd="%JAVA_HOME%\bin\java" -> set fsc_cmd="c:\program files\java\jre8xxx\bin\java"

Re: Could not start FSC after restore TC-BIN

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

I think you had it when it started manually? The startup showed that the read and write caches were possibly corrupt but then went on to report success.

WARNING: The FMS segment cache at D:\ugscache\FSCCache\infodba\FSC_F6_infodba\read
  was found in the OPEN state.  The cache will be thoroughly checked for
  internal consistency.  If any inconsistencies are found, the cache will
  not be re-used.  However, a successful consistency check does not preclude
  the possibility of data corruption.  If the process previously using this
  cache terminated normally, there is probably no issue.
However, if the process terminated abnormally, or corruption is otherwise
  suspected, shut down this FMS module and delete the fms.mf, fms.hsh, fms.seg,
  and fms.ext* files before proceeding.

WARNING: The FMS segment cache at D:\ugscache\FSCCache\infodba\FSC_F6_infodba\write
  was found in the OPEN state.  The cache will be thoroughly checked for
  internal consistency.  If any inconsistencies are found, the cache will
  not be re-used.  However, a successful consistency check does not preclude
  the possibility of data corruption.  If the process previously using this
  cache terminated normally, there is probably no issue.
However, if the process terminated abnormally, or corruption is otherwise
  suspected, shut down this FMS module and delete the fms.mf, fms.hsh, fms.seg,
  and fms.ext* files before proceeding.

It was able to resolve it and reported initialization success.

 

INFO  - 2016/10/13-09:21:23,210 UTC - F6 - Server Initialization successful, server is started.

The command will continue to run until you close (CTRL-C) the command window and it will not return to the prompt. You should try starting it again. If you see "server initialization successful, server is started" then you're golden.

 


Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11.0.1.mp01 | SW 2016 | TcUA 11.2.3
Evaluating:AW 3.2

Re: Could not start FSC after restore TC-BIN

Builder
Builder

I have try it (with JRE8u45), but it doesn´t work. So I will reinstall it tomorrow.

 

Michael

Michael Eichelberg, CAD-Consultant, Dr. Wallner Engineering Nord GmbH
Production: NX10.0.3 MP16, NX11.0.1 MP4
Development: Batch and VB Testing: NX12