By: Michael Evanson user 22 Apr 2015 at 1:46 p.m. CDT

2 Responses
Michael Evanson gravatar
I am working on another issue and needed a blank install of gluu. Upon following the install instructions the server is not working and also there are no ports being listened on. Here are the steps I followed and the output from the commands: rpm -ivh http://repo.gluu.org/GLUU/centos/6.5/base/x86_64/Packages/gluu-server-2.1.0-0.el6.x86_64.rpm Retrieving http://repo.gluu.org/GLUU/centos/6.5/base/x86_64/Packages/gluu-server-2.1.0-0.el6.x86_64.rpm Preparing... ########################################### [100%] 1:gluu-server ########################################### [100%] [root@ip-172-31-35-66 ~]# service gluu-server start Starting Gluu server, please wait... [root@ip-172-31-35-66 ~]# service gluu-server login gluu-server is running... logging in... Welcome to the Gluu Server! GLUU.[root@ce ~]# /install/community-edition-setup/setup.py Installing Gluu Server... For more info see: ./setup.log ./setup_error.log ** All clear text passwords contained in ./setup.properties.last. Enter IP Address [172.31.35.66] : Enter hostname [ce.gluu.info] : ** Enter your city or locality : ** Enter your state or province two letter code : ** Enter two letter Country Code : ** Enter Organization Name : ** Enter email address for support at your organization : ** Enter maximum RAM for tomcat in MB [1536] : Optional: enter password for oxTrust and LDAP superuser [dpL0PggifIl0] : ************* Update the hostname, hosts, and resolv.conf files? [No] : Install oxAuth OAuth2 Authorization Server? [Yes] : Install oxTrust Admin UI? [Yes] : Install Gluu OpenDJ LDAP Server? [Yes] : Install Apache HTTPD Server [Yes] : Install Shibboleth 2 SAML IDP? [No] : Install Asimba SAML Proxy? [No] : Install CAS? [No] : hostname ************ orgName ******* os centos city **** state ** countryCode ** support email **************** tomcat max ram 1536 Admin Pass ************ Modify Networking False Install oxAuth True Install oxTrust True Install LDAP True Install Apache 2 web server True Install Shibboleth 2 SAML IDP False Install Asimba SAML Proxy False Install CAS False Proceed with these values [Y|n] sh: /opt/gluu/bin/encode.py: No such file or directory sh: /opt/gluu/bin/encode.py: No such file or directory sh: /opt/gluu/bin/encode.py: No such file or directory Gluu Server installation successful! Point your broswer to https://** GLUU.[root@ce ~]# exit logout [root@ip-172-31-35-66 ~]# netstat -npl Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 958/sshd tcp 0 0 :::22 :::* LISTEN 958/sshd udp 0 0 0.0.0.0:68 0.0.0.0:* 760/dhclient Active UNIX domain sockets (only servers) Proto RefCnt Flags Type State I-Node PID/Program name Path unix 2 [ ACC ] STREAM LISTENING 6676 1/init @/com/ubuntu/upstart [root@ip-172-31-35-66 ~]# At this point if I point my browser to my server I get an connection error of connection refused As it says in the install it cannot locate /opt/gluu/bin/encode.py I need a blank install to work again

By Mohib Zico staff 23 Apr 2015 at 3 p.m. CDT

Mohib Zico gravatar
Michael, I couldn't reproduce the issue and installed CentOS CE-2.1 in a clean VM. It worked pretty well and for you guys I am keeping this `https://centos21.gluu.org` for 48 hours online. I am attaching my whole command in attached text file.

By Paul Frame user 24 Apr 2015 at 1:50 p.m. CDT

Paul Frame gravatar
> As it says in the install it cannot locate /opt/gluu/bin/encode.py This error is caused by running the install when the command line is not on the same directory as setup.py, i.e. /install/community-edition-setup