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 5366 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" j5 J' D& ~; L( _* ^! [. O, Z
& W; S% ^6 T* |. A6 d
Problem:: R: Z6 v5 H+ ^( `( n. N
If your Server is using Oracle 11g, the Teamcenter users may have a connection problem and
: B! b  c" \; _' ]+ o, X7 m! I) Nobtain the following message after 180 days.
4 r7 t* L6 o+ c: s! d- k  _6 hLogin was unsuccessful.: Problems encountered logging into TCServer:6 m  m% ^0 [& r
... database
5 n8 V+ Q2 Q9 CCause: Unable to bind to server running on localhost: 1572& E2 \! H$ X& p9 F  G6 q5 t0 f

, Q' N& D+ T' D. A  k9 c% rAnalysis:* `* `( z0 `% h- Q( a8 `, x6 p% q* L
This issue seems to be due to the Oracle 11g changes. All the Oracle services are started
# c6 s8 V) w8 Vcorrectly. However, when you try to connect to the database using sqlplus you can obtain the
, F8 r) L: a9 Z( C7 c# T# Cfollowing error message:
3 X- A  s  I; m+ r) f3 VORACLE_HOME=your_oracle_home
8 g; l( F+ V. L8 P1 M& P6 aORACLE_SID=your_sid
) d  R) R" q9 P0 @! N>%oracle_home%\bin\sqlplus /nolog/ ]$ B0 l; B4 @. a
SQL> connect
3 G7 `9 o2 ?) J; C/ U) g" e' Dinfodba! a4 Z+ c5 h* R! i! ~
infodba& Q" ]4 K3 i) n& s/ A- M. q5 ]) [
ERROR:
; I. h! B6 o/ B' D* |. nORA-28002: the password will expire within 10 days
6 C" O) i% [4 A+ g5 s7 W! \0 g: v, G" I( J+ H
In the user tcserver.syslog file we find the error message:
9 `/ K$ d, e# S' k6 P- U6 [! I7 eConnect failed (-28002) for 'infodba' at ***, C/ i- D0 X! `/ y" L! M
The "infodba" Oracle user seems to be created using the default oracle profile which has an
8 e6 \, e- R* C- |9 @expiration date of 180 days. When the Teamcenter user tries to connect to the Oracle database  a! f8 w3 b3 \9 L' ?
an error message, ORA-28002, is sent and the connection fails.
  ]" k4 Q. I6 Z7 L9 D% k
9 r# [1 h4 D' |6 D$ zSolution:$ l( W  b% o. E: \  a8 V) Z- k
Find the infodba profile using SQLPLUS:
% M5 c4 c- t  ~7 _7 {( oSQL> select profile from dba_users where username='INFODBA';* K3 x. |4 G: X- `; B- K
List the profile caracteristics:5 v7 b& t! \0 z
SQL> select resource_name,liMit from dba_profiles where profile='DEFAULT';: t4 J  G8 x$ G6 r. _
Check the PASSWORD_LIFE_TIME.8 a* U" U7 s( ]3 z4 l% ~, _& B
Modify the profile and specify an unlimited PASSWORD_LIFE_TIME:9 O7 ]7 \7 _' n5 J" P+ {) ^
SQL> ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;0 L2 r$ J  V8 u' A" g) `
Change the password. It will not expire again.' O: n5 O) ]7 |/ {4 I( \- ?  ~
If you don't change the password, it will expire because it was created using a different profile at
4 R/ F+ c9 J" ~7 B5 Fthe time.
) ~* a- j6 T9 c4 G2 USQL> select expiry_date from dba_users where username ='INFODBA';
+ w# ?2 B1 A2 s  D. L=> you obtain an expiration date. }2 p+ Z7 M5 B
SQL>alter user infodba identified by tempo ; ( define a temporary pwd)
$ \0 ]* D3 ^5 P6 v# I2 MSQL> alter user infodba identified by infodba ; ( specify your original infodba
# o& _# r. h4 j' b% M- |9 z, Ipassword)
- ]* o6 |7 W# |8 d1 }SQL> select expiry_date from dba_users where username ='INFODBA';+ j" L$ G. \# {; g1 }/ d% m
=> you have no expiration date.
' s$ D% ^/ W( v7 V- ~: m/ t; f% A; _# s& M- `+ [, e
: @; h0 R$ T; G0 C, U. ]: B
Remarks:& L0 a5 \  {2 i& n" b
Because we have redefined the same original infodba password, the TC_DB_CONNECT variable& o/ v) x  `9 D7 D$ z0 b
in %TC_DATA%\tc_profilevars.bat is always alive and correct.3 c! D# r& u6 s4 L3 U% M
Another modification can be done on the default profile:! i1 J) C/ M" Q

* D" x* Q/ A: i8 vALTER PROFILE DEFAULT LIMIT
5 o  ?3 ^6 j/ O4 @ FAILED_LOGIN_ATTEMPTS UNLIMITED
/ r0 w/ N3 R6 h) N  J PASSWORD_LIFE_TIME UNLIMITED;
8 |% Q% ^0 h7 W' x+ X& u2 e8 e/ S& ^! F
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了