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 5402 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, y/ Y, @( V6 x. c! n. B

$ v, r6 @2 h- b; b+ k& \Problem:
0 F6 C( R. ?1 o: D" LIf your Server is using Oracle 11g, the Teamcenter users may have a connection problem and8 B9 P7 d- m) R" t
obtain the following message after 180 days.
0 Z- k8 N* ?- H2 R+ I+ j0 RLogin was unsuccessful.: Problems encountered logging into TCServer:$ c; @: r. F  F0 y8 i# E% r! P
... database* J# L% d& u% O4 ]' v
Cause: Unable to bind to server running on localhost: 1572
( n2 C+ m# V7 s8 ^- i6 t2 ?- M" G
3 M: V6 X( h! K! u$ i7 TAnalysis:
* i' G$ |; @2 T# K* xThis issue seems to be due to the Oracle 11g changes. All the Oracle services are started* q, n0 e8 G& V6 x" B. b
correctly. However, when you try to connect to the database using sqlplus you can obtain the
8 i9 `0 j  x, l$ ?& z* Mfollowing error message:3 ?" B3 ?# V: Q+ H% t0 f
ORACLE_HOME=your_oracle_home
. L" X" R& u8 ]8 P( w( o  TORACLE_SID=your_sid
" n7 ~; {) ^; F, J1 A! A" A) k>%oracle_home%\bin\sqlplus /nolog; Z2 E! |0 Z/ _# d5 z# `' n; A
SQL> connect
, W5 K, L. A6 T* }  [infodba
1 a+ F- e0 H5 H; O, [6 ?/ Winfodba
3 Y  V; f9 j* G+ HERROR:
5 X. H8 q7 e' @% w/ n$ P/ HORA-28002: the password will expire within 10 days5 S8 v( Q% s, L) P# j1 r" p

" l* L$ k  d3 xIn the user tcserver.syslog file we find the error message:
: R0 n! _- z* {) j  }5 DConnect failed (-28002) for 'infodba' at ***! Y! i" j2 X$ ^0 v
The "infodba" Oracle user seems to be created using the default oracle profile which has an
  Y" u, j  D+ P- i7 Jexpiration date of 180 days. When the Teamcenter user tries to connect to the Oracle database4 r: ^1 V  D) n- ]2 N7 F3 G
an error message, ORA-28002, is sent and the connection fails.& _) k% ]5 n( c; t$ l. s' a
- ], J& E+ R! x9 k
Solution:
' j1 j4 ?, E6 z: QFind the infodba profile using SQLPLUS:) B6 P7 Z- Z' R, X) b
SQL> select profile from dba_users where username='INFODBA';+ P% H4 X6 I3 m2 K6 L
List the profile caracteristics:/ T& U) q# q4 p' `7 {) E2 _7 C7 j! e
SQL> select resource_name,liMit from dba_profiles where profile='DEFAULT';/ y1 P6 V. j/ O; s$ z$ A5 ?
Check the PASSWORD_LIFE_TIME.% E/ x- M$ s* ^0 u5 I/ B
Modify the profile and specify an unlimited PASSWORD_LIFE_TIME:
! L& ^# e2 X7 F- D% B3 F. t; jSQL> ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
; b0 e8 T. q9 ]% s: O, UChange the password. It will not expire again.
; v! C# k% l5 j0 ~0 W$ f6 bIf you don't change the password, it will expire because it was created using a different profile at
/ i0 \, W: h( H# [the time.3 j4 Q! Y: L. p) q9 X% R
SQL> select expiry_date from dba_users where username ='INFODBA';0 D( ^4 t) M' X: m0 E
=> you obtain an expiration date
! E3 i4 ]" c  F8 H, ]1 H7 B- YSQL>alter user infodba identified by tempo ; ( define a temporary pwd) 4 `/ P, q; H. [3 O8 O% K8 i+ _1 ^
SQL> alter user infodba identified by infodba ; ( specify your original infodba
1 K+ o1 B  C4 v: ~; Hpassword)
4 Q; j" d6 B9 t7 W6 S. }( ~( PSQL> select expiry_date from dba_users where username ='INFODBA';& a5 g9 A) L* Q( o
=> you have no expiration date.
; x: i  s. h; C% z* k2 v
6 h" d( y. w) \( V- O8 {
, a7 ?1 q. N4 yRemarks:
8 }5 Z; T$ P, `. gBecause we have redefined the same original infodba password, the TC_DB_CONNECT variable
- h3 R+ A$ a- jin %TC_DATA%\tc_profilevars.bat is always alive and correct.
& P9 D3 K7 @. r" _7 g1 {: xAnother modification can be done on the default profile:1 ^8 G& N, d; q: p; O( \' w

/ X# V. Y: D. B" P' v8 ]6 A/ xALTER PROFILE DEFAULT LIMIT
1 l# Y( g$ H2 n6 J* k- N2 `9 _) [ FAILED_LOGIN_ATTEMPTS UNLIMITED3 a# K, c8 n( o, I5 Z5 w/ S+ i$ W4 n
PASSWORD_LIFE_TIME UNLIMITED;0 z" `- K# n  O6 w. w; k1 [4 }0 ?

+ ~& ]& y' P0 H. u) G7 t  D
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了