LTC - problem with sync (old wallet)

Hello,

I have an old wallet from 2018 (transactions were made only in that year)

If I open the wallet, I can see the transaction history from the moment the backup was made. LTC Core starts to synchronize and if the synchronization time exceeds the first transaction I see in the hostori, it closes the application without any errors. Then I can run the same situation, it synchronizes from the last point and closes the application at the same time. I checked on 4 different computers and on different versions of LTC core and still the same problem.

Any idea ?

LOGS
2024-03-28T22:06:30Z Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010) 2024-03-28T22:06:30Z Using wallet C:\Litecoin\LTCNEW\wallet.dat 2024-03-28T22:06:30Z BerkeleyEnvironment::Open: LogDir=C:\Litecoin\LTCNEW\database ErrorFile=C:\Litecoin\LTCNEW\db.log 2024-03-28T22:06:30Z UpdateTip: new best=3aa83abae98f2b4b1a73328c3961528cb9731204b654853bcbc326198ec272c2 height=1509769 version=0x20000000 log2_work=72.418017 tx=28363131 date='2018-10-15T14:27:01Z' progress=0.154776 cache=9.9MiB(74499txo) 2024-03-28T22:06:30Z UpdateTip: new best=dccf67dac4ddb046e93797684ae3cd901d4a4dcdd5a9b365c860470195542ef8 height=1509770 version=0x20000000 log2_work=72.418026 tx=28363193 date='2018-10-15T14:29:07Z' progress=0.154777 cache=9.9MiB(74585txo) 2024-03-28T22:06:30Z UpdateTip: new best=7d846199d8386801568a43908e39bafbc7c066de2e4054783b0e129b514a3e70 height=1509771 version=0x20000000 log2_work=72.418035 tx=28363223 date='2018-10-15T14:30:58Z' progress=0.154777 cache=9.9MiB(74616txo) 2024-03-28T22:06:30Z UpdateTip: new best=bb62d82846b42e0351b1ac3154146f16dc63e01303509273076ebaeaa6daabd2 height=1509772 version=0x20000000 log2_work=72.418043 tx=28363270 date='2018-10-15T14:32:23Z' progress=0.154777 cache=10.0MiB(74904txo) 2024-03-28T22:06:30Z UpdateTip: new best=bff6f0d92812c4735a2033cf91d0b258147791d3aaa3cc357bf5f6741d8d9f5a height=1509773 version=0x20000000 log2_work=72.418052 tx=28363318 date='2018-10-15T14:36:56Z' progress=0.154777 cache=10.0MiB(75059txo) 2024-03-28T22:06:30Z init message: Wczytywanie portfela... 2024-03-28T22:06:30Z UpdateTip: new best=99e42196dd75cefd334add7c926a21718da025e26f1508cc602ef75178e5b7d3 height=1509774 version=0x20000000 log2_work=72.418061 tx=28363410 date='2018-10-15T14:39:17Z' progress=0.154778 cache=10.0MiB(75316txo) 2024-03-28T22:06:30Z UpdateTip: new best=d8d09cbf1d49e06029757bca6c55699b04b7296040558f693bcd7d4a253b5c2c height=1509775 version=0x20000000 log2_work=72.418069 tx=28363534 date='2018-10-15T14:44:10Z' progress=0.154778 cache=10.0MiB(75471txo) 2024-03-28T22:06:30Z UpdateTip: new best=357700b8d0f963e219b4031833c0611ac84252328fe83b237131c534a2331c75 height=1509776 version=0x20000000 log2_work=72.418078 tx=28363656 date='2018-10-15T14:49:07Z' progress=0.154779 cache=10.1MiB(75592txo) 2024-03-28T22:06:30Z [LTCNEW] Wallet File Version = 130000 2024-03-28T22:06:30Z [LTCNEW] Keys: 0 plaintext, 1112 encrypted, 1112 w/ metadata, 1112 total. Unknown wallet records: 0 2024-03-28T22:06:30Z UpdateTip: new best=94a391b7e0539c1f09643e84a7c2ac0f46a001624fb68f5f6bfba0593d8a7137 height=1509777 version=0x20000000 log2_work=72.418087 tx=28363774 date='2018-10-15T14:54:23Z' progress=0.154780 cache=10.1MiB(75677txo) 2024-03-28T22:06:30Z UpdateTip: new best=add3914affbda3f83880bd0284018313b1f9f043edaa4fab0ee3a59e5073c8a2 height=1509778 version=0x20000000 log2_work=72.418096 tx=28363836 date='2018-10-15T14:57:43Z' progress=0.154780 cache=10.1MiB(75748txo) 2024-03-28T22:06:30Z [LTCNEW] Wallet completed loading in              24ms 2024-03-28T22:06:30Z UpdateTip: new best=79dd24d8a6d77390e3b0afe01f640476f336052638cc17d213b2b27943d1ad1a height=1509779 version=0x20000000 log2_work=72.418104 tx=28363963 date='2018-10-15T15:02:34Z' progress=0.154781 cache=10.4MiB(78143txo) 2024-03-28T22:06:30Z init message: Ponowne skanowanie... 2024-03-28T22:06:30Z [LTCNEW] Rescanning last 180803 blocks (from block 1328976)... 2024-03-28T22:06:30Z [LTCNEW] Rescan started from block 19a4fa3065565a45040e0a1ed6d0816f436fe36384322090080380df4b9e42a9... 2024-03-28T22:06:30Z UpdateTip: new best=aac09daa35995a920611fb3cbd79306ad483a032d94589cd6bb76df5a06e9db2 height=1509780 version=0x20000000 log2_work=72.418113 tx=28363990 date='2018-10-15T15:03:39Z' progress=0.154781 cache=10.4MiB(78215txo) 2024-03-28T22:06:30Z UpdateTip: new best=a5fc36bec610ceb2af6c73c80e54319147bd2d47f9f712c2fd7e07fa8329cbe1 height=1509781 version=0x20000000 log2_work=72.418122 tx=28364039 date='2018-10-15T15:05:26Z' progress=0.154781 cache=10.4MiB(78374txo) 2024-03-28T22:06:30Z UpdateTip: new best=a38303daa6925a7cded178b35e9597e5f982b9f3d01b830c58c44081f15a5bc0 height=1509782 version=0x20000000 log2_work=72.418130 tx=28364077 date='2018-10-15T15:07:24Z' progress=0.154781 cache=10.4MiB(78427txo) 2024-03-28T22:06:30Z UpdateTip: new best=76db1c583c2c29359de09ba96411d4522af7412743aaed57836e2453181c5d3f height=1509783 version=0x20000000 log2_work=72.418139 tx=28364092 date='2018-10-15T15:08:37Z' progress=0.154782 cache=10.4MiB(78438txo) 2024-03-28T22:06:31Z UpdateTip: new best=ced51432bd4a54aea04aff6e3b2b20e949a92c035943b9f37f02de746ce6a0cc height=1509784 version=0x20000000 log2_work=72.418148 tx=28364114 date='2018-10-15T15:09:20Z' progress=0.154782 cache=10.4MiB(78470txo)

I will only add that if I start synchronization without a wallet connected, it will go smoothly, and as soon as I open the wallet, the application closes immediately.

1 Like

Can you share the log file please? In your post it’s not correctly formatted, so it’s really hard for us to read.

@losh11
I am uploading the entire log file, but to my eye there is nothing there that indicates any error.

An interesting fact is that if I have my wallet open and start syncing and it hits 1 transaction, it closes the application and doesn’t even save the status, it just starts again from the last saved moment.

If I close the wallets, they all synchronize their status for 1 transaction and open them, the application immediately closes.

Until the first transaction in May 2018, it will synchronize correctly.

For tests:

To trigger an error and check if something helped, I close the application manually a month earlier so that then when synchronizing I wait only for 1 month to load and not from the previous state.

Are there more detailed logs somewhere?

the logs in the wallet directory itself are empty.

2024-04-02T13:52:35Z UpdateTip: new best=1da5611f779f3340623581094f84913a55130e83425188cd983d5c5041f51dc5 height=1477333 version=0x20000000 log2_work=72.105412 tx=26803634 date='2018-08-20T09:11:53Z' progress=0.145889 cache=9.0MiB(66820txo)
2024-04-02T13:52:35Z UpdateTip: new best=4fafe872b48cda478f03805be93a6fe714921af8aa439568c59f1778c11e405a height=1477334 version=0x20000000 log2_work=72.105422 tx=26803636 date='2018-08-20T09:11:56Z' progress=0.145889 cache=9.0MiB(66823txo)
2024-04-02T13:52:35Z UpdateTip: new best=e2f3b991857d1c2b9f942d2c0df243df8a26c58adc616c7dca1163e5f36a0064 height=1477335 version=0x20000000 log2_work=72.105433 tx=26803675 date='2018-08-20T09:13:48Z' progress=0.145889 cache=9.0MiB(66917txo)
2024-04-02T13:52:35Z UpdateTip: new best=8b1d761ec7d575d62c4e1e063ba3605540b3dd7c5988093dc04638008b745ddd height=1477336 version=0x20000000 log2_work=72.105443 tx=26803725 date='2018-08-20T09:15:51Z' progress=0.145890 cache=9.0MiB(66886txo)
2024-04-02T13:52:35Z UpdateTip: new best=f754f837722c2f3ad57a6e65f9f5084b85315b294213cc372ef0364cae98388e height=1477337 version=0x20000000 log2_work=72.105453 tx=26803767 date='2018-08-20T09:18:04Z' progress=0.145890 cache=9.0MiB(66920txo)
2024-04-02T13:52:35Z UpdateTip: new best=c8b244af3ef7f357826b639a474acfc6713ef982b3a347d5ee4c3d52dec01f8c height=1477338 version=0x20000000 log2_work=72.105464 tx=26803788 date='2018-08-20T09:20:09Z' progress=0.145890 cache=9.0MiB(66962txo)
2024-04-02T13:52:35Z UpdateTip: new best=09c2cd36ce44bce5f10e137e05f436a12dfcfc07e5c9ba7f0d2b38603a67a7bc height=1477339 version=0x20000000 log2_work=72.105474 tx=26803917 date='2018-08-20T09:25:42Z' progress=0.145891 cache=9.0MiB(67094txo)
2024-04-02T13:52:35Z UpdateTip: new best=5bddc14f252df5d1ef575ea08e2ef524c09f1e99a9405aed911bb814e2f5e3d0 height=1477340 version=0x20000000 log2_work=72.105484 tx=26803918 date='2018-08-20T09:26:09Z' progress=0.145891 cache=9.0MiB(67095txo)
2024-04-02T13:52:35Z UpdateTip: new best=f85119bbd05945a07e83d6edbfe5f99d0230d0c0f7cf64e9601c679f1c23533e height=1477341 version=0x20000000 log2_work=72.105495 tx=26803940 date='2018-08-20T09:27:21Z' progress=0.145891 cache=9.0MiB(67170txo)
2024-04-02T13:52:35Z UpdateTip: new best=35df8a21d9a661fc87fcac52240b030597df8b91b9d2d0a973fb8e82149e54eb height=1477342 version=0x20000000 log2_work=72.105505 tx=26803964 date='2018-08-20T09:28:15Z' progress=0.145891 cache=9.0MiB(67200txo)
2024-04-02T13:52:35Z UpdateTip: new best=c7ce4a086c38cfe0cd4783fa4996d0957516e9083823bd9719a2c3b04c1c33a6 height=1477343 version=0x20000000 log2_work=72.105515 tx=26803965 date='2018-08-20T09:28:29Z' progress=0.145891 cache=9.0MiB(67201txo)
2024-04-02T13:52:35Z UpdateTip: new best=29cd427c9ddd137d8c7f853fa4089299dbecc25dc7ffe1053728c671c72d901b height=1477344 version=0x20000000 log2_work=72.105526 tx=26803984 date='2018-08-20T09:29:05Z' progress=0.145891 cache=9.0MiB(67301txo)
2024-04-02T13:52:35Z UpdateTip: new best=4b4411fbe09acb1b097409b16145f211fb7197efa2a99a16b3105478ced3be4b height=1477345 version=0x20000000 log2_work=72.105536 tx=26804023 date='2018-08-20T09:31:03Z' progress=0.145891 cache=9.0MiB(67340txo)
2024-04-02T13:52:35Z UpdateTip: new best=4be37d14474733e5d6caf64508d574dd1dde00a9f714ed073a4a9403fc60c218 height=1477346 version=0x20000000 log2_work=72.105547 tx=26804056 date='2018-08-20T09:32:30Z' progress=0.145891 cache=9.0MiB(67364txo)
2024-04-02T13:52:35Z UpdateTip: new best=d70c8d8fa7bf5aa489210c6c4e17016aa0b982377b77e5177c0587e6b45bf81c height=1477347 version=0x20000000 log2_work=72.105557 tx=26804075 date='2018-08-20T09:34:26Z' progress=0.145891 cache=9.0MiB(67384txo)
2024-04-02T13:52:35Z UpdateTip: new best=8c1914c826474f2581d94da608c80760d41f4a25391202a4f6103b2c3333430c height=1477348 version=0x20000000 log2_work=72.105567 tx=26804159 date='2018-08-20T09:37:18Z' progress=0.145892 cache=9.2MiB(68581txo)
2024-04-02T13:52:35Z UpdateTip: new best=2fd0bf45732f3b619fac8845ea63bc4a00b28f75b9ef91e99d3d0d4bb56290a6 height=1477349 version=0x20000000 log2_work=72.105578 tx=26804167 date='2018-08-20T09:37:39Z' progress=0.145892 cache=9.2MiB(68592txo)
2024-04-02T13:52:35Z UpdateTip: new best=b54b79d8b6c782704429e174d49a0e5480f1fd800dea623aac6ca4908bb2a514 height=1477350 version=0x20000000 log2_work=72.105588 tx=26804168 date='2018-08-20T09:38:07Z' progress=0.145892 cache=9.2MiB(68593txo)
2024-04-02T13:52:35Z UpdateTip: new best=4fb2cd2792aaec4ce1b387e4d14dc76a2bd78cc2e82808f72dfee922db41ce3c height=1477351 version=0x20000000 log2_work=72.105598 tx=26804208 date='2018-08-20T09:39:56Z' progress=0.145892 cache=9.2MiB(68641txo)
2024-04-02T13:52:35Z UpdateTip: new best=0ef04007706a989a84236fc1ef2a174f09d577707614d95c87eb1b328b925040 height=1477352 version=0x20000000 log2_work=72.105609 tx=26804228 date='2018-08-20T09:40:58Z' progress=0.145892 cache=9.2MiB(68674txo)
2024-04-02T13:52:36Z UpdateTip: new best=10c550d5d31403951577a73cfce09435075e52b96a2f8cba460b4949ef81a3f4 height=1477353 version=0x20000000 log2_work=72.105619 tx=26804280 date='2018-08-20T09:44:18Z' progress=0.145893 cache=9.2MiB(68750txo)
2024-04-02T13:52:36Z UpdateTip: new best=a8edb0ae08909536a3f171d544ee78af014663783cffa6ba2cf08040eb04b12d height=1477354 version=0x20000000 log2_work=72.105629 tx=26804290 date='2018-08-20T09:44:29Z' progress=0.145893 cache=9.2MiB(68767txo)
2024-04-02T13:52:36Z UpdateTip: new best=f3c83a3f2c8c39d34caec28adee00dc784b753329bc6368ac35104002b705cbd height=1477355 version=0x20000000 log2_work=72.105640 tx=26804291 date='2018-08-20T09:45:08Z' progress=0.145893 cache=9.2MiB(68768txo)
2024-04-02T13:52:36Z UpdateTip: new best=10968b33c62805b7e0a1d956ddcd80740a585bb2dcd3b742d6425ae01cc9f97c height=1477356 version=0x20000000 log2_work=72.105650 tx=26804329 date='2018-08-20T09:46:03Z' progress=0.145893 cache=9.2MiB(68758txo)
2024-04-02T13:52:36Z UpdateTip: new best=b740c308c729ce6f8ceafb0077101c22b1f313497aaf0dd5105f09c3ffd25cb0 height=1477357 version=0x20000000 log2_work=72.105660 tx=26804341 date='2018-08-20T09:46:48Z' progress=0.145893 cache=9.2MiB(68778txo)
2024-04-02T13:52:36Z UpdateTip: new best=38736e502e5d9d45cfe1fd20ffa9b87405d338a8ea722429729f8ac2ffc5cc88 height=1477358 version=0x20000000 log2_work=72.105671 tx=26804435 date='2018-08-20T09:52:33Z' progress=0.145893 cache=9.2MiB(68747txo)
2024-04-02T13:52:36Z UpdateTip: new best=a552cf56ee6a072a2f5a93a672255136e8862fb26bf118e940a2599590360ca5 height=1477359 version=0x20000000 log2_work=72.105681 tx=26804521 date='2018-08-20T09:55:50Z' progress=0.145894 cache=9.3MiB(69564txo)
2024-04-02T13:52:36Z UpdateTip: new best=2c7da1e6ad1157b969f4e17d083cbfcc1deb5f0d4ed33c5246bd3fd90bffc9c3 height=1477360 version=0x20000000 log2_work=72.105691 tx=26804528 date='2018-08-20T09:56:21Z' progress=0.145894 cache=9.4MiB(70106txo)
2024-04-02T13:52:36Z UpdateTip: new best=6c644712860997d6b4abf71929710b4d36f0204b1bd94548461d1e145f14370c height=1477361 version=0x20000000 log2_work=72.105702 tx=26804576 date='2018-08-20T09:58:55Z' progress=0.145894 cache=9.4MiB(70158txo)
2024-04-02T13:52:36Z UpdateTip: new best=9df417f9dfb3821514ae57158322834a76aae01fb2c6a37155d3aa60f7a0ece4 height=1477362 version=0x20000000 log2_work=72.105712 tx=26804606 date='2018-08-20T10:00:28Z' progress=0.145894 cache=9.4MiB(70197txo)
2024-04-02T13:52:36Z UpdateTip: new best=ae66045fc3f87e223b2a6cdf7e1c3722ff29e9e0560e1dd1a2714c6699375e4a height=1477363 version=0x20000000 log2_work=72.105722 tx=26804630 date='2018-08-20T10:01:41Z' progress=0.145894 cache=9.4MiB(70225txo)
2024-04-02T13:52:36Z UpdateTip: new best=dfef5aeab4bc7f46567b404d09d466b71222b5a258832f0c24eb46ba7b138d9c height=1477364 version=0x20000000 log2_work=72.105733 tx=26804742 date='2018-08-20T10:07:36Z' progress=0.145895 cache=9.4MiB(70469txo)
2024-04-02T13:52:36Z UpdateTip: new best=e036dd31421e967044149036a7e912a728a8f9b0363820f64edc72d41678aa46 height=1477365 version=0x20000000 log2_work=72.105743 tx=26804808 date='2018-08-20T10:10:11Z' progress=0.145895 cache=9.5MiB(70776txo)
2024-04-02T13:52:36Z UpdateTip: new best=35f4e298a39bfb7758ad231e6f1551ff100ff49a7e891c6d9421cd7d4f09df3b height=1477366 version=0x20000000 log2_work=72.105753 tx=26804816 date='2018-08-20T10:10:38Z' progress=0.145895 cache=9.5MiB(70783txo)
2024-04-02T13:52:36Z UpdateTip: new best=a7b8dfd0f40af5aa7cf04610694b2ff2c72b7b66538aa5b600a47019b8c9bbcb height=1477367 version=0x20000000 log2_work=72.105764 tx=26804817 date='2018-08-20T10:10:57Z' progress=0.145895 cache=9.5MiB(70784txo)
2024-04-02T13:52:36Z UpdateTip: new best=6777850121afd4d59031881b684c88acc5649917a3d5703dc946f30aec827067 height=1477368 version=0x20000000 log2_work=72.105774 tx=26804836 date='2018-08-20T10:11:47Z' progress=0.145896 cache=9.5MiB(70777txo)
2024-04-02T13:52:36Z UpdateTip: new best=6c8da65dcdd1eb34e14747b1b502515bd6c0fae0e7d495fc3ba74ba64c96557e height=1477369 version=0x20000000 log2_work=72.105784 tx=26804896 date='2018-08-20T10:14:53Z' progress=0.145896 cache=9.5MiB(70888txo)
2024-04-02T13:52:36Z UpdateTip: new best=273212c149330371db289b7bf1f954034b9b77a616648fe497ecf1e133ca2d5e height=1477370 version=0x20000000 log2_work=72.105795 tx=26804970 date='2018-08-20T10:18:29Z' progress=0.145896 cache=9.5MiB(70836txo)
2024-04-02T13:52:36Z UpdateTip: new best=28abaaeaf3ace97c1ac299166445df41ae1c2869a130d831ea556f0d7f8c881d height=1477371 version=0x20000000 log2_work=72.105805 tx=26805108 date='2018-08-20T10:25:38Z' progress=0.145897 cache=9.5MiB(70907txo)
2024-04-02T13:52:36Z Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
2024-04-02T13:52:36Z Using wallet C:\Litecoin\test\wallet.dat
2024-04-02T13:52:36Z BerkeleyEnvironment::Open: LogDir=C:\Litecoin\test\database ErrorFile=C:\Litecoin\test\db.log
2024-04-02T13:52:36Z init message: Wczytywanie portfela...
2024-04-02T13:52:36Z UpdateTip: new best=b25e936f8f95be22f267c350e6861229d7e59fac2eb4401e79b7b02432cbeb5f height=1477372 version=0x20000000 log2_work=72.105815 tx=26805158 date='2018-08-20T10:28:11Z' progress=0.145897 cache=9.5MiB(70974txo)
2024-04-02T13:52:36Z [test] Wallet File Version = 130000
2024-04-02T13:52:36Z [test] Keys: 0 plaintext, 1112 encrypted, 1112 w/ metadata, 1112 total. Unknown wallet records: 0
2024-04-02T13:52:36Z UpdateTip: new best=d0d1f154d2f540d66bbf8c9999219fca3b92218f4041bbf0705381e19d0f1a44 height=1477373 version=0x20000000 log2_work=72.105826 tx=26805310 date='2018-08-20T10:38:03Z' progress=0.145898 cache=9.5MiB(71275txo)
2024-04-02T13:52:36Z UpdateTip: new best=5556d12c732043de369e60fa6679c7054a6e51bd7e4f50b5c5773e83c7549a2c height=1477374 version=0x20000000 log2_work=72.105836 tx=26805378 date='2018-08-20T10:41:35Z' progress=0.145899 cache=9.5MiB(71358txo)
2024-04-02T13:52:36Z UpdateTip: new best=d6a415b6c1ac8430dc2acd574dc594252506a4e444ff62c51b34517a5b5993bf height=1477375 version=0x20000000 log2_work=72.105846 tx=26805470 date='2018-08-20T10:45:43Z' progress=0.145899 cache=9.5MiB(71478txo)
2024-04-02T13:52:36Z UpdateTip: new best=81735ce58be9eb90a960e4cfc6895824296a22a53a8c10e99ffd5e35c6d2014b height=1477376 version=0x20000000 log2_work=72.105857 tx=26805492 date='2018-08-20T10:47:03Z' progress=0.145899 cache=9.6MiB(71499txo)
2024-04-02T13:52:36Z [test] Wallet completed loading in              23ms
2024-04-02T13:52:36Z UpdateTip: new best=830388b1d6a122f80e15503c0e6e13154891c03027e2813418afdf2f15356bbc height=1477377 version=0x20000000 log2_work=72.105867 tx=26805503 date='2018-08-20T10:47:38Z' progress=0.145899 cache=9.6MiB(71515txo)
2024-04-02T13:52:36Z init message: Ponowne skanowanie...
2024-04-02T13:52:36Z [test] Rescanning last 121759 blocks (from block 1355618)...
2024-04-02T13:52:36Z [test] Rescan started from block 19a4fa3065565a45040e0a1ed6d0816f436fe36384322090080380df4b9e42a9...

FWIW, i’d just delete the blocks folder in the Litecoin data directory, and restart Litecoin Core. Only make sure to keep wallets/ and wallet.dat, everything else can be deleted. It’s possible that your wallet.dat is somehow corrupt also. So if everything else fails, from a clean Litecoin Core, create a new wallet and send your coins to a new wallet.

I also tried to do the same thing, I recreated the wallet from the same file about a year ago (I have it in an email attachment) and then everything was fine, I sent part of the LTC to the exchange, now I wanted to send the rest and I just encountered this problem.

I don’t see LTC +/- balances, but without synchronization, the transaction probably won’t go through :confused:

What other options do I have?
I must admit that this is strange to me because it throws the application without any error in the logs, and there is nothing interesting, is there an option to run some more detailed logs?

(open up the console in litecoin core)

You can use the console command dumpwallet which should dump out a lot of private keys. Or you can specify the address you want using the dumprivkey command. Then import into another wallet like electrum-ltc etc.