These two parts are together because I think they're related to each other.
I'm running Jenkins' latest LTS war file (v1.596.2) directly from the command line. I'm using an Openshift DIY cartridge to do this.
I have set my "JENKINS_HOME" environment variable to "$OPENSHIFT_DATA_DIR/jenkins".
export JENKINS_HOME=$OPENSHIFT_DATA_DIR/jenkins
Part 1: where is my config.xml file?
This works fine and most files seem to have been stored there fine, but I can't find the config.xml file... I'm probably overlooking something but I can't find it anywhere!
Part 2: Boot up error
I also have this error when I boot up my server using:
java -jar jenkins.war --httpListenAddress=$OPENSHIFT_DIY_IP --ajp13Port=-1
It shows this error message in the console: http://pastebin.com/30eBBHN5
The server does boot, but it just shows this screen: http://i.imgur.com/PKVydeP.png
I know Openshift only allows you to bind to port 8080, otherwise you have to bind to a private port in the range 15000 - 35530 (see this). However, I couldn't find any documentation on what ports Jenkins tries to bind or how to change the bindings, other than the main http (8080) and https (not used) ports.
(my jenkins cartridge URL - may not be running)
Any ideas as to what I should try?
java.net.SocketException: Permission denied
), even when trying the range 15000-35530 (the link you provided doesn't say anything on that matter - do you remember what it said?) – Timotei May 21 '16 at 10:55<slaveAgentPort>-1</slaveAgentPort>
in the config.xml file. which I had to manually create. I don't use Jenkins slaves so I didn't want it enabled. Hope it works for you! – Peter Gordon May 21 '16 at 15:07