Thanks for the help Aravind, I confirmed this from one of my colleague who 
did installation, what he remembers is go-agent was installed prior to 
go-server, its was a fresh installation not upgrade. I will try the given 
steps & update your further.

On Thursday, August 4, 2016 at 3:54:57 PM UTC+5:30, Meghanand Acharekar 
wrote:
>
> Hi,
>
> We are running Go-Server & Go-Agent on the same machine for one of our 
> local setup, but somehow agent is not able to communicate with server.
> Following in the agent configuration.
>
> GO_SERVER_URL=https://localhost:8154/go
> # GO_SERVER=localhost
> # export GO_SERVER
> # GO_SERVER_PORT=8153
> # export GO_SERVER_PORT
> AGENT_WORK_DIR=/var/lib/${SERVICE_NAME:-go-agent}
> DAEMON=Y
> VNC=N
>
> Environment Information.
> OS : Ubuntu 16.04 
> GoServer : 16.7.0-3819
> GoAgnet : 16.7.0-3819
>
> I see following exception printing continuously  in GO-Agent logs.
>
>
>> 2016-08-04 15:43:19,388 [TouchLoopThread-17] INFO 
>>  go.agent.launcher.Lockfile:102 - Using lock file: 
>> /var/lib/go-agent/.agent-bootstrapper.running
>> 2016-08-04 15:43:19,389 [main     ] ERROR 
>> cruise.agent.launcher.AgentLauncherImpl:98 - Launch encountered an unknown 
>> exception
>> java.lang.NullPointerException
>> at 
>> com.thoughtworks.cruise.agent.launcher.AgentLauncherImpl.getPort(AgentLauncherImpl.java:136)
>> at 
>> com.thoughtworks.cruise.agent.launcher.AgentLauncherImpl.getUrlGenerator(AgentLauncherImpl.java:127)
>> at 
>> com.thoughtworks.cruise.agent.launcher.AgentLauncherImpl.launch(AgentLauncherImpl.java:75)
>> at 
>> com.thoughtworks.go.agent.bootstrapper.AgentBootstrapper.go(AgentBootstrapper.java:72)
>> at 
>> com.thoughtworks.go.agent.bootstrapper.AgentBootstrapper.main(AgentBootstrapper.java:54)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:606)
>> at com.simontuffs.onejar.Boot.run(Boot.java:306)
>> at com.simontuffs.onejar.Boot.main(Boot.java:159)
>
>
> Let me know if more information is required on this.
>
>
> Thanks,
> Meghanand
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to