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: CLI regression or new error?

2015-01-22 Thread Barry Anderson
This was the tweet I sent last night - no response so not sure if 
@jenkinsci is considered a valid way to pass things on.

@jenkinsci https://twitter.com/jenkinsci/ so, just to confirm: the 
regression in hudson.remoting.SynchronousCommandTransport$ReaderThread 
occurs in 1.576. 1.575 is good.
Cheers,
Barry

PS I'll also raise an issue.

On Monday, January 12, 2015 at 8:26:00 PM UTC+11, Barry Anderson wrote:

 I just upgraded from 1.572 to 1.596 and a shell job that I have that uses 
 the CLI and update-job to load about 23 jobs that has always worked 
 flawlessly in the past now runs for about 8 jobs then fails with the 
 following error for a couple of commands then succeeds for a few then fails 
 for a few more and so on: (I'm assuming this is a queuing issue?)

 Jan 10, 2015 2:00:15 PM 
 hudson.remoting.SynchronousCommandTransport$ReaderThread run
 SEVERE: I/O error in channel CLI connection to http://localhost:8080
 java.net.SocketException: Connection reset
 at java.net.SocketInputStream.read(SocketInputStream.java:185)
 at java.io.FilterInputStream.read(FilterInputStream.java:133)
 at java.io.FilterInputStream.read(FilterInputStream.java:107)
 at javax.crypto.CipherInputStream.getMoreData(CipherInputStream.java:107)
 at javax.crypto.CipherInputStream.read(CipherInputStream.java:236)
 at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
 at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
 at 
 hudson.remoting.FlightRecorderInputStream.read(FlightRecorderInputStream.java:82)
 at 
 hudson.remoting.ChunkedInputStream.readHeader(ChunkedInputStream.java:72)
 at 
 hudson.remoting.ChunkedInputStream.readUntilBreak(ChunkedInputStream.java:103)
 at 
 hudson.remoting.ChunkedCommandTransport.readBlock(ChunkedCommandTransport.java:39)
 at 
 hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34)
 at 
 hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)


 Thanks and regards,
 Barry


-- 
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/912ea038-b3a8-4267-82be-df65c97eb981%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


CLI regression or new error?

2015-01-12 Thread Barry Anderson
I just upgraded from 1.572 to 1.596 and a shell job that I have that uses 
the CLI and update-job to load about 23 jobs that has always worked 
flawlessly in the past now runs for about 8 jobs then fails with the 
following error for a couple of commands then succeeds for a few then fails 
for a few more and so on: (I'm assuming this is a queuing issue?)

Jan 10, 2015 2:00:15 PM 
hudson.remoting.SynchronousCommandTransport$ReaderThread run
SEVERE: I/O error in channel CLI connection to http://localhost:8080
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:185)
at java.io.FilterInputStream.read(FilterInputStream.java:133)
at java.io.FilterInputStream.read(FilterInputStream.java:107)
at javax.crypto.CipherInputStream.getMoreData(CipherInputStream.java:107)
at javax.crypto.CipherInputStream.read(CipherInputStream.java:236)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
at 
hudson.remoting.FlightRecorderInputStream.read(FlightRecorderInputStream.java:82)
at hudson.remoting.ChunkedInputStream.readHeader(ChunkedInputStream.java:72)
at 
hudson.remoting.ChunkedInputStream.readUntilBreak(ChunkedInputStream.java:103)
at 
hudson.remoting.ChunkedCommandTransport.readBlock(ChunkedCommandTransport.java:39)
at 
hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34)
at 
hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)


Thanks and regards,
Barry

-- 
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/e2ac3bff-62e0-4ad1-8181-8dca435a920c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.