Hide Forgot
the shell scripts we have for configuring object-storage should first try to find the path for swift directory's path, as for example if we use the absolute path to execute the centos-install.sh , then it won't be able to find the "swift" dir and necessary copy of config files will show the below error. logs:- [root@Centos1 ~]# vim /root/obj/gluster-object-storage-3.3beta1/centos_install.sh [root@Centos1 ~]# /root/obj/gluster-object-storage-3.3beta1/centos_install.sh /root/obj/gluster-object-storage-3.3beta1/centos_install.sh: line 8: cd: swift: No such file or directory Enter external IP for Storage-Server: 10.1.12.25 Enter Super Admin key:sj Enter Object server port (Press Enter for default 6010): Enter Container server port (Press Enter for default 6011): Enter Account server port (Press Enter for default 6012): Enter '1' for https '2' for 'http' (Recommended is https):1 cp: cannot stat `config/proxy-server.conf': No such file or directory cp: cannot stat `config/swift.conf': No such file or directory cp: cannot stat `config/object-server.conf': No such file or directory cp: cannot stat `config/container-server.conf': No such file or directory cp: cannot stat `config/account-server.conf': No such file or directory
Install scripts are always supposed to be executed from UFO path.