IDA Pro > IDA Pro教程 > 技术问题 > IDA Pro3.1.5.故障排除(3.1.5.Troubleshooting)

IDA Pro3.1.5.故障排除(3.1.5.Troubleshooting)

发布时间:2022-10-15 15: 49: 30

The server complains about a "world-accessible" file, and exits


The following files shouldn’t be readable by everyone on the system, but only by root and lumina:
• lumina.conf: this file file holds the connection string to the database the server will use, and might contain
credentials.
• lumina.crt: the certificate chain
• lumina.key: the private key file
• lumina.lic: the license file


As a precaution, the Lumina server will refuse to start if these files are readable by unauthorized users.
Please make sure they:
• have lumina:lumina ownership: chown lumina:lumina lumina.crt lumina.key lumina.lic lumina.conf
• are not world-accessible: chmod 640 lumina.crt lumina.key lumina.lic lumina.conf


MySQL
Before the first --recreate-schema command can succeed, it is necessary to create the MySQL database, as well as the
user that it will be accessed as.


Creating the user and database
What follows is an example creating a user + database, on a Debian system:

>sudo mysql -uroot -p
[sudo] password for aundro:
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 14306
Server version: 10.1.48-MySQL-0+deb9u2 Debian 9.13
Copyright (c) 2000, 2018, Oracle, MySQL Corporation Ab and others.

服务器报告了一个“全局可访问”的文件,并退出。

以下文件不应该被系统上的所有人可读,而应该只有root和lumina:

•lumina.conf:该文件保存了服务器将使用的数据库连接字符串,并可能包含凭据。

•lumina.crt:证书链

•lumina.key:私钥文件

•lumina.lic:许可证文件

作为预防措施,如果这些文件可被未经授权的用户读取,Lumina服务器将拒绝启动。

请确保它们:

•具有lumina:lumina所有权:chown lumina:lumina lumina.crt lumina.key lumina.lic lumina.conf

•不可被所有用户访问:chmod 640 lumina.crt lumina.key lumina.lic lumina.conf

MySQL

在第一次--recreate-schema命令能够成功之前,必须创建MySQL数据库以及将要访问它的用户。

创建用户和数据库

以下是在Debian系统上创建用户+数据库的示例:

sudo mysql-uroot-p

[sudo]password for aundro:

Enter password:

Welcome to the MySQL monitor.Commands end with;or\g.

Your MySQL connection id is 14306

Server version:10.1.48-MySQL-0+deb9u2 Debian 9.13

Copyright(c)2000,2018,Oracle,MySQL Corporation Ab and others.

Type'help;'or'\h'for help.Type'\c'to clear the current input statement.

MySQL[(none)]>create user lumina localhost;

Query OK,0 rows affected(0.00 sec)

MySQL[(none)]>set password for lumina localhost=PASSWORD('');

Query OK,0 rows affected(0.00 sec)

MySQL[(none)]>grant all on.to lumina localhost;

Query OK,0 rows affected(0.00 sec)

MySQL[(none)]>create database test_lumina;

Query OK,1 row affected(0.00 sec)

MySQL[(none)]>[Ctrl+C]Bye

“索引列大小过大。最大列大小为767个字节。”

由于旧版本的MySQL对“索引前缀大小”有特别严格的限制,Lumina服务器无法创建其模式。

这个限制在MySQL 5.8中得到了提高,因此这是Lumina服务器可以使用的最低版本。

“Error:Cannot connect to lumina db”

在这种情况下,编辑配置文件,默认情况下是/opt/lumina/lumina.conf,将CONNSTR中的Server=localhost替换为Server=127.0.0.1。
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MySQL [(none)]> create user lumina@localhost;
Query OK, 0 rows affected (0.00 sec)
MySQL [(none)]> set password for lumina@localhost = PASSWORD('');
Query OK, 0 rows affected (0.00 sec)
MySQL [(none)]> grant all on *.* to lumina@localhost;
Query OK, 0 rows affected (0.00 sec)
MySQL [(none)]> create database test_lumina;
Query OK, 1 row affected (0.00 sec)
MySQL [(none)]> [Ctrl+C] Bye

 

"Index column size too large. The maximum column size is 767 bytes."
The Lumina server cannot create its schema due to a particularly stringent limit on "index prefix sizes" in older versions
of MySQL.
This limit was increased in MySQL 5.8, and thus this is the minimum version the Lumina server can work with.

 

"Error: Cannot connect to lumina db"
In this case, edit the configuration file, by default /opt/lumina/lumina.conf and replace Server=localhost by
Server=127.0.0.1 in CONNSTR.

 

 

展开阅读全文

︾

标签:

读者也访问过这里:
邀请您进入交流群 点击扫码
400-8765-888 kefu@makeding.com

专业销售为您服务

欢迎添加好友,了解更多IDA优惠信息,领逆向工程学习资料礼包1份!
热门文章
exe反编译工具哪个好?反编译能力强的工具盘点
随着软件技术的发展,exe(可执行文件)已经成为了电脑、手机等多个平台上的主要软件运行格式,而对于exe文件的反编译也成为了逆向工程中不可缺少的一个步骤。本文将介绍一些常用的exe反编译工具,并评价其优缺点,帮助读者选择合适的工具。
2023-04-12
idapro怎么改为中文
IDA Pro是一款功能强大的反汇编和反编译工具,广泛应用于逆向工程和软件开发领域。在使用IDA Pro时,如果我们不习惯英文界面,可以将其改为中文界面。本文将介绍IDA Pro怎么改为中文界面。IDA Pro界面改成中文主要有两种方法,下面是详细介绍。
2023-04-19
c++反编译工具有哪些
反编译C++代码的工具一般是针对可执行文件和库文件的反汇编和逆向分析工具。本文将给大家介绍c++反编译工具有哪些的内容。市面说的c++反编译工具有很多,下面介绍几款使用认识较多的软件。
2023-04-23
ida怎么查找字符串 ida字符串窗口快捷键
在数字化时代,逆向工程作为解密软件和分析程序的关键技术,正日益受到广泛关注。在逆向分析的过程中,IDA(Interactive DisAssembler)是一款备受推崇的工具,它为逆向工程师们提供了强大的功能和灵活的操作。本文将带您深入探讨如何在IDA中查找字符串,优化字符串窗口的使用,并探讨IDA如何将变量转换成字符串,帮助您更加熟练地驾驭这一工具,为逆向分析的世界增添一抹精彩。
2023-09-27
ida如何转伪代码 ida伪代码怎么看
IDA Pro是一款常用的反汇编和反编译工具,可以帮助我们分析二进制文件的实现细节和执行过程,以便更好地理解程序的执行过程和逻辑。在进行逆向工程的过程中,我们经常需要将反汇编结果转换为伪代码,以便更好地进行分析和修改。本文将介绍如何使用IDA Pro转换为伪代码,并简单讲解ida伪代码怎么看。
2023-04-14
最新文章
IDA Pro反汇编怎么操作 IDA Pro反汇编代码怎么看懂
汇编最让人犯难的地方,是每条指令似乎都认识,连起来却不知道在做什么。一个寄存器刚装了地址,过几行又被覆盖;跳转追过去,还要回头确认条件。IDA Pro反汇编怎么操作,IDA Pro反汇编代码怎么看懂,下面从文件载入开始,再用几种常见指令说明读法。示例采用x86、x64的Intel语法,菜单使用英文名称。
2026-10-10
IDA Pro反汇编工具怎么查看代码 IDA Pro反汇编工具如何分析程序
打开一个EXE,屏幕上很快就会出现地址、寄存器和跳转指令。看得到代码,却不一定知道该从哪里读:入口附近可能全是初始化,函数名字也未必能看出用途。IDA Pro反汇编工具怎么查看代码,IDA Pro反汇编工具如何分析程序,可以从一个明确的问题开始,例如某条报错为什么出现、某个文件在哪里被读取。下面以Windows可执行文件为例,使用英文菜单和默认快捷键。
2026-10-10
IDA Pro反编译工具怎么使用 IDA Pro反编译结果错误怎么办
按下F5后,有的函数马上就能看,有的只弹出一条错误提示。即使伪代码生成了,参数也可能对不上,指针运算看起来还很别扭。IDA Pro反编译工具怎么使用,IDA Pro反编译结果错误怎么办,需要结合具体函数来判断。下面使用IDA英文界面的菜单名称和默认快捷键,操作从文件载入开始。
2026-10-09
IDA Pro中文设置在哪里调整 IDA Pro中文设置后显示异常怎么办
想让菜单变成中文,和想看清程序里的中文字符串,需要改的地方并不一样。有人换了字体,报错文字还是乱码;也有人装过汉化文件,菜单能读了,几个窗口却打不开。IDA Pro中文设置在哪里调整,IDA Pro中文设置后显示异常怎么办,这篇按实际出现的位置来写。下面以IDA 9.x官方英文界面为例,菜单使用原有名称。
2026-10-09
IDA Pro程序反编译有哪些步骤 IDA Pro程序反编译结果如何优化
F5按下去,几百行汇编收成了几十行伪代码,看起来总算能读了。可读到a1、v3,再碰上连续的强制转换,又有点拿不准:这是程序本来就复杂,还是IDA把类型认错了?这两种情况都可能发生。反编译输出还要结合调用和访存来理解,不能只看它像不像一段C代码。
2026-10-09
IDA Pro调试功能怎么使用 IDA Pro调试程序无法运行怎么办
一个小工具平时双击就能打开,放进IDA Pro,按F9却马上结束。这种情况不必先怀疑安装出了问题。双击、命令行启动、调试器启动,带给程序的条件可能不同。下面以Windows本机调试为例,从启动设置讲到断点,再看这几种运行问题分别查哪里。
2026-10-09

通过微信咨询我们

欢迎添加好友,了解更多IDA优惠信息,领取逆向工程学习资料礼包1份!

读者也喜欢这些内容: