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 5334 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+ ]0 k: x' Y/ c0 }
$ s1 ^) h9 D% Y) X  i6 i
Problem:
. X6 P  }' I/ ]* q8 jIf your Server is using Oracle 11g, the Teamcenter users may have a connection problem and
- _" z8 v5 M' {0 @obtain the following message after 180 days.
+ ]) x/ b/ _- `, n8 z2 d- s$ ULogin was unsuccessful.: Problems encountered logging into TCServer:$ Z, v% r$ B6 v5 i3 E: Z9 L* m
... database
0 x$ H7 v3 R" o2 G3 sCause: Unable to bind to server running on localhost: 15725 _: i- R( j8 [/ ~% f
2 x" d3 e* m5 F% d" I% ~: a
Analysis:
" S. ]. M: @; RThis issue seems to be due to the Oracle 11g changes. All the Oracle services are started; [: }5 t3 |6 V9 `: G, x+ M6 \
correctly. However, when you try to connect to the database using sqlplus you can obtain the' t; h3 F" J6 g1 S6 A
following error message:
6 n2 R4 O) X' xORACLE_HOME=your_oracle_home
1 {$ E# R: l. J" xORACLE_SID=your_sid
( }3 j0 S5 J$ p' c7 ^>%oracle_home%\bin\sqlplus /nolog6 o8 s: T0 E- H, s% @( j: s" x
SQL> connect* D' ~: {4 K. W: r0 c6 c- S3 X
infodba
6 T# P  [& M+ I0 Y* Ginfodba
  N* }0 C0 U9 ~7 g% s8 H  S, U) Z( ~ERROR:
( v- E, [5 [* H0 O. \ORA-28002: the password will expire within 10 days1 H; D8 k7 R. o! [/ @  \% M
' c' o$ K  G% a6 I6 E0 ~
In the user tcserver.syslog file we find the error message:. z7 _0 ]- s4 j9 F3 U
Connect failed (-28002) for 'infodba' at ***7 U) p( `  o7 v2 ^7 ~2 E
The "infodba" Oracle user seems to be created using the default oracle profile which has an1 m3 n0 ~9 w- M# [+ Y
expiration date of 180 days. When the Teamcenter user tries to connect to the Oracle database4 V9 m- j4 |! F2 c
an error message, ORA-28002, is sent and the connection fails., a3 }( `9 W. u4 F' p

* ?3 [- j* \# Q) z7 X/ MSolution:* c) e+ |! m" Q- M
Find the infodba profile using SQLPLUS:
5 U  X1 R. c9 L, f8 i; F, n" K8 |SQL> select profile from dba_users where username='INFODBA';& L, q8 ^" g- Y2 u$ o
List the profile caracteristics:1 n4 ?1 q* e  ?2 \
SQL> select resource_name,liMit from dba_profiles where profile='DEFAULT';9 ^; p& ?' ^# L
Check the PASSWORD_LIFE_TIME.
1 T4 s6 {+ W6 H8 f$ \* F" X; p; IModify the profile and specify an unlimited PASSWORD_LIFE_TIME:( O( }" m/ q! l
SQL> ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
4 y: c/ ~& Z2 M6 G  MChange the password. It will not expire again.7 U+ E* O5 P( s: j0 I
If you don't change the password, it will expire because it was created using a different profile at: V7 q. h- a5 L1 S
the time.
1 U2 i5 i2 D) l2 q; e. OSQL> select expiry_date from dba_users where username ='INFODBA';
  K; K$ {& g5 }* f& a4 P=> you obtain an expiration date" B, u% ^- w: K8 ?7 |# K+ j6 |  a
SQL>alter user infodba identified by tempo ; ( define a temporary pwd) / H6 |9 Q/ C" B
SQL> alter user infodba identified by infodba ; ( specify your original infodba
- x" _; ^8 ~9 G! M5 ?3 Spassword)
! h4 X# T4 L& L$ KSQL> select expiry_date from dba_users where username ='INFODBA';& w4 `  e2 [$ q4 U
=> you have no expiration date.% w2 `0 l. D, G

% z! V- r, y% ?% d# L) R( t! Q. G8 q. F4 _# Q
Remarks:
& N5 o8 N/ T7 q/ yBecause we have redefined the same original infodba password, the TC_DB_CONNECT variable
5 b/ H0 U8 O$ j" l2 ^in %TC_DATA%\tc_profilevars.bat is always alive and correct.- p; |9 `  ^7 k5 t) z( h
Another modification can be done on the default profile:
' o+ s. Q& K4 s& _  h3 @( G+ I& x
$ p/ G( v7 @% x6 Z: o) ~ALTER PROFILE DEFAULT LIMIT
; n& y) O- J( |/ U6 { FAILED_LOGIN_ATTEMPTS UNLIMITED& Z' }( c: ?: T9 T
PASSWORD_LIFE_TIME UNLIMITED;; i+ f3 _6 ^. b: l* F- P9 _, o
) Y+ R# U6 \- O4 y8 w
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了