Hi ,

I'm able to connect to the server if I run go-agent service with sudo(sudo
./bin/go-agent start)  But failing when running without sudo
(./bin/go-agent start).
go-agent service was started without sudo but token & guid.txt are not
being created in ./config/ directory.

Our requirement is to connect mac agent without using sudo to start the
go-agent service.

Can anyone help us with this?
Thanks in advance.

Go-agent bootstrapper logs -
at org.tanukisoftware.wrapper.WrapperJarApp.run(WrapperJarApp.java:451)
at java.base/java.lang.Thread.run(Thread.java:834)
Suppressed: java.lang.NullPointerException: null
at
com.thoughtworks.go.agent.bootstrapper.DefaultAgentLauncherCreatorImpl.close(DefaultAgentLauncherCreatorImpl.java:125)
at
com.thoughtworks.go.agent.bootstrapper.AgentBootstrapper.go(AgentBootstrapper.java:72)
... 15 common frames omitted
Caused by: java.nio.file.AccessDeniedException:
data/68b41ed79ec93050-agent-launcher.jar
at
java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:90)
at
java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at
java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
at java.base/sun.nio.fs.UnixCopyFile.copyFile(UnixCopyFile.java:248)

Thanks & Regards,
Manoj K

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/CAEbMZ9tn_jGwZqUKM1kMyP%3DZL30Opka5RPpeHbYp8KxQc4n%2BvA%40mail.gmail.com.

Reply via email to