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 5286 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
5 I/ z7 Q7 m0 V7 ~& Y" A! t9 j* M' ]8 S' g6 u6 C
Problem:  O+ R9 v" |# @. m/ y. o
If your Server is using Oracle 11g, the Teamcenter users may have a connection problem and
1 F, i- N7 ]5 a2 D) r# [7 Aobtain the following message after 180 days.& n) ], B) D3 g% \
Login was unsuccessful.: Problems encountered logging into TCServer:# o- E6 a. Z4 e5 z' Z7 l
... database$ g* d+ H$ b! ]8 f% F! X3 E
Cause: Unable to bind to server running on localhost: 1572
6 a1 x% f" P8 A- `9 ^2 B! J1 w
0 }4 r& x+ K" @8 H. R& cAnalysis:- c6 P: B! q; Y- l$ J; ?+ r* e/ f
This issue seems to be due to the Oracle 11g changes. All the Oracle services are started
3 C! S6 b  Q- e# r; P" `correctly. However, when you try to connect to the database using sqlplus you can obtain the
) \. I$ P2 h) S  f& h/ M- z: Ffollowing error message:8 ]+ Z4 R. U: F/ I
ORACLE_HOME=your_oracle_home
1 x8 q; I1 }% `+ yORACLE_SID=your_sid
! ?6 F" i% Y0 O+ c" m>%oracle_home%\bin\sqlplus /nolog
- K, W) g  d; LSQL> connect
" ~1 G, R' Y2 N. Linfodba2 C; \7 |0 p3 D0 \: x2 n
infodba- i1 R' w  Z' Z0 S: H
ERROR:
, z0 j1 i/ h3 Q  MORA-28002: the password will expire within 10 days4 I5 r7 R! m( Z. |* y* V8 N- {
. l1 l' E' d3 T9 {! q' H3 V( I
In the user tcserver.syslog file we find the error message:* g: ?! @: @3 f; [
Connect failed (-28002) for 'infodba' at ***
' a0 H" \2 y" E$ R7 qThe "infodba" Oracle user seems to be created using the default oracle profile which has an
" v, m% ]$ E7 ^( j! sexpiration date of 180 days. When the Teamcenter user tries to connect to the Oracle database! V5 ]  f" c/ T' m4 [7 }' u; o
an error message, ORA-28002, is sent and the connection fails.: s; P0 x0 w# @- ], K
, S) S4 o7 P; W2 t! B
Solution:& g. Y4 ^& [7 Q" [5 P. M
Find the infodba profile using SQLPLUS:
5 t. f+ D% ?5 b$ |% a- r8 H* ZSQL> select profile from dba_users where username='INFODBA';
% f; e4 B9 F9 D1 ]List the profile caracteristics:
& W2 Q5 r3 e  v3 ^0 PSQL> select resource_name,liMit from dba_profiles where profile='DEFAULT';' [. m! D( `2 m* F* X( X
Check the PASSWORD_LIFE_TIME.
5 k' ?: Y; u8 {; UModify the profile and specify an unlimited PASSWORD_LIFE_TIME:
7 w* X5 w. \+ E8 }1 p% P: Q! bSQL> ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;4 n. [$ b# U4 h. g* c
Change the password. It will not expire again.. ~( Z# z) C$ M  X& @3 u7 O0 I
If you don't change the password, it will expire because it was created using a different profile at: a& x0 B- ~, f( \
the time.: g/ H) k0 y( T; }. v. I
SQL> select expiry_date from dba_users where username ='INFODBA';
1 v) j9 ~% S( a8 F=> you obtain an expiration date2 s/ A2 p% M4 z4 M/ \
SQL>alter user infodba identified by tempo ; ( define a temporary pwd)
) A1 {- ?# s" G- }( c. E% ?0 mSQL> alter user infodba identified by infodba ; ( specify your original infodba. R- q8 \! E" q7 z
password)1 z" C" W. E( R
SQL> select expiry_date from dba_users where username ='INFODBA';  I0 i4 D$ g( F, m0 A, j, `2 ?
=> you have no expiration date.2 @* ?# d: N" s

8 f/ ~0 w" P; N# W% I
! P/ I2 Q% ^1 d8 MRemarks:
0 d; z+ O7 G8 y7 {Because we have redefined the same original infodba password, the TC_DB_CONNECT variable% m- z2 G  P( `% [# d- C1 T+ r9 s) W
in %TC_DATA%\tc_profilevars.bat is always alive and correct.  f4 y+ W+ {4 m: g+ v
Another modification can be done on the default profile:
5 x  S( n. K. U- g' U% u# ?( c( G
8 `2 N1 {( Z2 \. ~- a; Q& NALTER PROFILE DEFAULT LIMIT
7 n2 ~1 N4 n  ?1 X% q( C( V8 f0 I FAILED_LOGIN_ATTEMPTS UNLIMITED! j+ N$ T3 K: }1 Y
PASSWORD_LIFE_TIME UNLIMITED;' |4 W* R3 V) b2 k2 e
2 m3 t5 k( t; `% t- R/ T1 {9 _/ i
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了