当前位置:网站首页>The.Joernindex database has no content after Joern runs

The.Joernindex database has no content after Joern runs

2022-07-28 07:06:00 ithicker

Problem description :

To configure joern and neo4j After the whole process of , See the article for the specific process . But when I import data , Produced .joernindex file , The location of the file and your current folder , The specific location can be joern-0.3.1 Under folder joern-conf modify , I can generate this file every time I import data , But I use orders neo4j console When accessing the service ( For ECS access, see the article ), Find out joernindex The data in the file is empty without any nodes , It means that my data has not been imported , This problem has stuck me all day , I thought it was java Version problem , After changing it many times java Version and reuse ant restructure , But before ant Was a success , I don't know what the problem is

Problem flaws :

But through multiple runs , I found the use of joern When exporting .joernindex, Use the command at the same time neo4j console A folder will be generated when accessing the service .Joernindex, There is case J The difference between , By discovering , I joern The parsed data is placed in joern0.3.1 Under the .joernindex Folder , and neo4j The data source setting is joern0.3.1 Under the .Joernindex Folder , But there is no folder , So it rebuilt itself , He might as well tell me no dictionary or file

Problem solving

So we must guarantee joern Analyze the stored database files and Neo4j Read in database files to ensure consistency , Otherwise, such low-level errors will occur , It may also be because of the new contact installation joern and neo4j So I just read the tutorial without thinking about installing . We can modify it joern-conf or neo4j Under the document conf In folder neo4j-server.properties file , Just make sure that the two names are consistent .
 Insert picture description here

 Insert picture description here

原网站

版权声明
本文为[ithicker]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/209/202207280520380983.html