Jenkins Mountain Lion Server

I am trying to run Jenkins (1.510) on my MacMini with the installed version of Mountain-Lion Server OSX (10.8.3). I have two users on the MacMini server: admin, ioscoder and the ioscoder user that I logged in, opened jenkins-1.510.pkg and after entering the administrator password, which he set without problems. However, when the Jenkins homepage should appear using localhost: 8080, I get the following error message in Safari:

Safari can't open the page "http://localhost:8080/" because Safari can't connect to the server "localhost". 

After logging in as an administrator and checking the currently running services, which are DNS, Open Directory, websites (PHP and Python web applications are disabled), I also get the same error from above when entering the Jenkins localhost address: 8080. When I switched as an administrator, I saw on the welcome screen the Jenkins user account that was created by jenkins-installer.

What really puzzles me is that on another iMac running Mountain Lion (not the server version of Mountain Lion), I installed Jenkins in the same way, and after the installation was complete, I immediately got Safari running, which allowed localhost: 8080 to the main Jenkins screen.

Any ideas or suggestions why Jenkins is not running on Mountain Lion Server? Google has not yet given me any clues for this particular problem.

+4
source share
1 answer

After reading the page https://wiki.jenkins-ci.org/display/JENKINS/Meet+Jenkins , which mentioned a simple installation (java -jar jenkins.war), I remembered that java might not have installed clean by default Mountain-Lion server. After activating the terminal and entering:

 server:~ ioscoder$ java -v No Java runtime present, requesting install. 

he asked me if I want to install java. After accepting this and completing the java installation, I was glad to see the "Dashboard [Jenkins]" page in Safari for localhost: 8080.

+13
source

All Articles