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 5287 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) `( K& L, t3 o6 k3 _

- ?" D0 C: m1 L, w; D9 \3 OProblem:$ I( m0 c6 F6 |  Y' o5 \- S4 W5 h
If your Server is using Oracle 11g, the Teamcenter users may have a connection problem and' T: o( J! k+ k7 V# _4 A
obtain the following message after 180 days.9 A1 j' B& [8 s6 @
Login was unsuccessful.: Problems encountered logging into TCServer:" `0 f8 v2 ^! V( F+ g% K( Y( Y
... database3 n' O  \' L/ x6 B) N/ ^
Cause: Unable to bind to server running on localhost: 1572
5 b& j0 X8 O0 F' I% P" {
2 o( i% @5 {' O$ V: S  A; ~/ oAnalysis:+ ~# G: `( o0 U/ M: {7 Y4 |
This issue seems to be due to the Oracle 11g changes. All the Oracle services are started
4 [; A) M' m+ j+ t" p+ ]correctly. However, when you try to connect to the database using sqlplus you can obtain the
( \8 j. B( F$ k# a" e* k3 Lfollowing error message:# {# h2 @6 Q: G8 R; G2 R' o
ORACLE_HOME=your_oracle_home
9 a! {# |1 H; a9 I9 WORACLE_SID=your_sid5 s, }5 u7 N7 \8 `! ~
>%oracle_home%\bin\sqlplus /nolog$ V3 X- t9 h" G& j3 e8 B3 X/ c; m
SQL> connect8 f( ?( @. i1 v. I( L- h5 c
infodba' g+ c5 U& g8 A) Q
infodba
; ]! g* p" n4 r" b* V; t3 d+ {' y2 x( iERROR:
: U. Y! @% \- c& r2 I7 H- AORA-28002: the password will expire within 10 days
5 }; M' m6 ]1 N6 n0 t
, S6 p$ f# R6 ~In the user tcserver.syslog file we find the error message:
5 A2 O( C! v1 T' g) ?Connect failed (-28002) for 'infodba' at ***3 ~0 I% b- m& R
The "infodba" Oracle user seems to be created using the default oracle profile which has an
: ~% o' W0 T1 Cexpiration date of 180 days. When the Teamcenter user tries to connect to the Oracle database4 S2 r4 b* h* Y0 Y2 {
an error message, ORA-28002, is sent and the connection fails.3 j* S/ {# V  u3 J2 n3 M9 |

" I# [* J+ N  x5 M0 c# R" a, {! ^Solution:8 w" P4 p* ~% T' D  h& b
Find the infodba profile using SQLPLUS:
' U: F% a. W$ z/ q# b+ ZSQL> select profile from dba_users where username='INFODBA';2 E3 h: T4 c) l; E& \: e
List the profile caracteristics:* c% X& g- {3 i) t% p; x; {) `
SQL> select resource_name,liMit from dba_profiles where profile='DEFAULT';
* ]* M8 E; J0 _, MCheck the PASSWORD_LIFE_TIME.
/ Y% }6 U( I$ u5 i; s1 h% V" e4 b/ iModify the profile and specify an unlimited PASSWORD_LIFE_TIME:
+ Y  e2 d1 E+ }- ?9 G' L3 ?7 M- ESQL> ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;! a) m( L! M5 q! U% }. _
Change the password. It will not expire again.
, M% G  H  C) F2 l4 A* B3 dIf you don't change the password, it will expire because it was created using a different profile at
7 y2 y8 {, D! t. f6 ]. r' A0 l4 U" n. _the time.
. A8 S0 d: S  iSQL> select expiry_date from dba_users where username ='INFODBA';2 G( e- {- G; g: n7 \. P+ V6 S8 g& t
=> you obtain an expiration date. v6 {! Z8 K4 u5 ?3 g
SQL>alter user infodba identified by tempo ; ( define a temporary pwd)
( H# G/ F1 ~- `9 F, X% D+ sSQL> alter user infodba identified by infodba ; ( specify your original infodba
8 g+ a4 u$ q6 `9 S1 Cpassword)8 c2 I5 Z% X+ U& L
SQL> select expiry_date from dba_users where username ='INFODBA';- ?1 A* Y% i/ k' d
=> you have no expiration date.
6 a) M2 X4 T$ u8 a8 Y; Z
. J4 D& H2 l" l# S3 Z: v7 S6 J# d. ]1 x7 M2 q
Remarks:
6 Y& l6 h" k0 Z6 O4 wBecause we have redefined the same original infodba password, the TC_DB_CONNECT variable
! w. O  U4 R2 n+ u  cin %TC_DATA%\tc_profilevars.bat is always alive and correct.3 B% t, A2 I" u" |* m' A% C
Another modification can be done on the default profile:
9 s1 ]+ _: i! W# K
' J+ u1 f% w' rALTER PROFILE DEFAULT LIMIT& A' _# _. f8 [
FAILED_LOGIN_ATTEMPTS UNLIMITED. B2 W7 M& M& l2 D& r2 `
PASSWORD_LIFE_TIME UNLIMITED;# ?5 h& \, Y/ {. f

! _1 j6 L; b1 L2 J  o0 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二次开发专题模块培训报名开始啦

    我知道了