我想将文件从一个目录复制到另一个目录。为了做到这一点,我使用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时,它显示staf已初始化
Ping测试也给出了同样的错误
[root@balveer bin]# STAF LOCAL PING PING
Error registering with STAF, RC: 10我在RHEL 6.3上运行staf版本3.4.11
发布于 2014-06-13 14:10:29
我做了以下工作:
$ echo "/usr/local/staf/lib" > /etc/ld.so.conf.d/staf.conf
$ ldconfig 基本上,在/etc/ld.so.conf.d/staf.conf中添加STAF库路径
https://stackoverflow.com/questions/24160183
复制相似问题