Bug #13448
closed/etc/init.d/radosgw-agent: configuration file default.conf not found
0%
Description
root@1-backups:/home/cephadmin# ls /etc/ceph/radosgw-agent/default.conf
/etc/ceph/radosgw-agent/default.conf
root@1-backups:/home/cephadmin# /etc/init.d/radosgw-agent restart
/etc/init.d/radosgw-agent: configuration file default.conf not found
Unable to stop, will not attempt to start
Updated by Sriharsha YD about 8 years ago
See if below info resolves this restart service issue :
To use complete file path instead of just filename i.e
$config_path instead of $name . which I think servers the purpose
of both default file name as well as for the custom file when specified
with [config-file] option.
in the restart case , it again loops back first to stop the radosgw-agent
with filename as option instead of complete location of the config file .
i.e restart)
$0 stop $name
Hence now in this loop , config_path is set to filename & the subsequent
check to this file fails .
if [ ! -f "$config_path" ]; then
- diff /etc/init.d/radosgw-agent /etc/init.d/radosgw-agent_mod
82c82
< $0 stop $name
---
$0 stop $config_path
878c87
< $0 start $name
---
$0 start $config_path
Updated by Abhishek Lekshmanan about 4 years ago
- Status changed from New to Resolved