0

I want to copy a file from one directory to another directory. For doing this I am using staf which gets invoked in one php script, but getting below error, even if I run staf command like below

[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 

At the time of starting staf, it says staf initialized

Ping test also gives same error

[root@balveer bin]# STAF LOCAL PING PING

Error registering with STAF, RC: 10

I am running staf version 3.4.11 on RHEL 6.3

4

1 回答 1

0

我做了以下工作:

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

基本上,添加 STAF 库路径/etc/ld.so.conf.d/staf.conf

于 2014-06-13T06:10:29.153 回答