peoplesoft不能登入DB解決方法

yhj20041128001發表於2013-12-24

1 HRMS APP連線DB報錯
Booting server processes ...

exec PSWATCHSRV -A -- -ID 73380 -C psappsrv.cfg -D HRMSUATO -S PSWATCHSRV :
        process id=9665 ... Started.
exec PSAPPSRV -s@../psappsrv.lst -- -C psappsrv.cfg -D HRMSUATO -S PSAPPSRV :
        CMDTUX_CAT:1685: ERROR: Application initialization failure

tmboot: CMDTUX_CAT:827: ERROR: Fatal error encountered; initiating user error handler

exec tmshutdown -qy

 

==============ERROR!================
Boot attempt encountered errors!. Check the TUXEDO log for details.
==============ERROR!================

Do you wish to see the error messages in the APPSRV.LOG file? (y/n) [n] :y

PSADMIN.9392 (0) [12/23/13 19:03:53](0) Begin boot attempt on domain HRMSUATO
PSWATCHSRV.9665 (0) [12/23/13 19:04:01] Checking process status every 120 seconds
PSWATCHSRV.9665 (0) [12/23/13 19:04:01] Server started
PSAPPSRV.9666 (0) [12/23/13 19:04:02](0) PeopleTools Release 8.49.25 (Linux) starting
PSAPPSRV.9666 (0) [12/23/13 19:04:02](0) Cache Directory being used: /app/hrmsuat/PT8.49/appserv/HRMSUATO/CACHE/PSAPPSRV_1/
PSAPPSRV.9666 (0) [12/23/13 19:04:02](3) File: /vob/peopletools/src/pssys/stmget.cppSQL error. Stmt #: 2441  Error Position: 70  Return: 942 - ORA-00942: table or view does not exist
Failed SQL stmt:SELECT VERSION, OPERPSWD, ENCRYPTED, SYMBOLICID, ACCTLOCK FROM SYSADM.PSOPRDEFN WHERE OPRID = :1
PSAPPSRV.9666 (0) [12/23/13 19:04:02](1) GenMessageBox(200, 0, M): /vob/peopletools/src/pssys/stmget.cpp: File: /vob/peopletools/src/pssys/stmget.cppSQL error. Stmt #: 2441  Error Position: 70  Return: 942 - ORA-00942: table or view does not exist
Failed SQL stmt:SELECT VERSION, OPERPSWD, ENCRYPTED, SYMBOLICID, ACCTLOCK FROM SYSADM.PSOPRDEFN WHERE OPRID = :1
PSAPPSRV.9666 (0) [12/23/13 19:04:02](1) GenMessageBox(0, 0, M): Database Signon: Could not sign on to database HRMSUATO with user PS.
PSAPPSRV.9666 (0) [12/23/13 19:04:02](0) Server failed to start
PSWATCHSRV.9665 (0) [12/23/13 19:04:03] Shutting down
PSADMIN.9392 (0) [12/23/13 19:04:10](0) End boot attempt on domain HRMSUATO


Do you wish to see the error messages in the TUXLOG.122313 file? (y/n) [n] :y

檢視報錯資訊,許可權問題。執行$PS_HOME/scripts/grant.sql,換成我的環境是

grant select on SYSADM.PSSTATUS to people;

grant select on SYSADM.PSOPRDEFN to people;

grant select on SYSADM.PSACCESSPRFL to people;

然後重啟HRMS APP,發現可以正常登入。

2.登入HRMS頁面之後,發現還有一個報錯:
CHECK APPSERVER LOGS. THE SITE BOOTED WITH INTERNAL DEFAULT SETTINGS, BECAUSE OF: bea.jolt.ApplicationException: TPESVCFAIL - application level service failure
這是又是許可權問題,立即修改PTWEBSERVER的密碼,同時加密,把加密後的密碼拷貝到配置檔案
portal\web-inf\psftdocs\ps\configuration.properties
可參考連結:http://peoplesoft.wikidot.com/site-booted-with-internal-default-settings

具體的排查過程:
select * from  PSACCESSPRFL
HRMSUATO 445 kDzrUalvrag= kDzrUalvrag= 1

SELECT VERSION, OPERPSWD, ENCRYPTED, SYMBOLICID, ACCTLOCK FROM PSOPRDEFN WHERE OPRID = 'PS';
11333 LdO1TaeKR0xmFeXpJseMSNYGuoA= 1 HRMSUATO 0

檢視ps.psdbowner表看scheme
select * from ps.psdbowner
HRMSUATO SYSADM

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23757700/viewspace-1064142/,如需轉載,請註明出處,否則將追究法律責任。

相關文章