PLM之家精品课程培训

PLM之家精品课程培训

联系电话:18301858168   |   QQ咨询:939801026
NX二次开发培训

NX二次开发培训

UFUN/NXOpen C++和实战案例

适合初级入门或想深入了解二次开发的工程师,本培训结合ufun,NXOpen C++,大量的实例及官方内部的开发技术。
公众号二维码

关注公众号

点击扫描二维码免费在线高清教程

课程详情
Catia二次开发培训

Catia二次开发培训

市场需求大,掌握核心技术前景广阔

Catia二次开发的市场需求大,人才稀缺。掌握开发技能潜力巨大,随着经验积累将在汽车、航空等领域有所作为。
B站二维码

在线原创B站视频

点击关注工业软件传道士主页

课程详情
Teamcenter培训

Teamcenter培训

全方位培训,从基础应用到高级开发全覆盖

涵盖用户应用基础培训、管理员基础培训、管理员高级培训及二次开发培训等全方位内容,由多年经验讲师打造。
QQ群二维码

加入同行交流

点击扫描二维码加入QQ群

课程详情
×

PLM之家plmhome公众号

课程涵盖: PLM之家所有原创视频

×

关注B站视频

所有高清视频一览无余,全部在线播放学习

×

加入PLM之家QQ群

同行交流,疑问解答,更多互助

PLM之家PLMHome-国产软件践行者

[TC问题解决方案] 88.Teamcenter 的账号infodba数据库oracle过期的处理

[复制链接]

2015-9-10 17:08:35 5410 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
; w7 Q* t0 C- {8 l5 |% [; |: E- P0 m, |% ~
Problem:+ z6 M* T4 ~9 Q) Z
If your Server is using Oracle 11g, the Teamcenter users may have a connection problem and: U: h2 t: s# E. j
obtain the following message after 180 days./ N& H- O) \. f$ n
Login was unsuccessful.: Problems encountered logging into TCServer:
) s* T# ?& t. F6 S+ b ... database
$ k% t4 I0 L) [& TCause: Unable to bind to server running on localhost: 1572
/ ~5 z$ V: `' _7 Y, P  p; l4 l/ C2 |( ]: m0 g) r6 R
Analysis:/ d/ }" M9 D# W  c2 g# T5 c- D
This issue seems to be due to the Oracle 11g changes. All the Oracle services are started' L. h3 H* G3 Q9 Y9 u* ]+ B7 u! }
correctly. However, when you try to connect to the database using sqlplus you can obtain the2 ^6 a7 m1 u5 s( B2 g7 v! L
following error message:( L- X) u  n) S
ORACLE_HOME=your_oracle_home( B  e+ s0 r& Q
ORACLE_SID=your_sid
" D( l& F! y+ R>%oracle_home%\bin\sqlplus /nolog
: o* H: m/ K- r; ^SQL> connect
" [2 E6 N5 I+ {5 L( h8 _4 D1 ?infodba/ M6 C4 f( B0 J
infodba
2 V5 z& E/ [2 j. V) i+ W8 mERROR:
8 x$ r/ s6 r& V! `ORA-28002: the password will expire within 10 days8 P( n) g4 u2 m  }% B" n( U6 [

& ?% |% m$ o  b9 W$ UIn the user tcserver.syslog file we find the error message:3 F- `  `* v1 H5 m4 v
Connect failed (-28002) for 'infodba' at ***
; A2 S4 q2 N; K- A( f& a+ vThe "infodba" Oracle user seems to be created using the default oracle profile which has an
, u1 S' |7 L9 U8 g6 m+ mexpiration date of 180 days. When the Teamcenter user tries to connect to the Oracle database
8 I4 N4 H" l* Aan error message, ORA-28002, is sent and the connection fails.1 ^6 p) u  `  L# D9 ?$ g
1 i5 [' z8 m$ K- X, k3 ?
Solution:
7 s; j' S$ ~, Q! Y6 W1 j0 o2 VFind the infodba profile using SQLPLUS:
. k+ Z! Q5 @: F8 J  ?4 D' d7 tSQL> select profile from dba_users where username='INFODBA';: j- o* ~& ]" V% @6 u7 c; L
List the profile caracteristics:
+ b% `* p, o( j0 }9 y' ASQL> select resource_name,liMit from dba_profiles where profile='DEFAULT';. n; F7 F3 W' M
Check the PASSWORD_LIFE_TIME.' g* N% d3 ^+ H: m" a& z- L% x
Modify the profile and specify an unlimited PASSWORD_LIFE_TIME:
% Q9 f- u! B1 o, PSQL> ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
# `9 Y, n+ L4 X9 b9 l) R, [+ wChange the password. It will not expire again.2 y6 |# P. A) `) ^  W
If you don't change the password, it will expire because it was created using a different profile at
7 \. U5 f1 K; S1 R+ ]0 x& Qthe time.. Y1 \4 T9 V; Y4 {7 y
SQL> select expiry_date from dba_users where username ='INFODBA';
* M0 n* S  {, |4 W( K=> you obtain an expiration date* K  m2 C7 S  [. K5 e" c
SQL>alter user infodba identified by tempo ; ( define a temporary pwd)
0 f" A- ^& H$ r0 x8 C8 gSQL> alter user infodba identified by infodba ; ( specify your original infodba
# o, v( s1 {( T( h. Y/ w! n" v* }password)
" P5 c/ r8 r; h1 _5 ]$ I, qSQL> select expiry_date from dba_users where username ='INFODBA';
9 U' j9 v0 ~7 `" k  }% R=> you have no expiration date.* `  h7 y/ K% V) Z! T- @5 M
  P1 A" X+ E) I% C/ I

- k! A% V* \: s" h: nRemarks:
  i! R2 h. a- a7 x3 K+ tBecause we have redefined the same original infodba password, the TC_DB_CONNECT variable
6 G$ z  f' B" V  j* J6 \' a0 B( qin %TC_DATA%\tc_profilevars.bat is always alive and correct.! E9 n% A8 l) y$ v' @: x$ X8 ?# r5 [
Another modification can be done on the default profile:- b1 D3 }2 i* O1 V
& X& L' i# j/ M7 z; P; r: t- U
ALTER PROFILE DEFAULT LIMIT
3 Q$ w3 Q5 Y7 f" q8 Q: Q- i FAILED_LOGIN_ATTEMPTS UNLIMITED
: Q8 t/ q& M# _" @+ @ PASSWORD_LIFE_TIME UNLIMITED;
: H5 ~' R5 R4 W8 j+ F- R3 c/ }9 t1 A4 r0 y* i6 @3 c: `! o. ^! v# 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二次开发专题模块培训报名开始啦

    我知道了