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 5409 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
4 u; W2 A: v: X; [+ ]6 a7 ~8 M, [9 S: m2 V5 O2 O* ~4 Y0 V
Problem:' {, }6 F, W( p& J% }( J
If your Server is using Oracle 11g, the Teamcenter users may have a connection problem and
4 m2 g) X. I, _) t' f0 G' Sobtain the following message after 180 days.
8 U2 Q) a. B$ {( O: DLogin was unsuccessful.: Problems encountered logging into TCServer:
7 _* S% Z6 ~5 u9 v5 }( h ... database; h6 z& A, z, p2 k
Cause: Unable to bind to server running on localhost: 1572
6 {9 I- [: X7 ]3 U3 R) a- v: \9 s1 o; d% b2 k
Analysis:% X3 J$ H* D6 w& q8 Q7 k  [0 B% Z
This issue seems to be due to the Oracle 11g changes. All the Oracle services are started, k/ ]- U0 b9 c, \5 L- A5 g
correctly. However, when you try to connect to the database using sqlplus you can obtain the+ g$ q9 ]+ ]: e! Y; j& U: P! ~
following error message:8 X1 C  o1 b4 k# @
ORACLE_HOME=your_oracle_home3 B* m% o) ~' ?0 \) N* h; U; M6 \
ORACLE_SID=your_sid+ k: h$ _$ W& E" m. G* ]4 q5 z
>%oracle_home%\bin\sqlplus /nolog; U# W  i1 a5 Z, k6 r( |
SQL> connect
: X3 [& ^) p, C8 E1 X5 z- R) minfodba" v: G% x+ ^& O/ A; W& K! R
infodba
' S: {8 v' Y3 |" w5 ?) O9 oERROR:
; [/ m9 C: J. S0 y9 iORA-28002: the password will expire within 10 days5 E; ~: H4 v" }# `+ v

, M. c! @9 w4 I1 X, f% YIn the user tcserver.syslog file we find the error message:
" j' K4 C: `$ S' I6 p+ k3 F' WConnect failed (-28002) for 'infodba' at ***
6 a0 ~! Q" }2 LThe "infodba" Oracle user seems to be created using the default oracle profile which has an
5 j4 d. m8 T: Wexpiration date of 180 days. When the Teamcenter user tries to connect to the Oracle database2 v  N6 B: g8 _7 O. \
an error message, ORA-28002, is sent and the connection fails.$ ~9 }7 a+ i6 |  Q. B

$ l1 z& ^2 S0 p4 |) `: ?0 S! n: `Solution:
! V8 m: Y7 d) R. a3 t7 J0 Y0 AFind the infodba profile using SQLPLUS:7 K) F) k7 y9 M( M& d3 P- H* @' |
SQL> select profile from dba_users where username='INFODBA';
6 D. a0 a: b) P+ ^" vList the profile caracteristics:0 V- z1 y8 R- R! |/ m
SQL> select resource_name,liMit from dba_profiles where profile='DEFAULT';
: W; y  o' ^7 C8 _6 w9 wCheck the PASSWORD_LIFE_TIME.5 b! r0 \# z5 v
Modify the profile and specify an unlimited PASSWORD_LIFE_TIME:/ \4 g/ Q0 M1 X0 S
SQL> ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;6 M7 o1 O; y# J
Change the password. It will not expire again.: s1 y6 U# i' i* z
If you don't change the password, it will expire because it was created using a different profile at
. |8 o" e$ g  N3 E- Y' O7 Rthe time.
, n) B9 R& k1 t" [# c9 K0 Z) d7 l0 e0 hSQL> select expiry_date from dba_users where username ='INFODBA';% ^; \8 _4 {/ B/ d
=> you obtain an expiration date
2 {! [3 ]0 q; r9 k2 a8 Z, M/ y& m9 I6 sSQL>alter user infodba identified by tempo ; ( define a temporary pwd) 5 t. [: c' u8 p% I. d+ h
SQL> alter user infodba identified by infodba ; ( specify your original infodba* e# V1 r+ o0 d' @$ R; A
password)2 k5 B8 f$ N/ e% h2 F
SQL> select expiry_date from dba_users where username ='INFODBA';
7 |5 d: B, n4 I/ a% a. M/ J! @6 u4 a=> you have no expiration date.% S% {6 V+ s, x4 X

" a/ g# A) z- R0 m! c$ G
( L3 e6 {9 G- {, g. \4 k9 \Remarks:
% y, O  e5 F5 B" R( @" A4 aBecause we have redefined the same original infodba password, the TC_DB_CONNECT variable* @& F! Q" z' \3 E/ Z
in %TC_DATA%\tc_profilevars.bat is always alive and correct.! [  t2 t) j  Q$ S5 ]" ~
Another modification can be done on the default profile:# q" ]4 {# z  \. r% u' W

3 _' l* }7 I  P8 f. E0 J$ xALTER PROFILE DEFAULT LIMIT
6 M5 P0 o6 H  W; i FAILED_LOGIN_ATTEMPTS UNLIMITED& N* K- H( L9 q% g8 T. p4 q. u
PASSWORD_LIFE_TIME UNLIMITED;
# }; R4 z3 V. f/ ]! q$ {6 i' \! g/ I# k+ x
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了