Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Ambari server proxy error


Ambari server proxy error

New Contributor

Hi Team,


I have installed ambari server 2.7.3 on RHEL7.

During launch wizard using public repositories I am not able to access the repositories.

So I followed


But when I start ambari server I am getting below error


[admin1 ~]$ sudo ambari-server start
/var/lib/ambari-server/ line 21: export: -D: invalid option
export: usage: export [-fn] [name[=value] ...] or export -p
Using python /usr/bin/python
Starting ambari-server
Ambari Server running with administrator privileges.
Organizing resource files at /var/lib/ambari-server/resources...
Ambari database consistency check started...
Server PID at: /var/run/ambari-server/
Server out at: /var/log/ambari-server/ambari-server.out
Server log at: /var/log/ambari-server/ambari-server.log
Waiting for server start....................
Server started listening on 8080

DB configs consistency check: no errors and warnings were found.
Ambari Server 'start' completed successfully.
[admin1 ~]$



$ sudo cat /var/lib/ambari-server/
export AMBARI_JVM_ARGS="$AMBARI_JVM_ARGS -Xms512m -Xmx2048m -XX:MaxPermSize=128m$ROOT/etc/ambari-server/conf/krb5JAASLogin.conf -Dcom.sun.jndi.ldap.connect.pool.protocol=\"plain ssl\" -Dcom.sun.jndi.ldap.connect.pool.maxsize=20 -Dcom.sun.jndi.ldap.connect.pool.timeout=300000"
export PATH=$PATH:$ROOT/var/lib/ambari-server
export PYTHONPATH=$ROOT/usr/lib/ambari-server/lib:$PYTHONPATH
export -Dhttp.proxyPort=8080




Please advise


Re: Ambari server proxy error




Can you share the steps or procedure you run to set the local repository? You should have followed ​x​Setting Up a Local Repository with No Internet Access

Have a look at these 2  videos that should point to where you went wrong.

Configure local repo1 or Configure local repo1

Happy hadooping 



Don't have an account?
Coming from Hortonworks? Activate your account here