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 5388 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" x+ T* o0 r& J+ a5 B8 w8 j8 S5 N
$ Z' ~) `9 W4 F( t
Problem:" C) H' `6 b, ~1 H) p9 D0 k
If your Server is using Oracle 11g, the Teamcenter users may have a connection problem and
# T* c  M7 V$ R- P8 Kobtain the following message after 180 days.2 H1 c* V" l/ y8 h6 Q" i6 s+ n
Login was unsuccessful.: Problems encountered logging into TCServer:
7 w1 {1 C* ~. G- A* Y: }- w' R ... database! {8 ?. w, K) J! r7 ]$ O% t5 a
Cause: Unable to bind to server running on localhost: 1572+ n* t" m8 O5 d
# c. f2 V  D! X% j
Analysis:
* ^% p- T3 ?3 ~7 ]4 D( A: TThis issue seems to be due to the Oracle 11g changes. All the Oracle services are started& f4 j1 e% e+ Y0 K. V1 h
correctly. However, when you try to connect to the database using sqlplus you can obtain the; D- G; n+ v1 v( [9 n( F+ b
following error message:
  w# o, E! n. `. q6 r7 uORACLE_HOME=your_oracle_home- P4 c# n/ h4 |
ORACLE_SID=your_sid6 X* G* E4 L( J
>%oracle_home%\bin\sqlplus /nolog
3 w# L3 O# K; [4 L$ Q. v; _SQL> connect
; O1 u8 m% W; t, S, b4 m: k! k: Sinfodba
* a: ?9 _6 [0 T7 Jinfodba
9 T- I% k# \, {9 Y2 xERROR:; ~% F9 ~" {' }) G1 M# s. X
ORA-28002: the password will expire within 10 days7 w& L- ?# g' v: A& g- M. Q

) N" \) ^; z0 D& U- x- bIn the user tcserver.syslog file we find the error message:
+ k/ G! c; t  X  F# Y( h5 P0 BConnect failed (-28002) for 'infodba' at ***  c% t7 o  q! E& d& B! V
The "infodba" Oracle user seems to be created using the default oracle profile which has an5 X6 V( C2 Y8 O# W( S
expiration date of 180 days. When the Teamcenter user tries to connect to the Oracle database
; Z- p9 n, c6 I" N+ Ean error message, ORA-28002, is sent and the connection fails.8 [& w% `) |  v% n

, |" p- {/ O  L3 d  {5 l  TSolution:
5 m: ?3 W5 i1 v% E4 ~/ {Find the infodba profile using SQLPLUS:* d5 _9 Q$ M+ v7 k
SQL> select profile from dba_users where username='INFODBA';. o, e) \5 P$ u3 s& ~
List the profile caracteristics:& O& M5 Y$ R  h& l. {9 b8 o
SQL> select resource_name,liMit from dba_profiles where profile='DEFAULT';
( t# _* Y0 r, Z. rCheck the PASSWORD_LIFE_TIME.
. I! w% W) @: p6 @& h1 R; n8 iModify the profile and specify an unlimited PASSWORD_LIFE_TIME:9 L2 N# N1 N% D2 @  M
SQL> ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
1 U* [8 s3 g8 Q. v2 w5 H: aChange the password. It will not expire again.+ c' [  _, ^: ^! r0 @7 N
If you don't change the password, it will expire because it was created using a different profile at
; |( G, h  l1 ^, z: K5 Hthe time.! y3 t: d: a; Y; f) q( R
SQL> select expiry_date from dba_users where username ='INFODBA';
- w6 p- u0 I# S" J=> you obtain an expiration date
* \5 N  F0 R- N) d' d. W; |SQL>alter user infodba identified by tempo ; ( define a temporary pwd) / T+ O, i4 e2 i7 E; a: k; w
SQL> alter user infodba identified by infodba ; ( specify your original infodba
+ a  |1 I7 ^1 o! y: I' L5 bpassword)
! W# a/ a% x1 b- l' tSQL> select expiry_date from dba_users where username ='INFODBA';2 s; A0 {5 N1 E) y9 p- z
=> you have no expiration date.
& |0 ~% S% G; ?# C& I$ R4 E$ E: {0 x$ `

8 _. q( I/ u, v- ?. DRemarks:
/ c3 t0 h' c! L  K8 T+ f5 GBecause we have redefined the same original infodba password, the TC_DB_CONNECT variable+ T; H4 q& Q9 L4 ~" q
in %TC_DATA%\tc_profilevars.bat is always alive and correct.
5 k: ]# d2 x/ x- \# Y) S& mAnother modification can be done on the default profile:4 j! h6 l+ l9 T9 X7 E: Z1 @5 K0 q  {
8 e( x. C7 L6 J+ T. e0 G
ALTER PROFILE DEFAULT LIMIT
- Q* ~/ |6 U2 s FAILED_LOGIN_ATTEMPTS UNLIMITED
! N3 f% g- U! e) ?" W PASSWORD_LIFE_TIME UNLIMITED;
. N, C5 m0 B5 u  v  ~
) [: n( ], @5 }4 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二次开发专题模块培训报名开始啦

    我知道了