By: Zachary Roisum user 07 Feb 2022 at 3:27 p.m. CST

8 Responses
Zachary Roisum gravatar
Running setup.py for the first time had many errors. I since installed python3-pip, ruamel,yaml, and google-cloud-spanner to correct those errors and proceed through the setup script. Now a FileNotFoundError appears and I noticed oxauth.war does exist in /opt/gluu-server/opt/dist/gluu but there is no directory /opt/dist/gluu. I found a similar issue but since /opt/dist/gluu does not exist, something else must be wrong in this case. Thinking that there might be a problem in the operating system I deleted the Ubuntu Desktop VM and tried again on a clean clone of Ubuntu Server, both 20.04. https://support.gluu.org/installation/4279/optdistgluuoxauthwar-no-such-file-or-directory/

By Mobarak Hosen Shakil staff 07 Feb 2022 at 7:30 p.m. CST

Mobarak Hosen Shakil gravatar
Hi Zachary, Please read this [dco](https://gluu.org/docs/gluu-server/4.3/installation-guide/install-ubuntu/) and let us know you have followed correctly. Regards ~ Shakil

By Zachary Roisum user 07 Feb 2022 at 7:58 p.m. CST

Zachary Roisum gravatar
Yes, I followed that document both times. Also followed the preparing a VM prior to this document.

By Mobarak Hosen Shakil staff 07 Feb 2022 at 8:15 p.m. CST

Mobarak Hosen Shakil gravatar
Please correct me if I'm wrong, It seems to me that you are running `setup.py` externally. Please follow below commands after login into your VM: ``` gluu-serverd login cd /install/community-edition-setup ./setup.py ``` Regards ~ Shakil

By Mohib Zico Account Admin 07 Feb 2022 at 9:05 p.m. CST

Mohib Zico gravatar
>> google-cloud-spanner to correct those errors and proceed through the setup script. GC spanner?? why do we need GC spanner for Community Edition??

By Zachary Roisum user 08 Feb 2022 at 5:57 a.m. CST

Zachary Roisum gravatar
Mohib, Running setup.py the script was unable to complete installing some related software, specifically import ruamel.yaml and import spanner from google.cloud. I am not sure why setup.py wanted to install those, or why those unlike the rest of the prerequisites it installed on its own.

By Mohib Zico Account Admin 08 Feb 2022 at 6:56 a.m. CST

Mohib Zico gravatar
What type of platform you are using to install your Gluu Server. I mean.. yes it's Ubuntu 20. But where? Which cloud? or VMware/Virtualbox? Also it will be great if you record full screencast and share with us. We will be able to see in which phase it's exactly failing. Please show disk space, CPU, ram/physical memory as well.

By Zachary Roisum user 08 Feb 2022 at 7:03 a.m. CST

Zachary Roisum gravatar
Shakil, I believe I see my misunderstanding. It looks like the installation should have happened as root, not as sudo. When I browse for the /opt/gluu-server/install/community-edition-setup/ that folder is available to the one user in this operating system who is the only admin. When running sudo gluu-serverd login I notice this changed my user to root, and that root can't navigate to /opt/gluu-server/install/community-edition-setup/ . I will try over and install gluu not as sudo but as root. Sorry for my misunderstanding.

By Zachary Roisum user 08 Feb 2022 at 9:26 a.m. CST

Zachary Roisum gravatar
Sorry for the troubles, I started over installing and running as root and not sudo and that solved my problems. Thanks for your quick repsonse.