Corrupted LMDB - Located page wrong type - recovery

We have a corrupted lmdb that I wanted to salvage. I tried different utilities (lmdb-utils and cli) but I can’t seem to even read the keys to it. It throws the following error:
error: mdb_get: MDB_CORRUPTED: Located page was wrong type
Is there a way or any tools that I can use to salvage DB?

Related

Why can't I read variable values anymore?

So I’ve been having some sort of issue with my iOS project.
I’m no longer able to debug properly on xcode the po command will no longer work.
this is what I get when i try to use “po”
error: expression failed to parse:
error: virtual filesystem overlay file '/Users/distiller/Library/Developer/Xcode/DerivedData/SendBirdCalls-dbjqlfwikkijbkgvuxucoxlahpdv/Build/Intermediates.noindex/ArchiveIntermediates/SendBirdCalls/IntermediateBuildFilesPath/SendBirdCalls.build/Release-iphoneos/SendBirdCalls.build/all-product-headers.yaml' not found
error: virtual filesystem overlay file '/Users/distiller/Library/Developer/Xcode/DerivedData/SendBirdCalls-dbjqlfwikkijbkgvuxucoxlahpdv/Build/Intermediates.noindex/ArchiveIntermediates/SendBirdCalls/IntermediateBuildFilesPath/SendBirdCalls.build/Release-iphoneos/SendBirdCalls.build/all-product-headers.yaml' not found
error: couldn't IRGen expression. Please check the above error messages for possible root causes.
can someone clarify what is going on?
i’ve already tried to clean derived data.
I also tried to follow these steps just to end up with another problem.
unable to debug some variables

zombodb with postgres-xl: "zombodb.so: undefined symbol: session_auth_is_superuser"

I have a database cluster based on Postgres-xl 10. I have to create a search index by ZomboDB extension. I copied all extension files into /usr/local/pgsql/lib other than standard path of postgresql /usr/lib/pgsql/lib. Because I checked that postgres-xl uses different $libdir from postgresql.
When CREATE EXTENSION zombodb;, it gives error:
ERROR: could not load library "/usr/local/pgsql/lib/zombodb.so": /usr/local/pgsql/lib/zombodb.so: undefined symbol: session_auth_is_superuser
SQL state: XX000
How can I overcome this problem?
You can't use plugins or extensions for standard Postgres index's on Postgres-XL.
Posgres-XL is a distributed database. i.e. It is meant to have the data broken up over different nodes which means it's index's work in a completely different mannor with different settings requirements, and have to work across the coordinator nodes and the global transaction managers.
Unless this vender provides specific libs for Postgres-XL it is not going to work. Even if you could find a way to trick it into working it would be a REALLY bad idea. It could fail at any time because that software has never been tested to work like that.

TYPO3: tx_news import service error: Desired storage "" is not available

I'm trying to activate the import service in the TYPO3 extension tx_news.
I suspect the error message: Desired storage "" is not in the list of available storages is due to the definition of the extension setting field import module.resourceFolderImporter, but no matter what i fill in there, I have this error ... this is as far as I get ... and that the value that I give in the variable is not shown in the error-message might be a hint ...
I tried it local on xampp (windows) and on the web-server, access rights should not be the issue
ADDED:
news 7.0.5 import service I try to activate the first way "show importer" (I have news 6.3.0 installed) that activation demands also a folder where to save files and images.
I found my error:
UID of storage to use when importing files/images
import module.storageUidImporter (integer)
this field asks for a storage, I was filling in a folder in the page-tree that I setup for the news import, instead it asked for a storage, as suggested right below the field, I used the default 1 for the fileadmin folder and the error resolved ...
real beginners error !

numba caching issue: cannot cache function / no locator available for file

I am trying to deploy a codebase that has a number numba.njit functions with cache=True.
It works fine running locally (Mac OS X 10.12.3), but on the remote machine (Ubuntu 14.04 on AWS) I am getting the following error:
RuntimeError at /portal/
cannot cache function 'filter_selection':
no locator available for file:
'/srv/run/miniconda/envs/mbenv/lib/python2.7/site-packages/mproj/core_calcs/filter.py'
I looked through the numba codebase, and I saw this file: https://github.com/numba/numba/blob/master/numba/caching.py
It appears that the following function is returning None instead of a locator, for this exception to be raised
cls.from_function(py_func, source_path)
Guessing this is a permission to write the pycache folders, but I didn't see in the numba docs a way to specify the cache folder location (CACHE_DIR).
Has anyone hit this before, and if so, what is the suggested work-around?
Set sys.frozen = True before for cls in self._locator_classes: in caching.py can eliminate the issue.
I have no idea whether such setting will impact performance.

Shared hosting error on my Zend based Application

I have just sucessfully tested my Zend based application on the localhost.When I deployed it on a shared hosting site I got the error below.It happens whenever I try navigate to protected pages of my application.
Warning: include(/home/davidkag/public_html/prototype/application/models/DbTable//Users.php) [function.include]: failed to open stream: No such file or directory in /home/davidkag/public_html/prototype/library/Zend/Loader/Autoloader/Resource.php on line 176
I have a feeling that the double slashes
models/DbTable//Users.php)
are causing this problem.
The error is caused at this particular line in my code:
Fatal error: Class 'Model_DbTable_Users' not found in /home/davidkag/public_html/prototype/application/controllers/AuthController.php on line 24
How do I trouble shoot this problem.Keep in mind that on my localhost machine its working fine.
I would start by creating a new test script, with one line, and see what you get:
include '/home/davidkag/public_html/prototype/application/models/DbTable//Users.php';
Then, remove the double slashes:
include '/home/davidkag/public_html/prototype/application/models/DbTable/Users.php';
If it's still giving you that warning, then either your path is wrong or your file permissions need to be eased.
P.S. You said 'protected pages' -- are those perhaps not in public_html?
I finally found my problem.It was a case issue.Talk of developing on windows and deploying on linux