一、环境
操作系统:kali-linux-everything Release 2023.4
MSF版本:6.3.43-dev(使用的kali自带的MSF)
二、解决的问题
- 执行
msfdb init
初始化MSF的PostgreSQL数据库时报排序规则版本不匹配错误┌──(root㉿kali)-[~] └─# msfdb init [+] Starting database WARNING: database "postgres" has a collation version mismatch DETAIL: The database was created using collation version 2.36, but the operating system provides version 2.37. HINT: Rebuild all objects in this database that use the default collation and run ALTER DATABASE postgres REFRESH COLLATION VERSION, or build PostgreSQL with the right library version. [+] Creating database user 'msf' WARNING: database "postgres" has a collation version mismatch DETAIL: The database was created using collation version 2.36, but the operating system provides version 2.37. HINT: Rebuild all objects in this database that use the default collation and run A