问题背景与现象
安装OMS失败,提示Failed to install logman。
原因分析
- 查看安装日志“/var/log/Bigdata/controller/scriptlog/install.log”,报如下错误:
[2016-06-17 09:58:35] DEBUG configDiskManager end [install.sh(configDiskManager):1997](113506)
[2016-06-17 09:58:35] INFO Start oms. [install.sh(start_oms):843](113506)
start HA successfully.
[2016-06-17 09:59:30] DEBUG Config crontab. [install.sh(config_crontab):348](113506)
[2016-06-17 09:59:30] INFO Succeed to start oms. [install.sh(start_oms):864](113506)
[2016-06-17 09:59:30] INFO The script to install logman. [install.sh(install_logman):1367](113506)
You (omm) are not allowed to use this program (crontab)
See crontab(1) for more information
get crontab file failed.
You (omm) are not allowed to use this program (crontab)
See crontab(1) for more information
get crontab file failed.
[2016-06-17 09:59:30] ERROR Failed to install logman. [install.sh(main):1832](113506)
ERROR:Failed to install logman.
[2016-06-17 09:59:30] ERROR Installation failed. For details about the error, see the log file /var/log/Bigdata/controller/scriptlog/install.log. [install.sh(post_install):443](112780)
- cron配置文件被修改,导致没权限修改crontab文件,导致logman安装失败。

解决办法
-
-
-
-
-
-
- 修改“cron.deny.bak”为“cron.deny”,卸载后重新安装。
-
-
-
-
-
原创文章,作者:奋斗,如若转载,请注明出处:https://blog.ytso.com/tech/bigdata/316413.html