profileName: Action can not be executed while server is running

阅读更多

[webapp@webapp203 bin]$./manageprofiles.sh deleteAll

The following validation errors were present with the command line arguments:

            profileName: Action can not be executed while server is running

[root@webapp203 bin]#lsof ../profiles  #什么都没有

分析原因:由于之前主机名 webapp233,现在修改成 webapp201,导致执行失败

修改方法:[root@webapp203 bin]#vim hosts

158.222.164.201 webapp201

修改成为:

158.222.164.201 webapp233,保存,不用修改主机名。

注意hosts文件中,只能有一个weapp233对应一个IP。

 

 

你可能感兴趣的:(profileName: Action can not be executed while server is running)