incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sandeep Baldawa <sandeepbald...@gmail.com>
Subject ambari-setup error
Date Thu, 04 Apr 2013 16:58:21 GMT
Hi,

Am facing the following error while running ambari-server setup. Should we
provide some config file with username pass word for postgres user?. Am
using postgres8.4(as recommended) for Rhel 6 64 bit.



ambari-server setup
Using python  /usr/bin/python2.6
Run postgresql initdb
Data directory is not empty!
                                                           [FAILED]
Run postgresql start
Starting postgresql service:                               [  OK  ]
Setup ambari-server
Checking SELinux...
SELinux status is 'disabled'
Checking iptables...
iptables is disabled now
Checking PostgreSQL...
Configuring database...
Could not read ambari config file "None": coercing to Unicode: need string
or buffer, NoneType found
Traceback (most recent call last):
  File "/usr/sbin/ambari-server.py", line 1299, in <module>
    main()
  File "/usr/sbin/ambari-server.py", line 1166, in main
    setup(options)
  File "/usr/sbin/ambari-server.py", line 757, in setup
    retcode = setup_db(args)
  File "/usr/sbin/ambari-server.py", line 249, in setup_db
    username = args.postgres_username
AttributeError: Values instance has no attribute 'postgres_username'

Thanks!

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