incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxim Mikheev <mik...@gmail.com>
Subject "ambari-server setup" exit with error on Amazon with "Amazon Linux AMI 2013.03"
Date Sat, 11 May 2013 19:06:49 GMT
Hi Everyone,

I was able to build a Ambari on "Amazon Linux AMI 2013.03" (RedHat 6 
instance eligible for spot instances).

I installed rpm ambari-server-1.3.0-SNAPSHOT20130511180030.noarch.rpm by 
command:
sudo yum -y install 
/home/ec2-user/ambari/ambari-server/target/rpm/ambari-server/RPMS/noarch/*.rpm 


Command: "sudo ambari-server setup" gave me error.  The full log is below:
--------------------------------------------------------------
Using python  /usr/bin/python2.6
Run postgresql initdb
Run postgresql start
Starting postgresql service:                               [  OK  ]
Setup ambari-server
Checking SELinux...
WARNING: Could not run /usr/sbin/sestatus: OK
Checking iptables...
iptables is disabled now
iptables: unrecognized service

Traceback (most recent call last):
   File "/usr/sbin/ambari-server.py", line 1436, in <module>
     main()
   File "/usr/sbin/ambari-server.py", line 1303, in main
     setup(options)
   File "/usr/sbin/ambari-server.py", line 865, in setup
     retcode, out = check_iptables()
TypeError: 'int' object is not iterable
----------------------------------------------------------------------

Can you help me to resolve this issue?

Regards,
     Max

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message