Pb block does not exist...
In a pre_bind ops when the init program calls the sub function
to trigger tests
It does return me an error
[13/Mar/2006:15:06:52 +0000] - ERROR<4187> - PBlock - conn=-1 op=-1 msgId=-1 - Internal error Trying to get a block element but the element identifier 0 is unknown.
Am I missing something here ?
-- Code Sample --
#include <stdio.h>
#include <string.h>
#include "slapi-plugin.h"
Slapi_PluginDesc preop_desc = {
"preauth_plugin", /* plug-in identifier */
"External", /* vendor name */
"Sun Directory 5.2", /* plug-in revision number */
"Blocking non-ssl BIND request" /* plug-in description */
/* Log target DN and authentication type for the bind. */
int
preauth_bind(Slapi_PBlock * pb)
// Do something
return (rc);
/* Register the plug-in with the server. */
#ifdef _WIN32
__declspec(dllexport)
#endif
int
preauth_init(Slapi_PBlock * pb)
int rc = 0; /* 0 means success */
rc |= slapi_pblock_set(
pb,
SLAPI_PLUGIN_VERSION,
SLAPI_PLUGIN_CURRENT_VERSION
rc |= slapi_pblock_set( /* Plug-in description */
pb,
SLAPI_PLUGIN_DESCRIPTION,
(void *) &preop_desc
rc |= slapi_pblock_set( /* Pre-op bind function */
pb,
SLAPI_PLUGIN_PRE_BIND_FN,
(void *) preauth_bind
return (rc);
-- DS 5.2 SP3
Any help highly appreciated
/* Get plug-in identity to pass to internal operations. */
rc |= slapi_pblock_get(pb, SLAPI_PLUGIN_IDENTITY, &plugin_id);
Missing !!
Similar Messages
-
Azure Rest API PUT Block Blob Returns "The specified resource does not exist" CORS
I am trying to upload a file to Azure Blob storage. For some reason when I try to put a new block blob on in the storage it tells me the resource does not exist. I am sure it is something silly I am missing.
According to the documentation:
The Put Blob operation creates a new block blob or page blob, or updates the content of an existing block blob. Updating an existing block blob overwrites any existing metadata on the blob. Partial updates are not supported with Put Blob; the content of the
existing blob is overwritten with the content of the new blob. To perform a partial update of the content of a block blob, use the Put Block List (REST API) operation.
CORS is setup and that seems okay.
When I do a preflight and get this:
Request URL:https://<account>.blob.core.windows.net/test/image.png
Request Method:OPTIONS
Status Code:200 OK
Request Headers
OPTIONS /test/image.png HTTP/1.1
Host: <account>.blob.core.windows.net
Connection: keep-alive
Cache-Control: no-cache
Pragma: no-cache
Access-Control-Request-Method: PUT
Origin: http://www.<site>.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36
Access-Control-Request-Headers: accept, content-type
Accept: */*
Referer: http://www.<site>.com/azure/
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Response Headers
HTTP/1.1 200 OK
Transfer-Encoding: chunked
Server: Blob Service Version 1.0 Microsoft-HTTPAPI/2.0
x-ms-request-id: 0d372e95-1524-460a-ab9c-7973d42a7070
Access-Control-Allow-Origin: http://www.<site>.com
Access-Control-Allow-Methods: PUT
Access-Control-Allow-Headers: accept, content-type
Access-Control-Max-Age: 36000
Access-Control-Allow-Credentials: true
Date: Thu, 27 Feb 2014 22:43:52 GMT
But when I make the PUT request these are the results.
Request URL:https://<account>.blob.core.windows.net/test/image.png
Request Method:PUT
Status Code:404 The specified resource does not exist.
Request Headers
PUT /test/image.png HTTP/1.1
Host: <account>.blob.core.windows.net
Connection: keep-alive
Content-Length: 22787
Cache-Control: no-cache
Pragma: no-cache
x-ms-blob-content-dis; filename = "image.png"
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36
Content-Type: image/png
x-ms-blob-type: BlockBlob
Accept: application/json, text/plain, */*
x-ms-version: 2013-08-15
Origin: http://www.<site>.com
x-ms-date: Thu, 27 Feb 2014 23:19:19 GMT
Referer: http://www.<site>.com/azure/
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Response Headers
HTTP/1.1 404 The specified resource does not exist.
Content-Length: 223
Content-Type: application/xml
Server: Blob Service Version 1.0 Microsoft-HTTPAPI/2.0
x-ms-request-id: d5a60c8b-356a-44ff-93af-0ea720b5591f
x-ms-version: 2013-08-15
Access-Control-Expose-Headers: x-ms-request-id,Server
Access-Control-Allow-Origin: http://www.<site>.com
Access-Control-Allow-Credentials: true
Date: Thu, 27 Feb 2014 23:22:42 GMTYour request must be authenticated to be able to upload a blob. Please see our
Windows Azure Storage: Introducing CORS blog post for more information on using Shared Access Signatures with CORS. -
Table or view does not exist when using in PL/SQL block
I hav something strange...
When i execute a query it works just fine... When i use the exact same query in a function i want to create, i get the error 'table or view does not exist'
I create the function with the same user then when i'm executing the query.
For example:
select name,userid from portal.WWLOG_ACTIVITY_LOGS
if i execute this... it works fine. I get my results.
However when i create a function:
CREATE OR REPLACE FUNCTION EBUSINESS.GET_USER_CREATOR (p_userid IN Varchar2) return VARCHAR2
as
/*CURSOR c_user_creator IS
select distinct name,userid from portal.WWLOG_ACTIVITY_LOGS
where sub_domain = 'user' and action = 'create'
and name = p_userid;*/
v_creator varchar2(500);
v_ret_val VARCHAR2(500) := 'NOT_FOUND';
BEGIN
select userid into v_ret_val from portal.WWLOG_ACTIVITY_LOGS
where sub_domain = 'user' and action = 'create'
and name = p_userid;
--v_ret_val := x.userid;
--end loop;
-- Is the user in the group or not?
/*OPEN c_user_creator;
FETCH c_user_creator INTO v_creator;
IF c_user_creator%FOUND THEN
v_ret_val := v_creator;
ELSE
v_ret_val := 'NOT FOUND';
END IF;
CLOSE c_user_creator;*/
Return v_ret_val;
END;
The table or view does not exist...
I tryed with cursor, select into, for x in (select....)
Nothing works.
A select grant is a select grant right? Are there different grant you should use so you can select it into a function or just do a normal select?
I also tryed to create a view that just sais select * from WWLOG_ACTIVITY_LOGS but that doesn't work...Are there different grant you should use so you can
select it into a function or just do a normal select? Yes. Grants on objects used in functions/procedures must be given directly to the user, and not through a role. -
Unable to login: SAP System Message: Dynpro does not exist
Hello All,
I'm created a test system to practice our upgrade post steps on. I created a pared down copy of one of our other systems. When I try to login, I get a popup message saying: Dynpro does not exist.
To create the pared down version, we used empty files for:
COEP
GLPCA
BALDAT
MSEG
BSIS
LIPS
LTAP
CE1LPOC
ZHYPFIT
BALHDR
VBFA
COSP
COSB
CDCLS
ZHYPF2A
/IRM0760
CDHDR
COSS
CMFP
CHVW
RESB
ZHYPFIO
AUSP
VBOX
JCDS
VBAP
We don't think these being empty is the problem, but I wanted to mention it just incase it is.
Below is the dev_w0 log. I've been searching Google / SDN / OSS for some of the errors but haven't come up with anything yet.
Any insight you might have into this would be appreciated. Thank you.
~TJ
trc file: "dev_w0", trc level: 1, release: "700"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, MJ
M sysno 79
M sid Q60
M systemid 324 (IBM iSeries with OS400)
M relno 7000
M patchlevel 0
M patchno 172
M intno 20050900
M make: single threaded, Unicode, 64 bit, optimized
M pid 6396
M
M
M Thu Jan 22 15:12:50 2009
M kernel runs with dp version 241000(ext=110000) (@(#) DPLIB-INT-VERSION-241000-UC)
M length of sys_adm_ext is 576 bytes
M ***LOG Q01=> ThInit, WPStart (Workproc 0 1 6396) [thxxhead.c 1290]
M ThInit: running on host USALSAPU
M calling db_connect ...
C DB4 SQL Reparse Activated
C
C Thu Jan 22 15:12:51 2009
C R3INLPGM: RmtExeLib from /usr/sap/Q60/SYS/exe/run/DBSLDB4RMT
C R3INLPGM: RmtExeLib is KRNQ60700
C DBSLENCWT: rc=0, msg=CPF9897 CONCURRENT WRITE IS ENABLED.
C DbSl/DB codepage check: table or row not found (db_rc=24) - OK.
C === Central DB connect successfull! ===
C === Connection settings ===
C connected = TRUE
C con_hdl = 0
C db_handle = 1
C dbhost = USALSAPU
C rdbname =
C dblib = R3Q60DATA
C r3sysle_changed = TRUE
C query_compl_reval = O
C dbconnecttype = L
C user = Q6079
C qaqqinilib = Default (QUSRSYS)
C dbjobname = WP00
C dbjobuser = Q6079
C dbjobno = 197762
C rmtexelib = KRNQ60700
C parallel_alter_tables = *OFF
C ===========================
C Found only default query options in QUSRSYS/QAQQINI.
C -
C -
DbSl EGO Structure
C -
C SAPSYSTEMNAME = Q60
C Character encoding = UNICODE
C process class = dialog process
C workprocess id = 0
C local host = USALSAPU
C dbhost = USALSAPU
C rdbname =
C dbname = Q60USALSAPU
C dblib = R3Q60DATA
C application server = DVEBMGS79
C Connect type = LOCAL
C pid = 6396
C wpjobname = WP00
C wpjobuser = Q6079
C wpjobno = 197762
C DB2/400 vers. appl. server = PASE 1
C DB2/400 vers. DB server = V6R1
C da_cache_size = 100
C reopen = ON
C timeout_retry = 3
C ODP threshold = 800
C ODP commit thresh. = 810
C ODP open thresh. = 850
C QAQQINI library = Default (QUSRSYS)
C Alternate QAQQINI library = Not specified
C use_lobs_for_long = ON
C use_lobs_for_short = OFF
C single_execution_threshold = 2000
C single_execution_reuse = OFF
C keep_tmp_SQLpkgs = OFF
C dbsl_trace = OFF
C allow_cancel = Try (Unspecified)
C nqe_optimize_method = O - All I/O (compatibility mode)
C nte_list_size = 10
C dbsl_alternate_package = OFF
C -
B Connection 0 opened (DBSL handle 0)
B Wp Hdl ConName ConId ConState TX PRM RCT TIM MAX OPT Date Time DBHost
B 000 000 R/3 000000000 ACTIVE NO YES NO 000 255 255 20090122 151250 USALSAPU
M db_connect o.k.
M ICT: exclude compression: .zip,.cs,.rar,.arj,.z,.gz,.tar,.lzh,.cab,.hqx,.ace,.jar,.ear,.war,.css,.pdf,.js,.gzip,.uue,.bz2,.iso,.sda,.sar,.gif
I MtxInit: 0 0 0
M SHM_PRES_BUF (addr: 0x7000002d0000000, size: 120000000)
M SHM_ROLL_AREA (addr: 0x7000002e0000000, size: 268435456)
M SHM_PAGING_AREA (addr: 0x7000002f0000000, size: 335544320)
M SHM_ROLL_ADM (addr: 0x700000310000000, size: 2672386)
M SHM_PAGING_ADM (addr: 0x700000320000000, size: 820256)
M ThCreateNoBuffer allocated 544152 bytes for 1000 entries at 0x700000330000000
M ThCreateNoBuffer index size: 3000 elems
M ThCreateVBAdm allocated 12176 bytes (50 server) at 0x700000340000000
X EmInit: MmSetImplementation( 2 ).
X MM global diagnostic options set: 0
X <ES> client 0 initializing ....
X Using implementation std
X <ES> Info: use normal pages (no huge table support available)
X ES initialized.
B dbntab: NTAB buffers created
B dbntab: Buffer FTAB(hash header) (addr: 0x700000360000088, size: 584)
B dbntab: Buffer FTAB(anchor array) (addr: 0x7000003600002d0, size: 1280008)
B dbntab: Buffer FTAB(item array) (addr: 0x700000360138ad8, size: 5120000)
B dbntab: Buffer FTAB(data area) (addr: 0x70000036061aad8, size: 122880000)
B dbntab: Buffer IREC(hash header) (addr: 0x700000370000088, size: 584)
B dbntab: Buffer IREC(anchor array) (addr: 0x7000003700002d0, size: 1280008)
B dbntab: Buffer IREC(item array) (addr: 0x700000370138ad8, size: 1280000)
B dbntab: Buffer IREC(data area) (addr: 0x7000003702712d8, size: 15360000)
B dbntab: Buffer STAB(hash header) (addr: 0x700000380000088, size: 584)
B dbntab: Buffer STAB(anchor array) (addr: 0x7000003800002d0, size: 1280008)
B dbntab: Buffer STAB(item array) (addr: 0x700000380138ad8, size: 1280000)
B dbntab: Buffer STAB(data area) (addr: 0x7000003802712d8, size: 3072000)
B dbntab: Buffer TTAB(hash header) (addr: 0x700000390000088, size: 2976)
B dbntab: Buffer TTAB(anchor array) (addr: 0x700000390000c28, size: 1280008)
B dbntab: Buffer TTAB(item array) (addr: 0x700000390139430, size: 3200000)
B dbntab: Buffer TTAB(data area) (addr: 0x700000390446830, size: 23360000)
B
B Thu Jan 22 15:12:52 2009
B dbstat: table statistics switched on for 84171 tables
B dbstat: TABSTAT buffer created (addr: 0x7000003a0000000, size: 41152488)
B db_con_shm_ini: WP_ID = 0, WP_CNT = 23, CON_ID = -1
B dbtbxbuf: Buffer TABL (addr: 0x7000003b0000100, size: 350000000, end: 0x7000003c4dc9480)
B dbtbxbuf: Profile: max_objects = 40000, displace = 1, reorg = 1
B dbtbxbuf: request_unit = 2000, sync_reload = 5, inval_reload = 5
B dbtbxbuf: protect_shm = 0, force_checks = 0
B dbtbxbuf: tsize_retry = 104857600
B ***LOG BB0=> buffer TABL started with length 350000000 bytes [dbtbxbuf#3 @ 16202] [dbtbxbuf1620 2]
B dbtbxbuf: Buffer TABLP (addr: 0x7000003d0000100, size: 35840000, end: 0x7000003d222e100)
B dbtbxbuf: Profile: max_objects = 2000, displace = 1, reorg = 1
B dbtbxbuf: request_unit = 2000, sync_reload = 5, inval_reload = 5
B dbtbxbuf: protect_shm = 0, force_checks = 0
B dbtbxbuf: tsize_retry = 17590656
B ***LOG BB0=> buffer TABLP started with length 35840000 bytes [dbtbxbuf#3 @ 16202] [dbtbxbuf1620 2]
B dbtbxbuf: Reading TBX statistics:
B dbtbxbuf: 29 object entries precreated
B Layout of EIBUF buffer shared memory:
B 0: 1 * 4 = 4
B 1: 1 * 416 = 416
B 2: 23 * 40 = 920
B 3: 80021 * 48 = 3841008
B 4: 40000 * 256 = 10240000
B 5: 80021 * 8 = 640168
B 6: 1 * 200 = 200
B 7: 513 * 8 = 4104
B 8: 262473 * 256 = 67193088
B Tracing = 0, Shm Protection = 0, Force checks = 0, Recovery delay = 500000
B dbexpbuf: Buffer EIBUF (addr: 0x7000003f0000108, size: 81920000, end: 0x7000003f4e20108)
B ***LOG BB0=> buffer EIBUF started with length 80000k bytes [dbexpbuf#2 @ 2342] [dbexpbuf2342 ]
B Layout of ESM buffer shared memory:
B 0: 1 * 4 = 4
B 1: 1 * 416 = 416
B 2: 23 * 40 = 920
B 3: 4001 * 48 = 192048
B 4: 2000 * 256 = 512000
B 5: 4001 * 8 = 32008
B 6: 1 * 200 = 200
B 7: 65 * 8 = 520
B 8: 13500 * 256 = 3456000
B Tracing = 0, Shm Protection = 0, Force checks = 0, Recovery delay = 500000
B dbexpbuf: Buffer ESM (addr: 0x700000400000108, size: 4194304, end: 0x700000400400108)
B ***LOG BB0=> buffer ESM started with length 4096k bytes [dbexpbuf#2 @ 2342] [dbexpbuf2342 ]
B Layout of CUA buffer shared memory:
B 0: 1 * 4 = 4
B 1: 1 * 416 = 416
B 2: 23 * 40 = 920
B 3: 40009 * 48 = 1920432
B 4: 20000 * 256 = 5120000
B 5: 40009 * 8 = 320072
B 6: 1 * 200 = 200
B 7: 193 * 8 = 1544
B 8: 65617 * 512 = 33595904
B Tracing = 0, Shm Protection = 0, Force checks = 0, Recovery delay = 500000
B dbexpbuf: Buffer CUA (addr: 0x700000410000108, size: 40960000, end: 0x700000412710108)
B ***LOG BB0=> buffer CUA started with length 40000k bytes [dbexpbuf#2 @ 2342] [dbexpbuf2342 ]
B Layout of OTR buffer shared memory:
B 0: 1 * 4 = 4
B 1: 1 * 416 = 416
B 2: 23 * 40 = 920
B 3: 4001 * 48 = 192048
B 4: 2000 * 256 = 512000
B 5: 4001 * 8 = 32008
B 6: 1 * 200 = 200
B 7: 81 * 8 = 648
B 8: 13500 * 256 = 3456000
B Tracing = 0, Shm Protection = 0, Force checks = 0, Recovery delay = 500000
B dbexpbuf: Buffer OTR (addr: 0x700000420000108, size: 4194304, end: 0x700000420400108)
B ***LOG BB0=> buffer OTR started with length 4096k bytes [dbexpbuf#2 @ 2342] [dbexpbuf2342 ]
B ***LOG BB0=> buffer CALE started with length 500000 bytes [dbcalbuf#10 @ 2305] [dbcalbuf2305 ]
B dbtran INFO (init_connection '<DEFAULT>' [DB400:700.08]):
B max_blocking_factor = 20, max_in_blocking_factor = 40,
B min_blocking_factor = 10, min_in_blocking_factor = 10,
B prefer_union_all = 0, prefer_join = 0,
B prefer_fix_blocking = 1, prefer_in_itab_opt = 1,
B convert AVG = 1, alias table FUPD = 1,
B escape_as_literal = 0, opt GE LE to BETWEEN = 0,
B select * =0x00, character encoding = STD / <none>:-,
B use_hints = abap->1, dbif->0x3, upto->2147483647, rule_in->0,
B rule_fae->0, concat_fae->0, concat_fae_or->0
M
M Thu Jan 22 15:12:53 2009
M SecAudit(RsauInit): Start init of Security Audit Log for first wp.
M SecAudit(RsauCreateShm): New block for Security Audit Log allocated in SCSA
M SecAudit(RsauCreateShm): SCSA memory usage: SecAudit = 1152, total = 3048
M SecAudit(RsauShmInit): SCSA size................ = 4096
M SecAudit(RsauShmInit): addr of SCSA............. = 0x700000040000000
M SecAudit(RsauShmInit): addr of RSAUSHM.......... = 0x700000040000768
M SecAudit(RsauShmInit): addr of RSAUSLOTINFO..... = 0x7000000400007a0
M SecAudit(RsauShmInit): addr of RSAUSLOTS........ = 0x7000000400007ac
M SecAudit(RsauShmInit): SHM version.............. = 5
M SecAudit(RsauShmInit): SHM Slot version......... = 2
M SecAudit(RsauShmInit): RSAU active.............. = 0
M SecAudit(RsauShmInit): number of slots possible. = 10
M SecAudit(RsauShmInit): number of slots requested = 2
M SecAudit(RsauShmInit): number of slots used..... = 2
M SecAudit(RsauShmInit): user selection........... = 0
M SecAudit(RsauShmInit): max size of one file..... = 0 KB
M SecAudit(RsauShmInit): max size of all files.... = 102400 KB
M SecAudit(RsauGetCurrentProfile): Init of shared memory completed
M SecAudit(RsauGetCurrentProfile): Security Audit Log not active
M SsfSapSecin: automatic application server initialization for SAPSECULIB
N SsfSapSecin: Looking for PSE in database
N SsfPseLoad: started...(path=/usr/sap/Q60/DVEBMGS79/sec, AS=USALSAPU, instanceid=79)
N SsfPseLoad: Downloading file /usr/sap/Q60/DVEBMGS79/sec/SAPSYS.pse (client: , key: SYSPSE, len: 1872)
N SsfPseLoad: ended (1 of 1 sucessfully loaded, 1 checked...
N MskiCreateLogonTicketCache: Logon Ticket cache created in shared memory.
N MskiCreateLogonTicketCache: Logon Ticket cache pointer registered in shared memory.
M CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
M CCMS: AlMsUpload called by wp 0.
M CCMS: AlMsUpload successful for /usr/sap/Q60/DVEBMGS79/log/ALMTTREE (0 MTEs).
M CCMS: start to initalize 3.X shared alert area (first segment).
S
S Thu Jan 22 15:12:54 2009
S *** init spool environment
S initialize debug system
T Stack direction is downwards.
T debug control: prepare exclude for printer trace
T new memory block 0x18499b440
S spool kernel/ddic check: Ok
S using table TSP02FX for frontend printing
S 2 spool work process(es) found
S frontend print via spool service enabled
S printer list size is 400
S printer type list size is 50
S queue size (profile) = 300
S hostspool list size = 3000
S option list size is 30
S found processing queue enabled
S found spool memory service RSPO-RCLOCKS at 0x700000460000070
S doing lock recovery
S setting server cache root
S found spool memory service RSPO-SERVERCACHE at 0x700000460000740
S using messages for server info
S size of spec char cache entry: 297032 bytes (timeout 100 sec)
S size of open spool request entry: 2272 bytes
S immediate print option for implicitely closed spool requests is disabled
A
A -PXA--
A PXA INITIALIZATION
A
A Thu Jan 22 15:12:55 2009
A PXA: Locked PXA-Semaphore.
A System page size: 4kb, total admin_size: 139532kb, dir_size: 34808kb.
A Attached to PXA (address 0x700000470000000, size 1998848K, 4 fragments of 464832K )
A abap/pxa = shared unprotect gen_remote
A PXA INITIALIZATION FINISHED
A -PXA--
A
A ABAP ShmAdm attached (addr=0x7000000b0577000 leng=20955136 end=0x7000000b1973000)
A >> Shm MMADM area (addr=0x7000000b0a50fa8 leng=244096 end=0x7000000b0a8c928)
A >> Shm MMDAT area (addr=0x7000000b0a8d000 leng=15622144 end=0x7000000b1973000)
A RFC Destination> destination USALSAPU_Q60_79 host USALSAPU system Q60 systnr 79 (USALSAPU_Q60_79)
A RFC Options> H=USALSAPU,S=79,d=2,
A RFC FRFC> fallback activ but this is not a central instance.
A
A RFC rfc/signon_error_log = -1
A RFC rfc/dump_connection_info = 0
A RFC rfc/dump_client_info = 0
A RFC rfc/cp_convert/ignore_error = 1
A RFC rfc/cp_convert/conversion_char = 23
A RFC rfc/wan_compress/threshold = 251
A RFC rfc/recorder_pcs not set, use defaule value: 2
A RFC rfc/delta_trc_level not set, use default value: 0
A RFC rfc/no_uuid_check not set, use default value: 0
A RFC rfc/bc_ignore_thcmaccp_retcode not set, use default value: 0
A RFC Method> initialize RemObjDriver for ABAP Objects
M ThrCreateShObjects allocated 47822 bytes at 0x7000004f0000000
N
N Thu Jan 22 15:12:56 2009
N SsfSapSecin: PSE /usr/sap/Q60/DVEBMGS79/sec/SAPSYS.pse found!
N
N =================================================
N === SSF INITIALIZATION:
N ===...SSF Security Toolkit name SAPSECULIB .
N ===...SSF trace level is 0 .
N ===...SSF library is /usr/sap/Q60/SYS/exe/run/libsapsecu.o .
N ===...SSF hash algorithm is SHA1 .
N ===...SSF symmetric encryption algorithm is DES-CBC .
N ===...completed with return code 5.
N =================================================
N MskiInitLogonTicketCacheHandle: Logon Ticket cache pointer retrieved from shared memory.
N MskiInitLogonTicketCacheHandle: Workprocess runs with Logon Ticket cache.
M JrfcVmcRegisterNativesDriver o.k.
W =================================================
W === ipl_Init() called
W ITS Plugin: Path dw_gui
W ITS Plugin: Description ITS Plugin - ITS rendering DLL
W ITS Plugin: sizeof(SAP_UC) 2
W ITS Plugin: Release: 700, [7000.0.172.20050900]
W ITS Plugin: Int.version, [33]
W ITS Plugin: Feature set: [17]
W ===... Calling itsp_Init in external dll ===>
W === ipl_Init() returns 0, ITSPE_OK: OK
W =================================================
N VSI: WP init in ABAP VM completed with rc=0
E
E Thu Jan 22 15:12:58 2009
E Replication is disabled
E EnqCcInitialize: local lock table initialization o.k.
E EnqId_SuppressIpc: local EnqId initialization o.k.
E EnqCcInitialize: local enqueue client init o.k.
M
M Thu Jan 22 15:13:03 2009
M SosICreateNewAnchorArray: sos_search_anchor_semantics = 1
A
A Thu Jan 22 15:13:07 2009
A *** ERROR => RFC ======> cannot open SAPGUI
[abrfcio.c 8185]
A RFC 1729 CONVID 62379446
A * CMRC=0 DATA=0 STATUS=0 SAPRC=0 exec_sapgui cannot open SAPGUI
A RFC> ABAP Programm: SAPLSLDAG (Transaction: )
A RFC> User: DDIC (Client: 000)
A RFC> Destination: SERVER_EXEC (handle: 2, , )
A RFC SERVER> RFC Server Session (handle: 1, 62377117, {4978D392-D34E-190F-E100-80020A001114})
A RFC SERVER> Caller host:
A RFC SERVER> Caller transaction code: (Caller Program: SLDAPPL_SERV)
A RFC SERVER> Called function module: SLDAG_GET_COMPILED_BITS
A *** ERROR => RFC Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1738
FUNCTION: 'exec_sapgui'
cannot open SAPGUI
PROG =rfcexec USALSAPU sapgw79 62379446 IDX=2
[abrfcio.c 8185]
A *** ERROR => RFC ======> FUNCTION: 'exec_sapgui'
cannot open SAPGUI
[abrfcio.c 8185]
A RFC 1729 CONVID 62382527
A * CMRC=0 DATA=0 STATUS=0 SAPRC=0 exec_sapgui FUNCTION: 'exec_sapgui'
A cannot open SAPGUI
A RFC> ABAP Programm: SAPLSLDAG (Transaction: )
A RFC> User: DDIC (Client: 000)
A RFC> Destination: SERVER_EXEC (handle: 2, , )
A RFC SERVER> RFC Server Session (handle: 1, 62381506, {4978D397-D34E-190F-E100-80020A001114})
A RFC SERVER> Caller host:
A RFC SERVER> Caller transaction code: (Caller Program: SLDAPPL_SERV)
A RFC SERVER> Called function module: SLDAG_GET_COMPILED_BITS
A *** ERROR => RFC Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1738
FUNCTION: 'exec_sapgui'
FUNCTION: 'exec_sapgui'
cannot open SAPGUI
PROG =rfcexec USALSAPU sapgw79 62382527 IDX=3
[abrfcio.c 8185]
A
A Thu Jan 22 15:13:14 2009
A *** ERROR => RFC ======> FUNCTION: 'exec_sapgui'
FUNCTION: 'exec_sapgui'
cannot open SAPGUI
[abrfcio.c 8185]
A RFC 1729 CONVID 62392457
A * CMRC=0 DATA=0 STATUS=0 SAPRC=0 exec_sapgui FUNCTION: 'exec_sapgui'
A FUNCTION: 'exec_sapgui'
A cannot open SAPGUI
A RFC> ABAP Programm: SAPLSLDAG (Transaction: )
A RFC> User: DDIC (Client: 000)
A RFC> Destination: SERVER_EXEC (handle: 3, , )
A RFC SERVER> RFC Server Session (handle: 1, 62381506, {4978D397-D34E-190F-E100-80020A001114})
A RFC SERVER> Caller host:
A RFC SERVER> Caller transaction code: (Caller Program: SLDAPPL_SERV)
A RFC SERVER> Called function module: SLDAG_GET_COMPILED_BITS
A *** ERROR => RFC Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1738
FUNCTION: 'exec_sapgui'
FUNCTION: 'exec_sapgui'
FUNCTION: 'exec_sapgui'
cannot open SAPGUI
PROG =rfcexec USALSAPU sapgw79 62392457 IDX=6
[abrfcio.c 8185]
B
B Thu Jan 22 15:13:16 2009
B table logging switched on for client '010'
M
M Thu Jan 22 15:13:22 2009
M AS400_API connected to 'USALSAPU'. DBJob: (197789/QUSER /QXDARECVR )M *** ERROR => AS400_API (APICODE 23) failed with SY-SUBRC = 9 [abas4api.c 1548]
M *** ERROR => Cannot open file '/usr/sap/transD60/config/infoapar.610' [ 0]
A A TH VERBOSE LEVEL FULL
A ** RABAX: level LEV_RX_PXA_RELEASE_MTX entered.
A ** RABAX: level LEV_RX_PXA_RELEASE_MTX completed.
A ** RABAX: level LEV_RX_COVERAGE_ANALYSER entered.
A ** RABAX: level LEV_RX_COVERAGE_ANALYSER completed.
A ** RABAX: level LEV_RX_ROLLBACK entered.
A ** RABAX: level LEV_RX_ROLLBACK completed.
A ** RABAX: level LEV_RX_DB_ALIVE entered.
A ** RABAX: level LEV_RX_DB_ALIVE completed.
A ** RABAX: level LEV_RX_HOOKS entered.
A ** RABAX: level LEV_RX_HOOKS completed.
A ** RABAX: level LEV_RX_STANDARD entered.
A ** RABAX: level LEV_RX_STANDARD completed.
A ** RABAX: level LEV_RX_STOR_VALUES entered.
A ** RABAX: level LEV_RX_STOR_VALUES completed.
A ** RABAX: level LEV_RX_C_STACK entered.
A ** RABAX: level LEV_RX_C_STACK completed.
A ** RABAX: level LEV_RX_MEMO_CHECK entered.
A ** RABAX: level LEV_RX_MEMO_CHECK completed.
A ** RABAX: level LEV_RX_AFTER_MEMO_CHECK entered.
A ** RABAX: level LEV_RX_AFTER_MEMO_CHECK completed.
A ** RABAX: level LEV_RX_INTERFACES entered.
A ** RABAX: level LEV_RX_INTERFACES completed.
A ** RABAX: level LEV_RX_GET_MESS entered.
A ** RABAX: level LEV_RX_GET_MESS completed.
A ** RABAX: level LEV_RX_INIT_SNAP entered.
A ** RABAX: level LEV_RX_INIT_SNAP completed.
A ** RABAX: level LEV_RX_WRITE_SYSLOG entered.
A ** RABAX: level LEV_RX_WRITE_SYSLOG completed.
A ** RABAX: level LEV_RX_WRITE_SNAP entered.
A ** RABAX: level LEV_SN_END completed.
A ** RABAX: level LEV_RX_SET_ALERT entered.
A ** RABAX: level LEV_RX_SET_ALERT completed.
A ** RABAX: level LEV_RX_COMMIT entered.
A ** RABAX: level LEV_RX_COMMIT completed.
A ** RABAX: level LEV_RX_SNAP_SYSLOG entered.
A ** RABAX: level LEV_RX_SNAP_SYSLOG completed.
A ** RABAX: level LEV_RX_RESET_PROGS entered.
A ** RABAX: level LEV_RX_RESET_PROGS completed.
A ** RABAX: level LEV_RX_STDERR entered.
A Thu Jan 22 15:13:22 2009
A
A ABAP Program SAPMSYST .
A Source SAPMSYST Line 1770.
A Error Code DYNPRO_NOT_FOUND.
A Module $Id: //bas/700_REL/src/krn/dynp/dybas.c#6 $ SAP.
A Function dyrdyp.c Line 545.
A ** RABAX: level LEV_RX_STDERR completed.
A ** RABAX: level LEV_RX_RFC_ERROR entered.
A ** RABAX: level LEV_RX_RFC_ERROR completed.
A ** RABAX: level LEV_RX_RFC_CLOSE entered.
A ** RABAX: level LEV_RX_RFC_CLOSE completed.
A ** RABAX: level LEV_RX_IMC_ERROR entered.
A ** RABAX: level LEV_RX_IMC_ERROR completed.
A ** RABAX: level LEV_RX_DATASET_CLOSE entered.
A ** RABAX: level LEV_RX_DATASET_CLOSE completed.
A ** RABAX: level LEV_RX_RESET_SHMLOCKS entered.
A ** RABAX: level LEV_RX_RESET_SHMLOCKS completed.
A ** RABAX: level LEV_RX_ERROR_SAVE entered.
A ** RABAX: level LEV_RX_ERROR_SAVE completed.
A ** RABAX: level LEV_RX_ERROR_TPDA entered.
A ** RABAX: level LEV_RX_ERROR_TPDA completed.
A ** RABAX: level LEV_RX_PXA_RELEASE_RUDI entered.
A ** RABAX: level LEV_RX_PXA_RELEASE_RUDI completed.
A ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP entered.
A ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP completed.
A ** RABAX: level LEV_RX_END entered.
A ** RABAX: level LEV_RX_END completed.
A ** RABAX: end no http/smtp
A ** RABAX: end RX_GOTO_RABAX
A Dynpro does not exist.
A
A TH VERBOSE LEVEL FULL
A ** RABAX: level LEV_RX_PXA_RELEASE_MTX entered.
A ** RABAX: level LEV_RX_PXA_RELEASE_MTX completed.
A ** RABAX: level LEV_RX_COVERAGE_ANALYSER entered.
A ** RABAX: level LEV_RX_COVERAGE_ANALYSER completed.
A ** RABAX: level LEV_RX_ROLLBACK entered.
A ** RABAX: level LEV_RX_ROLLBACK completed.
A ** RABAX: level LEV_RX_DB_ALIVE entered.
A ** RABAX: level LEV_RX_DB_ALIVE completed.
A ** RABAX: level LEV_RX_HOOKS entered.
A ** RABAX: level LEV_RX_HOOKS completed.
A ** RABAX: level LEV_RX_STANDARD entered.
A ** RABAX: level LEV_RX_STANDARD completed.
A ** RABAX: level LEV_RX_STOR_VALUES entered.
A ** RABAX: level LEV_RX_STOR_VALUES completed.
A ** RABAX: level LEV_RX_C_STACK entered.
A
A Thu Jan 22 15:13:23 2009
A ** RABAX: level LEV_RX_C_STACK completed.
A ** RABAX: level LEV_RX_MEMO_CHECK entered.
A ** RABAX: level LEV_RX_MEMO_CHECK completed.
A ** RABAX: level LEV_RX_AFTER_MEMO_CHECK entered.
A ** RABAX: level LEV_RX_AFTER_MEMO_CHECK completed.
A ** RABAX: level LEV_RX_INTERFACES entered.
A ** RABAX: level LEV_RX_INTERFACES completed.
A ** RABAX: level LEV_RX_GET_MESS entered.
A ** RABAX: level LEV_RX_GET_MESS completed.
A ** RABAX: level LEV_RX_INIT_SNAP entered.
A ** RABAX: level LEV_RX_INIT_SNAP completed.
A ** RABAX: level LEV_RX_WRITE_SYSLOG entered.
A ** RABAX: level LEV_RX_WRITE_SYSLOG completed.
A ** RABAX: level LEV_RX_WRITE_SNAP entered.
A ** RABAX: level LEV_SN_END completed.
A ** RABAX: level LEV_RX_SET_ALERT entered.
A ** RABAX: level LEV_RX_SET_ALERT completed.
A ** RABAX: level LEV_RX_COMMIT entered.
A ** RABAX: level LEV_RX_COMMIT completed.
A ** RABAX: level LEV_RX_SNAP_SYSLOG entered.
A ** RABAX: level LEV_RX_SNAP_SYSLOG completed.
A ** RABAX: level LEV_RX_RESET_PROGS entered.
A ** RABAX: level LEV_RX_RESET_PROGS completed.
A ** RABAX: level LEV_RX_STDERR entered.
A Thu Jan 22 15:13:23 2009
A
A ABAP Program SAPMS380 .
A Source Line 0.
A Error Code DYNPRO_NOT_FOUND.
A Module $Id: //bas/700_REL/src/krn/dynp/dybas.c#6 $ SAP.
A Function dyrdyp.c Line 545.
A ** RABAX: level LEV_RX_STDERR completed.
A ** RABAX: level LEV_RX_RFC_ERROR entered.
A ** RABAX: level LEV_RX_RFC_ERROR completed.
A ** RABAX: level LEV_RX_RFC_CLOSE entered.
A ** RABAX: level LEV_RX_RFC_CLOSE completed.
A ** RABAX: level LEV_RX_IMC_ERROR entered.
A ** RABAX: level LEV_RX_IMC_ERROR completed.
A ** RABAX: level LEV_RX_DATASET_CLOSE entered.
A ** RABAX: level LEV_RX_DATASET_CLOSE completed.
A ** RABAX: level LEV_RX_RESET_SHMLOCKS entered.
A ** RABAX: level LEV_RX_RESET_SHMLOCKS completed.
A ** RABAX: level LEV_RX_ERROR_SAVE entered.
A ** RABAX: level LEV_RX_ERROR_SAVE completed.
A ** RABAX: level LEV_RX_ERROR_TPDA entered.
A ** RABAX: level LEV_RX_ERROR_TPDA completed.
A ** RABAX: level LEV_RX_PXA_RELEASE_RUDI entered.
A ** RABAX: level LEV_RX_PXA_RELEASE_RUDI completed.
A ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP entered.
A ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP completed.
A ** RABAX: level LEV_RX_END entered.
A ** RABAX: level LEV_RX_END completed.
A ** RABAX: end no http/smtp
A ** RABAX: end RX_GOTO_SAPDEXT
A Dynpro does not exist.
A
M ThIUsrDel: th_rollback_usrdelentry = 1
M ***LOG R47=> ThResFree, delete (001024) [thxxmode.c 1384]
S
S Thu Jan 22 15:14:20 2009
S found spool memory service RSPO-ACTIONS at 0x70000046000a478Hi TJ,
you are having definetely other issues, than the ones that might be caused by clrpfm of the tables above ...
But, based on that data, I do not know which ones ;-(
There are dynpro tables like dynpload or d3456t or so not proper ...
Regards
Volker Gueldenpfennig, consolut international ag
http://www.consolut.net - http://www.4soi.de - http://www.easymarketplace.de -
Hi Geeks,
I have encountered an issue while starting up my database on 12c RAC.
Till mount it goes fine but when i attempt to open it throws me an error.
Total System Global Area 1.5400E+10 bytes
Fixed Size 4737560 bytes
Variable Size 2952791528 bytes
Database Buffers 1.2415E+10 bytes
Redo Buffers 26857472 bytes
Database mounted.
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-00942: table or view does not exist
Process ID: 11338068
Session ID: 1429 Serial number: 3
Here is the trace file output...
ORACLE_HOME = /oracle_home/app/orahome
System name: AIX
Node name: INS1
Release: 1
Version: 7
Machine: 00C8CCA74C00
Instance name: INST1
Redo thread mounted by this instance: 1
Oracle process number: 7
Unix process pid: 20381876, image: oracle@ins1 (TNS V1-V3)
*** 2014-11-27 22:49:20.892
*** SESSION ID:(197.5) 2014-11-27 22:49:20.892
*** CLIENT ID:() 2014-11-27 22:49:20.892
*** SERVICE NAME:() 2014-11-27 22:49:20.892
*** MODULE NAME:(sqlplus@ins1 (TNS V1-V3)) 2014-11-27 22:49:20.892
*** ACTION NAME:() 2014-11-27 22:49:20.892
2014-11-27 22:49:20.889716 : Start recovery for domain=0, valid=0, flags=0x4
*** 2014-11-27 22:49:24.580
Successfully allocated 32 recovery slaves
Using 3 overflow buffers per recovery slave
*** 2014-11-27 22:49:24.740
Thread 1 checkpoint: logseq 15, block 2, scn 3510749
cache-low rba: logseq 15, block 3
on-disk rba: logseq 15, block 72, scn 3510824
start recovery at logseq 15, block 3, scn 0
*** 2014-11-27 22:49:24.981
Started resilvering redo thread 1 seq 15 blocks 72-73
*** 2014-11-27 22:49:24.994
Completed resilvering redo thread 1 seq 15
*** 2014-11-27 22:49:24.994
Started writing zeroblks thread 1 seq 15 blocks 74-81
*** 2014-11-27 22:49:24.994
Completed writing zeroblks thread 1 seq 15
==== Redo read statistics for thread 1 ====
Total physical reads (from disk and memory): 4096Kb
-- Redo read_disk statistics --
Read rate (ASYNC): 35Kb in 0.25s => 0.14 Mb/sec
Longest record: 0Kb, moves: 0/104 (0%)
Longest LWN: 2Kb, moves: 0/33 (0%), moved: 0Mb
Last redo scn: 0x0000.0035922b (3510827)
----- Recovery Hash Table Statistics ---------
Hash table buckets = 262144
Longest hash chain = 1
Average hash chain = 25/25 = 1.0
Max compares per lookup = 1
Avg compares per lookup = 151/176 = 0.9
*** 2014-11-27 22:49:25.007
KCRA: start recovery claims for 25 data blocks
*** 2014-11-27 22:49:25.039
KCRA: blocks processed = 25/25, claimed = 25, eliminated = 0
*** 2014-11-27 22:49:25.054
Recovery of Online Redo Log: Thread 1 Group 6 Seq 15 Reading mem 0
*** 2014-11-27 22:49:25.060
Completed redo application of 0.02MB
*** 2014-11-27 22:49:25.235
Completed recovery checkpoint
----- Recovery Hash Table Statistics ---------
Hash table buckets = 262144
Longest hash chain = 1
Average hash chain = 25/25 = 1.0
Max compares per lookup = 1
Avg compares per lookup = 176/176 = 1.0
Recovery sets nab of thread 1 seq 15 to 74 with 8 zeroblks
*** 2014-11-27 22:49:26.000
2014-11-27 22:49:26.000433 : Validate domain 0
2014-11-27 22:49:26.001348 : Validated domain 0, flags = 0x0
*** 2014-11-27 22:49:28.315
Count of ofsmtab$: 0 entries
*** 2014-11-27 22:49:28.732
ORA-00942: table or view does not exist
ORA-00942: table or view does not exist
*** 2014-11-27 22:49:28.738
USER (ospid: 20381876): terminating the instance due to error 942In my case the issue has fixed by executing the following..
grant SELECT on SYS.USER$ to XDB;
grant SELECT on SYS.USER$ to CTXSYS;
grant SELECT on SYS.USER$ to DVSYS;
grant SELECT on SYS.USER$ to LBACSYS;
grant SELECT on SYS.USER$ to APEX_040200;
grant SELECT on SYS.USER$ to DV_SECANALYST;
Refer the above screen shot... -
Database startup showing ORA-00942: table or view does not exist in trace
Hi Friends,
SunOS 5.10 Generic_137112-06 i86pc i386 i86pc , 64 Bit
Oracle 10.2.0.1.0
While I am doing a startup, getting following error.
SQL> startup;
ORACLE instance started.
Total System Global Area 3221225472 bytes
Fixed Size 2122544 bytes
Variable Size 410819792 bytes
Database Buffers 2801795072 bytes
Redo Buffers 6488064 bytes
Database mounted.
ORA-01092: ORACLE instance terminated. Disconnection forcedThe alert log shows the following
Errors in file /applns/oracle/admin/CTSD1/udump/ctsd1_ora_11486.trc:
ORA-00942: table or view does not exist
Error 942 happened during db open, shutting down database
USER: terminating instance due to error 942
Instance terminated by USER, pid = 11486
ORA-1092 signalled during: ALTER DATABASE OPEN...A look at the trace file shows this
/applns/oracle/admin/CTSD1/udump/ctsd1_ora_11486.trc
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
ORACLE_HOME = /applns/oracle
System name: SunOS
Node name: N890
Release: 5.10
Version: Generic_137112-06
Machine: i86pc
Instance name: CTSD1
Redo thread mounted by this instance: 1
Oracle process number: 23
Unix process pid: 11486, image: oracle@N890 (TNS V1-V3)
*** SERVICE NAME:() 2011-02-16 19:24:50.188
*** SESSION ID:(325.3) 2011-02-16 19:24:50.188
Successfully allocated 3 recovery slaves
Using 367 overflow buffers per recovery slave
Thread 1 checkpoint: logseq 45929, block 2, scn 310788795>cache-low rba: logseq 45929, block 3
>on-disk rba: logseq 45929, block 52, scn 310788832
>start recovery at logseq 45929, block 3, scn 0
----- Redo read statistics for thread 1 -----
Read rate (ASYNC): 24Kb in 0.31s => 0.08 Mb/sec
Total physical reads: 4096Kb
Longest record: 0Kb, moves: 0/61 (0%)
Longest LWN: 16Kb, moves: 0/3 (0%), moved: 0Mb
Last redo scn: 0x0000.128642df (310788831)
----- Recovery Hash Table Statistics ---------
Hash table buckets = 32768
Longest hash chain = 1
Average hash chain = 4/4 = 1.0
Max compares per lookup = 1
Avg compares per lookup = 117/121 = 1.0
*** 2011-02-16 19:24:50.515
KCRA: start recovery claims for 4 data blocks
*** 2011-02-16 19:24:50.515
KCRA: blocks processed = 4/4, claimed = 4, eliminated = 0
*** 2011-02-16 19:24:50.516
Recovery of Online Redo Log: Thread 1 Group 1 Seq 45929 Reading mem 0
----- Recovery Hash Table Statistics ---------
Hash table buckets = 32768
Longest hash chain = 1
Average hash chain = 4/4 = 1.0
Max compares per lookup = 1
Avg compares per lookup = 121/121 = 1.0
ORA-00942: table or view does not existI have searched MOS and Google, but didn;'t get any relevant results.
Also flushed my shared_pool as mentioned in (http://www.tanelpoder.com/files/oracle_rowcache.pdf) after mount and started , still no luck
Any help is appreciated
Thanks
SSNHi,
Thanks.
Tried log mining, but still couldn't find the culprit. I think now, I have to drop and create this db.Still wondering what might have happened.
select group#,status from v$log;
GROUP# STATUS
1 INACTIVE
3 INACTIVE
2 CURRENT
SQL> select group#,MEMBER from v$logfile where group#=2;
GROUP#
MEMBER
2
/applns/oracle/oradata/CTSD1/redo02.log
SQL> EXECUTE sys.DBMS_LOGMNR.ADD_LOGFILE( LOGFILENAME => '/applns/oracle/oradata/CTSD1/redo02.log',OPTIONS => sys.DBMS_LOGMNR.NEW);
PL/SQL procedure successfully completed.
SQL> EXECUTE sys.DBMS_LOGMNR.START_LOGMNR;
PL/SQL procedure successfully completed.
SQL> SELECT COUNT (*) FROM v$logmnr_contents WHERE operation = 'DDL';
COUNT(*)
0
SQL> EXECUTE sys.DBMS_LOGMNR.END_LOGMNR();
PL/SQL procedure successfully completed.
SQL> select group#,MEMBER from v$logfile where group#=1;
GROUP#
MEMBER
1
/applns/oracle/oradata/CTSD1/redo01.log
1
/applns/oracle/oradata/CTSD1/redolog001.log
SQL> EXECUTE sys.DBMS_LOGMNR.ADD_LOGFILE( LOGFILENAME => '/applns/oracle/oradata/CTSD1/redo01.log',OPTIONS => sys.DBMS_LOGMNR.NEW);
PL/SQL procedure successfully completed.
SQL> EXECUTE sys.DBMS_LOGMNR.START_LOGMNR;
PL/SQL procedure successfully completed.
SQL> SELECT COUNT (*) FROM v$logmnr_contents WHERE operation = 'DDL';
COUNT(*)
0
SQL> EXECUTE sys.DBMS_LOGMNR.END_LOGMNR();
PL/SQL procedure successfully completed.
SQL> EXECUTE sys.DBMS_LOGMNR.ADD_LOGFILE( LOGFILENAME => '/applns/oracle/oradata/CTSD1/redolog001.log',OPTIONS => sys.DBMS_LOGMNR.NEW);
PL/SQL procedure successfully completed.
SQL> EXECUTE sys.DBMS_LOGMNR.START_LOGMNR;
PL/SQL procedure successfully completed.
SQL> SELECT COUNT (*) FROM v$logmnr_contents WHERE operation = 'DDL';
COUNT(*)
0
SQL> EXECUTE sys.DBMS_LOGMNR.END_LOGMNR();
PL/SQL procedure successfully completed.
SQL> select group#,MEMBER from v$logfile where group#=3
GROUP#
MEMBER
3
/applns/oracle/oradata/CTSD1/redo03.log
SQL> EXECUTE sys.DBMS_LOGMNR.ADD_LOGFILE( LOGFILENAME => '/applns/oracle/oradata/CTSD1/redo03.log',OPTIONS => sys.DBMS_LOGMNR.NEW);
PL/SQL procedure successfully completed.
SQL> EXECUTE sys.DBMS_LOGMNR.START_LOGMNR;
PL/SQL procedure successfully completed.
SQL> SELECT COUNT (*) FROM v$logmnr_contents WHERE operation = 'DDL';
COUNT(*)
0
SQL> EXECUTE sys.DBMS_LOGMNR.END_LOGMNR();
PL/SQL procedure successfully completed.SSN -
SOLVED: Mounting IDE ZIP Drives, "Special Device hdb4 Does Not Exist"
I thought I would post a follow-up, since I have finally resolved this long standing issue, which has plagued me since my first days with Linux many years ago.
As outlined in my original post below, every time I would attempt to access a Zip disk for the first time since boot, Linux (pretty much all distros I have ever tried, with the exception of SuSE 9.3) would fail to mount the disk and report back that "Special device hdb4 does not exist". Of course the "hdb4" part varies from distro to distro and machine to machine, depending on how your Zip disk is connected and how the distro names its disks, but the basic error has been constant. I have always worked around it by redoing the mount command specifying just the device, not the partition, and while that would always fail, it would force the creation of the device /dev/hdb4, and I could carry on. Annoying but effective.
FINALLY, a long term answer. I got my inspiration from a really snarky post I read in another online forum where someone had posted this very same question (this is a very common problem with no common answer it seems!). The respondant, who completely failed to provide a helpful answer, basically said "listen, the OS is telling you what is wrong - the device hdb4 doesn't exist - so fix it, and all will be just fine". Of course, the respondant didn't even bother to offer a suggestion about HOW to fix it.
However, therein lies the inspiration for the solution. Indeed they are right, /dev/hdb4 *doesn't* exist, so how to fix that? They had a point. I started researching the mysteries of mknod, a program that can create /dev files, and the even deeper mysteries of Linux device numbers, both major and minor.
In the end, I found a wonderfully informative document that described the current standard for the device numbering scheme used by mknod, and Linux in general. The key things of interest are this:
1/ The major number for IDE based drives is 3.
2/ IDE allows for 64 partitions per device, so the minor numbers are 0-63 for device "a", 64-127 for device "b" and so on. You derive the minor number of interest for your particular device by taking the starting value of the minor number range of interest for your device and adding the partition number to it. So, for example, hdb4 would have a minor number of 64 (the start of the minor number range for device "b") plus 4 (the partition number in "hdb4"), yielding a result of 68.
3/ The major number for SCSI based drives, or those that your OS treats as SCSI, is 8.
4/ SCSI allows for 16 partitions per device, so the minor numbers are 0-15 for device "a", 16-31 for device "b" and so on. You derive the minor number of interest for your particular device by taking the starting value of the minor number range of interest for your device and adding the partition number to it. So, for example, sdb4 would have a minor number of 16 (the start of the minor number range for device "b") plus 4 (the partition number in "hdb4"), yielding a result of 20.
In my case, Arch seems to be treating all of my disk based devices as SCSI, perhaps because I do have a real SCSI interfaced Jaz drive in my machine. So, the Zip disk of interest in my machine is sdc4 (my real SCSI jaz is sda, my Arch root is sdb, and the IDE Zip is sdc). Applying the above, for /dev/sdc4:
- The major number is 8.
- The minor number is 32 (start of range for device "c") plus 4 (the partition number) = 36.
Armed with this knowledge, I su'd to root and entered:
# mknod /dev/sdc4 b 8 36
and like magic, there is was, /dev/sdc4. I popped a disk into the drive and my first attempt to access it was greeted with success, not the usual "device does not exist" error! By the way, the "b" in the above command is just part of the mknod syntax, and indicates that I am creating a block device (vs. a character device, or some other type of device - disk drives all seem to be "block" devices for apparent reasons).
SO, determine your major number by device type (it will usually be 3 or 8), compute your minor number by device letter and partition number, and add a mknod command to your system startup (so you don't have to do it manually every time) and you are done! No more annoying "device does not exist" errors.
Now for the kicker. It turns out that this information has been available under my nose all along. I just didn't recognize the code. If you do the following:
# ls -ald /dev/sd*
Linux obligingly provides you with the major number and the start of the minor number range for your device. Since Linux has always detected the Zip *device* (just not the partition) this is really all you need to know. When I issue the above command, I get an output like:
brw-rw---- 1 root disk 8, 32 date time /dev/sdc
Guess what, there they are! "8" is the major number of interest, "32" is the start of the minor number range of interest. If I had just recognized that, and known that all I had to do was add the partition number to the minor number to get the magic number to feed into mknod, things would have been easier.
Sorry for the long post, but like so many things in Linux, the OS doesn't make this easy on the uninitiated. I sincerely hope that this post may help lots of other people to resolve this vexing and longstanding problem.Solved!
See the lengthy response in this post:
http://bbs.archlinux.org/viewtopic.php?id=36468
I posted the solution separately, with the most informative title I could come up with, so that others Googling this topic on the web may hopefully easily find it. -
Import statement reports 'package does not exist'
I am seeing another odd error. I'm working on learning how to read and write to text files, and I have 2 errors reported, but one is obviously caused by the other. My package is labeled as such (copy>paste of package line):
package michaelchristopherp4db;
and the import line is this (copy>paste again):
import michaelchristopherp4db.ProductRecord;
However, Netbeans looks at the import and flags it red, saying package michaelchristopherp4db does not exist. this caused my line:
ProductRecord product = new ProductRecord();
to also be flagged in red as it cannot find the ProductRecord class. However, it has no problems with any of the product.get* method calls. Thank you in advance for any ideas or input.
here is the full code of the file reporting the errors.
* To change this template, choose Tools | Templates
* and open the template in the editor.
package michaelchristopherp4db2;
import java.io.File;
import java.io.FileNotFoundException;
import java.lang.IllegalStateException;
import java.lang.SecurityException;
import java.util.NoSuchElementException;
import java.util.Formatter;
import java.util.FormatterClosedException;
import java.util.Scanner;
import michaelchristopherp4db.ProductRecord;
/* @author info
public class readTxt
private Scanner txtfile;
private Formatter wishList;
private Formatter giftIdeas;
private Formatter priceError;
//let user open file
public void openFile()
{//open method openFile
try
{//open try block
priceError = new Formatter("priceerror.txt");//open object for items with invalid prices
giftIdeas = new Formatter("giftideas.txt");//open object for gift ideas
wishList = new Formatter("wishlist.txt");//open object for wish list
txtfile = new Scanner(new File("products.txt"));//tell the compiler which file to use for input
}//close try block
catch (FileNotFoundException fileNotFoundException)
{//open file not found catch block
System.err.println("Error opening or creating file.");
System.exit(1);
}//close file not found catch block
catch ( SecurityException securityException )
{//start catch for SecurityException
System.err.println("File Write access is denied.");
System.exit(1);//END PROGRAM
}//end catch
}//close openFile method
public void readProducts()
{//open readProducts method
ProductRecord product = new ProductRecord();//create object to hold read data
//print headers for for output columns
System.out.printf("%-10s%-12s%10s\n", "Product ID", "Product Name", "Price");
try //read records from the file
{//open try block
while (txtfile.hasNext())
{//open while
product.setproductID(txtfile.nextInt());//get productID
product.setproductName(txtfile.next());//get product name
product.setproductPrice(txtfile.nextDouble());//get product price
//print collected product details
System.out.printf("%-10d%-12s%10.2f\n", product.getproductID(),
product.getproductName(), product.getproductPrice());
if (product.getproductPrice()>50.0)
{//open if to store items $50 or more to wishlist.txt
wishList.format("%-10d%-12s%10.2f\n", product.getproductID(),
product.getproductName(), product.getproductPrice());
}//close if $50 or greater
else if (product.getproductPrice()<0.0)
{//open if less than zero
priceError.format("%-10d%-12s%10.2f\n", product.getproductID(),
product.getproductName(), product.getproductPrice());
}//close if less than zero
else
{//open else for gift ideas from $0 to $50
giftIdeas.format("%-10d%-12s%10.2f\n", product.getproductID(),
product.getproductName(), product.getproductPrice());
}//close else for gift ideas
}//close while
}//close try block
catch (NoSuchElementException elementException)
{//open no such element exception catch
System.err.println("File improperly formed.");
txtfile.close();//close text file
System.exit(1);
}//close no such element exception catch
catch (IllegalStateException stateException)
{//open illegal state exception catch
System.err.println("Error reading from file.");
System.exit(1);
}//close illegal state exception catch
}//close readProducts method
//close file and end application
public void closeFile()
{//open closeFile method
if (txtfile != null)
txtfile.close();//close file
}//close closeFile method
}//end application readTxtAnd the code at the top of the class I am trying to import (so you can see the package I am trying to import)
* To change this template, choose Tools | Templates
* and open the template in the editor.
package michaelchristopherp4db;
* @author
public class ProductRecord {I am embarrassed to admit this, but I am completely lost on the last question.. I have no clue wether it is a convenience for development or a dependancy, as I have not learned those terms or distinctions yet. For now I copied the ProductRecord file into my new project folder and renamed it's project line to match the new project name. However, while that eliminated the package does not exist error, and netbeans reports no errors now, when I run the program it does not write the new files. I have made some modifications to the code tryiing to get it to write properly but so far no luck in makingit work. Here is the current version of the file not running right.
* To change this template, choose Tools | Templates
* and open the template in the editor.
package michaelchristopherp4db2;
import java.io.File;
import java.io.FileNotFoundException;
import java.lang.IllegalStateException;
import java.lang.SecurityException;
import java.util.NoSuchElementException;
import java.util.Formatter;
import java.util.FormatterClosedException;
import java.util.Scanner;
/* @author
* Michael Christopher
* IT215-1004D-03
* December 30, 2010
* Phase 4 DB 2
public class readTxt
private Scanner txtfile;
private Formatter wishList;
private Formatter giftIdeas;
private Formatter priceError;
//let user open file
public void openFile()
{//open method openFile
try
{//open try block
priceError = new Formatter("priceerror.txt");//open object for items with invalid prices
giftIdeas = new Formatter("giftideas.txt");//open object for gift ideas
wishList = new Formatter("wishlist.txt");//open object for wish list
txtfile = new Scanner(new File("products.txt"));//tell the compiler which file to use for input
}//close try block
catch (FileNotFoundException fileNotFoundException)
{//open file not found catch block
System.err.println("Error opening or creating file.");
System.exit(1);
}//close file not found catch block
catch ( SecurityException securityException )
{//start catch for SecurityException
System.err.println("File Write access is denied.");
System.exit(1);//END PROGRAM
}//end catch
}//close openFile method
public void readProducts()
{//open readProducts method
ProductRecord product = new ProductRecord();//create object to hold read data
//print headers for for output columns
wishList.format("%-10s%-12s%10s\n", "Product ID", "Product Name", "Price");
giftIdeas.format("%-10s%-12s%10s\n", "Product ID", "Product Name", "Price");
priceError.format("%-10s%-12s%10s\n", "Product ID", "Product Name", "Price");
try //read records from the file
{//open try block
while (txtfile.hasNext())
{//open while
product.setproductID(txtfile.nextInt());//get productID
product.setproductName(txtfile.next());//get product name
product.setproductPrice(txtfile.nextDouble());//get product price
if (product.getproductPrice()>50.0)
{//open if to store items $50 or more to wishlist.txt
wishList.format("%-10d%-12s%10.2f\n", product.getproductID(),
product.getproductName(), product.getproductPrice());
}//close if $50 or greater
else if (product.getproductPrice()<0.0)
{//open if less than zero
priceError.format("%-10d%-12s%10.2f\n", product.getproductID(),
product.getproductName(), product.getproductPrice());
}//close if less than zero
else
{//open else for gift ideas from $0 to $50
giftIdeas.format("%-10d%-12s%10.2f\n", product.getproductID(),
product.getproductName(), product.getproductPrice());
}//close else for gift ideas
}//close while
}//close try block
catch (NoSuchElementException elementException)
{//open no such element exception catch
System.err.println("File improperly formed.");
txtfile.close();//close text file
System.exit(1);
}//close no such element exception catch
catch (IllegalStateException stateException)
{//open illegal state exception catch
System.err.println("Error reading from file.");
System.exit(1);
}//close illegal state exception catch
}//close readProducts method
//close file and end application
public void closeFile()
{//open closeFile method
if (txtfile != null)
txtfile.close();//close file
}//close closeFile method
}//end application readTxtwith the System.out.printf lines in the ReadProducts method it would properly print to screen all of the elements in the products.txt file, it is not outputting to the other .txt files at all. I will be exploring the closeFile method in case the error is due to not closing all of the files in that method, but does anyone else see what might cause it not to output the data to the appropriate .txt files? -
Lucreate zfs BE dataset does not exist
Hi guys,
I'm trying to upgrade a Solaris 10 full zfs with liveupgrade but unfortunatly after one day search and after re-reading all sunDocs I block on and I cannot create a new BE.
The final objective is to have the server on release 10 10/09 for VDI3.1.1
If someone get an idea would be so great.
tks
Please find here all informations:
SunOS lima 5.10 Generic_142900-02 sun4v sparc SUNW,Sun-Blade-T6340
Solaris 10 10/08 s10s_u6wos_07b SPARC
NAME USED AVAIL REFER MOUNTPOINT
rpool 15.0G 119G 94K none
rpool@install 0 - 94K -
rpool/ROOT 5.83G 119G 18K legacy
rpool/ROOT@install 0 - 18K -
rpool/ROOT/s10s_u6wos_07b 5.83G 113G 5.71G /
rpool/ROOT/s10s_u6wos_07b@install 127M - 5.70G -
rpool/ROOT/s10s_u6wos_07b@sol10_u8 394K - 5.71G -
rpool/ROOT/sol10_u8 0 119G 5.71G /.alt.tmp.b-.7.mnt/
rpool/dump 2.00G 119G 2.00G -
rpool/export 112K 1024M 20K /export
rpool/export@install 16K - 20K -
rpool/export/home 75.5K 1024M 56.5K /export/home
rpool/export/home@install 19K - 31K -
rpool/flar 4.38G 3.62G 4.38G /var/flar
rpool/flar@install 67K - 68K -
rpool/opt 134M 890M 133M /opt
rpool/opt@install 200K - 89.0M -
rpool/tarantella 2.61G 397M 1.11G /opt/SUNWvda
rpool/tarantella@install 491M - 491M -
rpool/tarantella/var 1.02G 397M 1.02G /var/tarantella
Boot Environment Is Active Active Can Copy
Name Complete Now On Reboot Delete Status
old yes yes yes no -
sol10_u8 no no no yes -
The errors :
root@ lima #lucreate -n sol10_u8
Analyzing system configuration.
Comparing source boot environment <old> file systems with the file
system(s) you specified for the new boot environment. Determining which
file systems should be in the new boot environment.
Updating boot environment description database on all BEs.
Updating system configuration files.
Creating configuration for boot environment <sol10_u8>.
Source boot environment is <old>.
Creating boot environment <sol10_u8>.
Cloning file systems from boot environment <old> to create boot environment <sol10_u8>.
Creating snapshot for <rpool/ROOT/s10s_u6wos_07b> on <rpool/ROOT/s10s_u6wos_07b@sol10_u8>.
Creating clone for <rpool/ROOT/s10s_u6wos_07b@sol10_u8> on <rpool/ROOT/sol10_u8>.
Setting canmount=noauto for </> in zone <global> on <rpool/ROOT/sol10_u8>.
ERROR: cannot open ' ': dataset does not exist
ERROR: cannot mount mount point </.alt.tmp.b-.7.mnt/opt> device < >
ERROR: failed to mount file system < > on </.alt.tmp.b-.7.mnt/opt>
ERROR: unmounting partially mounted boot environment file systems
ERROR: cannot mount boot environment by icf file </etc/lu/ICF.2>
ERROR: Unable to mount ABE <sol10_u8>
ERROR: Unable to clone the existing file systems from boot environment <old> to create boot environment <sol10_u8>.
ERROR: Cannot make file systems for boot environment <sol10_u8>.In fact the /opt were seperated to include this in the / resolve the issue.
-
Mysql.sock does not exist!
I'm trying to set up mysql. So I went and installed phpmyadmin and it set up without any errors. But when I go to log into it, it gives me error #2002 Cannot log into mysql server. I read that this was because it couldn't access mysql.sock, and sure enough it was looking for the file in /var/mysql/mysql.sock
Unfortunatly for me, the directory /var/mysql does not exist. I thought I would try to install a later version from mysql.com, but it told me to stop all other instances of mysql with this command. I ran that command, and it said "Cannot connect to local MySQL server through socket '/var/mysql/mysql.sock'" !!!!!
I could go ahead and try to install a new version of MySQL, but it said it would install the sock file in this other folder. (/tmp/mysql.sock) If I do that, I would have to change a bunch of config files to point to this new location, and I don't really know what things need that and what things don't. (I'm kindof new to server management)
So my question is: Why is mysql.sock not in /var/mysql/ and how do I get it there? I ran locate "mysql.sock" and it returned no results.
I'm using the stock versions of everything on Mac os X server 10.6.5How a server is secured depends on the local configuration and requirements.
Blocking access to this particular tool might involve putting the tool on a separate Site on a different IP port and not passing that port through the firewall, or blocking access to the tool via rewrite rules, or setting up an http-level password.
[Here is one thread on this topic|http://stackoverflow.com/questions/2631269/how-to-secure-phpmyadmin], or [here|http://www.phpbuilder.com/board/showthread.php?t=7109220], and particularly see the last part of the [phpMyAdmin Official Quick Install documentation|http://www.phpmyadmin.net/documentation>.
There are some specific recommendations in the phpMyAdmin tool, including +You should deny access to the ./libraries and ./setup/lib subfolders in your webserver configuration. For Apache you can use supplied .htaccess file in that folder, for other webservers, you should configure this yourself. Such configuration prevents from possible path exposure and cross side scripting vulnerabilities that might happen to be found in that code.+
I've seen all manner of access attempts and injection attacks attempted against that tool, too; there was a barrage of attempts earlier today on one of my servers.
And FWIW, I tend to use the command line tools, or the Sequel Pro tool. -
SDKException$PluginNotFoundAtCMS: The plugin Enterprise does not exist in the CMS
Post Author: NorfolkNChance
CA Forum: JAVA
Hi, I am trying for the first time to integrate my crystal reports into java J2ee.
I have been following the tutorials on http://devlibrary.businessobjects.com/BusinessObjectsXIR2/en/en/BOE_SDK/boesdk_java_dg_doc/doc/boesdk_java_dg/HowToExamples3.html
and think I am doing allright. I have imported all the jar I should do from the BO installation directories.
so I am running this code below:
String cms = "*********:6400"; String username = "administrator"; String password = "*********"; String auth = "Enterprise";
// Attempt logon. Create an Enterprise session
try { // manager object. ISessionMgr sm = CrystalEnterprise.getSessionMgr();
// Log on to BusinessObjects Enterprise IEnterpriseSession enterpriseSession = sm.logon(username, password, cms, auth); System.out.println("ddd"); } catch (SDKException e) { // TODO Auto-generated catch block e.printStackTrace(); }
When it reaches the line in bold it throws an exception:
[09/10/07 12:16:14:738 BST] 00000032 SystemErr R com.crystaldecisions.sdk.exception.SDKException$PluginNotFoundAtCMS: The plugin Enterprise does not exist in the CMS
cause:com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2
detail:The plugin Enterprise does not exist in the CMS
The exception originally thrown was com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2
is someone able to help me with this expection? Do I need to set something up on the sever?Post Author: Ted Ueda
CA Forum: JAVA
String auth = "secEnterprise";Sincerely,Ted Ueda -
Field T_STCD1 does not exist in form this erroe msg coming in smartform
hi,
in my smartform, if i give one set of input like, 1st qtr of 2008, vendor and compcode, its displaying the value.
but if i give the input like 1st qtr of 2007, vendor and some other compcode its giving some error like
field T_STCD1 does not exist in form .
this error coming after printpreview and not displaying.
how can i debug it.
can any one help me...........plz
its very urgent.
thanks.report zmm_vat_ex_cert message-id zz .
TABLE DECLARATION *
tables: bseg , tvko.
*Intenal Tables Declarations *
types: begin of it_address_type .
include structure zvat_vendor.
types :end of it_address_type.
types : begin of it_address_info_type.
include structure zadrc_table.
types: end of it_address_info_type.
types : begin of it_desig_type.
include structure zmm_vat_sign.
types: end of it_desig_type.
types: begin of it_bkpf_type,
bukrs type bkpf-bukrs,
belnr type bkpf-belnr,
gjahr type bkpf-gjahr,
blart type bkpf-blart,
bldat type bkpf-bldat,
xblnr type bkpf-xblnr,
awkey type bkpf-awkey ,
end of it_bkpf_type.
types : begin of it_bseg_type,
bukrs like bseg-bukrs,
belnr like bseg-belnr,
gjahr like bseg-gjahr,
bschl like bseg-bschl,
mwskz like bseg-mwskz,
shkzg like bseg-shkzg,
wrbtr like bseg-wrbtr,
sgtxt type bseg-sgtxt,
end of it_bseg_type.
types: begin of it_rseg_type,
ebeln like ekpo-ebeln,
ebelp like ekpo-ebelp,
bukrs like bkpf-bukrs,
txz01 type ekpo-txz01,
wrbtr type rseg-wrbtr,
end of it_rseg_type.
data:begda type d, endda type d.
types: begin of it_item_type.
include structure zitem_vat.
types:end of it_item_type.
data: it_rseg type table of it_rseg_type,
wa_it_rseg like line of it_rseg.
data: gt_addr type table of it_address_type.
data gt_addr_info type table of it_address_info_type.
data gt_bkpf type table of it_bkpf_type.
data gt_bseg type table of it_bseg_type.
data:
gt_tvko type standard table of tvko,
gt_item type table of it_item_type,
h_itab type table of it_bseg_type,
it_desig type table of it_desig_type,
temp_item type table of it_item_type .
data:wa_addr like line of gt_addr,
wa_addr_info like line of gt_addr_info,
wa_bkpf like line of gt_bkpf,
wa_bseg like line of gt_bseg,
wa_item like line of gt_item,
wa_h_itab like line of h_itab,
wa_it_desig like line of it_desig,
wa_temp_item like line of temp_item,
wa_tvko LIKE LINE OF gt_tvko.
wa_tvko type tvko.
Data Declaration *
data: sumtotal type bseg-wrbtr, "rbkp-waers ,
sl_no type zmm_vatex_sno-serial_no,
fiscal_year type string,
fm_name type rs38l_fnam ,
w_q_flag(5),
w_quarter type string ,
close_date type sy-datum ,
fiscal type sy-datum, fiscal_nxt type sy-datum,
gv_belnr type bkpf-belnr,
gv_gjahr type bkpf-gjahr.
data: ca_quarter type i.
data: l_adrnr type t001-adrnr.
data wa_vatex_sno type zmm_vatex_sno.
data: q(1).
data: stdtext(25).
S E L E C T I O N S C R E E N *
selection-screen begin of block b1 with frame title text-s01.
select-options: s_date for sy-datum obligatory no-extension.
parameters : vendor type lfa1-lifnr obligatory ,
compcode type bkpf-bukrs obligatory.
select-options taxcode for bseg-mwskz obligatory default 'VI'.
selection-screen end of block b1.
at selection screen
at selection-screen on s_date.
if s_date-low0(4) <> s_date-high0(4).
message e023 with text-e01.
endif.
*get calendar quarter using the month entered in From date.
*calculate the fiscal year and quarter
if s_date-low4(2) > '0' and s_date-low4(2) <= '3' .
ca_quarter = 1.
fiscal0(4) = s_date-high0(4) .
fiscal_nxt0(4) = s_date-high0(4) - 1.
concatenate fiscal_nxt2(2) '-' fiscal2(2) into fiscal_year .
concatenate 'last quarter of year ' fiscal_nxt0(4) '-' fiscal0(4)
into w_quarter separated by space .
q = '4'.
elseif ( s_date-low4(2) > '3' and s_date-low4(2) <= '6' ).
ca_quarter = 2.
fiscal0(4) = s_date-high0(4) + 1.
fiscal_nxt0(4) = s_date-high0(4).
concatenate fiscal_nxt2(2) '-' fiscal2(2) into fiscal_year .
concatenate '1st quarter of year ' fiscal_nxt0(4) '-' fiscal0(4)
into w_quarter separated by space .
q = '1'.
elseif ( s_date-low4(2) > '6' and s_date-low4(2) <= '9' ).
ca_quarter = 3.
fiscal0(4) = s_date-high0(4) + 1.
fiscal_nxt0(4) = s_date-high0(4).
concatenate fiscal_nxt2(2) '-' fiscal2(2) into fiscal_year .
concatenate '2nd quarter of year ' fiscal_nxt0(4) '-' fiscal0(4) INTO
w_quarter separated by space .
q = '2'.
elseif ( s_date-low4(2) > '9' and s_date-low4(2) <= '12' ).
ca_quarter = 4.
w_quarter = '3rd quarter of year'.
fiscal0(4) = s_date-high0(4) + 1.
fiscal_nxt0(4) = s_date-high0(4).
concatenate fiscal_nxt2(2) '-' fiscal2(2) into fiscal_year .
concatenate '3rd quarter of year ' fiscal_nxt0(4) '-' fiscal0(4) INTO
w_quarter separated by space .
q = '3'.
endif.
*get first and last day of quarter by fetching calendar quarter and year in FM
call function 'HR_99S_GET_DATES_QUARTER'
exporting
im_quarter = ca_quarter
im_year = s_date-low+0(4)
importing
ex_begda = begda
ex_endda = endda.
*validate the input dates is start and end of quarter
if s_date-low <> begda or s_date-high <> endda.
message e023 with 'Enter quarter begin and end dates only'.
endif.
*get last day of next month. for close date
endda = endda + 1.
call function 'RP_LAST_DAY_OF_MONTHS'
exporting
day_in = endda
importing
last_day_of_month = close_date
exceptions
day_in_no_date = 1
others = 2.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
Start of Selection
start-of-selection.
*CNO is specific to a Quarter/ Company code/ Vendor.
unpack vendor to vendor.
clear:sl_no, wa_vatex_sno.
select single * from zmm_vatex_sno into wa_vatex_sno where from_date
eq s_date-low and to_date eq s_date-high and vendor eq vendor
and compcode eq compcode.
if sy-subrc eq 0.
sl_no = wa_vatex_sno-serial_no.
else.
select max( serial_no ) from zmm_vatex_sno into wa_vatex_sno-serial_no WHERE
from_date eq s_date-low and to_date eq s_date-high and compcode eQ compcode.
if sy-subrc = 0.
sl_no = wa_vatex_sno-serial_no + 1.
else.
sl_no = 1.
endif.
wa_vatex_sno-from_date = s_date-low.
wa_vatex_sno-to_date = s_date-high.
wa_vatex_sno-vendor = vendor.
wa_vatex_sno-compcode = compcode.
wa_vatex_sno-serial_no = sl_no.
insert zmm_vatex_sno from wa_vatex_sno.
endif.
*data selection from bkpf by date,fiscal and compcode
refresh gt_bkpf.
select bukrs
belnr
gjahr
blart
bldat
xblnr
awkey
into table gt_bkpf from bkpf
where bukrs eq compcode and
budat in s_date and gjahr eq fiscal+0(4).
check not gt_bkpf[] is initial.
refresh gt_bseg.
select bukrs
belnr
gjahr
bschl
mwskz
shkzg
wrbtr
sgtxt from bseg into table gt_bseg
for all entries in gt_bkpf where
bukrs eq compcode and
mwskz in taxcode and
lifnr eq vendor and
belnr = gt_bkpf-belnr and
gjahr = gt_bkpf-gjahr and shkzg = 'H'.
selection without vendor and posting key 40 *
refresh h_itab.
select bukrs
belnr
gjahr
bschl
mwskz
shkzg
wrbtr from bseg into table h_itab
for all entries in gt_bseg
where bukrs = gt_bseg-bukrs and
belnr = gt_bseg-belnr and
mwskz = gt_bseg-mwskz and
gjahr = gt_bseg-gjahr and
( bschl = '40' or bschl = '21' ).
if sy-subrc = 0.
deduct the amount if posting key is 40 for PO based docs
clear wa_h_itab.
loop at h_itab into wa_h_itab where bschl = '40'.
clear wa_bseg.
read table gt_bseg into wa_bseg with key belnr = wa_h_itab-belnr.
if sy-subrc = 0.
read table gt_bkpf into wa_bkpf with key belnr = wa_h_itab-belnr.
if wa_bkpf-blart <> 'KR'.
wa_bseg-wrbtr = wa_bseg-wrbtr - wa_h_itab-wrbtr.
endif.
modify gt_bseg from wa_bseg
transporting wrbtr where belnr = wa_bseg-belnr
and bschl = wa_bseg-bschl .
endif.
clear wa_h_itab.
endloop.
deduct the amount if posting key is 21 for non-PO based docs
clear wa_h_itab.
loop at h_itab into wa_h_itab where bschl = '21'.
clear wa_bseg.
read table gt_bseg into wa_bseg with key belnr = wa_h_itab-belnr.
if sy-subrc = 0.
read table gt_bkpf into wa_bkpf with key belnr = wa_h_itab-belnr.
if wa_bkpf-blart = 'KR'.
wa_bseg-wrbtr = wa_bseg-wrbtr - wa_h_itab-wrbtr.
endif.
modify gt_bseg from wa_bseg
transporting wrbtr where belnr = wa_bseg-belnr.
endif.
clear wa_h_itab.
endloop.
endif.
final internal table
clear wa_item. refresh gt_item. clear wa_bseg.
loop at gt_bseg into wa_bseg.
read table gt_bkpf into wa_bkpf with key belnr = wa_bseg-belnr .
if sy-subrc = 0.
move :
wa_bkpf-xblnr to wa_item-xblnr,
wa_bkpf-belnr to wa_item-belnr,
wa_bkpf-bldat to wa_item-bldat,
wa_bseg-wrbtr to wa_item-wrbtr.
endif.
*selections for item description
refresh it_rseg.
select ekpoebeln ekpoebelp ekpobukrs txz01 rsegwrbtr
into table it_rseg
from rseg join ekpo
on rsegebeln = ekpoebeln
and rsegebelp = ekpoebelp
and rsegbukrs = ekpobukrs
where rsegbelnr = wa_bkpf-awkey(10) and rseggjahr = wa_bkpf-gjahr AND
ekpo~bukrs = wa_bkpf-bukrs.
if sy-subrc = 0.
loop at it_rseg into wa_it_rseg.
wa_item-txz01 = wa_it_rseg-txz01 .
if sy-tabix <> 1.
wa_item-wrbtr = wa_it_rseg-wrbtr .
wa_item-wrbtr = space .
endif.
append wa_item to gt_item.
endloop.
else.
wa_item-txz01 = wa_bseg-sgtxt.
append wa_item to gt_item.
endif.
clear: wa_bseg, wa_item.
endloop.
*if records not found give message.
if gt_item[] is initial.
message e000(vz) with text-x01.
endif.
calculate the sumtotal
loop at gt_item into wa_item.
sumtotal = sumtotal + wa_item-wrbtr .
endloop.
Selecting supplier address *
select single * from tvko into wa_tvko where vkorg = compcode.
append wa_tvko to gt_tvko.
if wa_tvko-vkorg = '2014'.
stdtext = 'Z_2014_SOFTEX'.
elseif wa_tvko-vkorg = '2006'.
stdtext = 'Z_2006_SOFTEX'.
else.
stdtext = wa_tvko-txnam_adr.
endif.
select lifnr
name1
name2
ort01
ort02
pfach
stras
regio from lfa1 into table gt_addr
where lifnr eq vendor .
Selecting sez address *
SELECT SINGLE adrnr FROM t001 INTO l_adrnr WHERE bukrs EQ compcode.
SELECT name1
name2
city1
city2
post_code1
post_code2
street
house_num1
FROM adrc INTO TABLE gt_addr_info
WHERE addrnumber = l_adrnr.
Information for designation *
select * from zmm_vat_sign into table it_desig where company = compcode
Call Function module SSF_FUNCTION_MODULE_NAME *
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZMM_VAT_EX_CERT'
VARIANT = ' '
DIRECT_CALL = ' '
importing
fm_name = fm_name
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
Call Function module fm_name *
call function fm_name
exporting
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
doc_num = sl_no
quarter = w_quarter
date = s_date-high
sumtotal = sumtotal
close_date = close_date
fiscal_year = fiscal_year
ca_quarter = q
text_name = stdtext
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
tables
itab = gt_item
it_address = gt_addr
it_infoaddress = gt_addr_info
it_designation = it_desig
it_tvko = gt_tvko
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif. -
Can a directory to be created if it does not exist on FTP server?
Hello SOA experts,
We are good with most common usage of all Adapters. But recently, I am facing a challenge when archive files on FTP server.
Archive files need to be placed into different folders for each month. For instance, ./archive/201308 for files archived in August. Next month, a new directory ./archive/201309 should be created, ideally automatically.
My question is, can I do through some configuration and properties setting to let SOA create a remote target directory when it does NOT exist?
We maintained multiple archive folders for different typr of documents. It is really a hassle to create them manually. And if the target directory does not exist, it would throw errors.
Thank you very much in advance.
Alena Li
CGIHi, After reading your post, I myself wanted to test this out. I thought that by configuring the following in the Adapter Wizard it would create the remote directory for me:
<adapter-config name="FW" adapter="File Adapter" wsdlLocation="FW.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
<connection-factory location="eis/FileAdapter"/>
<endpoint-interaction portType="Write_ptt" operation="Write">
<interaction-spec className="oracle.tip.adapter.file.outbound.FileInteractionSpec">
<property name="PhysicalDirectory" value="C:\Archive"/>
<property name="Append" value="false"/>
<property name="FileNamingConvention" value="%SEQ%\test.txt"/>
<property name="NumberMessages" value="1"/>
</interaction-spec>
</endpoint-interaction>
</adapter-config>
It failed on my BPEL instance however I could see that it was trying to create the file. When I created all destinations it was able to create it.
This is my recommendation from what I understand you'd like to accomplish:
Create the different Year&Month folders on your destination from Jan to Dec:
201301
201302
201303
201304
201305
201306
201307
201308
201309
201310
201311
201312
(You can actually create as many as you want going to 2090 if you want...
Add the below config to your JCA File:
<adapter-config name="FW" adapter="File Adapter" wsdlLocation="FW.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
<connection-factory location="eis/FileAdapter"/>
<endpoint-interaction portType="Write_ptt" operation="Write">
<interaction-spec className="oracle.tip.adapter.file.outbound.FileInteractionSpec">
<property name="PhysicalDirectory" value="C:\Archive"/>
<property name="Append" value="false"/>
<property name="FileNamingConvention" value="%yyyy.MM%\filename"/>
<property name="NumberMessages" value="1"/>
</interaction-spec>
</endpoint-interaction>
</adapter-config>
This will allow the files to be dynamically created in the correct directories.
This is a work-around and I hope this works for you. -
Shared realm does not exist in EBS R12.0.6
Hi,
I am having some problem with the database startup.
when i ran startup command through sqlplus database starts and after 30 sec it gets terminated.
When trying to connect with apps it returns:
SQL> conn apps/apps
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
when connecting with sys it connects to an idle instance.
Here is the contents of alert log.
Fri Jan 15 11:17:14 2010
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 =48
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.2.0.
System parameters with non-default values:
tracefiles_public = TRUE
processes = 400
sessions = 445
timed_statistics = TRUE
shared_pool_size = 419430400
shared_pool_reserved_size= 41943040
nls_language = american
nls_territory = america
nls_sort = binary
nls_date_format = DD-MON-RR
nls_numeric_characters = .,
nls_comp = binary
nls_length_semantics = BYTE
sga_target = 1073741824
control_files = /d01/oracle/PROD/db/apps_st/data/cntrl01.dbf, /d01/oracle/PROD/db/apps_st/data/cntrl02.dbf, /d01/oracle/PROD/db/apps_st/data/cntrl03.dbf
db_block_checksum = TRUE
db_block_size = 8192
compatible = 10.2.0
log_archive_dest_1 = LOCATION=/d01/oracle/PROD/db/apps_st/data/archive
log_archive_format = %t_%s_%r.dbf
log_buffer = 14254080
log_checkpoint_interval = 100000
log_checkpoint_timeout = 1200
db_files = 512
db_file_multiblock_read_count= 8
log_checkpoints_to_alert = TRUE
dml_locks = 10000
undo_management = AUTO
undo_tablespace = APPS_UNDOTS1
db_block_checking = FALSE
session_cached_cursors = 500
utl_file_dir = /usr/tmp, /usr/tmp, /d01/oracle/PROD/db/tech_st/10.2.0/appsutil/outbound/p1_prod1, /usr/tmp
plsql_native_library_dir = /d01/oracle/PROD/db/tech_st/10.2.0/plsql/nativelib
plsql_native_library_subdir_count= 149
plsql_code_type = INTERPRETED
plsql_optimize_level = 2
job_queue_processes = 2
systemtrig_enabled = TRUE
cursor_sharing = EXACT
parallel_min_servers = 0
parallel_max_servers = 8
background_dump_dest = /d01/oracle/PROD/db/tech_st/10.2.0/admin/p1_prod1/bdump
user_dump_dest = /d01/oracle/PROD/db/tech_st/10.2.0/admin/p1_prod1/udump
max_dump_file_size = 20480
core_dump_dest = /d01/oracle/PROD/db/tech_st/10.2.0/admin/p1_prod1/cdump
db_name = p1
open_cursors = 600
ifile = /d01/oracle/PROD/db/tech_st/10.2.0/dbs/p1_prod1_ifile.ora
sortelimination_cost_ratio= 5
btree_bitmap_plans = FALSE
fastfull_scan_enabled = FALSE
sqlexecprogression_cost= 2147483647
likewith_bind_as_equality= TRUE
pga_aggregate_target = 1073741824
workarea_size_policy = AUTO
optimizer_secure_view_merging= FALSE
aq_tm_processes = 1
olap_page_pool_size = 4194304
PSP0 started with pid=3, OS id=4730
PMON started with pid=2, OS id=4728
MMAN started with pid=4, OS id=4732
DBW0 started with pid=5, OS id=4734
LGWR started with pid=6, OS id=4736
CKPT started with pid=7, OS id=4738
SMON started with pid=8, OS id=4740
RECO started with pid=9, OS id=4742
CJQ0 started with pid=10, OS id=4744
MMON started with pid=11, OS id=4746
MMNL started with pid=12, OS id=4748
Fri Jan 15 11:17:17 2010
ALTER DATABASE MOUNT
Fri Jan 15 11:17:21 2010
Setting recovery target incarnation to 2
Fri Jan 15 11:17:21 2010
Successful mount of redo thread 1, with mount id 2209107325
Fri Jan 15 11:17:21 2010
Database mounted in Exclusive Mode
Completed: ALTER DATABASE MOUNT
Fri Jan 15 11:17:22 2010
ALTER DATABASE OPEN
Fri Jan 15 11:17:23 2010
Beginning crash recovery of 1 threads
parallel recovery started with 2 processes
Fri Jan 15 11:17:24 2010
Started redo scan
Fri Jan 15 11:17:24 2010
Completed redo scan
563 redo blocks read, 77 data blocks need recovery
Fri Jan 15 11:17:25 2010
Started redo application at
Thread 1: logseq 16, block 1326509
Fri Jan 15 11:17:25 2010
Recovery of Online Redo Log: Thread 1 Group 1 Seq 16 Reading mem 0
Mem# 0 errs 0: /d01/oracle/PROD/db/apps_st/data/log01a.dbf
Mem# 1 errs 0: /d01/oracle/PROD/db/apps_st/data/log01b.dbf
Fri Jan 15 11:17:25 2010
Completed redo application
Fri Jan 15 11:17:25 2010
Completed crash recovery at
Thread 1: logseq 16, block 1327072, scn 5965375192662
77 data blocks read, 33 data blocks written, 563 redo blocks read
Fri Jan 15 11:17:26 2010
Thread 1 advanced to log sequence 17
Thread 1 opened at log sequence 17
Current log# 2 seq# 17 mem# 0: /d01/oracle/PROD/db/apps_st/data/log02a.dbf
Current log# 2 seq# 17 mem# 1: /d01/oracle/PROD/db/apps_st/data/log02b.dbf
Successful open of redo thread 1
Fri Jan 15 11:17:26 2010
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Fri Jan 15 11:17:26 2010
SMON: enabling cache recovery
Fri Jan 15 11:17:28 2010
Incremental checkpoint up to RBA [0x11.3.0], current log tail at RBA [0x11.2b.0]
Fri Jan 15 11:17:29 2010
Successfully onlined Undo Tablespace 368.
Fri Jan 15 11:17:29 2010
SMON: enabling tx recovery
Fri Jan 15 11:17:29 2010
Database Characterset is US7ASCII
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pid=16, OS id=4758
Fri Jan 15 11:18:27 2010
Errors in file /d01/oracle/PROD/db/tech_st/10.2.0/admin/p1_prod1/udump/p1_ora_4750.trc:
ORA-00600: internal error code, arguments: [4193], [16615], [4919], [], [], [], [], []
Fri Jan 15 11:18:37 2010
Doing block recovery for file 379 block 91877
Block recovery from logseq 17, block 133 to scn 5965375195253
Fri Jan 15 11:18:37 2010
Recovery of Online Redo Log: Thread 1 Group 2 Seq 17 Reading mem 0
Mem# 0 errs 0: /d01/oracle/PROD/db/apps_st/data/log02a.dbf
Mem# 1 errs 0: /d01/oracle/PROD/db/apps_st/data/log02b.dbf
Block recovery stopped at EOT rba 17.407.16
Block recovery completed at rba 17.407.16, scn 1388.3960588405
Doing block recovery for file 379 block 105
Block recovery from logseq 17, block 133 to scn 5965375195158
Fri Jan 15 11:18:37 2010
Recovery of Online Redo Log: Thread 1 Group 2 Seq 17 Reading mem 0
Mem# 0 errs 0: /d01/oracle/PROD/db/apps_st/data/log02a.dbf
Mem# 1 errs 0: /d01/oracle/PROD/db/apps_st/data/log02b.dbf
Block recovery completed at rba 17.134.16, scn 1388.3960588315
Completed: ALTER DATABASE OPEN
Fri Jan 15 11:18:44 2010
Errors in file /d01/oracle/PROD/db/tech_st/10.2.0/admin/p1_prod1/bdump/p1_cjq0_4744.trc:
ORA-00600: internal error code, arguments: [4194], [55], [46], [], [], [], [], []
Fri Jan 15 11:18:46 2010
Errors in file /d01/oracle/PROD/db/tech_st/10.2.0/admin/p1_prod1/bdump/p1_mmon_4746.trc:
ORA-00600: internal error code, arguments: [4194], [60], [62], [], [], [], [], []
Fri Jan 15 11:18:47 2010
Doing block recovery for file 379 block 77280
Block recovery from logseq 17, block 412 to scn 5965375195270
Fri Jan 15 11:18:47 2010
Recovery of Online Redo Log: Thread 1 Group 2 Seq 17 Reading mem 0
Mem# 0 errs 0: /d01/oracle/PROD/db/apps_st/data/log02a.dbf
Mem# 1 errs 0: /d01/oracle/PROD/db/apps_st/data/log02b.dbf
Block recovery stopped at EOT rba 17.420.16
Block recovery completed at rba 17.420.16, scn 1388.3960588422
Fri Jan 15 11:18:47 2010
Errors in file /d01/oracle/PROD/db/tech_st/10.2.0/admin/p1_prod1/bdump/p1_q002_4764.trc:
ORA-00600: internal error code, arguments: [4194], [70], [67], [], [], [], [], []
Doing block recovery for file 379 block 89
Block recovery from logseq 17, block 412 to scn 5965375195262
Fri Jan 15 11:18:47 2010
Recovery of Online Redo Log: Thread 1 Group 2 Seq 17 Reading mem 0
Mem# 0 errs 0: /d01/oracle/PROD/db/apps_st/data/log02a.dbf
Mem# 1 errs 0: /d01/oracle/PROD/db/apps_st/data/log02b.dbf
Block recovery completed at rba 17.414.16, scn 1388.3960588417
Fri Jan 15 11:18:47 2010
Errors in file /d01/oracle/PROD/db/tech_st/10.2.0/admin/p1_prod1/bdump/p1_cjq0_4744.trc:
ORA-00600: internal error code, arguments: [4194], [15], [24], [], [], [], [], []
Doing block recovery for file 379 block 92961
Block recovery from logseq 17, block 420 to scn 5965375195274
Fri Jan 15 11:18:50 2010
Recovery of Online Redo Log: Thread 1 Group 2 Seq 17 Reading mem 0
Mem# 0 errs 0: /d01/oracle/PROD/db/apps_st/data/log02a.dbf
Mem# 1 errs 0: /d01/oracle/PROD/db/apps_st/data/log02b.dbf
Block recovery stopped at EOT rba 17.422.16
Block recovery completed at rba 17.422.16, scn 1388.3960588424
Doing block recovery for file 379 block 41
Block recovery from logseq 17, block 420 to scn 5965375195271
Fri Jan 15 11:18:50 2010
Recovery of Online Redo Log: Thread 1 Group 2 Seq 17 Reading mem 0
Mem# 0 errs 0: /d01/oracle/PROD/db/apps_st/data/log02a.dbf
Mem# 1 errs 0: /d01/oracle/PROD/db/apps_st/data/log02b.dbf
Block recovery completed at rba 17.422.16, scn 1388.3960588424
Fri Jan 15 11:18:50 2010
Errors in file /d01/oracle/PROD/db/tech_st/10.2.0/admin/p1_prod1/bdump/p1_cjq0_4744.trc:
ORA-00600: internal error code, arguments: [4194], [57], [51], [], [], [], [], []
Fri Jan 15 11:18:51 2010
Doing block recovery for file 379 block 5763
Block recovery from logseq 17, block 416 to scn 5965375195277
Fri Jan 15 11:18:51 2010
Recovery of Online Redo Log: Thread 1 Group 2 Seq 17 Reading mem 0
Mem# 0 errs 0: /d01/oracle/PROD/db/apps_st/data/log02a.dbf
Mem# 1 errs 0: /d01/oracle/PROD/db/apps_st/data/log02b.dbf
Block recovery completed at rba 17.425.16, scn 1388.3960588430
Doing block recovery for file 379 block 57
Block recovery from logseq 17, block 416 to scn 5965375195267
Fri Jan 15 11:18:51 2010
Recovery of Online Redo Log: Thread 1 Group 2 Seq 17 Reading mem 0
Mem# 0 errs 0: /d01/oracle/PROD/db/apps_st/data/log02a.dbf
Mem# 1 errs 0: /d01/oracle/PROD/db/apps_st/data/log02b.dbf
Block recovery completed at rba 17.418.16, scn 1388.3960588421
ORA-607 encountered when generating server alert SMG-4120
Fri Jan 15 11:18:51 2010
Errors in file /d01/oracle/PROD/db/tech_st/10.2.0/admin/p1_prod1/bdump/p1_mmon_4746.trc:
ORA-00600: internal error code, arguments: [4194], [13], [25], [], [], [], [], []
Fri Jan 15 11:18:52 2010
Doing block recovery for file 379 block 7170
Block recovery from logseq 17, block 418 to scn 5965375195291
Fri Jan 15 11:18:52 2010
Recovery of Online Redo Log: Thread 1 Group 2 Seq 17 Reading mem 0
Mem# 0 errs 0: /d01/oracle/PROD/db/apps_st/data/log02a.dbf
Mem# 1 errs 0: /d01/oracle/PROD/db/apps_st/data/log02b.dbf
Block recovery stopped at EOT rba 17.490.16
Block recovery completed at rba 17.490.16, scn 1388.3960588439
Doing block recovery for file 379 block 225
Block recovery from logseq 17, block 418 to scn 5965375195269
Fri Jan 15 11:18:53 2010
Recovery of Online Redo Log: Thread 1 Group 2 Seq 17 Reading mem 0
Mem# 0 errs 0: /d01/oracle/PROD/db/apps_st/data/log02a.dbf
Mem# 1 errs 0: /d01/oracle/PROD/db/apps_st/data/log02b.dbf
Block recovery completed at rba 17.420.16, scn 1388.3960588423
Fri Jan 15 11:18:53 2010
Doing block recovery for file 379 block 222590
Block recovery from logseq 17, block 422 to scn 5965375195307
Fri Jan 15 11:18:53 2010
Recovery of Online Redo Log: Thread 1 Group 2 Seq 17 Reading mem 0
Mem# 0 errs 0: /d01/oracle/PROD/db/apps_st/data/log02a.dbf
Mem# 1 errs 0: /d01/oracle/PROD/db/apps_st/data/log02b.dbf
Block recovery stopped at EOT rba 17.638.16
Block recovery completed at rba 17.638.16, scn 1388.3960588457
Doing block recovery for file 379 block 25
Block recovery from logseq 17, block 422 to scn 5965375195275
Fri Jan 15 11:18:53 2010
Recovery of Online Redo Log: Thread 1 Group 2 Seq 17 Reading mem 0
Mem# 0 errs 0: /d01/oracle/PROD/db/apps_st/data/log02a.dbf
Mem# 1 errs 0: /d01/oracle/PROD/db/apps_st/data/log02b.dbf
Block recovery completed at rba 17.424.16, scn 1388.3960588428
Fri Jan 15 11:18:53 2010
Errors in file /d01/oracle/PROD/db/tech_st/10.2.0/admin/p1_prod1/bdump/p1_cjq0_4744.trc:
ORA-00607: Internal error occurred while making a change to a data block
ORA-00607: Internal error occurred while making a change to a data block
Fri Jan 15 11:18:54 2010
Errors in file /d01/oracle/PROD/db/tech_st/10.2.0/admin/p1_prod1/bdump/p1_j001_4774.trc:
ORA-00600: internal error code, arguments: [4194], [23], [16], [], [], [], [], []
Fri Jan 15 11:18:54 2010
Doing block recovery for file 379 block 5444
Block recovery from logseq 17, block 484 to scn 5965375195322
Fri Jan 15 11:18:54 2010
Recovery of Online Redo Log: Thread 1 Group 2 Seq 17 Reading mem 0
Mem# 0 errs 0: /d01/oracle/PROD/db/apps_st/data/log02a.dbf
Mem# 1 errs 0: /d01/oracle/PROD/db/apps_st/data/log02b.dbf
Block recovery stopped at EOT rba 17.711.16
Block recovery completed at rba 17.711.16, scn 1388.3960588473
Doing block recovery for file 379 block 113
Block recovery from logseq 17, block 484 to scn 5965375195284
Fri Jan 15 11:18:54 2010
Recovery of Online Redo Log: Thread 1 Group 2 Seq 17 Reading mem 0
Mem# 0 errs 0: /d01/oracle/PROD/db/apps_st/data/log02a.dbf
Mem# 1 errs 0: /d01/oracle/PROD/db/apps_st/data/log02b.dbf
Block recovery completed at rba 17.487.16, scn 1388.3960588437
ORA-607 encountered when generating server alert SMG-4121
Fri Jan 15 11:18:55 2010
DEBUG: Replaying xcb 0x9dbdd5b0, pmd 0x9d391c00 for failed op 8
Doing block recovery for file 379 block 4983
No block recovery was needed
Fri Jan 15 11:18:55 2010
Errors in file /d01/oracle/PROD/db/tech_st/10.2.0/admin/p1_prod1/bdump/p1_j001_4774.trc:
ORA-00600: internal error code, arguments: [4194], [23], [16], [], [], [], [], []
ORA-00600: internal error code, arguments: [4194], [23], [16], [], [], [], [], []
Fri Jan 15 11:18:56 2010
Errors in file /d01/oracle/PROD/db/tech_st/10.2.0/admin/p1_prod1/bdump/p1_m000_4770.trc:
ORA-00600: internal error code, arguments: [4194], [15], [24], [], [], [], [], []
Fri Jan 15 11:18:56 2010
Errors in file /d01/oracle/PROD/db/tech_st/10.2.0/admin/p1_prod1/bdump/p1_j001_4774.trc:
ORA-00600: internal error code, arguments: [4194], [23], [16], [], [], [], [], []
ORA-00600: internal error code, arguments: [4194], [23], [16], [], [], [], [], []
Fri Jan 15 11:18:58 2010
Flush retried for xcb 0x9db7ddb0, pmd 0x9d3a2f18
Doing block recovery for file 379 block 92961
Block recovery from logseq 17, block 420 to scn 5965375195274
Fri Jan 15 11:18:58 2010
Recovery of Online Redo Log: Thread 1 Group 2 Seq 17 Reading mem 0
Mem# 0 errs 0: /d01/oracle/PROD/db/apps_st/data/log02a.dbf
Mem# 1 errs 0: /d01/oracle/PROD/db/apps_st/data/log02b.dbf
Block recovery completed at rba 17.422.16, scn 1388.3960588427
Fri Jan 15 11:18:59 2010
Errors in file /d01/oracle/PROD/db/tech_st/10.2.0/admin/p1_prod1/bdump/p1_m000_4770.trc:
ORA-00600: internal error code, arguments: [4194], [15], [24], [], [], [], [], []
ORA-00600: internal error code, arguments: [4194], [15], [24], [], [], [], [], []
Fri Jan 15 11:19:01 2010
DEBUG: Replaying xcb 0x9dbdd5b0, pmd 0x9d391c00 for failed op 8
Doing block recovery for file 379 block 4983
No block recovery was needed
Fri Jan 15 11:19:02 2010
Errors in file /d01/oracle/PROD/db/tech_st/10.2.0/admin/p1_prod1/bdump/p1_pmon_4728.trc:
ORA-00600: internal error code, arguments: [4194], [23], [16], [], [], [], [], []
Fri Jan 15 11:19:03 2010
Flush retried for xcb 0x9db7ddb0, pmd 0x9d3a2f18
Doing block recovery for file 379 block 92961
Block recovery from logseq 17, block 420 to scn 5965375195274
Fri Jan 15 11:19:03 2010
Recovery of Online Redo Log: Thread 1 Group 2 Seq 17 Reading mem 0
Mem# 0 errs 0: /d01/oracle/PROD/db/apps_st/data/log02a.dbf
Mem# 1 errs 0: /d01/oracle/PROD/db/apps_st/data/log02b.dbf
Block recovery completed at rba 17.422.16, scn 1388.3960588427
Fri Jan 15 11:19:03 2010
Errors in file /d01/oracle/PROD/db/tech_st/10.2.0/admin/p1_prod1/bdump/p1_pmon_4728.trc:
ORA-00600: internal error code, arguments: [4194], [23], [16], [], [], [], [], []
Fri Jan 15 11:19:03 2010
PMON: terminating instance due to error 472
Instance terminated by PMON, pid = 4728The database gets up for just around 30 sec. there sufficient space available.
database version is 10.2.0.
Here is some of the contents from trace file may be it could help.
Dump file /d01/oracle/PROD/db/tech_st/10.2.0/admin/p1_prod1/bdump/p1_j001_4774.trc
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
ORACLE_HOME = /d01/oracle/PROD/db/tech_st/10.2.0
System name: Linux
Node name: prod1.luckyerp
Release: 2.6.9-42.0.0.0.1.ELsmp
Version: #1 SMP Sun Oct 15 15:13:57 PDT 2006
Machine: x86_64
Instance name: p1
Redo thread mounted by this instance: 1
Oracle process number: 23
Unix process pid: 4774, image: [email protected] (J001)
*** SERVICE NAME:(SYS$USERS) 2010-01-15 11:18:53.962
*** SESSION ID:(414.1) 2010-01-15 11:18:53.962
*** ktuc_diag_dmp: dump of current change vector
ktudb big redo: cnt: 1 um: 0x9d393b28 uba: 0x5ec01377.7984.10
*** ktuc_diag_dmp: dump of block after image in hex
Dump of memory from 0x0000000081C0C000 to 0x0000000081C0E000
*** ktuc_diag_dmp: dump of buffer cache for rdba 0x00001fe8
Dump of buffer cache at level 4 for tsn=368, rdba=8168
*** ktuc_diag_dmp: dump of redo for rdba 0x00001fe8
Dumping current redo log in thread 1
DUMP OF REDO FROM FILE '/d01/oracle/PROD/db/apps_st/data/log02a.dbf'
Opcodes *.*
DBAs (file#, block#):
(379, 8168)
RBAs: 0x000000.00000000.0000 thru 0xffffffff.ffffffff.ffff
SCNs: scn: 0x0000.00000000 thru scn: 0xffff.ffffffff
Times: creation thru eternity
FILE HEADER:
Compatibility Vsn = 169869312=0xa200000
Db ID=2206994534=0x838c1066, Db Name='P1'
Activation ID=2206976614=0x838bca66
Control Seq=481268=0x757f4, File size=2048000=0x1f4000
File Number=2, Blksiz=512, File Type=2 LOG
descrip:"Thread 0001, Seq# 0000000017, SCN 0x056cec11be57-0xffffffffffff"
thread: 1 nab: 0xffffffff seq: 0x00000011 hws: 0x2 eot: 1 dis: 0
resetlogs count: 0x2a17dba8 scn: 0x056c.eb6c5439 (5965364352057)
resetlogs terminal rcv count: 0x0 scn: 0x0000.00000000
prev resetlogs count: 0x2a17daae scn: 0x056c.eb6c3eb2 (5965364346546)
prev resetlogs terminal rcv count: 0x0 scn: 0x0000.00000000
Low scn: 0x056c.ec11be57 (5965375192663) 01/15/2010 11:17:25
Next scn: 0xffff.ffffffff 01/01/1988 00:00:00
Enabled scn: 0x056c.eb6c5439 (5965364352057) 12/21/2009 16:30:32
Thread closed scn: 0x056c.ec11be57 (5965375192663) 01/15/2010 11:17:25
Disk cksum: 0xa41e Calc cksum: 0xa41e
Terminal recovery stop scn: 0x0000.00000000
Terminal recovery 01/01/1988 00:00:00
Most recent redo scn: 0x0000.00000000
Largest LWN: 0 blocks
End-of-redo stream : No
Unprotected mode
Miscellaneous flags: 0x0
Thread internal enable indicator: thr: 0, seq: 0 scn: 0x0000.00000000
REDO RECORD - Thread:1 RBA: 0x000011.00000002.0010 LEN: 0x0070 VLD: 0x05
SCN: 0x056c.ec11be59 SUBSCN: 1 01/15/2010 11:17:26
CHANGE #1 MEDIA RECOVERY MARKER SCN:0x0000.00000000 SEQ: 0 OP:17.3
Crash Recovery at scn: 0x056c.ec11be56
END OF REDO DUMP
----- Redo read statistics for thread 1 -----
Read rate (ASYNC): 321Kb in 0.03s => 10.45 Mb/sec
Total physical reads: 4096Kb
Longest record: 9Kb, moves: 0/914 (0%)
Change moves: 474/2047 (23%), moved: 0Mb
Longest LWN: 135Kb, moves: 0/84 (0%), moved: 0Mb
Last redo scn: 0x056c.ec11c8af (5965375195311)
NO VALID LOG MEMBER FOR SEQ# 16 OF THREAD 1!
*** 2010-01-15 11:18:54.087
ksedmp: internal or fatal error
ORA-00600: internal error code, arguments: [4194], [23], [16], [], [], [], [], []
----- Call Stack Trace ----- -
Error:domain database does not exist
Hi we are running Iplanet mssaging Server 5.2 p1 running in dirsync mode and iplanet directory server 5.1.We have configured th ldap settings of some of the users using the maildeliveryoption to mailbox and forward & we have set the mailforwarding attribute to forward the mail to a set of users.Now yesterday our smtp server panic & service stopped working.After removing the lock files in ../imta/tmp/ directory the service started working.But now for all the users for whom this forwarding of mails has been sent are getting there mails bounced.for other users for whom this option is not there the mail is getting delivered.The error recived is Illegal host / domain name.
I ran imsimta test -rewrite -debug for a user whose mail is getting bounced and i get the following output.here attaching some of the lines Can anyone please guide me as to what the problem is?(nslookup is working).
Does the imsimta cleandb might have corrupted the entries?
Regards and thanks in advance
Script started on Tue Nov 30 16:45:02 2004
# imsimta test -rewrite -debug
Initializing mm_.
Initializing mm_ submission.
Checking identifiers.
Address: [email protected]
*** Debug output from initializing MM for submission:
16:45:17.33: mmc_winit('l','[email protected]','[email protected]') called.
16:45:17.33: Queue area size 9236824, temp area size 3202696
16:45:17.33: 2309206 blocks of effective free queue space available; setting disk limit accordingly.
16:45:17.33: 1601348 blocks of free temporary space available; setting disk limit accordingly.
16:45:17.33: Rewriting: Mbox = "postmaster", host = "mail1.hathway.com", domain = "$*", literal = "", tag = ""
16:45:17.33: Rewrite: "$*", position 0, hash table -
16:45:17.33: Failed.
16:45:17.33: Rewrite: "$*", position 0, rewrite database -
16:45:17.33: (domain database does not exist)
16:45:17.33: Failed
16:45:17.33: Rewriting: Mbox = "postmaster", host = "mail1", domain = "mail1.hathway.com", literal = "", tag = ""
16:45:17.33: Rewrite: "mail1.hathway.com", position 0, hash table -
16:45:17.33: Found: "$U%[email protected]"
16:45:17.33: New mailbox: "postmaster".
16:45:17.33: New host: "mail1.hathway.com".
16:45:17.33: New route: "mail1.hathway.com".
16:45:17.34: New channel system: "mail1.hathway.com".
16:45:17.34: Looking up host "mail1.hathway.com".
16:45:17.34: - found on channel l
16:45:17.34: Routelocal flag set; scanning for % and !
16:45:17.34: Rewriting: Mbox = "postmaster", host = "mail1.hathway.com", domain = "$*", literal = "", tag = ""
16:45:17.34: Rewrite: "$*", position 0, hash table -
16:45:17.34: Failed.
16:45:17.34: Rewrite: "$*", position 0, rewrite database -
16:45:17.34: (domain database does not exist)
16:45:17.34: Failed
16:45:17.34: Rewriting: Mbox = "postmaster", host = "mail1", domain = "mail1.hathway.com", literal = "", tag = ""
16:45:17.34: Rewrite: "mail1.hathway.com", position 0, hash table -
16:45:17.34: Found: "$U%[email protected]"
16:45:17.34: New mailbox: "postmaster".
16:45:17.34: New host: "mail1.hathway.com".
16:45:17.34: New route: "mail1.hathway.com".
16:45:17.34: New channel system: "mail1.hathway.com".
16:45:17.34: Looking up host "mail1.hathway.com".
16:45:17.34: - found on channel l
16:45:17.34: Routelocal flag set; scanning for % and !
16:45:17.34: Mapped return address: [email protected]
*** Debug output from rewriting a forward header address:
16:45:17.34: Rewriting: Mbox = "systeam", host = "hathway.net", domain = "$*", literal = "", tag = ""
16:45:17.35: Rewrite: "$*", position 0, hash table -
16:45:17.35: Failed.
16:45:17.35: Rewrite: "$*", position 0, rewrite database -
16:45:17.35: (domain database does not exist)
16:45:17.35: Failed
16:45:17.35: Rewriting: Mbox = "systeam", host = "hathway", domain = "hathway.net", literal = "", tag = ""
16:45:17.35: Rewrite: "hathway.net", position 0, hash table -
16:45:17.35: Found: "$U%[email protected]"
16:45:17.35: New mailbox: "systeam".
16:45:17.35: New host: "hathway.net".
16:45:17.35: New route: "mail1.hathway.com".
16:45:17.35: New channel system: "mail1.hathway.com".
16:45:17.35: Looking up host "mail1.hathway.com".
16:45:17.35: - found on channel l
16:45:17.35: Routelocal flag set; scanning for % and !
16:45:17.35: Rewrite rules result: [email protected]
16:45:17.35: Applying reverse database to: [email protected]
16:45:17.35: No match -- no such entry.
forward channel = l
channel description =
channel user filter =
dest channel filter =
source channel filter =
channel flags #0 = BIDIRECTIONAL MULTIPLE IMMNONURGENT NOSERVICEALL
channel flags #1 = NOSMTP DEFAULT
channel flags #2 = COPYSENDPOST COPYWARNPOST POSTHEADONLY HEADERINC NOEXPROUTE
channel flags #3 = LOGGING NOGREY NORESTRICTED RETAINSECURITMULTIPARTS
channel flags #4 = EIGHTBIT NOHEADERTRIM NOHEADERREAD RULES
channel flags #5 =
channel flags #6 = LOCALUSER REPORTHEADER
channel flags #7 = NOSWITCHCHANNEL NOREMOTEHOST DATEFOUR DAYOFWEEK
channel flags #8 = NODEFRAGMENT EXQUOTA REVERSE NOCONVERT_OCTET_STREAM
channel flags #9 = NOTHURMAN INTERPRETENCODING USEINTERMEDIATE RECEIVEDFROM VALIDATELOCALSYSTEM NOTURN
defaulthost = hathway.com hathway.com
linelength = 1023
channel env addr type = SOURCEROUTE
channel hdr addr type = SOURCEROUTE
channel official host = mail1.hathway.com
channel queue 0 name = LOCAL_POOL
channel queue 1 name = LOCAL_POOL
channel queue 2 name = LOCAL_POOL
channel queue 3 name = LOCAL_POOL
channel after params =
channel user name =
urgentnotices = 1 2 4 7
normalnotices = 1 2 4 7
nonurgentnotices = 1 2 4 7
channel rightslist ids =
local behavior flags = %x7
backward channel = l
header To: address = [email protected]
header From: address = [email protected]
envelope To: address = [email protected] (route (mail1.hathway.com,mail1.hathway.com)) (host hathway.net)
envelope From: address = [email protected]
name =
mbox = systeam
Extracted address action list:
[email protected]
Extracted 733 address action list:
[email protected]
Address list expansion:
systeam.hathway.net@ims-ms-daemon
nasser.hathway.net@ims-ms-daemon
sayed.hathway.net@ims-ms-daemon
sameerm.hathway.net@ims-ms-daemon
daji.hathway.net@ims-ms-daemon
umanga.hathway.net@ims-ms-daemon
6 expansion total.
*** Debug output from submitting an envelope address:
16:45:17.37: mmc_wadr(0x0005ef70,'[email protected]','[email protected]') called.
16:45:17.37: Copy estimate before address addition is 1
16:45:17.37: Parsing address [email protected]
16:45:17.37: Rewriting: Mbox = "systeam", host = "hathway.net", domain = "$*", literal = "", tag = ""
16:45:17.37: Rewrite: "$*", position 0, hash table -
16:45:17.37: Failed.
16:45:17.37: Rewrite: "$*", position 0, rewrite database -
16:45:17.37: (domain database does not exist)
16:45:17.37: Failed
16:45:17.37: Rewriting: Mbox = "systeam", host = "hathway", domain = "hathway.net", literal = "", tag = ""
16:45:17.37: Rewrite: "hathway.net", position 0, hash table -
16:45:17.37: Found: "$U%[email protected]"
16:45:17.37: New mailbox: "systeam".
16:45:17.37: New host: "hathway.net".
16:45:17.37: New route: "mail1.hathway.com".
16:45:17.37: New channel system: "mail1.hathway.com".Your first mistake. . .
Hi we are running Iplanet mssaging Server 5.2 p1 running in dirsync mode
please get off dirsync mode. There are bugs with dirsync that will never be fixed. 5.2p1 is well over a year old, and there're hundreds of fixed bugs there. 5.2p2 is available for free, on Sun's web site.
You still have some dirsync problems.
Maybe you are looking for
-
I just bought the creative suite for windows but I have a mac so how can i fix it or get my money ba
I just bought the creative suite for windows but I have a mac so how can i fix it or get my money back?
-
Hi All, If I do G/L balance carry forward using F.16 (SAPFGVTR), is it going to forward balances of P & L accounts also or else only balance sheet accounts. Thanks in Advance !
-
VT01N User exit for adding additional field to VTTP table and populate the
Hi, Can any one sujjest what is the use exit/bapi when we add(append) a custom field to vttp table to populate the incremental number based on ship to address when we create a shipment.. need user exit in ...............to populate data to vttp tabl
-
JSF 1.2 implementation in MyEclipse
In my project J2EE5, I can found in the Java Build Path - Librairies these library : - Facelets 1.1 - Java EE 5 Library - JSF-impl 1.2 - JSF-api 1.2 - JRE System Library 1.6.0_04 But the tld used seem to be JSF 1.1. For exemle if I use "label" attrib
-
[JS] [Win7] [CS5] Moving pages to another document
Hi guys, I need to write a script for my company which merges 3 documents together by selecting the needed pages in two of three documents and moving them to the third document. Everything works fine and I am almost finished but I can't find a way to