Testdrive N4S with Fedora 8 - Database Start failure
Hello,
I installed the System N4S successfully on a Fedora 8, kernel 2.6.23, but Database start ends up with failure.
Message from startdb.log:
Starting XServer
12916 XSERVER Found other running x_server with version 'X64/LINUX 7.6.00 Build 018-123-119-055'
12902 XSERVER started, 'already...'
So 30. Dez 19:01:41 CET 2007
Starting database
Starting Database Instance...
Error! XUser not found!
Opening Database...
Error! XUser not found!
DB-log Files indicate some missing crypt-libs:
trc file: "/sapdb/data/wrk/niserver_machine64.trace", trc level: 1, release: "700"
Sun Dec 30 18:13:50 2007
ERROR => DlLoadLib: dlopen()= /sapdb/programs/lib/libsapcrypto.so: cannot open shared object file: No such file or directory -> DLENOACCESS (0,Success) [dlux.c 314]
ERROR => CDKLoadSAPCryptModule: Loading of /sapdb/programs/lib/libsapcrypto.so failed! [cdkapi.c 204]
This library was obviously not included in the testdrive.
However this seems to result only in a warning and to be not the real problem.
I saw somewhere already a comment advising an upgrade of the database-version because of some library conflicts with an other problem:
https://forums.sdn.sap.com/click.jspa?searchID=7692305&messageID=3719866
Can somebody advise on that topic?
Thank you and kind regards,
Axel
Dear Axel,
having no XUSERs (needed for database connection) makes an automated database start impossible. Can you check, if you have a XUSER file in the home directory of n4sadm?
$> su - n4sadm
#> cd
#> ls -la .XUSER.62
-rw------- 1 n4sadm sapsys 1724 Apr 20 2007 .XUSER.62
If it is there, but you can't connect to the database, it should make a copy of the old one with:
mv -a .XUSER.62 .XUSER.62.org
and create a new one, which you should do if the file isn't there as well:
/sapdb/programs/bin/xuser -U DEFAULT -u sapn4s,sapn4sadm -d N4S -n n4shost -S SAPR3 -t 0 -I 0 set
/sapdb/programs/bin/xuser -U c -u control,sapn4sadm -d N4S -n n4shost -S SAPR3 -t 0 -I 0 set
/sapdb/programs/bin/xuser -U c_J2EE -u control,sapn4sadm -d N4S -n n4shost -S SAPR3 -t 0 -I 0 set
/sapdb/programs/bin/xuser -U w -u superdba,sapn4sadm -d N4S -n n4shost -S SAPR3 -t 0 -I 0 set
After executing the 4 commands, a new .XUSER.62 file will be there, which allows you to start the database.
Thanks,
Hannes
Similar Messages
-
Hi........I've a serious problem with the my database -->one day I was starting database (oracle I on win98) then the power goes down then when I tried to start it there after I received (ORA-322 cannot open database) error message then I read many forums here and on the web to recover the database but I was stuck with changing the current log (cause it may be corrupted) to a new one (cause I can't do so when the database isn't open) I need only to restore the database scheme and the procedure there and I've no idea about recovery management in oracle so please help....
Observe the control_files parameter in init.ora
example
control_files=('c:\oracle\oradata\orcl\control01.ctl',
'c:\oracle\oradata\orcl\control02.ctl',
'c:\oracle\oradata\orcl\control03.ctl')
If you have 2 or more files then you have multiplexed them.
For muliplexing....
After your database is up and running normally. Shutdown the database. copy one controlfile to another location. Say you copied control01.ctl to d:\oracle\oradata\orcl. after copy rename to control02.ctl. Include the complete path of newly created controlfile in control_files parameter of init.ora. Now oracle will write to both control01.ctl and control02.ctl files. Thus you have multiplexed them.
-aijaz -
Hi there!
I am very new in Essbase and I am receiving the error message quoted below while trying to load data in a Cube. Weird thing is that we have checked all connections already and they are working correctly, however this process is still failing.
If someone can give us an idea to troubleshoot it, that would be really appreciated.
Thanks very much in advance for any help and regards!
MAXL> deploy data from model 'Production_GL_Cube_SchemaModel' in cube schema '\Production_GL\Cube_Schemas\Production_GL_Cube_Schema' login AdminUserAccount identified by MyPassword on host 'ServerName.MyCompany.com' to application 'ORA_HFM' database 'GL' overwrite values using connection 'ServerName' keep all errors on error ignore dataload write 'E:\Logs\DataLoad_Error_2013.04.19.16.23.00.txt';
BPM Connect Status: Success
Failed to deploy Essbase cube. Caused by: Failed to load data into database: GL. Caused by: Cannot get async process
state. Essbase Error(1021001): Failed to Establish Connection With SQL Database Server. See log for more information
BPM maxl deployment ...failure.Hi Celvin,
Thanks for your reply and my apologies for not coming back before on this issue.
For the benefit of other readers, after hours struggling with the issue, we focused our attention in the following portion of the ORA_HFM.log file:
[Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/54996/Info(1013157)
Received Command [Import] from user [Service_Acct@Native Directory] using [GL.rul] with data file [SQL]
[Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Info(1021041)
Connection String is [DRIVER={DataDirect 6.1 Oracle Wire Protocol};Host=MyEssbaseServer01.MyCompany.com;Port=1521;SID=PRODUCTION;UID=...;PWD=...;ArraySize=1000000;]
[Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Info(1021006)
SELECT Statement [SELECT cp_127."ACCT" AS "Accounts_CHILD",
cp_127."PERIOD_MEMBER" AS "Period_CHILD",
cp_127."PERIOD_YEAR" AS "Years_CHILD",
'INPUT' AS "View_CHILD",
cp_127."ENTITY" AS "Entity_CHILD",
cp_127."PRODUCT_LINE" AS "Custom1_Product_CHILD",
cp_127."Function" AS "Custom4_Function_CHILD",
cp_127."B_U" AS "Business_Unit_ORACLEBUSINESS",
cp_127."ORACLEFUNCTION" AS "Oracle_Function_CHILD",
cp_127."LEGALENTITY" AS "Oracle_Entity_CHILD",
'P' || cp_127."PRODUCTLINE" AS "Oracle_Product_CHILD",
'A'[Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Info(1021043)
Connection has been established
[Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Info(1021044)
Starting to execute query
[Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Info(1021013)
ODBC Layer Error: [S1000] ==> [[DataDirect][ODBC Oracle Wire Protocol driver][Oracle]ORA-04063: view "REP_ESSBASE.VW_GL_BALANCES" has errors]
[Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Info(1021014)
ODBC Layer Error: Native Error code [4063]
[Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Error(1021001)
Failed to Establish Connection With SQL Database Server. See log for more information
[Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Error(1003050)
Data Load Transaction Aborted With Error [1021001]
Then we concentrated in the following error message: *ODBC Layer Error: [S1000] ==> [[DataDirect][ODBC Oracle Wire Protocol driver][Oracle]ORA-04063: view "REP_ESSBASE.VW_GL_BALANCES" has errors]*
So, we checked the database and noticed the schema and their views were damaged and -due to this- they lost all their properties (like data types, for example). So, we had to recompile all of them in order to avoid any loss of data. This was done in TOAD, as per the following info: https://support.quest.com/SolutionDetail.aspx?id=SOL66821
Finally, once all the views on this schema were rebuilt and fixed, we were able to deploy the Cube again.
Hope this help in the future. Cheers!! -
Problem with restoring database from backupset
Hello,
I'm newie in working with RMAN and I have problem with restoring database from backup set in my testcase.
I've restored controlfile, but I couldn't restore database - it fails with:
RMAN-00571: =============================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS
RMAN-00571: =============================================
RMAN-03002: failure of restore command at 08/31/2006 12:06:47
ORA-01180: can not create datafile 1
ORA-01110: data file 1: 'C:\ORACLE\ORADATA\LOCA10G2\SYSTEM01.DBF'
List of backupsets from restored controlfile
(I restored controlfile by command: restore controlfile from 'C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NCSNF_TAG20060829T113622_2H82OW77_.BKP'; -- I have disabled controlfile autobackup, therefore I couldn't restore from autobackup);
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
36 Full 6.98M DISK 00:00:02 29-AUG-06
BP Key: 36 Status: AVAILABLE Compressed: NO Tag: 01_CTL
Piece Name: C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NCNNF_01_CTL_2H82NDQT_.BKP
Control File Included: Ckp SCN: 578469 Ckp time: 29-AUG-06
BS Key Type LV Size Device Type Elapsed Time Completion Time
37 Full 322.96M DISK 00:00:27 29-AUG-06
BP Key: 37 Status: AVAILABLE Compressed: NO Tag: TAG20060829T113622
Piece Name: C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NNNDF_TAG20060829T113622_2H82NQ58_.BKP
List of Datafiles in backup set 37
File LV Type Ckp SCN Ckp Time Name
1 Full 578481 29-AUG-06 C:\ORACLE\ORADATA\LOCA10G2\SYSTEM01.DBF
2 Full 578481 29-AUG-06 C:\ORACLE\ORADATA\LOCA10G2\UNDOTBS01.DBF
3 Full 578481 29-AUG-06 C:\ORACLE\ORADATA\LOCA10G2\SYSAUX01.DBF
4 Full 578481 29-AUG-06 C:\ORACLE\ORADATA\LOCA10G2\USERS01.DBF
BS Key Size Device Type Elapsed Time Completion Time
38 650.50K DISK 00:00:00 29-AUG-06
BP Key: 38 Status: AVAILABLE Compressed: NO Tag: TAG20060829T113804
Piece Name: C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_ANNNN_TAG20060829T113804_2H82QYOV_.BKP
List of Archived Logs in backup set 38
Thrd Seq Low SCN Low Time Next SCN Next Time
1 32 577277 29-AUG-06 578529 29-AUG-06
BS Key Type LV Size Device Type Elapsed Time Completion Time
39 Full 7.02M DISK 00:00:00 29-AUG-06
BP Key: 39 Status: AVAILABLE Compressed: NO Tag: TAG20060829T113622
Piece Name: C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NCSNF_TAG20060829T113622_2H82OW77_.BKP
Control File Included: Ckp SCN: 578493 Ckp time: 29-AUG-06
SPFILE Included: Modification time: 28-AUG-06
I can successfully crosscheck backup sets (by command crosscheck backup), but I couldn't restore database.
Path C:\ORACLE\ORADATA\LOCA10G2\ exists and I have right privileges.
Output of command restore database validate:
RMAN> restore database validate;
Starting restore at 31-AUG-06
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=102 devtype=DISK
data file 1 will be created automatically during restore operation
data file 2 will be created automatically during restore operation
data file 3 will be created automatically during restore operation
data file 4 will be created automatically during restore operation
restore not done; all files readonly, offline, or already restored
Finished restore at 31-AUG-06
What's wrong?
Thanks
PaulHi,
I think, that everything seems to be OK.
Commands which I use to validation of existence backup:
RMAN> crosscheck backup;
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=102 devtype=DISK
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NCNNF_01_CTL_2H82NDQT_.BKP recid=36 stamp=599744172
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NNNDF_TAG20060829T113622_2H82NQ58_.BKP recid=37 stamp=599744183
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_ANNNN_TAG20060829T113804_2H82QYOV_.BKP recid=38 stamp=599918805
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NCSNF_TAG20060829T113622_2H82OW77_.BKP recid=39 stamp=599918805
Crosschecked 4 objects
RMAN> list backup summary;
List of Backups
===============
Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
36 B F A DISK 29-AUG-06 1 1 NO 01_CTL
37 B F A DISK 29-AUG-06 1 1 NO TAG20060829T113622
38 B A A DISK 29-AUG-06 1 1 NO TAG20060829T113804
39 B F A DISK 29-AUG-06 1 1 NO TAG20060829T113622
RMAN> list backup;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
36 Full 6.98M DISK 00:00:02 29-AUG-06
BP Key: 36 Status: AVAILABLE Compressed: NO Tag: 01_CTL
Piece Name: C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NCNNF_01_CTL_2H82NDQT_.BKP
Control File Included: Ckp SCN: 578469 Ckp time: 29-AUG-06
BS Key Type LV Size Device Type Elapsed Time Completion Time
37 Full 322.96M DISK 00:00:27 29-AUG-06
BP Key: 37 Status: AVAILABLE Compressed: NO Tag: TAG20060829T113622
Piece Name: C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NNNDF_TAG20060829T113622_2H82NQ58_.BKP
List of Datafiles in backup set 37
File LV Type Ckp SCN Ckp Time Name
1 Full 578481 29-AUG-06 C:\ORACLE\ORADATA\LOCA10G2\SYSTEM01.DBF
2 Full 578481 29-AUG-06 C:\ORACLE\ORADATA\LOCA10G2\UNDOTBS01.DBF
3 Full 578481 29-AUG-06 C:\ORACLE\ORADATA\LOCA10G2\SYSAUX01.DBF
4 Full 578481 29-AUG-06 C:\ORACLE\ORADATA\LOCA10G2\USERS01.DBF
BS Key Size Device Type Elapsed Time Completion Time
38 650.50K DISK 00:00:00 29-AUG-06
BP Key: 38 Status: AVAILABLE Compressed: NO Tag: TAG20060829T113804
Piece Name: C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_ANNNN_TAG20060829T113804_2H82QYOV_.BKP
List of Archived Logs in backup set 38
Thrd Seq Low SCN Low Time Next SCN Next Time
1 32 577277 29-AUG-06 578529 29-AUG-06
BS Key Type LV Size Device Type Elapsed Time Completion Time
39 Full 7.02M DISK 00:00:00 29-AUG-06
BP Key: 39 Status: AVAILABLE Compressed: NO Tag: TAG20060829T113622
Piece Name: C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NCSNF_TAG20060829T113622_2H82OW77_.BKP
Control File Included: Ckp SCN: 578493 Ckp time: 29-AUG-06
SPFILE Included: Modification time: 28-AUG-06
RMAN> restore database validate;
Starting restore at 04-SEP-06
using channel ORA_DISK_1
data file 1 will be created automatically during restore operation
data file 2 will be created automatically during restore operation
data file 3 will be created automatically during restore operation
data file 4 will be created automatically during restore operation
restore not done; all files readonly, offline, or already restored
Finished restore at 04-SEP-06
Is something wrong? After crosscheck backup set with system datafile is AVAILABLE.
If i tried to test existence of backup pieces on disk and permissisons - everything is OK too:
C:\>dir C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\
Volume in drive C has no label.
Volume Serial Number is E003-9FC6
Directory of C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29
29.08.2006 11:38 <DIR> .
29.08.2006 11:38 <DIR> ..
29.08.2006 11:38 666 624 O1_MF_ANNNN_TAG20060829T113804_2H82QYOV_.BKP
29.08.2006 11:36 7 340 032 O1_MF_NCNNF_01_CTL_2H82NDQT_.BKP
29.08.2006 11:37 7 372 800 O1_MF_NCSNF_TAG20060829T113622_2H82OW77_.BKP
29.08.2006 11:36 338 657 280 O1_MF_NNNDF_TAG20060829T113622_2H82NQ58_.BKP
4 File(s) 354 036 736 bytes
2 Dir(s) 56 865 202 176 bytes free
C:\>copy C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\ C:\ORACLE\ORADATA\LOCA10G2\
C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_ANNNN_TAG20060829T113804_2H82QYOV_.BKP
C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NCNNF_01_CTL_2H82NDQT_.BKP
C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NCSNF_TAG20060829T113622_2H82OW77_.BKP
C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NNNDF_TAG20060829T113622_2H82NQ58_.BKP
4 file(s) copied.
Thanks
Pavel -
Problem with automatic database startup (dbora)
I'm running Linux RHEL5 with 10g v2 database. For some reason the script fails to start the database. But when I logon as user Oracle, I can run dbstart ORCL and the database starts up fine. Below is what I see when the script runs. Not sure why the connection is refused. Thanks in advance for your help.
Starting dbora: + ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
+ ORACLE=oracle
+ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/u01/app/oracle/product/10.2.0/db_1/bin
++ hostname
+ HOST=Linux10gVM.norris.intra
++ uname
+ PLATFORM=Linux
+ export ORACLE_HOME PATH
+ rsh Linux10gVM.norris.intra -l oracle /etc/rc5.d/S99dbora start ORCL
Linux10gVM.norris.intra: Connection refused
+ pause ‘Press any key to continue...’
+ read ‘~p’ ‘Press any key to continue...’AHA...just as I expected!!!
My automatic 11g1 start up and shutdown quit working in 3/2009
after working for months!
I suspected pam.d
Here it is : http://blog.fourthirty.org/?cat=45
#%PAM-1.0
# For root login to succeed here with pam_securetty, "rsh" must be
# listed in /etc/securetty.
auth required pam_nologin.so
auth required pam_securetty.so
auth required pam_env.so
# auth sufficient pam_rhosts.so
auth sufficient pam_rhosts_auth.so
account include system-auth
session optional pam_keyinit.so force revoke
session include system-auth
session required pam_loginuid.so
more www.ask.com search for "dbstart pam.d"
LMKIII (root) ~ [999]>cd /var/log
LMKIII (root) /var/log [1000]>cat secure
Apr 17 18:43:57 LMKIII sshd[2176]: Server listening on 0.0.0.0 port 22.
Apr 16 18:44:10 LMKIII rshd[2473]: PAM unable to dlopen(/lib/security/pam_rhosts_auth.so): /lib/security/pam_rhosts_auth.so: cannot open shared object file: No such file or directory
Apr 16 18:44:10 LMKIII rshd[2473]: PAM adding faulty module: /lib/security/pam_rhosts_auth.so
Apr 16 18:44:11 LMKIII rshd[2473]: pam_rhosts(rsh:auth): denied access to [email protected] as oracle
Apr 16 18:44:11 LMKIII rshd[2473]: pam_unix(rsh:session): session opened for user oracle by (uid=0)
Apr 16 18:45:11 LMKIII rshd[2473]: pam_unix(rsh:session): session closed for user oracle
Apr 16 18:49:07 LMKIII kdm: :0[2881]: pam_unix(kdm:session): session opened for user oracle by (uid=0)
Apr 16 18:50:41 LMKIII su: pam_unix(su-l:session): session opened for user root by oracle(uid=503)
Apr 16 18:54:46 LMKIII su: pam_unix(su-l:session): session closed for user root
Apr 16 18:54:49 LMKIII kdm: :0[2881]: pam_unix(kdm:session): session closed for user oracle
Apr 16 18:55:01 LMKIII sshd[2176]: Received signal 15; terminating.
Apr 16 18:56:55 LMKIII sshd[2171]: Server listening on 0.0.0.0 port 22.
Apr 16 18:57:08 LMKIII rshd[2473]: PAM unable to dlopen(/lib/security/pam_rhosts_auth.so): /lib/security/pam_rhosts_auth.so: cannot open shared object file: No such file or directory
Apr 16 18:57:08 LMKIII rshd[2473]: PAM adding faulty module: /lib/security/pam_rhosts_auth.so
Apr 16 18:57:09 LMKIII rshd[2473]: pam_unix(rsh:session): session opened for user oracle by (uid=0)
Apr 16 18:58:09 LMKIII rshd[2473]: pam_unix(rsh:session): session closed for user oracle
Apr 16 18:59:26 LMKIII kdm: :0[2880]: pam_unix(kdm:session): session opened for user oracle by (uid=0)
Apr 16 19:00:31 LMKIII su: pam_unix(su-l:session): session opened for user root by oracle(uid=503)
Apr 16 19:01:50 LMKIII su: pam_unix(su-l:session): session closed for user root
Apr 16 19:02:23 LMKIII su: pam_unix(su-l:session): session opened for user root by oracle(uid=503)
Apr 16 20:48:14 LMKIII sshd[4117]: Address 194.80.134.6 maps to no-reverse-defined.ja.net, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!
Apr 16 20:48:14 LMKIII sshd[4117]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=194.80.134.6 user=root
Apr 16 20:48:16 LMKIII sshd[4117]: Failed password for root from 194.80.134.6 port 51090 ssh2
Apr 16 20:48:16 LMKIII sshd[4120]: Connection closed by 194.80.134.6
Apr 16 21:11:12 LMKIII sshd[4287]: Address 194.80.134.6 maps to no-reverse-defined.ja.net, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!
Apr 16 21:11:12 LMKIII sshd[4287]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=194.80.134.6 user=root
Apr 16 21:11:14 LMKIII sshd[4287]: Failed password for root from 194.80.134.6 port 53791 ssh2
Apr 16 21:11:15 LMKIII sshd[4290]: Connection closed by 194.80.134.6
Apr 16 21:28:54 LMKIII sshd[4383]: Address 194.80.134.6 maps to no-reverse-defined.ja.net, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!
Apr 16 21:28:54 LMKIII sshd[4383]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=194.80.134.6 user=root
Apr 16 21:28:55 LMKIII sshd[4383]: Failed password for root from 194.80.134.6 port 44904 ssh2
Apr 16 21:28:56 LMKIII sshd[4386]: Connection closed by 194.80.134.6 -
I have installed the NW4-Testdrive on a SuSE Linux 9.0 System. All installation processes have been finished very well. After I typed 'sapstart' (in user context of nw4adm, as described) the saposcol starts up all right. But starting the database failed.
The error message in /sapmnt/home/nw4adm/startdb.log is:
dbmcli: connect check finished with return code: 0
Starting Database Instance...
OK
Opening Database...
ERR
-24894,ERR_SHUTDOWN: shutdown of database occured
-71,connection broken server state 6
Connect to the database to verify the database is now open
dbmcli check finished with return code: 0
Database start failed
What can I do to get started??Hallo Ralf,
please look into MaxDB/SAP DB independend data directory for the file /<indep_data>/wrk/<DBID>/knldiag . The reason must be traced there. The note must be placed before the token 'current write position'. It would be enough if you search using just 'current' token. Check additionally whether the xserver is running. As <sid>adm user just enter the shell command: x_server -U.
greetings,
Alexander -
Problems with DUPLICATE DATABASE when datafile was added after full backup
Hi,
I'm facing a problem when performing database duplication with the RMAN duplicate database command on a 10g database. If I preform the duplication from a full backup that is missing a datafile which was added to the database after the full backup, I get the following error message:
Starting restore at 10-10-2009 18:00:38
released channel: t1
released channel: t2
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 10/10/2009 18:00:39
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06100: no channel to restore a backup or copy of datafile 43The redo log which was CURRENTat the time of the datafile's 43 creation is also available in the backups. It seems like RMAN can't use the information from the archived redo logs to reconstruct the contents of datafile 43. I suppose that because the failure is reported already in the RESTORE and not in the RECOVER phase, so the archived redo logs aren't even accessed yet. I get the same message even if I make a separate backup of datafile 43 (so a backup that is not in the same backupset as the backup of all other datafiles).
From the script the duplicate command produces, I guess that RMAN reads the contents of the source database's controlfile and tries to get a backup which contains all the datafiles to restore them on the auxiliary database - if such a backup is not found, it fails.
Of course if I try to perform a restore/recover of the source database it works without problems:
RMAN> restore database;
Starting restore at 13.10.09
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=156 devtype=DISK
creating datafile fno=43 name=F:\ORA10\ORADATA\SOVDEV\SOMEDATAFILE01.DBF
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to F:\ORA10\ORADATA\SOVDEV\SYSTEM01.DBF
.....The datafile 43 is recreated and then redo is applied over.
So, does anyone know if duplicate database can't use archived redo logs to recreate the contents of a datafile as a normal restore/recover does? If it's so, then it means it's necessary to perform a full database backup before every run of duplicate database if a datafile was added after such a backup.
Thanks in advance for any answers.
Regards,
JureHi Jure,
I have hit exactly the same problem during duplication.
Because we backup the archive logs every 6 hours with rman I added an extra run block to this script.
run
backup incremental level 0
format 'bk_%d_%s_%p_%t'
filesperset 4
database not backed up;
(I also than hit a bug in the catalog which was solved by patching up the catalog dbs from 11.1.0.6 to 11.1.0.7.)
This will narrow down the datafile not being part of any rman backup to 6 hours while skipping datafiles for which a backup already exists.
Regards,
Tycho -
RMAN incompatible with TARGET database
I have two databases:
The database with the catalog, version 8.1.7.
The database to be backed up (target), version 8.0.6.
When I try to connect to the target, I get an error stating: Recovery Manager incompatible with TARGET database: RMAN 8.0.4 to 8.0.4 required
I've tried changing the "compatible" parameter to 8.0.4, but then I get an error when I restart the database (regarding locally managed tablespaces, which I am not using).
Any idea what I need to do to connect to the target database?
thanks....Hi !
I guess you have confused the compatible init.ora parameter with RMAN compatible parameter ,
They are entirely different. The excerpts here, which i have taken from the Oracle online docs should
clear your problem.
The compatible parameter specifies the minimum acceptable release of the RMAN executable that can function with the catalog. For example, if the recovery catalog compatibility is set to 8.1.4, then only an RMAN executable of release 8.1.4 or later can connect to the catalog.
You cannot set the compatible parameter to a version that is not supported by the currently-installed DBMS_RCVMAN or DBMS_RCVCAT packages. If you try to set compatibility to a version that is not supported by one of the packages, then you receive an error message that indicates the lowest and highest value you can set, as in the following example:
RMAN> configure compatible = 8.0.1;
RMAN-03022: compiling command: configure
RMAN-03026: error recovery releasing channel resources
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure during compilation of command
RMAN-03013: command type: configure
RMAN-06455: illegal compatible value 8.0.1: must be between 08.00.04 and 08.01.06
To view the compatibility level of the recovery catalog:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Start a SQL*Plus session and connect to the recovery catalog database as the recovery catalog owner. For example, enter:
SQL> connect rman/rman@rcat
Issue the following query:
SQL> SELECT value FROM config WHERE name='compatible';
VALUE
080106
To create an 8.1.6 recovery catalog that is usable with a pre-8.1.6 RMAN executable:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
This procedure assumes that you have the use of both an 8.1.6 and pre-8.1.6 RMAN executable. The method employed it to use a pre-8.1.6 RMAN executable to create the recovery catalog, and a release 8.1.6 RMAN executable to upgrade it. The compatibility level is automatically set to 8.0.4, which has the implications described in Table 3-1.
Use a pre-8.1.6 RMAN executable to connect to the catalog database. For example, enter:
% rman catalog rman/rman@rcat
Recovery Manager: Release 8.1.5.0.0
RMAN-06008: connected to recovery catalog database
Create the recovery catalog and then exit. For example, enter:
RMAN> create catalog;
RMAN> exit
Note:
If you use a release 8.0 RMAN executable to create the catalog, you must use the catrman.sql script to create the recovery catalog.
Use the 8.1.6 RMAN executable to connect to the newly created recovery catalog:
% rman catalog rman/rman@rcat
Recovery Manager: Release 8.1.6.0.0
RMAN-06008: connected to recovery catalog database
Upgrade the recovery catalog to release 8.1.6:
RMAN> upgrade catalog;
RMAN> exit
The compatibility level of the recovery catalog is now automatically set to 8.0.4.
Regards,
Mohamed Iqbal.
[email protected] -
Unable to launch application with java web start (OILOM)
I'm connecting to a remote Oracle console from a server, using "oracle integrated lights out manager". I go to "Remote Control" and click on "Launch Console". After that, it download a JNLP file, called "jnlpgenerator-16". I open it with Java7 -web starter- update 5.
After a while hanging I get this error:
Error: Unable to load resource: https://XXX.XXX.XXX.XX:443/Java/JavaRConsole.jar.
In Exception:
com.sun.deploy.net.FailedDownloadException: Unable to load resource: https://XXX.XXX.XXX.XXX:443/Java/JavaRConsole.jar
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
In Wrapped Exception:
java.net.SocketException: SOCKS server general failure
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
at sun.security.ssl.BaseSSLSocketImpl.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
It happens the same under Windows 7 and Linux -using openJRE and icedtea as substitution of Java Web Start-.
I'm behind a proxy. In my browser -Chrome, IE and FF- putted the info of the proxy and I can browse. Aldo tried to put the info in the Java "Network Settings". It did not work -the launching of the console-.
I installed the last Java Web Start in Windows 7 -Java7 Update5-. I disabled my anti-virus and firewall. Always the same result.
Could you help me please. I don't have idea of what is going on.
Greetings.
PD: I tested from other machines of the company and it works. So, I guess is my laptop. I exported the oracle certificates from those machine and imported them into mine.AndrewThompson64 wrote:
I am not used to seeing references to a local server that do not include a port number.
E.G. http://localhost:8080/LottoMadness/
I have deployed the following HTML (HelpMe.html) to the web server:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Untitled</title>
</head>
<body>
Help Me!
</body>
</html>When I attempt to render the URL in IE, I see the page just fine. The URL is use is:
http://localhost/LottoMadness/HelpMe.htmlSo, I think my web server setup and usage is ok.
>
As an aside, what happens if (your MS IIS is running and) you click a direct link to..
[http://localhost/LottoMadness/LottoMadness.jnlp|http://localhost/LottoMadness/LottoMadness.jnlp]
When I click this link I get the error and exception I cited in my previous post. -
Database Started In Restricted Mode...
Dear Exports,
We are using Oracle 10gR2 on Windows server 2008. My database size is approximately 2tb. Now we are going to setup Dataguard for our primary. We started the database with the changer parameters for dataguard and create spfile from pfile. And started the database with Spfile. But after some time i noticed that the database started automatically in Restricted mode. As in our database Previously dataguard was configured, due to the some problem that setup is not working and the logs are not applied in Standby server. I thought may be for this reason database going to restricted mode automatically so i set the log_archive_dest_state_2='DEFFER' and Now I scanned the whore alert.log file and found the same situation of restricted is happening from Jan 2010. Please Suggest some solution how i can over come the problem.
The alertlog when i started the database recently...
ALTER DATABASE CLOSE NORMAL
ORA-1507 signalled during: ALTER DATABASE CLOSE NORMAL...
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Fri Apr 12 19:12:39 2013
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Autotune of undo retention is turned on.
IMODE=BR
ILAT =97
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.4.0.
System parameters with non-default values:
processes = 800
sessions = 885
sga_max_size = 10737418240
__shared_pool_size = 1325400064
__large_pool_size = 16777216
__java_pool_size = 16777216
__streams_pool_size = 0
sga_target = 8589934592
control_files = G:\ORADATA\CONTROL01.CTL, G:\ORADATA\CONTROL02.CTL, G:\ORADATA\CONTROL03.CTL
db_block_size = 8192
__db_cache_size = 7214202880
compatible = 10.2.0.3.0
log_archive_config = DG_CONFIG=(orcl,stdby)
log_archive_dest_1 = LOCATION=I:\archive_log VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=orcl
log_archive_dest_2 = SERVICE=stdby NOAFFIRM ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=stdby
log_archive_dest_state_1 = enable
log_archive_max_processes= 30
log_archive_format = ARC%D_%s_%R.%T
fal_client = orcl
fal_server = stdby
db_file_multiblock_read_count= 16
db_recovery_file_dest = D:\oracle\product\10.2.0\flash_recovery_area
db_recovery_file_dest_size= 2147483648
standby_file_management = AUTO
undo_management = AUTO
undo_tablespace = UNDOTBS1
undo_retention = 5400
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=orclXDB)
local_listener = (ADDRESS=(PROTOCOL=TCP)(HOST=192.168.12.86)(PORT=1521))
job_queue_processes = 10
audit_file_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\ADUMP
background_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\BDUMP
user_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\UDUMP
core_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\CDUMP
db_name = orcl
open_cursors = 500
pga_aggregate_target = 10737418240
PMON started with pid=2, OS id=14328
PSP0 started with pid=3, OS id=15420
MMAN started with pid=4, OS id=9092
DBW0 started with pid=5, OS id=12360
DBW1 started with pid=6, OS id=18112
LGWR started with pid=7, OS id=18360
CKPT started with pid=8, OS id=18448
SMON started with pid=9, OS id=17160
RECO started with pid=10, OS id=18512
CJQ0 started with pid=11, OS id=19324
MMON started with pid=12, OS id=14380
Fri Apr 12 19:12:40 2013
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
MMNL started with pid=13, OS id=2996
Fri Apr 12 19:12:40 2013
starting up 1 shared server(s) ...
Fri Apr 12 19:12:41 2013
ALTER DATABASE MOUNT
Fri Apr 12 19:12:45 2013
Setting recovery target incarnation to 2
Fri Apr 12 19:12:45 2013
Successful mount of redo thread 1, with mount id 1340307369
Fri Apr 12 19:12:45 2013
Allocated 15937344 bytes in shared pool for flashback generation buffer
Starting background process RVWR
RVWR started with pid=17, OS id=5524
Fri Apr 12 19:12:45 2013
Database mounted in Exclusive Mode
Completed: ALTER DATABASE MOUNT
Fri Apr 12 19:12:46 2013
ALTER DATABASE OPEN
Fri Apr 12 19:12:46 2013
LGWR: STARTING ARCH PROCESSES
ARC0 started with pid=18, OS id=11964
ARC1 started with pid=19, OS id=13472
ARC2 started with pid=20, OS id=17960
ARC3 started with pid=21, OS id=18548
ARC4 started with pid=22, OS id=15660
ARC5 started with pid=23, OS id=15548
ARC6 started with pid=24, OS id=14720
ARC7 started with pid=25, OS id=15780
ARC8 started with pid=26, OS id=17992
ARC9 started with pid=27, OS id=17988
ARCa started with pid=28, OS id=19436
ARCb started with pid=29, OS id=16104
ARCc started with pid=30, OS id=6656
ARCd started with pid=31, OS id=6900
ARCe started with pid=32, OS id=10568
ARCf started with pid=33, OS id=16992
ARCg started with pid=34, OS id=14372
ARCh started with pid=35, OS id=18084
ARCi started with pid=36, OS id=5788
ARCj started with pid=37, OS id=4940
ARCk started with pid=38, OS id=18816
ARCl started with pid=39, OS id=14588
ARCm started with pid=40, OS id=16820
ARCn started with pid=41, OS id=8068
ARCo started with pid=42, OS id=18736
ARCp started with pid=43, OS id=8316
ARCq started with pid=44, OS id=5952
ARCr started with pid=45, OS id=16304
ARCs started with pid=46, OS id=14884
Fri Apr 12 19:12:46 2013
ARC0: Archival started
ARCt started with pid=47, OS id=19408
Fri Apr 12 19:12:46 2013
ARC1: Archival started
ARC2: Archival started
ARC3: Archival started
ARC4: Archival started
ARC5: Archival started
ARC6: Archival started
ARC7: Archival started
ARC8: Archival started
ARC9: Archival started
ARCa: Archival started
ARCb: Archival started
ARCc: Archival started
ARCd: Archival started
ARCe: Archival started
ARCf: Archival started
ARCg: Archival started
ARCh: Archival started
ARCi: Archival started
ARCj: Archival started
ARCk: Archival started
ARCl: Archival started
ARCm: Archival started
ARCn: Archival started
ARCo: Archival started
ARCp: Archival started
ARCq: Archival started
ARCr: Archival started
ARCs: Archival started
ARCt: Archival started
LGWR: STARTING ARCH PROCESSES COMPLETE
Thread 1 opened at log sequence 117446
Current log# 10 seq# 117446 mem# 0: G:\ORADATA\REDO10A.LOG
Current log# 10 seq# 117446 mem# 1: H:\ORADATA\REDO10B.LOG
Fri Apr 12 19:12:46 2013
ARC0: Becoming the 'no FAL' ARCH
Fri Apr 12 19:12:46 2013
ARC0: Becoming the 'no SRL' ARCH
Fri Apr 12 19:12:46 2013
ARC8: Becoming the heartbeat ARCH
Fri Apr 12 19:12:47 2013
Successful open of redo thread 1
Fri Apr 12 19:12:47 2013
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Fri Apr 12 19:12:47 2013
SMON: enabling cache recovery
Fri Apr 12 19:12:48 2013
Successfully onlined Undo Tablespace 1.
Fri Apr 12 19:12:48 2013
SMON: enabling tx recovery
Fri Apr 12 19:12:48 2013
Database Characterset is WE8MSWIN1252
Opening with internal Resource Manager plan
where NUMA PG = 1, CPUs = 16
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pid=48, OS id=10048
Fri Apr 12 19:12:51 2013
Completed: ALTER DATABASE OPEN
Fri Apr 12 19:12:51 2013
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_mmon_14380.trc:
ORA-19815: WARNING: db_recovery_file_dest_size of 2147483648 bytes is 99.56% used, and has 9486336 remaining bytes available.
Fri Apr 12 19:12:51 2013
You have following choices to free up space from flash recovery area:
1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
then consider changing RMAN ARCHIVELOG DELETION POLICY.
2. Back up files to tertiary device such as tape using RMAN
BACKUP RECOVERY AREA command.
3. Add disk space and increase db_recovery_file_dest_size parameter to
reflect the new space.
4. Delete unnecessary files using RMAN DELETE command. If an operating
system command was used to delete files, then use RMAN CROSSCHECK and
DELETE EXPIRED commands.
Dump file d:\oracle\product\10.2.0\admin\orcl\bdump\alert_orcl.log
Fri Apr 12 19:13:26 2013
ORACLE V10.2.0.4.0 - 64bit Production vsnsta=0
vsnsql=14 vsnxtr=3
Windows NT Version V6.0 Service Pack 1
CPU : 16 - type 8664, 16 Physical Cores
Process Affinity : 0x0000000000000000
Memory (Avail/Total): Ph:55999M/65533M, Ph+PgF:183151M/193356M
Fri Apr 12 19:13:26 2013
Starting ORACLE instance (restrict)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Autotune of undo retention is turned on.
IMODE=BR
ILAT =97
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.4.0.
System parameters with non-default values:
processes = 800
sessions = 885
sga_max_size = 10737418240
__shared_pool_size = 1325400064
__large_pool_size = 16777216
__java_pool_size = 16777216
__streams_pool_size = 0
sga_target = 8589934592
control_files = G:\ORADATA\CONTROL01.CTL, G:\ORADATA\CONTROL02.CTL, G:\ORADATA\CONTROL03.CTL
db_block_size = 8192
__db_cache_size = 7214202880
compatible = 10.2.0.3.0
log_archive_config = DG_CONFIG=(orcl,stdby)
log_archive_dest_1 = LOCATION=I:\archive_log VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=orcl
log_archive_dest_2 = SERVICE=stdby NOAFFIRM ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=stdby
log_archive_dest_state_1 = enable
log_archive_max_processes= 30
log_archive_format = ARC%D_%s_%R.%T
fal_client = orcl
fal_server = stdby
db_file_multiblock_read_count= 16
db_recovery_file_dest = D:\oracle\product\10.2.0\flash_recovery_area
db_recovery_file_dest_size= 2147483648
standby_file_management = AUTO
undo_management = AUTO
undo_tablespace = UNDOTBS1
undo_retention = 5400
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=orclXDB)
local_listener = (ADDRESS=(PROTOCOL=TCP)(HOST=192.168.12.86)(PORT=1521))
job_queue_processes = 10
audit_file_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\ADUMP
background_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\BDUMP
user_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\UDUMP
core_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\CDUMP
db_name = orcl
open_cursors = 500
pga_aggregate_target = 10737418240
PMON started with pid=2, OS id=18668
PSP0 started with pid=3, OS id=17668
MMAN started with pid=4, OS id=16896
DBW0 started with pid=5, OS id=18204
DBW1 started with pid=6, OS id=16976
LGWR started with pid=7, OS id=14552
CKPT started with pid=8, OS id=4480
SMON started with pid=9, OS id=10236
RECO started with pid=10, OS id=11832
CJQ0 started with pid=11, OS id=18844
MMON started with pid=12, OS id=15320
Fri Apr 12 19:13:27 2013
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
MMNL started with pid=13, OS id=14944
Fri Apr 12 19:13:27 2013
starting up 1 shared server(s) ...
Fri Apr 12 19:13:27 2013
alter database orcl mount exclusive
Fri Apr 12 19:13:31 2013
Setting recovery target incarnation to 2
Fri Apr 12 19:13:31 2013
Successful mount of redo thread 1, with mount id 1340305111
Fri Apr 12 19:13:31 2013
Allocated 15937344 bytes in shared pool for flashback generation buffer
Starting background process RVWR
RVWR started with pid=17, OS id=12880
Fri Apr 12 19:13:31 2013
Database mounted in Exclusive Mode
Completed: alter database orcl mount exclusive
Fri Apr 12 19:13:31 2013
alter database open
Fri Apr 12 19:13:31 2013
Beginning crash recovery of 1 threads
parallel recovery started with 15 processes
Fri Apr 12 19:13:31 2013
Started redo scan
Fri Apr 12 19:13:31 2013
Completed redo scan
735 redo blocks read, 211 data blocks need recovery
Fri Apr 12 19:13:31 2013
Started redo application at
Thread 1: logseq 117446, block 97761
Fri Apr 12 19:13:31 2013
Recovery of Online Redo Log: Thread 1 Group 10 Seq 117446 Reading mem 0
Mem# 0: G:\ORADATA\REDO10A.LOG
Mem# 1: H:\ORADATA\REDO10B.LOG
Fri Apr 12 19:13:31 2013
Completed redo application
Fri Apr 12 19:13:32 2013
Completed crash recovery at
Thread 1: logseq 117446, block 98496, scn 7310601900
211 data blocks read, 211 data blocks written, 735 redo blocks read
Fri Apr 12 19:13:33 2013
LGWR: STARTING ARCH PROCESSES
ARC0 started with pid=33, OS id=18508
ARC1 started with pid=34, OS id=14692
ARC2 started with pid=35, OS id=17728
ARC3 started with pid=36, OS id=12476
ARC4 started with pid=37, OS id=19228
ARC5 started with pid=38, OS id=11552
ARC6 started with pid=39, OS id=7576
ARC7 started with pid=40, OS id=6244
ARC8 started with pid=41, OS id=18468
ARC9 started with pid=42, OS id=18492
ARCa started with pid=43, OS id=10352
ARCb started with pid=44, OS id=15516
ARCc started with pid=45, OS id=18216
ARCd started with pid=46, OS id=5660
ARCe started with pid=47, OS id=18756
ARCf started with pid=48, OS id=17828
ARCg started with pid=49, OS id=8696
ARCh started with pid=50, OS id=17736
ARCi started with pid=51, OS id=16736
ARCj started with pid=52, OS id=13208
ARCk started with pid=53, OS id=12012
ARCl started with pid=54, OS id=19180
ARCm started with pid=55, OS id=16632
ARCn started with pid=56, OS id=17588
ARCo started with pid=57, OS id=11948
ARCp started with pid=58, OS id=18416
ARCq started with pid=59, OS id=17888
ARCr started with pid=60, OS id=2144
ARCs started with pid=61, OS id=14392
Fri Apr 12 19:13:33 2013
ARC0: Archival started
ARCt started with pid=62, OS id=19264
Fri Apr 12 19:13:33 2013
ARC1: Archival started
ARC2: Archival started
ARC3: Archival started
ARC4: Archival started
ARC5: Archival started
ARC6: Archival started
ARC7: Archival started
ARC8: Archival started
ARC9: Archival started
ARCa: Archival started
ARCb: Archival started
ARCc: Archival started
ARCd: Archival started
ARCe: Archival started
ARCf: Archival started
ARCg: Archival started
ARCh: Archival started
ARCi: Archival started
ARCj: Archival started
ARCk: Archival started
ARCl: Archival started
ARCm: Archival started
ARCn: Archival started
ARCo: Archival started
ARCp: Archival started
ARCq: Archival started
ARCr: Archival started
ARCs: Archival started
ARCt: Archival started
LGWR: STARTING ARCH PROCESSES COMPLETE
Fri Apr 12 19:13:33 2013
Thread 1 advanced to log sequence 117447 (thread open)
Thread 1 opened at log sequence 117447
Current log# 8 seq# 117447 mem# 0: G:\ORADATA\REDO08A.LOG
Current log# 8 seq# 117447 mem# 1: H:\ORADATA\REDO08B.LOG
Successful open of redo thread 1
Fri Apr 12 19:13:33 2013
ARC3: Becoming the 'no FAL' ARCH
Fri Apr 12 19:13:33 2013
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Fri Apr 12 19:13:33 2013
ARC3: Becoming the 'no SRL' ARCH
Fri Apr 12 19:13:33 2013
ARCr: Becoming the heartbeat ARCH
Fri Apr 12 19:13:33 2013
SMON: enabling cache recovery
Fri Apr 12 19:13:33 2013
Successfully onlined Undo Tablespace 1.
Fri Apr 12 19:13:33 2013
SMON: enabling tx recovery
Fri Apr 12 19:13:33 2013
Database Characterset is WE8MSWIN1252
Opening with internal Resource Manager plan
where NUMA PG = 1, CPUs = 16
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pid=63, OS id=14896
Fri Apr 12 19:13:34 2013
Completed: alter database open
Fri Apr 12 19:13:34 2013
ALTER SYSTEM disable restricted session;
Fri Apr 12 19:13:35 2013
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_mmon_15320.trc:
ORA-19815: WARNING: db_recovery_file_dest_size of 2147483648 bytes is 99.56% used, and has 9486336 remaining bytes available.
Fri Apr 12 19:13:35 2013
You have following choices to free up space from flash recovery area:
1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
then consider changing RMAN ARCHIVELOG DELETION POLICY.
2. Back up files to tertiary device such as tape using RMAN
BACKUP RECOVERY AREA command.
3. Add disk space and increase db_recovery_file_dest_size parameter to
reflect the new space.
4. Delete unnecessary files using RMAN DELETE command. If an operating
system command was used to delete files, then use RMAN CROSSCHECK and
DELETE EXPIRED commands.
Fri Apr 12 19:13:36 2013
Error 12514 received logging on to the standby
Fri Apr 12 19:13:36 2013
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arc0_18508.trc:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
FAL[server, ARC0]: Error 12514 creating remote archivelog file 'stdby'
FAL[server, ARC0]: FAL archive failed, see trace file.
Fri Apr 12 19:13:36 2013
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arc0_18508.trc:
ORA-16055: FAL request rejected
ARCH: FAL archive failed. Archiver continuing
Fri Apr 12 19:19:33 2013
Error 12514 received logging on to the standby
Fri Apr 12 19:19:33 2013
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arcr_2144.trc:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
PING[ARCr]: Heartbeat failed to connect to standby 'stdby'. Error is 12514.
Fri Apr 12 19:22:52 2013
PING[ARCr]: Heartbeat failed to connect to standby 'stdby'. Error is 12514.
Fri Apr 12 20:09:34 2013
Error 12514 received logging on to the standby
Fri Apr 12 20:09:34 2013
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arcr_2144.trc:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
PING[ARCr]: Heartbeat failed to connect to standby 'stdby'. Error is 12514.
Fri Apr 12 20:13:50 2013
Sat Apr 13 01:54:52 2013
Error 12514 received logging on to the standby
Sat Apr 13 01:54:52 2013
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arcr_2144.trc:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
PING[ARCr]: Heartbeat failed to connect to standby 'stdby'. Error is 12514.
Sat Apr 13 12:35:12 2013
Error 12514 received logging on to the standby
Sat Apr 13 12:35:12 2013
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arcr_2144.trc:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
PING[ARCr]: Heartbeat failed to connect to standby 'stdby'. Error is 12514.
Sat Apr 13 12:37:01 2013
ALTER SYSTEM SET log_archive_dest_state_2='DEFER' SCOPE=MEMORY;
Sat Apr 13 12:38:23 2013
Unable to allocate flashback log of 1946 blocks from
current recovery area of size 2147483648 bytes.
Current Flashback database retention is less than target
because of insufficient space in the flash recovery area.
Flashback will continue to use available space, but the
size of the flash recovery area must be increased to meet
the Flashback database retention target
Use ALTER SYSTEM SET db_recovery_file_dest_size command
to add space. DO NOT manually remove flashback log files
to create space.
Sat Apr 13 12:38:41 2013
ALTER SYSTEM SET db_recovery_file_dest_size='5G' SCOPE=MEMORY;
Sat Apr 13 12:38:41 2013
db_recovery_file_dest_size of 5120 MB is 39.82% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Sat Apr 13 15:42:21 2013
ORA-01555 caused by SQL statement below (SQL ID: 2zb70pwz9p06q, Query Duration=1365847941 sec, SCN: 0x0001.b3c0f735):
Sat Apr 13 15:42:21 2013
SELECT * FROM RELATIONAL("ORISSA_TRANSACTION"."SELLER_BIOMETRICS_TBL")
Sat Apr 13 15:48:37 2013
Thread 1 advanced to log sequence 117452 (LGWR switch)
Current log# 10 seq# 117452 mem# 0: G:\ORADATA\REDO10A.LOG
Current log# 10 seq# 117452 mem# 1: H:\ORADATA\REDO10B.LOG
Sat Apr 13 20:31:00 2013
The value (30) of MAXTRANS parameter ignored.
kupprdp: master process DM00 started with pid=31, OS id=16196
to execute - SYS.KUPM$MCP.MAIN('SYS_EXPORT_SCHEMA_30', 'ORISSA_TRANSACTION', 'KUPC$C_1_20130413203100', 'KUPC$S_1_20130413203100', 0);
kupprdp: worker process DW01 started with worker id=1, pid=66, OS id=16200
to execute - SYS.KUPW$WORKER.MAIN('SYS_EXPORT_SCHEMA_30', 'ORISSA_TRANSACTION');
Sun Apr 14 00:00:11 2013
Thread 1 advanced to log sequence 117453 (LGWR switch)
Current log# 8 seq# 117453 mem# 0: G:\ORADATA\REDO08A.LOG
Current log# 8 seq# 117453 mem# 1: H:\ORADATA\REDO08B.LOG
Sun Apr 14 00:00:52 2013
Thread 1 advanced to log sequence 117454 (LGWR switch)
Current log# 9 seq# 117454 mem# 0: G:\ORADATA\REDO09A.LOG
Current log# 9 seq# 117454 mem# 1: H:\ORADATA\REDO09B.LOGlike you show in the alert.log:
PROBLEM
Unable to allocate flashback log of 1946 blocks from
current recovery area of size 2147483648 bytes.
Current Flashback database retention is less than target
because of insufficient space in the flash recovery area.
Flashback will continue to use available space, but the
size of the flash recovery area must be increased to meet
the Flashback database retention target
Use ALTER SYSTEM SET db_recovery_file_dest_size command
to add space. DO NOT manually remove flashback log files
to create space.
SOLUTION
Fri Apr 12 19:12:51 2013
You have following choices to free up space from flash recovery area:
1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
then consider changing RMAN ARCHIVELOG DELETION POLICY.
2. Back up files to tertiary device such as tape using RMAN
BACKUP RECOVERY AREA command.
3. Add disk space and increase db_recovery_file_dest_size parameter to
reflect the new space.
4. Delete unnecessary files using RMAN DELETE command. If an operating
system command was used to delete files, then use RMAN CROSSCHECK and
DELETE EXPIRED commands.
************************************************************************choose one and try again. Post if you have more issues. -
Did you have Cloud start failures or a missing health monitor?
Calling all CQ Cloud'ers.
Hi, My name is Gary Gilchrist. I work with the engineering team for Adobe CQ Cloud.
Today I was running some diagnostics on our site. I see that there are a lot of you out there who have got as far as starting your own CQ Cloud. Congratulations!
But I also see a number of Clouds that have been attempted to be started by different tenants (that's you :)) and never made it as far as the "running" state. There are sometimes good reasons for this, sometimes related to configuration of your Amazon AWS key information. But we're still in Beta and I must admit, we know of a few bugs we still need to iron out.
I also see that some Clouds were started successfully, yet I do not see the automatic health monitoring that we record for your Cloud. We do that after a Cloud starts so that you can see the CPU, Memory and Disk health of your CQ instances running in your Cloud. You should see this as little green bars in your Cloud detail page.
I have two questions:
Did you attempt to start a Cloud (and you believe your AWS credential is valid) yet it failed to completely start up?
Did you start a Cloud successfully, yet you continued to see "unavailable" (gray bar) as the heath status for ALL the CQ instances in your Cloud? (please note that health monitoring for the Dispatcher is not working. It will fixed with our next update to the site, coming shortly).
If you did encounter 1 or 2 above please drop a reply on this thread giving only the name of your Cloud (no other personal information necessary) plus anything else you think is useful. We would like to look into it.
Thanks from the whole team here at Adobe for trying out CQ Cloud!
Gary.1. Cloud start failure, cloud name: cf
I attached more details about the failure in thread Unable to start the cloud -
How does works default parameters in a program with logical database PNP?
Hi Friends,
I have a basic program, i need to filter info with period parameters in a program that uses logical database PNP, but it doesn't work.
If i use "person selection period" that it's suposed to filter info according to infotype 0001 (as the sap help says), it doesn't work, i use: PNPBEGPS = today and PNPENDPS = today, and the result it's a lot of registers that doesn't meet that criteria.
Also i tried with: data selection period, today, up to day, current month. And the result it's with the same problem.
How does works period parameters in a program with logical database PNP?
This it's the program example, i use the default category.
REPORT ZRPHRTEST.
tables: pernr.
infotypes: 0001.
start-of-selection.
get pernr.
write: pernr-pernr, p0001-begda, p0001-endda.
end-of-selection.
write 'fin'.Hi,
Define pernr table under tables statement then and use GET PERNR event.This get event is followed by End-Of-Selection.
Syntax: Tables pernr.
Get pernr.
Try, activate and test. This should solve your problem.
Regards,
Abhijeet -
How to create a database in SQL Server Express 2014 to be used with LV Database Toolkit
I use LV Database Toolkit, which by default uses Jet database. Now I want to use SQL database with LV Database Toolkit. I have downloaded and installed "SQL Server 2014 Express with Tools" in my Labview Laptop. Now I want to create a database in SQL Server, because I think it is a requirement for creating a "udl connection file" (*.udl file). Please help me!
Solved!
Go to Solution.I made a database whose path is: C:\Program Files\Microsoft SQL Server\MSSQL12.SQLEXPRESS\MSSQL\DATA\depot1
I tried to make .udl connection file, but when I click on "test connection" with the provider: "OLEDB Provider for Microsoft SQL Server" I get the Error "UDL Connection File Failure" (attached below)
When I tried to make the .udl connection file with the provider "Microsoft SQL native Client 11.0" and when I click on "Test Connection" I get the Error" UDL Native Client_1"& " UDL Native Client_2".
Please help!
Thanks!
Attachments:
UDL Connection File Failure.png 78 KB
UDL with Native Client_1.png 702 KB
UDL with Native Client_2.png 714 KB -
Error with calendar database: Program version 4.2 doesn't match enviroment
hi!
im instaling jes in a windows 2000 machine and i get this error when trying to start calendar:
[21/Aug/2006:16:35:58 +0200] jes csadmind[1752]: General Information: Log created (1156170958)
[21/Aug/2006:16:35:58 +0200] jes csadmind[1752]: General Notice: Sun Java System Calendar Server 6 2005Q4 (built Dec 27 2005) csadmind starting up
[21/Aug/2006:16:35:58 +0200] jes csadmind[1752]: General Notice: csadmind attempting to open Counters Database
[21/Aug/2006:16:35:58 +0200] jes csadmind[1752]: General Notice: csadmind successfully opened the Counters Database
[21/Aug/2006:16:35:58 +0200] jes csadmind[1752]: General Notice: HTTP Module is refreshing
[21/Aug/2006:16:35:58 +0200] jes csadmind[1752]: General Notice: csadmind is refreshing
[21/Aug/2006:16:35:58 +0200] jes csadmind[1752]: General Notice: csadmind is refreshed
[21/Aug/2006:16:35:58 +0200] jes csadmind[1752]: General Notice: HTTP Module has refreshed
[21/Aug/2006:16:35:58 +0200] jes csadmind[1752]: General Notice: csadmind argc=1 argv[0]=C:\Sun\CalendarServer\bin\csadmind.exe
[21/Aug/2006:16:35:58 +0200] jes csadmind[1752]: General Notice: csadmind attempting to open Calendar Database
[21/Aug/2006:16:35:58 +0200] jes csadmind[1752]: General Error: caldb: Error with calendar database: Program version 4.2 doesn't match environment version
[21/Aug/2006:16:35:58 +0200] jes csadmind[1752]: General Error: caldb: caldb_InitializeEnvironment: dbenv->open returned 22
[21/Aug/2006:16:35:58 +0200] jes csadmind[1752]: General Critical: Fatal error 70: Cannot open calendar database
anyone have faced same problem?
thanks in advanceHi Vyacheslav,
its wierd that when I run db_stat on windows, for my environment, it works.... I installed Berkeley DB XML 2.4.16 from a self extracting package.
When I tried running from my Linux box, the error message appear... The native library on my Linux box was built from the zip package dbxml-2.4.16.zip
Arent they the same?
Thanks! -
How to resolve the datasource with Cloudspace database?
Hi,
I am running WebLogic 6.1 on Win2k and I have problem with
Cloudscape database in Default Admin Server.
=== Start init method in myJDBCReadServlet.java ===
Init Error: javax.naming.NameNotFoundException:
Unable to resolve MyJDBCDataSource.
Resolved: '' Unresolved:'MyJDBCDataSource' ; remaining name ''
=== Finish init method in myJDBCReadServlet.java ===
1. I created simple table in the Cloudscape database using IJ utility and inserted
some values:
prompt>java -classpath %CLASSPATH%;..\lib\tools.jar COM.cloudscape.tools.ij
ij version 3.5 (c) 1997-2000 Informix Software, Inc.
ij> CONNECT 'jdbc:cloudscape:demo;create=true';
WARNING 01J01: Database 'demo' not created, connection made to existing database
instead.
ij> SHOW CONNECTIONS;
CONNECTION0* - jdbc:cloudscape:demo;create=true
* = current connection
ij> CREATE TABLE employee(name CHAR(25), location CHAR(20), id INTEGER);
0 rows inserted/updated/deleted
2. I created Connection Pool and Data Source using Default Console
The Connection Pool configuration is the following:
Name : MyJDBC Connection Pool
URL : jdbc:cloudscape:demo
Driver Classname: COM.cloudscape.core.JDBCDriver
Properties : user=none password=none server=none
My Data Source configuration is the following:
Name : MyJDBC Data Source
JNDI Name: MyJDBCDataSource
Pool Name: MyJDBC Connection Pool
I added the following line to myserver startup script to point
to the database location:
-Dcloudscape.system.home=./samples/eval/cloudscape/data
3. I wrote the servlet and here is the piece of the myJDBCReadServlet
code which generated the exception:
public void init()
System.out.println("=== Start init method in myJDBCReadServlet.java ===");
try {
ctx = new InitialContext();
ds = (javax.sql.DataSource) ctx.lookup ("MyJDBCDataSource");
} catch (Exception E) {
System.out.println("Init Error: " + E);
System.out.println("=== Finish init method in myJDBCReadServlet.java ===");
Why it cannot find the database using JNDI name?
Any help will be greatly appreciated,
Jacob NikomGreat.
Here is a link where you can find more cloudscape details:
http://www.cloudscape.com/docs/doc_36/doc/html/coredocs/docs2.htm
S.
"jacob nikom" <[email protected]> wrote in message
news:[email protected]...
>
Problem solved!
Slava - thank you for your help.
Yes, cloudscape.jar file should be on the CLASSPATH.
I also put tools.jar from the same directory (I am not sure
is it necessary or not, but I did not test it).
However,it is not enough to run WebLogic with Cloudscape
successfuly. You have to tell WebLogic where the database
files are. To do it you have to include start-up option
in the startWebLogic.cmd file.
It looks like:
-Dcloudscape.system.home="C:~\samples\eval\cloudscape\data"
After that it runs. Actually, the file cloudscape.html in the
directory ~\samples\eval\cloudscape has quite a bit of information.
Unfortunately, it is difficult to comprehend it until you understand whatthe
problem is.
Regards,
Jacob
"Slava Imeshev" <[email protected]> wrote:
Hi Jacob,
You need to specify the Cloudscape classes in your
CLASSPATH, which exists in weblogic/samples/eval/cloudscape/lib.
Regards,
Slava Imeshev
"jacob nikom" <[email protected]> wrote in message
news:[email protected]...
Hi Slava,
This is the source of the error:
<Error> <JDBC>
<Cannot startup connection pool "MyJDBC_Connection_Pool"
Cannot load driver class: COM.cloudscape.core.JDBCDriver>
but I don't know how to fix it.
I don't know the name of the Cloudscape JDBC driver.
I looked at cloudscape.jar file and found the following class file:
COM/cloudscape/core/JDBCDriver.class
Is it the right driver?
I tried to use COM.cloudscape.core.XADataSource driver
classname, but got the same problem - WebLogic cannot find it.
Which .jar file has correct Cloudscape JDBC driver?
What else should I do to ensure that driver loads properly?
Thank you,
Jacob Nikom
"Slava Imeshev" <[email protected]> wrote:
Ok. I don't see that neither connection pool nor data source
trying to start. You did not added targets to them or may be
you provided wrong target.
S.
"jacob nikom" <[email protected]> wrote in message
news:[email protected]...
Hi Slava,
Thank you for your response. I am sending you the full
log as .txt file attachment. It is not very large in order
to zip it.
I added some Cloudscape parameters to the startup script,
so you can see them there. They show to the WebLogic where
the database is located.
Also, I think the database was running because I could see
my tables using IJ utility (Cloudscape tool), however I am
not sure how Cloudscape exactly starts and runs.
Regards,
Jacob Nikom
"Slava Imeshev" <[email protected]> wrote:
Could you zip the whole log and send it to me?
I just want to see what the console says about
creation of your datasources and pools.
Regards,
Slava Imeshev
"jacob nikom" <[email protected]> wrote in message
news:[email protected]...
Hi Slava,
This is the output with Stdout severity threshold = "info".
I only split a couple of very long lines.
<Oct 2, 2001 6:29:33 PM EDT> <Info> <HTTP>
<[WebAppServletContext(5891807,myJDBCReadServlet,/myJDBCReadServlet)]
myJDBCReadServlet:
init>
=== Start init method in myJDBCReadServlet.java ===
Init Error: javax.naming.NameNotFoundException: Unable to resolveMyJDBC_Data_Source.
Resolved: '' Unresolved:'MyJDBC_Data_Source' ; remaining name
=== Finish init method in myJDBCReadServlet.java ===
=== Start service method in myJDBCReadServlet.java ===
Service Error: java.lang.NullPointerException
=== Finish service method in myJDBCReadServlet.java ===
"jacob nikom" <[email protected]> wrote:
Hi Slava,
Thank you very much for your response.
I followed your advice and changed the names
of my ConnectionPool and DataSource, removing
all spaces. Now they are MyJDBC_Data_Source and
MyJDBC_Connection_Pool (is underscore OK?).
I think I turned on the message level on "info" few days ago.
Could you remind me how to check it?
I am sending you the full log of my session starting
from the beginning up to the crush:
prompt>"C:\WebLogic61\jdk131\bin\java" -hotspot -ms64m -mx64m
-classpath
.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;.\lib\cos.jar
-Dweblogic.Domain=mydomain -Dweblogic.Name=myserver
"-Dbea.home=C:\WebLogic61"
-Dcloudscape.system.home="C:\WebLogic61\wlserver6.1\samples\eval\cloudsc
a
p
e
\data"
>
-Dweblogic.management.password= -Dweblogic.ProductionModeEnabled=false
>
"-Djava.security.policy==C:\WebLogic61\wlserver6.1/lib/weblogic.policy"
weblogic.Server
<Oct 2, 2001 5:21:57 PM EDT> <Info> <Security> <Getting bootpassword
from user.>
Enter password to boot WebLogic server:
Starting WebLogic Server ....
<Oct 2, 2001 5:22:02 PM EDT> <Notice> <Management> <Loadingconfiguration
file
.\config\mydomain\config.xml ...>
<Oct 2, 2001 5:22:07 PM EDT> <Notice> <WebLogicServer> <StartingWebLogic
Admin
Server "myserver" for domain "mydomain">
<Oct 2, 2001 5:22:10 PM EDT> <Notice> <Management> <Starting
discovery
of Managed
Server...
This feature is on by default, you may turn this off bypassing -Dweblogic.management.discover=false>
<Oct 2, 2001 5:22:17 PM EDT> <Notice> <Management> <Application
Poller
started
for development server.>
<Oct 2, 2001 5:22:17 PM EDT> <Notice> <WebLogicServer><SSLListenThread
listening
on port 7002>
<Oct 2, 2001 5:22:17 PM EDT> <Notice> <WebLogicServer>
<ListenThread
listening
on port 7001>
<Oct 2, 2001 5:22:18 PM EDT> <Notice> <WebLogicServer> <StartedWebLogic
Admin
Server "myserver" for
domain "mydomain" running in Development Mode>
=== Start init method in myJDBCReadServlet.java ===
Init Error: javax.naming.NameNotFoundException: Unable to
resolve
MyJDBC_Data_Source.
Resolved: '' Unresolved:'MyJDBC_Data_Source' ; remaining name
=== Finish init method in myJDBCReadServlet.java ===
=== Start service method in myJDBCReadServlet.java ===
Service Error: java.lang.NullPointerException
"Slava Imeshev" <[email protected]> wrote:
Jacob,
Just FYI, DataSource or ConnectionPool name can not
contain spaces. Change the names and let me know if it helps.
Regards,
Slava Imeshev
"jacob nikom" <[email protected]> wrote in message
news:[email protected]...
Hi Slava,
Thank you for your message. I did assign target to
my Connection Pool and Data Source. It is "myserver".
Also, there is not any error messages form WebLogic
shell except the ones which I place in my message.
So far the misery remains unresolved.
Regards,
Jacob Nikom
"Slava Imeshev" <[email protected]> wrote:
Hi Jacob,
Make sure you assigned targets to the connection pool and
data
source.
Also
check Weblogic shell console for errors.
Regards,
Slava Imeshev
"jacob nikom" <[email protected]> wrote in message
news:[email protected]...
Hi,
I am running WebLogic 6.1 on Win2k and I have problem
with
Cloudscape database in Default Admin Server.
=== Start init method in myJDBCReadServlet.java ===
Init Error: javax.naming.NameNotFoundException:
Unable to resolve MyJDBCDataSource.
Resolved: '' Unresolved:'MyJDBCDataSource' ; remainingname
=== Finish init method in myJDBCReadServlet.java ===
1. I created simple table in the Cloudscape database using
IJ
utility
and
inserted
some values:
prompt>java -classpath %CLASSPATH%;..\lib\tools.jarCOM.cloudscape.tools.ij
ij version 3.5 (c) 1997-2000 Informix Software, Inc.
ij> CONNECT 'jdbc:cloudscape:demo;create=true';
WARNING 01J01: Database 'demo' not created, connection
made
to
existing
database
instead.
ij> SHOW CONNECTIONS;
CONNECTION0* - jdbc:cloudscape:demo;create=true
* = current connection
ij> CREATE TABLE employee(name CHAR(25), location
CHAR(20),
id
INTEGER);
0 rows inserted/updated/deleted
2. I created Connection Pool and Data Source using Default
Console
The Connection Pool configuration is the following:
Name : MyJDBC Connection Pool
URL : jdbc:cloudscape:demo
Driver Classname: COM.cloudscape.core.JDBCDriver
Properties : user=none password=none server=none
My Data Source configuration is the following:
Name : MyJDBC Data Source
JNDI Name: MyJDBCDataSource
Pool Name: MyJDBC Connection Pool
I added the following line to myserver startup script
to
point
to the database location:
-Dcloudscape.system.home=./samples/eval/cloudscape/data
3. I wrote the servlet and here is the piece of themyJDBCReadServlet
code which generated the exception:
public void init()
System.out.println("=== Start init method inmyJDBCReadServlet.java
===");
try {
ctx = new InitialContext();
ds = (javax.sql.DataSource) ctx.lookup
("MyJDBCDataSource");
} catch (Exception E) {
System.out.println("Init Error: " + E);
System.out.println("=== Finish init method inmyJDBCReadServlet.java
===");
Why it cannot find the database using JNDI name?
Any help will be greatly appreciated,
Jacob Nikom
Maybe you are looking for
-
i have bilingual system i want to change the layout of report from right to left or opposite as my language for example : if my language = English layout = left to right if my language=Arabic layout = right to left during the run time thanks in advan
-
How to call java servlet using webservice in webdynpro abap?
hi all, we have a requirement to connect to non - sap database through webservices. But they do have a java servlet which has a data to get. please help me in this regard. Regards, Murthy.
-
Just started using the shared Photostream feature today, and we noticed that the first shared Photostream we tried duplicated all the photos that were shared if viewed from iPhoto or AppleTV. The web site for the shared Photostream does have exactly
-
What's the best way to read JSON data?
Hi all; What is the best way to read in JSON data? And is the best way to use it once read in to turn it into XML and apply XPath? thanks - dave
-
CORBA: Using IOR with Aurora Visibroker
The problem is about Oracle CORBA session oriented: I would like to store an IOR in an Oracle Database in order to use it when I need the object associated but, If I have the IOR of an object instantiated from a class placed in the Name Service Conte