2015-03-25 36 views
0

我有一個征服PACS我想使用一個pSQL數據庫。征服PACS與postgres

但是當我查詢我的PACS時,我不斷收到DBerror

據我在日誌中看到的,PACS從不查詢數據庫。

dicom.ini文件看起來像這樣:

# Network configuration: server name and TCP/IP port#                   
MyACRNema    = PACS365      
TCPPort     = 104      

# Reference to other files: known dicom servers; database layout; sops               
ACRNemaMap    = /var/services/web/vpm/conf/acrnema.map 
kFactorFile    = dicom.sql      
SOPClassList    = dgatesop.lst      
                       # Host for postgres or mysql only, name, username and password for database              
SQLHost     = localhost      
SQLServer    = conquest      
Username     = pacs      
Password     = pacs      
PostGres     = 1      
MySQL     = 0      
SQLite     = 0      
                       UseEscapeStringConstants = 1      
DoubleBackSlashToDB  = 1      
#IndexDBF    = 1      
#PackDBF     = 0      
#LongQueryDBF   = 1000    

任何人都能看出什麼錯誤?

回答

0

您驗證了postgres的安裝是否正確?

$ su - postgres 
postgres = # set schema 'conquest'; 
postgres = # SELECT * from conquest.DICOMPatients; 
+0

這並沒有提供問題的答案。要批評或要求作者澄清,在他們的帖子下留下評論 - 你總是可以評論你自己的帖子,一旦你有足夠的[聲譽](http://stackoverflow.com/help/whats-reputation),你會能夠[評論任何帖子](http://stackoverflow.com/help/privileges/comment)。 – Bond 2015-07-22 01:46:49

+0

@Bond我和Conquest Dicom Server一起工作,我確定我的答案可以澄清數據庫是否安裝正確。我很清楚這個工具,我知道這個問題與訪問數據庫有關。放棄查找問題被視爲「良好實踐」,這不是我答案中的問題。 – Ale 2015-07-22 02:06:04