Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1308954
  • 博文数量: 416
  • 博客积分: 10495
  • 博客等级: 上将
  • 技术积分: 4258
  • 用 户 组: 普通用户
  • 注册时间: 2005-04-23 22:13
文章分类

全部博文(416)

文章存档

2015年(7)

2014年(42)

2013年(35)

2012年(14)

2011年(17)

2010年(10)

2009年(18)

2008年(127)

2007年(72)

2006年(23)

2005年(51)

分类: LINUX

2008-03-07 16:26:18

[root@vm1 ~]# rpm -ivh groundwork-monitor-core-5.1.3-8.rhel5.i386.rpm
Preparing...                ########################################### [100%]
/var/tmp/rpm-tmp.6263: line 19: [: =: unary operator expected
Please edit /etc/hosts file...
It must be : 127.0.0.1    localhost       localhost.localdomain
But you have...
error: %pre(groundwork-monitor-core-5.1.3-8.rhel5.i386) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping groundwork-monitor-core-5.1.3-8.rhel5

[root@vm1 ~]#vi /etc/hosts
127.0.0.1    localhost  localhost.localdomain

[root@vm1 ~]# rpm -ivh --noscripts groundwork-monitor-core-5.1.3-8.rhel5.i386.rpm
Preparing...                ########################################### [100%]
   1:groundwork-monitor-core########################################### [100%]

阅读(1535) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~