IDA Pro > IDA Pro教程 > 技术问题 > 2.4.3. IDA pro 升级服务器(2.4.3. Upgrading the server)

2.4.3. IDA pro 升级服务器(2.4.3. Upgrading the server)

发布时间:2022-10-15 15: 27: 28

Switching to the newest versions of the Hex-Rays Vault server is recommended in order for the team to benefit from its
improvements and new features.
The upgrade procedure consists of the following steps:
1. stopping the server. E.g., sudo systemctl stop hexvault if you are using systemd to manage the server.
2. performing a backup of the database
3. putting the new server in stead of the old one
4. making sure the new server runs, upgrading the database schema to the new version if needed
5. restarting the server. E.g., sudo systemctl start hexvault

 

Verifying the database schema
Right after putting the new Hex-Rays Vault server binary into place, it is recommended to make sure it runs fine. To do
that, we’ll run the server manually just like we did the first time we installed it:


>sudo -u hexvault ./vault_server --config-file hexvault.conf \
--certchain-file hexvault.crt \
--privkey-file hexvault.key \
--license-file hexvault.lic \
--vault-dir ./files \

>2022-10-07 11:13:55 Vault Server v1.0 Hex-Rays (c) 2022
>2022-10-07 11:13:55 Using a license with 30 seats
>Error: obsolete database schema (5); use --upgrade-schema to upgrade it

 

In this case, the server complains that the database schema is outdated. This may happen as we will keep improving the
Hex-Rays Vault server, and new versions might require an upgrade of the database schema in order to be able to work
correctly.


Note that the Hex-Rays Vault server will not perform that upgrade automatically. That is on-purpose, to give you a chance
to backup the database before proceeding.


Let’s tell the server to upgrade to the latest schema:
>sudo -u hexvault ./vault_server --config-file hexvault.conf \
--certchain-file hexvault.crt \
--privkey-file hexvault.key \
--license-file hexvault.lic \
--vault-dir ./files \
--upgrade-schema
>2022-10-07 11:15:59 Vault Server v1.0 Hex-Rays (c) 2022
>2022-10-07 11:15:59 Upgrading the database schema from 5 to 8...
>2022-10-07 11:15:59 Database schema is up to date; exiting.


WARNING 

Please make absolutely sure you performed a backup of the database before issuing this command.

 

Once this is done, you should be able to restart the server in a normal way, and resume work.

 

中文翻译:

推荐使用最新版本的Hex-Rays Vault服务器,以使团队受益于其改进和新功能。

升级过程包括以下步骤:

1.停止服务器。例如,如果您正在使用systemd管理服务器,则使用sudo systemctl stop hexvault命令。

2.对数据库执行备份

3.将新服务器放置在旧服务器的位置

4.确保新服务器运行正常,如果需要,将数据库架构升级到新版本

5.重新启动服务器。例如,sudo systemctl start hexvault。

验证数据库架构

在将新的Hex-Rays Vault服务器二进制文件放入位置后,建议立即确保它正常运行。为此,我们将像第一次安装服务器时一样手动运行服务器:sudo-u hexvault./vault_server--config-file hexvault.conf

--certchain-file hexvault.crt--privkey-file hexvault.key--license-file hexvault.lic--vault-dir./files

2022-10-07 11:13:55 Vault Server v1.0 Hex-Rays(c)2022

2022-10-07 11:13:55 Using a license with 30 seats

Error:obsolete database schema(5);use--upgrade-schema to upgrade it

在这种情况下,服务器抱怨数据库模式已过时。这可能会发生,因为我们将继续改进Hex-Rays Vault服务器,新版本可能需要升级数据库模式,以便能够正确工作。请注意,Hex-Rays Vault服务器不会自动执行此升级。这是有意的,以便让您有机会在继续之前备份数据库。

让我们告诉服务器升级到最新模式:

sudo-u hexvault./vault_server--config-file hexvault.conf--certchain-file hexvault.crt--privkey-file hexvault.key--license-file hexvault.lic--vault-dir./files--upgrade-schema

2022-10-07 11:15:59 Vault Server v1.0 Hex-Rays(c)2022

2022-10-07 11:15:59 Upgrading the database schema from 5 to 8...

2022-10-07 11:15:59 Database schema is up to date;exiting.

警告:

请确保在执行此命令之前对数据库执行了备份。

完成此操作后,您应该能够以正常方式重新启动服务器并恢复工作。

展开阅读全文

标签:反汇编软件IDA Pro反编译

读者也访问过这里:
邀请您进入交流群 点击扫码
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反编exe怎么处理入口点 IDA反编exe导入符号后仍无函数名怎么改善
exe进IDA后第一眼最容易卡住两件事:入口点跳过去像一团乱麻,不知道从哪里开始顺;导入了符号却仍然满屏sub_,看起来像没导入成功。处理这类问题不要凭感觉乱点,按固定顺序把入口点与加载口径对齐,再把符号匹配、库函数识别、函数边界恢复三条线分别处理,通常就能明显提升可读性。
2026-03-12
IDA分析dsp怎么选处理器模块 IDA分析dsp反汇编全是数据段怎么处理
用IDA分析DSP时,处理器模块选错会直接把指令当成数据,反汇编窗口看起来就像整段都是字节数组。更麻烦的是,你一旦在错误模块下做了大量标注与重命名,后面再换模块会发现视图和引用关系全变了。正确做法是先把处理器模块与装载口径选对,再让IDA完成一次稳定的自动分析,然后再进入深挖。
2026-03-12
IDA逆向教程怎么系统化学习 IDA逆向教程练习样本怎么挑不踩坑
学IDA逆向想走得稳,关键是把学习顺序排对,把练习变量控住。先用可复现的步骤建立分析习惯,再用难度合适的样本训练定位入口、还原数据结构、验证关键分支这三种能力,进步会更可见,也不容易卡在壳与反调试上消耗时间。
2026-03-12
IDA反编译c++怎么看类结构 IDA反编译c++虚函数表怎么识别
用IDA反编译C++时,类结构还原与虚函数表识别是一体两面。你先把vptr写入点和成员偏移搞清楚,伪代码里的this指针与结构体字段才会“长”出来。下面按可操作路径讲清楚,先看类结构怎么搭起来,再看虚函数表怎么定位与命名,最后给一套反推校对的方法,方便你在大型工程里快速闭环。
2026-03-11
IDA静态分析算法怎么理解 IDA静态分析算法在图视图里怎么验证判断
在IDA里说的静态分析算法,更多是指自动分析阶段对二进制做反汇编、函数识别、交叉引用与控制流建模的一整套推断流程。图视图把这种推断结果用基本块与边的形式直接展示出来,你不需要先把每条指令读完,就能先验证它的判断是否站得住,再决定哪里值得深挖。
2026-03-10
IDA逆向分析从哪里开始 IDA逆向分析如何快速定位关键逻辑
用IDA做逆向,起步阶段最容易犯的错,是一上来就盯着反汇编硬读,结果入口没找准、分析口径没统一、笔记也没体系,越看越乱。更稳的做法是先把样本信息、加载参数、自动分析结果固定下来,再用少量高信息线索把范围收敛到关键函数集合,最后再进入精读与还原,这样效率会高很多。
2026-03-09

通过微信咨询我们

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