PLM之家精品课程培训,联系电话:18301858168 QQ: 939801026

  • NX二次开培训

    NX二次开培训

    适合初级入门或想深入了解二次开发的工程师,本培训结合ufun,NXOpen C++,大量的实例及官方内部的开发技术对于老鸟也值得借鉴!.

    NX CAM二次开发培训报名 NX二次开发基础培训报名
  • PLM之家Catia CAA二次开发培训

    Catia二次开发培训

    Catia二次开发的市场大,这方面开发人才少,难度大。所以只要你掌握了开发,那么潜力巨大,随着时间的积累,你必将有所用武之地!

  • PLM之Teamcenter最佳学习方案

    Teamcenter培训

    用户应用基础培训,管理员基础培训,管理员高级培训,二次开发培训应有尽有,只要你感兴趣肯学习,专业多年经验大师级打造!

  • PLM之Tecnomatix制造领域培训

    Tecnomatix培训

    想了解制造领域数字化吗?想了解工厂,生产线设计吗?数字化双胞胎,工业4.0吗?我们的课程虚位以待!

PLM之家PLMHome-国产软件践行者

[TC问题解决方案] 88.Teamcenter 的账号infodba数据库oracle过期的处理

[复制链接]

2015-9-10 17:08:35 5385 0

admin 发表于 2015-9-10 17:08:35 |阅读模式

admin 楼主

2015-9-10 17:08:35

请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!

您需要 登录 才可以下载或查看,没有账号?注册

x
Teamcenter - Oracle 11g and the expiration date for "infodba" Oracle user
8 W5 C0 ]/ M7 W
; ]; c% J" y, F. x, C* pProblem:* x/ Y) }' f; p$ }" z# H
If your Server is using Oracle 11g, the Teamcenter users may have a connection problem and
: t! z7 o5 |1 u6 ^7 w/ R% q8 Cobtain the following message after 180 days.
- `3 g+ `! n' I3 B1 C, x- cLogin was unsuccessful.: Problems encountered logging into TCServer:
% ~$ K* c* A5 ?" X* z3 i ... database
- L$ ^  r# r' `! r; xCause: Unable to bind to server running on localhost: 1572
% Y5 E6 S5 K0 U" g
- p4 G# x: z5 f# R5 u" M0 ]Analysis:9 _* P1 o9 H2 d( a6 ^( u; O, P
This issue seems to be due to the Oracle 11g changes. All the Oracle services are started
  T) q8 Z- o8 Y" E( a" B: kcorrectly. However, when you try to connect to the database using sqlplus you can obtain the3 H  k( s  O" o$ V$ J
following error message:
5 y5 z  W; l# M* F2 DORACLE_HOME=your_oracle_home
9 }, x( C3 G. N$ |) yORACLE_SID=your_sid
0 |+ Z6 T& S+ y$ u, I8 Z4 V>%oracle_home%\bin\sqlplus /nolog. b$ `( c1 v. L$ Z
SQL> connect
+ M: N0 |( L+ l" A7 ginfodba4 t) p/ o* t' A$ ^- W0 V
infodba
. _, H" z2 Y* M( [6 b2 @ERROR:8 Z' _( w# d8 V
ORA-28002: the password will expire within 10 days: U+ p  u( X: W8 f0 o( i
( d$ b) I4 |1 [9 `* C, D$ g& Z# P
In the user tcserver.syslog file we find the error message:
8 a. C: v* c! h( T7 ]Connect failed (-28002) for 'infodba' at ***5 U# y( o% G% `+ }7 G: Q% G
The "infodba" Oracle user seems to be created using the default oracle profile which has an
9 f: f! f( r3 c# mexpiration date of 180 days. When the Teamcenter user tries to connect to the Oracle database
3 u2 k7 R$ S5 m: f1 Z- Aan error message, ORA-28002, is sent and the connection fails.4 z! ~2 v8 y$ W% O. T4 a% b0 v" B" j8 Y
! P$ y7 _' N! \6 V4 n0 h
Solution:1 s/ m* M2 ~/ y) Y# l
Find the infodba profile using SQLPLUS:$ G6 f( V/ K# m4 N# \. x
SQL> select profile from dba_users where username='INFODBA';+ I  D- q* {2 T/ ~3 X
List the profile caracteristics:5 B) p  l: ^  y$ F! _# w
SQL> select resource_name,liMit from dba_profiles where profile='DEFAULT';# c1 Y9 S! B& m+ T0 m
Check the PASSWORD_LIFE_TIME.
8 t' ~5 a8 v) U6 Q5 {% SModify the profile and specify an unlimited PASSWORD_LIFE_TIME:
0 a5 e  {0 e  h# o! TSQL> ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
& J/ T; b' d; ^" s+ {6 C' @2 PChange the password. It will not expire again.$ f4 `: R, I( ?, u! J, L
If you don't change the password, it will expire because it was created using a different profile at
* t( e8 A6 C+ P6 ?the time.0 \/ z0 |8 L% O) p" E& p
SQL> select expiry_date from dba_users where username ='INFODBA';
4 Y7 X2 o$ q8 f; P+ F+ k=> you obtain an expiration date7 H$ @5 t8 Q5 K) x5 Q9 E0 w
SQL>alter user infodba identified by tempo ; ( define a temporary pwd)
$ y- N3 u# @' D5 }$ Z& c& |SQL> alter user infodba identified by infodba ; ( specify your original infodba( Q6 \% Y, ?) \, t) h4 P) Q/ J% T
password)
; Y( s+ ]  G$ |+ _6 aSQL> select expiry_date from dba_users where username ='INFODBA';* s+ Z6 }% N4 R" M( v
=> you have no expiration date.
9 O0 ?: U; Q  e7 n$ U9 j/ p7 z$ B3 M. I) @" v* b7 `
1 p2 B3 w- B1 T! \1 \. b: P& k
Remarks:4 r' l/ @6 R3 h! w5 y. J8 V
Because we have redefined the same original infodba password, the TC_DB_CONNECT variable8 C& C( [: L- N  A; l
in %TC_DATA%\tc_profilevars.bat is always alive and correct.
# a; j& l9 e5 b" n  k% \  PAnother modification can be done on the default profile:
2 p( V: g, K: M: \2 \, C  x; K
8 @) j. r- F# G( Y3 B; X1 ^ALTER PROFILE DEFAULT LIMIT. [! @  ]7 o& P$ j% c% ]3 Z
FAILED_LOGIN_ATTEMPTS UNLIMITED5 s1 R) P1 ?, {2 T3 G
PASSWORD_LIFE_TIME UNLIMITED;- s: a2 m0 P6 O8 P  R

1 x8 e9 N( |; _( n+ s  R+ S3 q+ [
上海点团信息科技有限公司,承接UG NX,CATIA,CREO,Solidworks 等CAx软件,Teamcenter,3D Experience等PLM软件,工业4.0数字化软件的实施\二次开发\培训相关业务,详情QQ 939801026 Tel 18301858168 网址 www.diantuankj.com/ doTeam.tech
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 注册

返回列表 本版积分规则

  • 发布新帖

  • 在线客服

  • 微信

  • 客户端

  • 返回顶部

  • x
    温馨提示

    本网站(plmhome.com)为PLM之家工业软件学习官网站

    展示的视频材料全部免费,需要高清和特殊技术支持请联系 QQ: 939801026

    PLM之家NX CAM二次开发专题模块培训报名开始啦

    我知道了