By: Jonathan Lee user 23 Apr 2018 at 3:13 p.m. CDT

6 Responses
Jonathan Lee gravatar
I was looking to setup a local oxd test server on my mac to try and test with an application that I'm building. I followed the instructions listed at: https://gluu.org/docs/oxd/3.1.2/install/ under the Unix section. Is that the right way to build a local server instance or do I need to go about it a different way? Also, I do not see any commands under the Unix section that describe how to actually start the server. Is there a command for that?

By Adrian Alves staff 24 Apr 2018 at 11:20 a.m. CDT

Adrian Alves gravatar
Hello Jonathan, Answering your first question. Yes, that's the right way. here are the step listed on unix section: Unix# Make a folder called oxd-server (or whatever you like), and cd to this folder $ wget http://ox.gluu.org/maven/org/xdi/oxd-server/3.1.2.Final/oxd-server-3.1.2.Final-distribution.zip $ unzip oxd-server-3.1.2.Final-distribution.zip Now configure oxd following the configuration instructions. $ nohup bin/oxd-start.sh And to start oxd server is listed on step 5 in our Unix section, you need to run this command: "nohup bin/oxd-start.sh" If you face any issue with those steps, please let us know. Cheers, Adrian.-

By Jonathan Lee user 25 Apr 2018 at 12:13 p.m. CDT

Jonathan Lee gravatar
I followed all those instructions exactly and then when I run the last line, I get the following response: appending output to nohup.out I would assume I’d get some sort of “server started” message if it was up and running properly. Also, is there some localhost address I could go to because when I go to the 8889 port listed in the config file nothing shows up.

By Jonathan Lee user 25 Apr 2018 at 12:17 p.m. CDT

Jonathan Lee gravatar
When I opened up my nohup.out it had the following message: ‘nohup: bin/oxd-start.sh: Permission denied’ Is there some permissions I need to alter somewhere?

By Adrian Alves staff 25 Apr 2018 at 12:28 p.m. CDT

Adrian Alves gravatar
Hello Jonathan, Before this command: nohup bin/oxd-start.sh you need this one first: chmod +x bin/oxd-start.sh I will update the docs

By Jonathan Lee user 26 Apr 2018 at 2:28 p.m. CDT

Jonathan Lee gravatar
Okay, I made that change and got the following error: ``` java.lang.AssertionError: ‘server_name’ configuration property is mandatory. Please provide value for it in oxd-conf.json file. ``` What would I set the server name to if I’m just looking to create a local test server?

By Jonathan Lee user 26 Apr 2018 at 2:32 p.m. CDT

Jonathan Lee gravatar
I set the server name just to `test-server` and ran again and got the [following errors.](https://trello-attachments.s3.amazonaws.com/56392031f9be890ece39d640/5ae238f422d5f485ce5f2e59/93b2c7621be2b22de5e3bbb79dae1bc3/image.png)