Re: Unable to get Jenkins to start on MacOS-X 10.10 Yosemite

2018-12-24 Thread ZX L
Thank you so much, you save my day!

On Monday, October 20, 2014 at 8:43:52 PM UTC+8, Robin Mills wrote:
>
> The final bit of the jigsaw was correctly indentified by Roy Willemse in 
> https://issues.jenkins-ci.org/browse/JENKINS-23543
> $ sudo chmod 777 /var/log/jenkins/jenkins.log 
>
>
> Then start jenkins with launchctl:
> $ sudo launchctl load /Library/LaunchDaemons/org.jenkins-ci.plist 
>
> Happiness!
>
> Robin
>
> On Monday, October 20, 2014 12:09:29 AM UTC+1, Robin Mills wrote:
>>
>> Folks
>>
>> I've had Jenkins running for months on my Mac Mini.  I upgraded today to 
>> Yosemite and was very surprised that Jenkins refuses to start (any port, 
>> not just 8080, with/without sudo)
>>
>> I've looked through everything in the System Preferences concerning 
>> security, network, users, updated Java.  Nope!  Defeated.  Looks like some 
>> new Yosemite policeman needs to be told "it's OK to allow Java to open port 
>> 8080!" (or something like that).
>>
>> Does anybody have any ideas?
>>
>> Robin
>>
>> 538 rmills@rmillsmm:~ $ ls -alt 
>> /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar
>> -rwxr-xr-x  1 jenkins  jenkins  729317  9 Sep 23:02 
>> /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar
>> 539 rmills@rmillsmm:~ $ java -jar 
>> /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar -s 
>> http://localhost:8080
>> Exception in thread "main" java.io.IOException: Failed to connect to 
>> http://localhost:8080/
>> at hudson.cli.CLI.getCliTcpPort(CLI.java:266)
>> at hudson.cli.CLI.(CLI.java:126)
>> ...
>> Caused by: java.net.ConnectException: Connection refused
>> at java.net.PlainSocketImpl.socketConnect(Native Method)
>> at 
>> java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ff8ee874-6689-4e7c-93d0-e1b124d00e6d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unable to get Jenkins to start on MacOS-X 10.10 Yosemite

2015-04-23 Thread Robin Mills
Thanks, Barry.  I did that, and some other things and got it running.  I think 
I put my solution on the web.  Anyway, it's running well.

Thanks for taking the time to help me.

Robin
http://clanmills.com
Not sent from my iPhone

 On 23 Apr 2015, at 06:06, Barry Anderson z3ndra...@gmail.com wrote:
 
 It might be worth trying just the following command:
 sudo chown jenkins /var/log/jenkins/jenkins.log
 
 Hope this helps,
 Barry
 
 On Monday, October 20, 2014 at 10:09:29 AM UTC+11, Robin Mills wrote:
 Folks
 
 I've had Jenkins running for months on my Mac Mini.  I upgraded today to 
 Yosemite and was very surprised that Jenkins refuses to start (any port, not 
 just 8080, with/without sudo)
 
 I've looked through everything in the System Preferences concerning 
 security, network, users, updated Java.  Nope!  Defeated.  Looks like some 
 new Yosemite policeman needs to be told it's OK to allow Java to open port 
 8080! (or something like that).
 
 Does anybody have any ideas?
 
 Robin
 
 538 rmills@rmillsmm:~ $ ls -alt 
 /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar
 -rwxr-xr-x  1 jenkins  jenkins  729317  9 Sep 23:02 
 /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar
 539 rmills@rmillsmm:~ $ java -jar 
 /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar -s 
 http://localhost:8080
 Exception in thread main java.io.IOException: Failed to connect to 
 http://localhost:8080/
  at hudson.cli.CLI.getCliTcpPort(CLI.java:266)
  at hudson.cli.CLI.init(CLI.java:126)
 ...
 Caused by: java.net.ConnectException: Connection refused
  at java.net.PlainSocketImpl.socketConnect(Native Method)
  at 
 java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
 
 -- 
 You received this message because you are subscribed to a topic in the Google 
 Groups Jenkins Users group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/jenkinsci-users/oSynHdMWEwU/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to 
 jenkinsci-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/jenkinsci-users/ef016758-2c72-4db7-a186-b7179780da3d%40googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/101A29DD-BCEA-457C-86FB-9CBCC488685B%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unable to get Jenkins to start on MacOS-X 10.10 Yosemite

2015-04-22 Thread Barry Anderson
It might be worth trying just the following command:

sudo chown jenkins /var/log/jenkins/jenkins.log


Hope this helps,

Barry

On Monday, October 20, 2014 at 10:09:29 AM UTC+11, Robin Mills wrote:

 Folks

 I've had Jenkins running for months on my Mac Mini.  I upgraded today to 
 Yosemite and was very surprised that Jenkins refuses to start (any port, 
 not just 8080, with/without sudo)

 I've looked through everything in the System Preferences concerning 
 security, network, users, updated Java.  Nope!  Defeated.  Looks like some 
 new Yosemite policeman needs to be told it's OK to allow Java to open port 
 8080! (or something like that).

 Does anybody have any ideas?

 Robin

 538 rmills@rmillsmm:~ $ ls -alt 
 /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar
 -rwxr-xr-x  1 jenkins  jenkins  729317  9 Sep 23:02 
 /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar
 539 rmills@rmillsmm:~ $ java -jar 
 /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar -s 
 http://localhost:8080
 Exception in thread main java.io.IOException: Failed to connect to 
 http://localhost:8080/
 at hudson.cli.CLI.getCliTcpPort(CLI.java:266)
 at hudson.cli.CLI.init(CLI.java:126)
 ...
 Caused by: java.net.ConnectException: Connection refused
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at 
 java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)


-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ef016758-2c72-4db7-a186-b7179780da3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unable to get Jenkins to start on MacOS-X 10.10 Yosemite

2015-02-01 Thread 90minwall
That solved my problem, thanks a lot Robin!!

On Monday, October 20, 2014 at 3:43:52 PM UTC+3, Robin Mills wrote:

 The final bit of the jigsaw was correctly indentified by Roy Willemse in 
 https://issues.jenkins-ci.org/browse/JENKINS-23543
 $ sudo chmod 777 /var/log/jenkins/jenkins.log 


 Then start jenkins with launchctl:
 $ sudo launchctl load /Library/LaunchDaemons/org.jenkins-ci.plist 

 Happiness!

 Robin

 On Monday, October 20, 2014 12:09:29 AM UTC+1, Robin Mills wrote:

 Folks

 I've had Jenkins running for months on my Mac Mini.  I upgraded today to 
 Yosemite and was very surprised that Jenkins refuses to start (any port, 
 not just 8080, with/without sudo)

 I've looked through everything in the System Preferences concerning 
 security, network, users, updated Java.  Nope!  Defeated.  Looks like some 
 new Yosemite policeman needs to be told it's OK to allow Java to open port 
 8080! (or something like that).

 Does anybody have any ideas?

 Robin

 538 rmills@rmillsmm:~ $ ls -alt 
 /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar
 -rwxr-xr-x  1 jenkins  jenkins  729317  9 Sep 23:02 
 /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar
 539 rmills@rmillsmm:~ $ java -jar 
 /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar -s 
 http://localhost:8080
 Exception in thread main java.io.IOException: Failed to connect to 
 http://localhost:8080/
 at hudson.cli.CLI.getCliTcpPort(CLI.java:266)
 at hudson.cli.CLI.init(CLI.java:126)
 ...
 Caused by: java.net.ConnectException: Connection refused
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at 
 java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)



-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1691b27e-b5a5-499e-825b-9c9e67943bc7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unable to get Jenkins to start on MacOS-X 10.10 Yosemite

2014-10-20 Thread Robin Mills
Daniel

Thanks for contributing to this.  Very much appreciated.

I've made some progress.  I've discovered that Jenkins is running OK on my 
Mac Book Pro which has been upgraded to Yosemite.

The situation with my MacMini is a little different from JENKINS-23543 in 
which Daniel Roy has reported trouble getting the daemon instance to run 
from launchctl - however jenkins runs from the command-line.  I can't get 
it to start from the command-line (nor from launchtl).

I'm going to restore my Mac Mini to 10.9.5 in order to bring the server 
back on line.  I'll won't upgrade the MacMini to 10.10 for now and keep my 
eyes and ears open for similar reports.

Thanks again for taking the time to help with this.

Robin



On Monday, October 20, 2014 12:09:29 AM UTC+1, Robin Mills wrote:

 Folks

 I've had Jenkins running for months on my Mac Mini.  I upgraded today to 
 Yosemite and was very surprised that Jenkins refuses to start (any port, 
 not just 8080, with/without sudo)

 I've looked through everything in the System Preferences concerning 
 security, network, users, updated Java.  Nope!  Defeated.  Looks like some 
 new Yosemite policeman needs to be told it's OK to allow Java to open port 
 8080! (or something like that).

 Does anybody have any ideas?

 Robin

 538 rmills@rmillsmm:~ $ ls -alt 
 /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar
 -rwxr-xr-x  1 jenkins  jenkins  729317  9 Sep 23:02 
 /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar
 539 rmills@rmillsmm:~ $ java -jar 
 /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar -s 
 http://localhost:8080
 Exception in thread main java.io.IOException: Failed to connect to 
 http://localhost:8080/
 at hudson.cli.CLI.getCliTcpPort(CLI.java:266)
 at hudson.cli.CLI.init(CLI.java:126)
 ...
 Caused by: java.net.ConnectException: Connection refused
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at 
 java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)


-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unable to get Jenkins to start on MacOS-X 10.10 Yosemite

2014-10-20 Thread Robin Mills
I've got it running with this command:
sudo /usr/bin/java -Dfile.encoding=UTF-8 -XX:PermSize=256m 
-XX:MaxPermSize=512m -Xms256m -Xmx512m 
-Djava.io.tmpdir=/Users/Shared/Jenkins/tmp -jar 
/Applications/Jenkins/jenkins.war

It seems to have lost all server configuration (forgotten its builders, 
jobs, tasks etc) - however it's running which is much better.

Robin

On Monday, October 20, 2014 12:09:29 AM UTC+1, Robin Mills wrote:

 Folks

 I've had Jenkins running for months on my Mac Mini.  I upgraded today to 
 Yosemite and was very surprised that Jenkins refuses to start (any port, 
 not just 8080, with/without sudo)

 I've looked through everything in the System Preferences concerning 
 security, network, users, updated Java.  Nope!  Defeated.  Looks like some 
 new Yosemite policeman needs to be told it's OK to allow Java to open port 
 8080! (or something like that).

 Does anybody have any ideas?

 Robin

 538 rmills@rmillsmm:~ $ ls -alt 
 /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar
 -rwxr-xr-x  1 jenkins  jenkins  729317  9 Sep 23:02 
 /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar
 539 rmills@rmillsmm:~ $ java -jar 
 /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar -s 
 http://localhost:8080
 Exception in thread main java.io.IOException: Failed to connect to 
 http://localhost:8080/
 at hudson.cli.CLI.getCliTcpPort(CLI.java:266)
 at hudson.cli.CLI.init(CLI.java:126)
 ...
 Caused by: java.net.ConnectException: Connection refused
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at 
 java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)


-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unable to get Jenkins to start on MacOS-X 10.10 Yosemite

2014-10-20 Thread Robin Mills
I've now got jenkins running and and the server configuration is available.

I added JENKINS_HOME /Users/Shared/Jenkins/Home to the defaults
$ defaults write /Library/Preferences/org.jenkins-ci JENKINS_HOME 
/Users/Shared/Jenkins/Home
then started the server from Terminal:
sudo /Library/Application Support/Jenkins/jenkins-runner.sh 

Rather oddly, it doesn't start jenkins from launchctl (and therefore 
doesn't survive a crash or reboot) - however I'm sure that will have a 
simple explanation.  At least I have the jenkins server running and 
available to users.

Robin

On Monday, October 20, 2014 12:09:29 AM UTC+1, Robin Mills wrote:

 Folks

 I've had Jenkins running for months on my Mac Mini.  I upgraded today to 
 Yosemite and was very surprised that Jenkins refuses to start (any port, 
 not just 8080, with/without sudo)

 I've looked through everything in the System Preferences concerning 
 security, network, users, updated Java.  Nope!  Defeated.  Looks like some 
 new Yosemite policeman needs to be told it's OK to allow Java to open port 
 8080! (or something like that).

 Does anybody have any ideas?

 Robin

 538 rmills@rmillsmm:~ $ ls -alt 
 /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar
 -rwxr-xr-x  1 jenkins  jenkins  729317  9 Sep 23:02 
 /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar
 539 rmills@rmillsmm:~ $ java -jar 
 /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar -s 
 http://localhost:8080
 Exception in thread main java.io.IOException: Failed to connect to 
 http://localhost:8080/
 at hudson.cli.CLI.getCliTcpPort(CLI.java:266)
 at hudson.cli.CLI.init(CLI.java:126)
 ...
 Caused by: java.net.ConnectException: Connection refused
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at 
 java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)


-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unable to get Jenkins to start on MacOS-X 10.10 Yosemite

2014-10-20 Thread Robin Mills
The final bit of the jigsaw was correctly indentified by Roy Willemse in 
https://issues.jenkins-ci.org/browse/JENKINS-23543 

$ sudo chmod 777 /var/log/jenkins/jenkins.log


Then start jenkins with launchctl:
$ sudo launchctl $1 /Library/LaunchDaemons/org.jenkins-ci.plist 

Happiness!

Robin

On Monday, October 20, 2014 12:09:29 AM UTC+1, Robin Mills wrote:

 Folks

 I've had Jenkins running for months on my Mac Mini.  I upgraded today to 
 Yosemite and was very surprised that Jenkins refuses to start (any port, 
 not just 8080, with/without sudo)

 I've looked through everything in the System Preferences concerning 
 security, network, users, updated Java.  Nope!  Defeated.  Looks like some 
 new Yosemite policeman needs to be told it's OK to allow Java to open port 
 8080! (or something like that).

 Does anybody have any ideas?

 Robin

 538 rmills@rmillsmm:~ $ ls -alt 
 /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar
 -rwxr-xr-x  1 jenkins  jenkins  729317  9 Sep 23:02 
 /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar
 539 rmills@rmillsmm:~ $ java -jar 
 /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar -s 
 http://localhost:8080
 Exception in thread main java.io.IOException: Failed to connect to 
 http://localhost:8080/
 at hudson.cli.CLI.getCliTcpPort(CLI.java:266)
 at hudson.cli.CLI.init(CLI.java:126)
 ...
 Caused by: java.net.ConnectException: Connection refused
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at 
 java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)


-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unable to get Jenkins to start on MacOS-X 10.10 Yosemite

2014-10-20 Thread Robin Mills
The final bit of the jigsaw was correctly indentified by Roy Willemse in 
https://issues.jenkins-ci.org/browse/JENKINS-23543
$ sudo chmod 777 /var/log/jenkins/jenkins.log 


Then start jenkins with launchctl:
$ sudo launchctl load /Library/LaunchDaemons/org.jenkins-ci.plist 

Happiness!

Robin

On Monday, October 20, 2014 12:09:29 AM UTC+1, Robin Mills wrote:

 Folks

 I've had Jenkins running for months on my Mac Mini.  I upgraded today to 
 Yosemite and was very surprised that Jenkins refuses to start (any port, 
 not just 8080, with/without sudo)

 I've looked through everything in the System Preferences concerning 
 security, network, users, updated Java.  Nope!  Defeated.  Looks like some 
 new Yosemite policeman needs to be told it's OK to allow Java to open port 
 8080! (or something like that).

 Does anybody have any ideas?

 Robin

 538 rmills@rmillsmm:~ $ ls -alt 
 /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar
 -rwxr-xr-x  1 jenkins  jenkins  729317  9 Sep 23:02 
 /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar
 539 rmills@rmillsmm:~ $ java -jar 
 /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar -s 
 http://localhost:8080
 Exception in thread main java.io.IOException: Failed to connect to 
 http://localhost:8080/
 at hudson.cli.CLI.getCliTcpPort(CLI.java:266)
 at hudson.cli.CLI.init(CLI.java:126)
 ...
 Caused by: java.net.ConnectException: Connection refused
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at 
 java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)


-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.