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 5423 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 L2 ]" Q. g% y! }2 m2 ]3 w5 c! b; S! R9 X
Problem:% U) g+ Z) Q1 n
If your Server is using Oracle 11g, the Teamcenter users may have a connection problem and4 B0 e& w" J. s2 F, p; g$ A
obtain the following message after 180 days.
8 Z, a  P, ~1 M. qLogin was unsuccessful.: Problems encountered logging into TCServer:
/ y2 A; `* ?& I4 H/ m: y. ~- o ... database
3 j; Y6 q/ ~, [Cause: Unable to bind to server running on localhost: 1572/ N1 ]( a0 a. k4 [, A
6 n: K; i6 M0 u3 O1 N( y" Y
Analysis:
6 ?  G5 n5 E0 s- l. ZThis issue seems to be due to the Oracle 11g changes. All the Oracle services are started( i$ J4 M9 ~; c$ h! H; @% |
correctly. However, when you try to connect to the database using sqlplus you can obtain the
; T( Q; \! z0 K& w; Y/ v; Cfollowing error message:7 X; `! _" O+ {
ORACLE_HOME=your_oracle_home
; K0 T/ M9 R- Y2 MORACLE_SID=your_sid: d& E5 R1 t; h' Y2 W
>%oracle_home%\bin\sqlplus /nolog% t5 ?* e$ }6 V7 F8 m7 N5 \3 s
SQL> connect* @# u8 W! s$ W) S
infodba
$ h1 W4 Z. G( ^0 J- ^; ninfodba
4 y) s5 {% D9 ^  sERROR:
2 E* i* a! `) B. d0 }ORA-28002: the password will expire within 10 days
& M+ }4 p; v0 ~! W- p" S$ w
3 J/ C# g. @& e8 K4 O# cIn the user tcserver.syslog file we find the error message:
, q$ T! O, c  n* v; c& [  |6 g/ CConnect failed (-28002) for 'infodba' at ***7 ~8 P) O5 U1 [6 P4 \
The "infodba" Oracle user seems to be created using the default oracle profile which has an
7 I; i( o4 ?# [" k0 A6 Q+ U# c7 z  yexpiration date of 180 days. When the Teamcenter user tries to connect to the Oracle database
$ Y* q1 ]  i& N( g% ?an error message, ORA-28002, is sent and the connection fails.6 ^( H; \: L$ q! V1 Y) H

  n4 `  v2 Y8 K  f; VSolution:
7 T9 \1 l6 g) U- r( g7 qFind the infodba profile using SQLPLUS:
$ {0 t! [' }7 wSQL> select profile from dba_users where username='INFODBA';  R3 X& v2 H# \& Y3 ]
List the profile caracteristics:
% }+ y, C# v: ^! F6 r$ cSQL> select resource_name,liMit from dba_profiles where profile='DEFAULT';3 F/ |9 P8 y; X
Check the PASSWORD_LIFE_TIME.
9 a9 r: D2 }  r3 B4 \- e" ~Modify the profile and specify an unlimited PASSWORD_LIFE_TIME:  U- r& O+ g* ]  M& w4 c! W
SQL> ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
4 P6 b( ?; `' P2 _6 Y/ U$ o% z4 e7 B! TChange the password. It will not expire again.9 n9 c- ?) I# B! h1 z
If you don't change the password, it will expire because it was created using a different profile at# X8 h: d: l* }
the time.
9 B- n; U/ k! m! G. bSQL> select expiry_date from dba_users where username ='INFODBA';8 B" f5 t/ I4 \. |! u9 V6 _
=> you obtain an expiration date5 M) {6 f& V' c; P0 A4 f2 y
SQL>alter user infodba identified by tempo ; ( define a temporary pwd)
- {$ g" Q/ x3 f) hSQL> alter user infodba identified by infodba ; ( specify your original infodba
% |# e+ ?2 w, ^2 L/ t5 hpassword)
; B1 b: B; M7 \7 ?2 a' Q7 c1 b- NSQL> select expiry_date from dba_users where username ='INFODBA';
. |( M$ p1 n/ t- ^, y! k=> you have no expiration date.! M+ \. g2 m  Z4 v8 }
; ^: K" T  D0 K

1 X) D% c; B6 ~7 W+ B- e9 ]/ DRemarks:
9 s& r7 w' n% [$ w7 t5 aBecause we have redefined the same original infodba password, the TC_DB_CONNECT variable( q1 U5 r! e- U7 x, q4 E
in %TC_DATA%\tc_profilevars.bat is always alive and correct.
7 r( }6 u& q  r7 `  m, |* tAnother modification can be done on the default profile:& c( T$ T0 _4 D2 G
; f( Y2 ]- e/ T! l3 ?
ALTER PROFILE DEFAULT LIMIT/ C- x* X$ V7 ]2 k6 M
FAILED_LOGIN_ATTEMPTS UNLIMITED
8 ^6 Z7 W4 n% Z: z7 `$ p PASSWORD_LIFE_TIME UNLIMITED;) o3 j$ d, P' J$ F/ k
6 r$ s6 a% [" k) I& y3 Q# P6 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二次开发专题模块培训报名开始啦

    我知道了