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 5403 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
( l' ?1 s% C: k, ^
* g# e- O& N# d& L- d; a3 S: JProblem:! `2 k1 N8 A* A/ C
If your Server is using Oracle 11g, the Teamcenter users may have a connection problem and
$ Q# K/ X( u# m9 ]5 I" g/ d* h8 m, @obtain the following message after 180 days.( D  r7 g  ]- f4 q7 o) H; W
Login was unsuccessful.: Problems encountered logging into TCServer:# i1 P" i  b5 j2 e6 X2 R  ?% t
... database0 b3 T; ]2 O5 x1 B2 Y* z7 W5 l
Cause: Unable to bind to server running on localhost: 1572
0 d! J2 k  S1 a6 L- ?  B
. H* j7 o2 r$ q! a7 UAnalysis:+ D- h1 u+ j$ S
This issue seems to be due to the Oracle 11g changes. All the Oracle services are started: |; Q$ U& N" ]1 V6 x
correctly. However, when you try to connect to the database using sqlplus you can obtain the8 J2 C& ~3 ^# a& s2 O
following error message:
% Z1 O- P# o- n' t1 y2 YORACLE_HOME=your_oracle_home
+ V/ d1 C8 n0 O2 `7 pORACLE_SID=your_sid' A' w! x. _& [9 }9 G* b! e: W
>%oracle_home%\bin\sqlplus /nolog
' W5 v9 y- I, e3 P% HSQL> connect5 e8 O& Y7 e$ f) i8 A' V/ _
infodba6 f3 @4 G* H( X6 {+ D( l: L; i
infodba
5 H2 n8 Z* L& u: T, V0 B# F+ ~2 QERROR:1 {& p. {4 g8 Z4 q0 x3 t3 C
ORA-28002: the password will expire within 10 days& Q' S6 ]# C! c+ Q7 Q3 o: l$ G

7 I8 v% z( W0 f) F; o2 CIn the user tcserver.syslog file we find the error message:$ D. g: M& |2 t6 l( |: T
Connect failed (-28002) for 'infodba' at ***
: d$ |- L' V6 d% s3 K, k4 XThe "infodba" Oracle user seems to be created using the default oracle profile which has an5 [- T5 K! `7 F7 J/ ]
expiration date of 180 days. When the Teamcenter user tries to connect to the Oracle database4 [! L- ?+ x3 m) R+ e6 P+ f
an error message, ORA-28002, is sent and the connection fails.
* V5 r+ e0 _$ h4 c; q% v# p- g
Solution:
8 c- l% S) F: r6 NFind the infodba profile using SQLPLUS:! M; G; }  q; d% f
SQL> select profile from dba_users where username='INFODBA';) A6 g4 M0 ^1 S% ?/ s! ?1 H7 o
List the profile caracteristics:
2 b# n3 m& Y& Y* p# \SQL> select resource_name,liMit from dba_profiles where profile='DEFAULT';
# K) r% W, O; ^: p& ECheck the PASSWORD_LIFE_TIME.0 y$ K* a* H4 S+ U. f% A3 S
Modify the profile and specify an unlimited PASSWORD_LIFE_TIME:
" ?1 }" D$ v, N" H) s) b: H. kSQL> ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;& J$ Z0 b: r, s' {, p
Change the password. It will not expire again.
; W1 Z" K1 d7 w; `" yIf you don't change the password, it will expire because it was created using a different profile at+ S8 U# }, O  p$ ]4 T0 Q# Z' u
the time.& T7 d6 _  W: Q! P4 _& N$ [
SQL> select expiry_date from dba_users where username ='INFODBA';3 S& r$ w* t1 d0 Q0 }! E$ h9 y- H
=> you obtain an expiration date/ s* u. _( E3 e' H3 m- ]
SQL>alter user infodba identified by tempo ; ( define a temporary pwd) ; ?6 P: `5 r2 h9 ]; `
SQL> alter user infodba identified by infodba ; ( specify your original infodba0 v% \! X. @: C, T$ M0 @! w9 ]
password)! n5 v9 i" u" c: @1 |) q9 r8 z5 ~
SQL> select expiry_date from dba_users where username ='INFODBA';
3 A  R  [( a7 Y$ _=> you have no expiration date.( b& g( J  O  j& f

3 ^! [+ s* V  O" A$ s" |5 o
! o8 X0 G8 p' a6 w! h. w8 ~/ fRemarks:
( y% e. N! Z7 A$ C; @% oBecause we have redefined the same original infodba password, the TC_DB_CONNECT variable
* b6 k0 l: l  V* m  H: S) ain %TC_DATA%\tc_profilevars.bat is always alive and correct.: r* k/ Z6 M. O( ]3 u# L9 f2 j
Another modification can be done on the default profile:( I8 u6 g' B: ^

; k& e' K6 `2 dALTER PROFILE DEFAULT LIMIT
/ f1 q4 S  _& q1 w7 S FAILED_LOGIN_ATTEMPTS UNLIMITED- @5 q0 Y- i6 P! z* b! N5 s
PASSWORD_LIFE_TIME UNLIMITED;
* P4 |4 r/ N! U7 i  M" A$ m
+ O2 ~9 S3 C6 V" L! F8 i6 P
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了