6525036 Super Contributor.
Super Contributor.
653 views

DCS - unknown trans log instruction

Hi,

I have this DCS driver.
Now it will no start anymore.
Can anyone guess what I can do about this? It does indeed puzzle me.

The "bottom" of a lvl3 trace os posted below here

[HTML][10/25/18 09:11:12.731]:DATACOLLSVC01 ST:DCSShim: [BatchFile]-0: Opened batch file...
[10/25/18 09:11:12.731]:DATACOLLSVC01 ST:Restricting file Permission for /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-state-0
[10/25/18 09:11:12.732]:DATACOLLSVC01 ST:Restricting file Permission for /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-state-0.p
[10/25/18 09:11:12.733]:DATACOLLSVC01 ST:Restricting file Permission for /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-state-0.t
[10/25/18 09:11:12.733]:DATACOLLSVC01 ST:DCSShim: [BatchFile]-0: Restricted file permission...
[10/25/18 09:11:12.734]:DATACOLLSVC01 ST:DCSShim: [BatchFile]-0: Reusing state cache map...
[10/25/18 09:11:12.735]:DATACOLLSVC01 ST:DCSShim: BatchFileManager - Initializing status cache...
[10/25/18 09:11:12.767]:DATACOLLSVC01 ST:DCSShim: [BatchFile]-0: Opened batch file...
[10/25/18 09:11:12.767]:DATACOLLSVC01 ST:Restricting file Permission for /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-status-0
[10/25/18 09:11:12.768]:DATACOLLSVC01 ST:Restricting file Permission for /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-status-0.p
[10/25/18 09:11:12.768]:DATACOLLSVC01 ST:Restricting file Permission for /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-status-0.t
[10/25/18 09:11:12.769]:DATACOLLSVC01 ST:DCSShim: [BatchFile]-0: Restricted file permission...
[10/25/18 09:11:12.770]:DATACOLLSVC01 ST:DCSShim: [BatchFile]-0: Reusing cache map...
[10/25/18 09:11:12.770]:DATACOLLSVC01 ST:DCSShim: BatchFileManager - Initializing batch file id : 0
[10/25/18 09:11:12.803]:DATACOLLSVC01 ST:DCSShim: [BatchFile]-1: Opened batch file...
[10/25/18 09:11:12.804]:DATACOLLSVC01 ST:Restricting file Permission for /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-1
[10/25/18 09:11:12.804]:DATACOLLSVC01 ST:Restricting file Permission for /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-1.p
[10/25/18 09:11:12.805]:DATACOLLSVC01 ST:Restricting file Permission for /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-1.t
[10/25/18 09:11:12.806]:DATACOLLSVC01 ST:DCSShim: [BatchFile]-1: Restricted file permission...
[10/25/18 09:11:12.806]:DATACOLLSVC01 ST:DCSShim: [BatchFile]-1: Reusing cache map...
[10/25/18 09:11:12.807]:DATACOLLSVC01 ST:DCSShim: BatchFileManager - Initializing batch file id : 1
[10/25/18 09:11:12.858]:DATACOLLSVC01 ST:
DirXML Log Event -------------------
Driver: \META\dk\services\idm\Driver Set\DATACOLLSVC01
Status: Error
Message: Code(-9010) An exception occurred: java.lang.AssertionError: unknown trans log instruction '-122' at log offset: 2086
at org.mapdb.StoreWAL.verifyLogFile(StoreWAL.java:757)
at org.mapdb.StoreWAL.<init>(StoreWAL.java:66)
at org.mapdb.DBMaker.extendStoreWAL(DBMaker.java:927)
at org.mapdb.DBMaker.makeEngine(DBMaker.java:721)
at org.mapdb.DBMaker.make(DBMaker.java:664)
at com.novell.nds.dirxml.driver.dcsshim.persist.BatchFile.open(Unknown Source)
at com.novell.nds.dirxml.driver.dcsshim.persist.BatchFileManager.<init>(Unknown Source)
at com.novell.nds.dirxml.driver.dcsshim.DCSShim.init(Unknown Source)
at com.novell.nds.dirxml.engine.Driver.startShim(Driver.java:1492)
at com.novell.nds.dirxml.engine.Driver.initialize(Driver.java:286)
at com.novell.nds.dirxml.engine.Driver.<init>(Driver.java:252)
at com.novell.nds.dirxml.engine.DriverEntry.run(DriverEntry.java:586)
at java.lang.Thread.run(Thread.java:745)

[10/25/18 09:11:12.862]:DATACOLLSVC01 ST:Driver terminated.
[10/25/18 09:11:12.864]:DATACOLLSVC01 ST:Writing XML attribute vnd.nds.stream://META/dk/services/idm/Driver+Set/DATACOLLSVC01#DirXML-PersistentData.[/HTML]

-Nicolai
Labels (1)
0 Likes
9 Replies
Knowledge Partner
Knowledge Partner

Re: DCS - unknown trans log instruction

On 2018-10-25 09:16, 6525036 wrote:
> /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-state-0
> [10/25/18 09:11:12.732]:DATACOLLSVC01 ST:Restricting file Permission for
> /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-state-0.p
> [10/25/18 09:11:12.733]:DATACOLLSVC01 ST:Restricting file Permission for
> /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-state-0.t

Most probably the state files are corrupted.
I've had this happen.

Try to move the files outside the DIB dir it mentions in the start of
the trace:

/opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-state-0

/opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-state-0.p

/opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-state-0.t

--
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.
0 Likes
6525036 Super Contributor.
Super Contributor.

Re: DCS - unknown trans log instruction

alekz;2489464 wrote:
On 2018-10-25 09:16, 6525036 wrote:
> /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-state-0
> [10/25/18 09:11:12.732]:DATACOLLSVC01 ST:Restricting file Permission for
> /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-state-0.p
> [10/25/18 09:11:12.733]:DATACOLLSVC01 ST:Restricting file Permission for
> /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-state-0.t

Most probably the state files are corrupted.
I've had this happen.

Try to move the files outside the DIB dir it mentions in the start of
the trace:

/opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-state-0

/opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-state-0.p

/opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-state-0.t

--
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.


Hi,
That did not help.
It recreates the statefiles starting the driver.
I tried this:
1) Move files away
2) Start driver
Result: Still complains

1) Shutdown edir
2) move files
3) start driver
Result: Still complains

1) disabled driver (and lost a million transactions)
2) moved files
3) start driver
Result: Still complains

Wonder what can solve this. Any ideas appreciated.
0 Likes
Knowledge Partner
Knowledge Partner

Re: DCS - unknown trans log instruction

On 2018-10-25 11:06, 6525036 wrote:
>
> alekz;2489464 Wrote:
>> On 2018-10-25 09:16, 6525036 wrote:
>>>

>> /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-state-0
>>> [10/25/18 09:11:12.732]:DATACOLLSVC01 ST:Restricting file Permission

>> for
>>>

>> /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-state-0.p
>>> [10/25/18 09:11:12.733]:DATACOLLSVC01 ST:Restricting file Permission

>> for
>>>

>> /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-state-0.t
>> Most probably the state files are corrupted.
>> I've had this happen.
>>
>> Try to move the files outside the DIB dir it mentions in the start of
>> the trace:
>>
>> /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-state-0
>>
>> /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-state-0.p
>>
>> /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-state-0.t
>>
>> --
>> If you find this post helpful and are logged into the web interface,
>> show your appreciation and click on the star below.

>
> Hi,
> That did not help.
> It recreates the statefiles starting the driver.
> I tried this:
> 1) Move files away
> 2) Start driver
> Result: Still complains
>
> 1) Shutdown edir
> 2) move files
> 3) start driver
> Result: Still complains
>
> 1) disabled driver (and lost a million transactions)
> 2) moved files
> 3) start driver
> Result: Still complains
>
> Wonder what can solve this. Any ideas appreciated.
>
>

There should be more files than just those 3, any files that start with
2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A and a file that starts with DCS.

--
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.
0 Likes
6525036 Super Contributor.
Super Contributor.

Re: DCS - unknown trans log instruction

alekz;2489473 wrote:
On 2018-10-25 11:06, 6525036 wrote:

There should be more files than just those 3, any files that start with
2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A and a file that starts with DCS.

--
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.


Indeed, I have now moved those:

-rw------- 1 root root 32968 Oct 25 10:59 2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-1
-rw------- 1 root root 184 Oct 25 10:59 2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-1.p
-rw------- 1 root root 834 Oct 25 10:59 2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-1.t

and those:

-rw-rw-rw- 1 root root 586 Feb 27 2014 DCSDriver_1CB6894B-94D5-4c6c-02AA-4B89B61CD594
-rw------- 1 root root 136667136 Jun 28 2013 DCSDriver_1CB6894B-94D5-4c6c-02AA-4B89B61CD594.db
-rw------- 1 root root 8 Feb 27 2014 DCSDriver_1CB6894B-94D5-4c6c-02AA-4B89B61CD594.lg
-rw-rw-rw- 1 root root 623 Sep 27 15:51 DCSDriver_2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A
-rw------- 1 root root 170844160 Mar 5 2014 DCSDriver_2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A.db
-rw------- 1 root root 8 Jun 19 2014 DCSDriver_2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A.lg

The error persists though.
Any other ideas?
0 Likes
Knowledge Partner
Knowledge Partner

Re: DCS - unknown trans log instruction

On 2018-10-27 12:46, 6525036 wrote:
> Any other ideas?

Sorry but no.

--
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.
0 Likes
6525036 Super Contributor.
Super Contributor.

Re: DCS - unknown trans log instruction

alekz;2489671 wrote:
On 2018-10-27 12:46, 6525036 wrote:
> Any other ideas?

Sorry but no.


Hi,

Thanks for trying, it is appreciated.
Does anyone else have any ideas?
0 Likes
Knowledge Partner
Knowledge Partner

Re: DCS - unknown trans log instruction

6525036;2489706 wrote:
Hi,

Thanks for trying, it is appreciated.
Does anyone else have any ideas?


Best bet at this point is going to be opening an SR.
0 Likes
Knowledge Partner
Knowledge Partner

Re: DCS - unknown trans log instruction

On 10/25/2018 3:16 AM, 6525036 wrote:
>
> Hi,
>
> I have this DCS driver.
> Now it will no start anymore.
> Can anyone guess what I can do about this? It does indeed puzzle me.
>
> The "bottom" of a lvl3 trace os posted below here
>
>
> [10/25/18 09:11:12.731]:DATACOLLSVC01 ST:DCSShim: [BatchFile]-0:
> Opened batch file...
> [10/25/18 09:11:12.731]:DATACOLLSVC01 ST:Restricting file Permission for
> /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-state-0
> [10/25/18 09:11:12.732]:DATACOLLSVC01 ST:Restricting file Permission for
> /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-state-0.p
> [10/25/18 09:11:12.733]:DATACOLLSVC01 ST:Restricting file Permission for
> /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-state-0.t
> [10/25/18 09:11:12.733]:DATACOLLSVC01 ST:DCSShim: [BatchFile]-0:
> Restricted file permission...
> [10/25/18 09:11:12.734]:DATACOLLSVC01 ST:DCSShim: [BatchFile]-0: Reusing
> state cache map...
> [10/25/18 09:11:12.735]:DATACOLLSVC01 ST:DCSShim: BatchFileManager -
> Initializing status cache...
> [10/25/18 09:11:12.767]:DATACOLLSVC01 ST:DCSShim: [BatchFile]-0: Opened
> batch file...
> [10/25/18 09:11:12.767]:DATACOLLSVC01 ST:Restricting file Permission for
> /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-status-0
> [10/25/18 09:11:12.768]:DATACOLLSVC01 ST:Restricting file Permission for
> /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-status-0.p
> [10/25/18 09:11:12.768]:DATACOLLSVC01 ST:Restricting file Permission for
> /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-status-0.t
> [10/25/18 09:11:12.769]:DATACOLLSVC01 ST:DCSShim: [BatchFile]-0:
> Restricted file permission...
> [10/25/18 09:11:12.770]:DATACOLLSVC01 ST:DCSShim: [BatchFile]-0: Reusing
> cache map...
> [10/25/18 09:11:12.770]:DATACOLLSVC01 ST:DCSShim: BatchFileManager -
> Initializing batch file id : 0
> [10/25/18 09:11:12.803]:DATACOLLSVC01 ST:DCSShim: [BatchFile]-1: Opened
> batch file...
> [10/25/18 09:11:12.804]:DATACOLLSVC01 ST:Restricting file Permission for
> /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-1
> [10/25/18 09:11:12.804]:DATACOLLSVC01 ST:Restricting file Permission for
> /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-1.p
> [10/25/18 09:11:12.805]:DATACOLLSVC01 ST:Restricting file Permission for
> /opt/novell/eDirectory/META/meta6/data/dib/2ADE435E-0A5B-4d36-B691-5E43DE2A5B0A-1.t
> [10/25/18 09:11:12.806]:DATACOLLSVC01 ST:DCSShim: [BatchFile]-1:
> Restricted file permission...
> [10/25/18 09:11:12.806]:DATACOLLSVC01 ST:DCSShim: [BatchFile]-1: Reusing
> cache map...
> [10/25/18 09:11:12.807]:DATACOLLSVC01 ST:DCSShim: BatchFileManager -
> Initializing batch file id : 1
> [10/25/18 09:11:12.858]:DATACOLLSVC01 ST:
> DirXML Log Event -------------------
> Driver: \META\dk\services\idm\Driver Set\DATACOLLSVC01
> Status: Error
> Message: Code(-9010) An exception occurred:
> java.lang.AssertionError: unknown trans log instruction '-122' at log
> offset: 2086
> at org.mapdb.StoreWAL.verifyLogFile(StoreWAL.java:757)
> at org.mapdb.StoreWAL.<init>(StoreWAL.java:66)
> at org.mapdb.DBMaker.extendStoreWAL(DBMaker.java:927)
> at org.mapdb.DBMaker.makeEngine(DBMaker.java:721)
> at org.mapdb.DBMaker.make(DBMaker.java:664)
> at
> com.novell.nds.dirxml.driver.dcsshim.persist.BatchFile.open(Unknown
> Source)
> at
> com.novell.nds.dirxml.driver.dcsshim.persist.BatchFileManager.<init>(Unknown
> Source)
> at com.novell.nds.dirxml.driver.dcsshim.DCSShim.init(Unknown
> Source)
> at
> com.novell.nds.dirxml.engine.Driver.startShim(Driver.java:1492)
> at
> com.novell.nds.dirxml.engine.Driver.initialize(Driver.java:286)
> at com.novell.nds.dirxml.engine.Driver.<init>(Driver.java:252)
> at
> com.novell.nds.dirxml.engine.DriverEntry.run(DriverEntry.java:586)
> at java.lang.Thread.run(Thread.java:745)
>
> [10/25/18 09:11:12.862]:DATACOLLSVC01 ST:Driver terminated.
> [10/25/18 09:11:12.864]:DATACOLLSVC01 ST:Writing XML attribute
> vnd.nds.stream://META/dk/services/idm/Driver+Set/DATACOLLSVC01#DirXML-PersistentData.



Your trace does not show what version of IDM you are running which
normally ought not to matter. But they have been playing with
MapDB/ZoomDB/JDBM updates in the last few revs, which is where your
error is showing up, and it might be worth checking if there is an
update you are missing, that perhaps includes a newer/older mapDB style JAR.

0 Likes
6525036 Super Contributor.
Super Contributor.

Re: DCS - unknown trans log instruction

geoffc;2489870 wrote:
On 10/25/2018 3:16 AM, 6525036 wrote:
>



Your trace does not show what version of IDM you are running which
normally ought not to matter. But they have been playing with
MapDB/ZoomDB/JDBM updates in the last few revs, which is where your
error is showing up, and it might be worth checking if there is an
update you are missing, that perhaps includes a newer/older mapDB style JAR.


True. I better check for patches.
This all started when I was preparing an upgrade, and wanted to make sure it worked prior to upgrading from 4.5.x to 4.6.x
I better see what is available. Valid point thanks.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.