如果问题与许可证或激活相关,请转到“许可”部分。
对于未明确的问题,请参阅“故障排除”部分。
建议由 IT 专家或系统管理员执行以下操作。
设备重启后,PACS 服务器服务无法启动。
日志中包含如下错误:
Error during selecting enabled Storage Devices. Cannot open connection (no connection)Error getting list of pending events. Can not execute query(no connection)DatabaseConnectionPool: Closing invalid connection #1.DatabaseConnectionPool: Establishing database connection #1DatabaseConnectionPool: Unable to connect to the database.如果未设置对数据库服务启动的依赖,PACS 服务可能会在数据库就绪前尝试启动,从而导致连接失败。
该依赖关系在通过安装脚本部署服务器时进行配置,对应步骤为:
“Add dependency from DBMS service? [Y,N]?” (是否添加对数据库服务的依赖?[Y,N]?)
设置对数据库服务启动的依赖。
命令:
sc config PACSServer depend= DBMS-NAME
其中 PACSServer 为默认服务名称,DBMS-NAME 为 数据库服务名称。
示例:
sc config PACSServer depend= MySQL
sc config PACSServer depend= postgreSQL-x64-15
编辑服务文件 /etc/systemd/system/pacsserver.service:
在 [Unit] 块中,添加或替换以下行:
After=network.target DBMS-NAME
其中 pacsserver 为默认服务名称,DBMS-NAME 为 数据库服务名称。
[Unit] 块示例:
[Unit]
Description=Inobitec DICOM Server (PACS)
After=network.target postgresql-14