簡體   English   中英

在同一台機器上的Staf復制:向STAF,RC注冊時出錯:10

[英]Staf Copy on same Machine : Error registering with STAF, RC: 10

我想將文件從一個目錄復制到另一個目錄。 為此,我使用的是staf ,它在一個php腳本中被調用,但是即使我像下面那樣運行staf命令,也會出現以下錯誤

[root@balveer ConfigManagement_phps]# /usr/local/staf/bin/staf local FS COPY FILE /prd/mdp/Config_Manager/Configuration_files/configfiles/PCEF1/pcef.conf tomachine 172.19.13.53 todirectory /prd/mdp/Config_Manager/Configuration_files/updatedconfigs/
Error registering with STAF, RC: 10 

在啟動工作staf ,它說工作人員已初始化

ping測試也給出相同的錯誤

[root@balveer bin]# STAF LOCAL PING PING

Error registering with STAF, RC: 10

我在RHEL 6.3上運行staf 3.4.11版

我做了以下:

$ echo "/usr/local/staf/lib" > /etc/ld.so.conf.d/staf.conf
$ ldconfig 

基本上,在/etc/ld.so.conf.d/staf.conf添加STAF庫路徑

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM