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 5369 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
3 Q# l. a5 C, y1 Y9 F! ]6 @2 N# t1 E5 p4 @4 O" }
Problem:0 J; y/ ~- o+ R: Y" E! s( `
If your Server is using Oracle 11g, the Teamcenter users may have a connection problem and. u- i! B# i' l! I  U6 z1 Z1 }
obtain the following message after 180 days.* O% T" G, k. z- \6 h5 H5 Q$ i' O1 M
Login was unsuccessful.: Problems encountered logging into TCServer:  g: f9 D( `( K$ `( I8 ]
... database
  o( p' z% A$ u* P1 h) oCause: Unable to bind to server running on localhost: 1572& E& T! ]' N% f/ Q/ J7 F

) c, A5 O# s; t. j1 |- y2 w4 [( ^Analysis:
, b  E0 q6 X& w7 \" {This issue seems to be due to the Oracle 11g changes. All the Oracle services are started4 J# P% \! u( q7 I, ?1 j8 X, X# H
correctly. However, when you try to connect to the database using sqlplus you can obtain the
4 k" h# M+ @- E, [following error message:
! `: l3 D2 \" a  F# D. oORACLE_HOME=your_oracle_home
$ z' v. l6 f, f- G/ r2 cORACLE_SID=your_sid& O8 ^! |% l: o9 M
>%oracle_home%\bin\sqlplus /nolog; {9 i; Y! m" \! I+ w1 @1 u& C
SQL> connect
2 F$ E" ~% b3 N" s8 rinfodba. x6 w2 u3 g& n! d
infodba
3 D6 U) f' r0 U5 VERROR:+ d( P' k  V0 i. s3 F& j
ORA-28002: the password will expire within 10 days
& w, H. y" A; ]
2 U& Y$ S, X* R4 e: r% gIn the user tcserver.syslog file we find the error message:; K3 y# b- H: u. q6 V; q9 G7 U6 h( U
Connect failed (-28002) for 'infodba' at ***$ z) Q9 o) g" f
The "infodba" Oracle user seems to be created using the default oracle profile which has an
+ p. ~$ W* {0 {+ ]( texpiration date of 180 days. When the Teamcenter user tries to connect to the Oracle database
/ k2 F( f1 f, Y( P6 `+ Jan error message, ORA-28002, is sent and the connection fails.: P. u% y% H$ v6 k& M! C8 j

* u, ~( s: V7 P3 HSolution:7 F5 F. C2 h  g) ?' R, Z$ g0 i
Find the infodba profile using SQLPLUS:
" f: P6 ^9 e& D# g+ U7 kSQL> select profile from dba_users where username='INFODBA';
" \' ]/ h" i' B6 \* JList the profile caracteristics:
. T: m$ s& }) Z4 M! USQL> select resource_name,liMit from dba_profiles where profile='DEFAULT';
; D2 `  E: |: ~% ^Check the PASSWORD_LIFE_TIME.6 s: z8 f6 R* Q7 v- @' r& _/ b
Modify the profile and specify an unlimited PASSWORD_LIFE_TIME:
: E6 Q: _0 n4 E( B" MSQL> ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;# t; c" m' |0 C% M9 ]) H
Change the password. It will not expire again.
5 g% T/ K0 o, {. LIf you don't change the password, it will expire because it was created using a different profile at
$ Q0 @4 y. y3 D& @& s" uthe time.% n  k' p2 O/ \
SQL> select expiry_date from dba_users where username ='INFODBA';
/ W* ~1 F3 _0 K, K' K( ?=> you obtain an expiration date: }1 J4 B3 j: H& l% f
SQL>alter user infodba identified by tempo ; ( define a temporary pwd) 8 x4 ~5 E, z; c: }2 V; x- _7 P
SQL> alter user infodba identified by infodba ; ( specify your original infodba
* G' {' C, h$ I. l$ _% Bpassword)
4 z( V5 Y4 _! n! _% V6 O, VSQL> select expiry_date from dba_users where username ='INFODBA';
( r# E! |3 g+ Y# a" e( r0 q=> you have no expiration date.  f% h+ }' ~) ]9 J

( m7 @$ y( v0 ~6 M- c
1 N+ v1 t' H/ c: k7 jRemarks:1 g2 J9 E2 M; w7 X4 Z6 ~
Because we have redefined the same original infodba password, the TC_DB_CONNECT variable
2 m: x/ s$ M5 G* W  g; J- v' M- kin %TC_DATA%\tc_profilevars.bat is always alive and correct.
7 W5 J/ l1 O+ bAnother modification can be done on the default profile:# g! P/ Z& Z' d" w! G

9 l/ Z3 ]  g. o) k* CALTER PROFILE DEFAULT LIMIT& b7 T7 B, i5 K2 z; z% h
FAILED_LOGIN_ATTEMPTS UNLIMITED
1 e; z) g7 a* N9 N7 F5 f5 N PASSWORD_LIFE_TIME UNLIMITED;+ L0 O# O8 V7 l* w2 k& C
3 J( E  d& A2 W/ b; z1 }
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了