Duplicate lines in logs
Some of my logs seem to be logging events 5 times. Logs affected include syslog, errors.log, daemon.log and possibly others.
This is an example from auth.log with the private bits cut out.
Nov 28 19:14:01 **SERVER** sshd[3952]: Postponed publickey for **USER** from xxx.xxx.xxx.xxx port 3006 ssh2 [preauth]
Nov 28 19:14:01 **SERVER** sshd[3952]: Postponed publickey for **USER** from xxx.xxx.xxx.xxx port 3006 ssh2 [preauth]
Nov 28 19:14:01 **SERVER** sshd[3952]: Postponed publickey for **USER** from xxx.xxx.xxx.xxx port 3006 ssh2 [preauth]
Nov 28 19:14:01 **SERVER** sshd[3952]: Postponed publickey for **USER** from xxx.xxx.xxx.xxx port 3006 ssh2 [preauth]
Nov 28 19:14:01 **SERVER** sshd[3952]: Postponed publickey for **USER** from xxx.xxx.xxx.xxx port 3006 ssh2 [preauth]
Nov 28 19:14:33 **SERVER** sshd[3952]: Found matching RSA key: **FINGERPRINT**
Nov 28 19:14:33 **SERVER** sshd[3952]: Found matching RSA key: **FINGERPRINT**
Nov 28 19:14:33 **SERVER** sshd[3952]: Found matching RSA key: **FINGERPRINT**
Nov 28 19:14:33 **SERVER** sshd[3952]: Found matching RSA key: **FINGERPRINT**
Nov 28 19:14:33 **SERVER** sshd[3952]: Found matching RSA key: **FINGERPRINT**
Nov 28 19:14:33 **SERVER** sshd[3952]: Accepted publickey for **USER** from xxx.xxx.xxx.xxx port 3006 ssh2
Nov 28 19:14:33 **SERVER** sshd[3952]: Accepted publickey for **USER** from xxx.xxx.xxx.xxx port 3006 ssh2
Nov 28 19:14:33 **SERVER** sshd[3952]: Accepted publickey for **USER** from xxx.xxx.xxx.xxx port 3006 ssh2
Nov 28 19:14:33 **SERVER** sshd[3952]: Accepted publickey for **USER** from xxx.xxx.xxx.xxx port 3006 ssh2
Nov 28 19:14:33 **SERVER** sshd[3952]: Accepted publickey for **USER** from xxx.xxx.xxx.xxx port 3006 ssh2
Hi Rambabu,
These duplicate reocrds are visible in PSA itself, it is in the direct output output of 2LIS_03_BF.
However, keys of DSO are 0DOC_NUM, 0DOC_DATE, 0DOC_ITEM, 0BWCOUNTER, 0PROCESSKEY. I have one to one mapping between DSO to PSA.
Issue is not it DSO data, issue is in PSA data itself. Hope I am clearly clarifying the my question.
Thanks,
Tanveer
Similar Messages
-
New error message :duplicate line item
Hi,
We have to add a new error message so that when we try to add a duplicate line item in our qty contract
1. we should not be allowed
2. we should get a error message u201Cduplicate line item not allowedu2019
How to achieve this
Thanks
ArunSearch this forum for "USEREXIT_SAVE_DOCUMENT" and "USEREXIT_SAVE_PREPARE".
-
Duplicate line item in Statement of account
Dear All,
Why there is duplicate line item in Statement of account?Hi Ajit,
In your ECC system follow below path and set Availability check rule to "B" (full delivery).
SPRO --> SD --> Basic Functions --> Availability Check and TOR --> Availability Check --> Availability Check with ATP Logic or Against Planning --> Define Default Settings
Select your sales area and set Availability check rule to "B" (full delivery).
This should fulfill your requirement.
Rgds
Sourabh -
Activate function "Duplicate Line" in a UDO - SAP 8.8
He everybody,
I've created a basic UDO in SAP 8.8... How can I activate "Duplicate Line" function in this UDO, like exist in SAP B1 default forms??
It is possible??
Rgrds,
WagnerHi Wagner,
you have to develop this function on your own. You can use the generalservices for accessing udo data. see the sdk help center for more information.
greetings
matthias -
Activate funcions "Duplicate Line" in UDO-Table
He everybody,
I've created a basic UDO... How can I activate "Duplicate Line" function in this UDO, like exist in SAP B1 default forms??
It is possible??
Rgrds,
WagnerHi Wagner,
Your question belongs to SDK forum. Post it there.
Thanks,
Gordon -
hi, i have duplicate lines, how to keep one line and delete other line, please see the data.
GEOMETRY(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
SDO_GEOMETRY(2002, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY(
-87.913022, 41.977339, -87.912718, 41.977415))
SDO_GEOMETRY(2002, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY(
-87.913022, 41.977339, -87.912718, 41.977415))
many thanksHi 908275,
Here's a quick demo:jot_test@11gR2> create table duplicate_demo (
2 id number primary key,
3 geometry sdo_geometry);
Table created.
jot_test@11gR2>
jot_test@11gR2> delete from user_sdo_geom_metadata where table_name = 'DUPLICATE_DEMO';
1 row deleted.
jot_test@11gR2> insert into user_sdo_geom_metadata (table_name, column_name, diminfo, srid) values
2 ('DUPLICATE_DEMO','GEOMETRY',sdo_dim_array(sdo_dim_element('x', 600000, 650000, .01), sdo_dim_element('y', 300000, 350000, .01)), 81989);
1 row created.
jot_test@11gR2>
jot_test@11gR2> create index duplicate_demo_spind on duplicate_demo(geometry) indextype is mdsys.spatial_index;
Index created.
jot_test@11gR2>
jot_test@11gR2> insert into duplicate_demo (id, geometry) values (1,
2 sdo_geometry(2003, 81989, null, sdo_elem_info_array(1,1003,1),
3 sdo_ordinate_array(600000, 300000, 601000, 300000, 601000, 301000, 600000, 301000,600000, 300000)));
1 row created.
jot_test@11gR2>
jot_test@11gR2> insert into duplicate_demo (id, geometry) values (2,
2 sdo_geometry(2003, 81989, null, sdo_elem_info_array(1,1003,1),
3 sdo_ordinate_array(600000, 300000, 601000, 300000, 601000, 301000, 600000, 301000,600000, 300000)));
1 row created.
jot_test@11gR2>
jot_test@11gR2> insert into duplicate_demo (id, geometry) values (3,
2 sdo_geometry(2003, 81989, null, sdo_elem_info_array(1,1003,1),
3 sdo_ordinate_array(600000, 300000, 601000, 300000, 601000, 301000, 600000, 301000,600000, 300000)));
1 row created.
jot_test@11gR2>
jot_test@11gR2> insert into duplicate_demo (id, geometry) values (4,
2 sdo_geometry(2003, 81989, null,sdo_elem_info_array(1,1003,1),
3 sdo_ordinate_array(600200, 300200, 601500, 300200, 601500, 303000, 600200, 303000,600200, 300200)));
1 row created.
jot_test@11gR2>
jot_test@11gR2> insert into duplicate_demo (id, geometry) values (5,
2 sdo_geometry(2003, 81989, null,sdo_elem_info_array(1,1003,1),
3 sdo_ordinate_array(600200, 300200, 601500, 300200, 601500, 303000, 600200, 303000,600200, 300200)));
1 row created.
jot_test@11gR2>
jot_test@11gR2> insert into duplicate_demo (id, geometry) values (6,
2 sdo_geometry(2003, 81989, null,sdo_elem_info_array(1,1003,1),
3 sdo_ordinate_array(600200, 300200, 601500, 300200, 601500, 303000, 600200, 303000,600200, 300200)));
1 row created.
jot_test@11gR2>
jot_test@11gR2> insert into duplicate_demo (id, geometry) values (7,
2 sdo_geometry(2003,81989,null, sdo_elem_info_array(1,1003,1),
3 sdo_ordinate_array(601706,301321, 602554,301321, 601744,302032, 602612,302028, 601790,301429, 601706,301321)));
1 row created.
jot_test@11gR2>
jot_test@11gR2> insert into duplicate_demo (id, geometry) values (8,
2 sdo_geometry(2003,81989,null, sdo_elem_info_array(1,1003,1),
3 sdo_ordinate_array(601706,301321, 602554,301321, 601744,302032, 602612,302028, 601790,301429, 601706,301321)));
1 row created.
jot_test@11gR2>
jot_test@11gR2> commit;
Commit complete.
jot_test@11gR2>
jot_test@11gR2> -- Identify which rows duplicate each other
jot_test@11gR2> select /*+ ORDERED */ b.id, a.id
2 from duplicate_demo a, duplicate_demo b
3 where sdo_equal (a.geometry, b.geometry) = 'TRUE'
4 and a.id != b.id
5 order by 1,2;
ID ID
1 2
1 3
2 1
2 3
3 1
3 2
4 5
4 6
5 4
5 6
6 4
6 5
7 8
8 7
14 rows selected.
jot_test@11gR2>
jot_test@11gR2> -- Now delete the duplicates
jot_test@11gR2> delete from duplicate_demo a where rowid > (
2 select /*+ ORDERED */ min(rowid)
3 from duplicate_demo b
4 where sdo_equal (b.geometry, a.geometry) = 'TRUE');
5 rows deleted.Regards
John -
BRARCHIVE fails with BR0017E error message: "off line redo log not found"
After upgrade, archive format was changed to introduce resetlogs id in archive log file name
Archive destination /oracle/GDD/oraarch/GDDarch
Archive format %t_%s_%r.dbf
NOTE: %s log sequence number, %t thread number, %r resetlogs ID that ensures unique names are constructed for the archived log files across multiple incarnations of the database
We did have problems with this upgrade so database was recovered once and started with resetlogs (new incarnation created).
Now when we run brarchive it is trying to archive archive_log_file
BR0017E Offline redo log file '/oracle/GDD/oraarch/GDDarch1_853_544272161.dbf' not found
while on archive_log_dest we have files like "/oracle/GDD/oraarch/GDDarch1_853_618656359.dbf"
Can you please help me to find out from where brarchive is picking parameter for log_archive_format and why it is not picking up current one causing missmatch between archvie_redo_log_file create and one BRARCHIVE is trying to back up.I already tried it (renamed archGDD.log to andrija.archGDD.log) and rerun
brarchive -c -u / -r initGDD.utl.nbkp.bdhp4320 -cs
it gave me output:
brarchive -c -u / -r initGDD.utl.nbkp.bdhp4320 -cs
BR0002I BRARCHIVE 7.00 (14)
BR0006I Start of offline redo log processing: advfexyn.cps 2007-05-08 08.33.13
BR0477I Oracle pfile /oracle/GDD/102_64/dbs/initGDD.ora created from spfile /oracle/GDD/102_64/dbs/spfileGDD.ora
BR0013W No offline redo log files found for processing
BR0007I End of offline redo log processing: advfexyn.cps 2007-05-08 08.33.15
BR0280I BRARCHIVE time stamp: 2007-05-08 08.33.15
BR0004I BRARCHIVE completed successfully with warnings
and in archGDD.log that is created there is againreference to 0544272161 which seems to be still reference to old resetlog ID:
bdhp4320:ac8558 41> vi archGDD.log
"archGDD.log" 4 lines, 322 characters
GDD util_file advfexyn cps 2007-05-08 08.33.13 2007-05-08 08.33.15 9 ........... 0 0 0
0 -
7.00 (14) @0544272161
GDD util_file advfexyn cps 2007-05-08 08.33.13 2007-05-08 08.33.15 1 ........... 0 0 0
0 -
7.00 (14) @0544272161
and in /oracle/GDD/saparch/advfexyn.cps file there is output like:
Name Value
oracle_sid GDD
oracle_home /oracle/GDD/102_64
oracle_profile /oracle/GDD/102_64/dbs/initGDD.ora
sapdata_home /oracle/GDD
sap_profile /oracle/GDD/102_64/dbs/initGDD.sap
backup_dev_type util_file
util_par_file /oracle/GDD/102_64/dbs/initGDD.utl.nbkp.bdhp4320
system_info oragdd/oragdd bdhp4320 HP-UX B.11.11 U 9000/800
oracle_info GDD 10.2.0.2.0 8192 862 2969171885
sap_info 640 SAPGDD GDD W1381514715 R3_ORA 0020195637
make_info hp_64 OCI_101 May 27 2006
command_line brarchive -c -u / -r initGDD.utl.nbkp.bdhp4320 -cs
BR0013W No offline redo log files found for processing
BR0007I End of offline redo log processing: advfexyn.cps 2007-05-08 08.33.15
BR0280I BRARCHIVE time stamp: 2007-05-08 08.33.15
BR0004I BRARCHIVE completed successfully with warnings -
Duplicate line in Global variable
Hi Experts,
I have one BODS job which will load the data from BW to Non SAP. As per my business requirement I have to trigger this job from BW Process chain. For that I have added BODS job in Process Chain Variant and given input to global variable before execute the PC, it was working fine. Now I want to change the Global parameter value for that I open the PC variant it was showing multiple line items and I am not able to run this from Process Chain. Please help me if anybody faces this issue.
Version: BW 7.3
BODS Version : 4.1 SP2
Regards
M RameshHi All,
When you use the process type "Start job in SAP BusinessObjects Data Services" in a process chain , in the variant maintenance there are duplicate entries created in the global variables. This is due to a Internal Program error.
Apply note 1989821 ( Duplicate entries in Global variables for BOBJDS job in process chain)
Regards
M Ramesh -
Duplicate line added with a different billing plan in FPLTC TABLE
Hi,
when i save a order number then only 1 entry for billing plan is there in the FPLTC table.
but when i save the INVOICE there a duplicate entry is added with different bIlling plan in the FPLTC table.
can somebody tell me why this is happening.
Is there some configuration which happens at the time of saving the INVOICE. that it updates the previous BILLING PLAN NUMBER with the new NUMBER.
Should there be 2 billing Plan numbers actually??I dont think there is a way to use 2 different Billing plans for the same line item without doing an enhancement. If I were you I would address this like a training issue rather than doing such a huge enhancement.
-
On-line redu log file size reduce
Dear Experts,
Recently i have done HADR set-up, my DR server is on remote location,
and my network line is not very fast , my query is , can we reduce on log file size, which is currently 63.9921874995806 MB(by default) . because if we will reduce the size it may help to ship the log fast,
Kindly suggest the best,
Thanks
SadiqHello,
if you are referring to the build-in DB2 HADR functionality, reducing the size of log files will not help.
HADR does not transfer complete log files but will replicate logging information of each single transaction constantly to the standby site.
Your network has to have enough bandwidth to support the average log generation rate. This is not related to the size of individual log files, but to how much logging information is generated per amount of time.
Kindly check the corresponding DB2 online documentation for HADR performance aspects
[High availability disaster recovery (HADR) performance|http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/index.jsp?topic=%2Fcom.ibm.db2.luw.admin.ha.doc%2Fdoc%2Fc0021056.html]
But, to answer your initial question: The size of log files can be changed by modifying the LOGFILSIZ database configuration parameter. Probably it will not help in your case.
Edited by: Hans-Juergen Zeltwanger on Feb 20, 2012 2:49 PM
Edited by: Hans-Juergen Zeltwanger on Feb 20, 2012 2:50 PM -
Hi Experts,
I have a client who needs a Report that show the Item availability and what Sales Order makes up the 'Committed Stock' and what Purchase Orders make up the 'Ordered Stock' quantity in the Item Master Inventory tab.
Here is what I did so far:
SELECT T0.[ItemCode], T0.[ItemName], T0.[OnHand], T0.[IsCommited], T0.[OnOrder], T0.[OnHand] - T0.[IsCommited] + T0.[OnOrder] AS 'Available', T1.[DocEntry] AS 'SALES ORDER', T2.[CardCode] AS 'Customer Code', T2.[CardName] AS 'Customer Name', T1.[Quantity]AS 'SO Qty',T4.[DocNum] AS 'PURCHASE ORDER', T4.[CardCode] AS 'Vendor Code', T4.[CardName] AS 'Vendor Name',T3.[Quantity] AS 'PO Qty' FROM [dbo].[OITM] T0 INNER JOIN [dbo].[RDR1] T1 ON T0.ItemCode = T1.ItemCode INNER JOIN [dbo].[ORDR] T2 ON T1.DocEntry = T2.DocEntry INNER JOIN [dbo].[POR1] T3 ON T0.ItemCode = T3.ItemCode INNER JOIN [dbo].[OPOR] T4 ON T3.DocEntry = T4.DocEntry WHERE T0.[ItemCode] = 'A00008'
The issue here is that when I have more Sales Orders than Purchase Orders it just fills in the lines with duplicate Purchase Orders.
Any help would be appreciated.
Thanks,
MarliHi Marli,
If you need detail break down, you have to separate the results to two queries. There are no relations between those SO and PO. You could not get them in one report without issue.
Thanks,
Gordon -
Duplicate including archived log
Hi,
on 11.2.0.4 on Win 2008
I want duplicate from backups and also archived log.
I wonder if archived log are in backup location, it will work and the archived log.will be applied :
run {
duplicate database to DUPDB pfile='E:\oracle\product\11.2.0\dbhome_1\database\initDUPDB.ora' backup location ='F:\backup\';
Thanks.user10274093 wrote:
thank you.
Can this work ? Archived log would be applied ?
The archived log are not the backup of archived log. Just the archived log.
May be we should go trough RECOVER DATABASE after duplicating?
The backups are from last sunday and archived log from yesterday (monday 27 April).
So if you want to duplicate source database (database-a) to target database (database-b) and you have the backup of database-A, what prevents you from also haveing the backup of database-A archivelogs?
I have a test database that is duplicated from production backup every weekend, and part of that scripted, automated process is to copy all the backups of the source database. That includes a level 0 incremental backup of the database as well as the backups of the archivelogs. -
I get unwanted duplicate lines when editing the data content of my JTable
I have created an editable JTable (filled with data from an SQL) with a modified instance of AbstractDataModel.
I have a phenomenon that I cannot explain nor fix: each time I edit a data field in the JTable and press ENTER or leave the field, the edited line is duplicated. The extra content is not sent to my SQL (if I recreate the table everything is fine, except that certainly the changed value is lost). The problem must come from the Java code.
Ok, I admit, that I am not a Java pro and might have made a really stupid error, but I cannot find it.
Has someone already seen such a behavior?
Thanks
CCH
Message was edited by:
CCHuserNow we are drifting away a little from Java and start getting into philosophy ... :-) But one last reply I will do:
I agree that just playing around with the fuse box is dangerous and brings no benefit. But I am not that unknowing in Java... Technically saying I work in IT, but just not as a programmer but rather as a business consultant (I write the functional concepts that later the programmers have to implement and then I have to talk to them to fix functional errors and do the testing). Besides, I hold an official Java Programmer degree. But when not programming professionally and continuously gaining experience, it is very hard to keep your skill up. Therefore I do one or another hobby project with Java that I could also do better and faster with other tools such as Excel, Access or a simple batch job.
My concept for trying new things is to get a piece of code from the internet from which I assume I know roughly what it does. Then I use it in my programs, and while altering it to my needs, I continuously keep searching in API, documentation and tutorials or simple trial and error to get better insight into the details.
And as a scientist you know what I mean when I say that if I try something new, I simply accept for certain details that they work without knowing how. And over time I then take the time for the "how". Many famous people made their inventions by trial and error and while then testing their new observation and changing the surrounding conditions found out why they work. Not that I would claim for myself to be anything close to a genius inventor but I found that the approach works for me to advance in my insights of a solution.
Sincerely CCH
Message was edited by:
CCHuser -
How do I find duplicate lines in Oracle Spatial?
Hi,
I am looking at all of the Oracle locator/spatial functions and I am wondering how to I find if two lines, or two polygons are the same? That is a user has partially loaded more lines into the database and the data had previously been loaded. I do not want to rely on any attribute names preferring to only compare GEOM data.
thanks,
Susanhi
i think u can use this procedure to compare all geometry
DECLARE
v_id number;
CURSOR cur1 is select * from Layer;
CURSOR cur2(v_id number,v_geom mdsys.sdo_geometry) is select * from layer a
where SDO_GEOM.RELATE(a.geom,'EQUAL',v_geom,0.005) = 'EQUAL' and v_id <> GID;
------------------------------ define your LAYER (LINES) ----------------------------
row1 LAYER%rowtype;
row2 LAYER%rowtype;
BEGIN
open cur1;
loop
fetch cur1 into row1;
exit when cur1%NOTFOUND;
open cur2(row1.GID,row1.geom) ;
loop
fetch cur2 into row2;
exit when cur2%notfound;
select row2.id from dual;
-- or insert into ......
end loop;
close cur2;
end loop;
close cur1;
end;
-------------------------------GOOD LUCK ---------------------------------------------
--Author Geomaticien @09 -
Duplicate lines in worklist CAT2
Hi,
I would be very grateful if some one can help me with a CAT2 issue.
I am working in ECC 6.0 , I Iexecute CAT2 ( perfil CAT classic) for a personnel number and I can see in a worklist WBS in which I can enter hours, when I enter hours for this WBS in the Data Entry Area two lines appears in Worklist for the same WBS one with information that was in working ara at first and another one with the information enter un Data Entry Area.
Does anyone knows the reason of this ?
Thanks in advance for your help.
SaraHello,
Thank all very much for your help.
My problem is solved, I have copied rows from worklist to Data entry area, if I filled hour this way lines are not duplicated.
My question now is --> Is there anyway to information is showed in worklist and in data entry area in order to I don't need copy rows from one place to another ¿?
Thanks again for your help!!!
Sara
Maybe you are looking for
-
Error occured while doing depreciation for an asset
Hi, I could running the depreciation for an asset in AFAB t-code. The msg is ""Testrun Completed successfully" and "No document were created for this run". I have purchased the asset for the month of April and wanted to run the depreciation for that
-
Hi Friends, I am confused about primary keys. What is the purpose of this key again? I know it is used for unique constraints. Supposing I have a table with two (2) columns which are each indexed as unique. Then they can me both candidate at primary
-
Dynamic Action in CKE Editor / rich text
Dear fellow developers, I created some dynamic actions in Apex 4.1.1, which allow me to create function keys in my application. For example on "key-down F10" a modal dialog opens or upon hitting "F11" the user is redirected. While this works as long
-
Badi or User exit for CJ20N..Milestone date
HI... I have to access the field of CJ20N fieldname (LST_ACTDT) (Milestone date).I have to send the alert mail using that value. But i am unable to get the BADI or user exit to get that value.I am using the BADI WORKBREAKDOWN_UPDATE. But not reachin
-
One Key Recovery under Win 10, G50-70
hello guys my laptop is g50-70.I have got all the drivers for windows 10 64 bit except the onekey recovery for win10> how to make the system image of the win10 if it is not provided??? help me out.... Mod Comment: Moved post into proper forum. Edited