Open luhea opened 1 year ago
Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
我遇到了同样的问题,已经配置好了节点之间的免密,root和特定用户均配置了,但是这两个用户都失败了,报错如下:
[ERROR] [05/22/2024 00:02:22.647] [datasophon-akka.actor.default-dispatcher-2] [akka://datasophon/user/dispatcherWorkerActor-hadoop107] SFTP error (SSH_FX_PERMISSION_DENIED): Permission denied java.lang.RuntimeException: SFTP error (SSH_FX_PERMISSION_DENIED): Permission denied at com.datasophon.api.utils.MinaUtils.uploadFile(MinaUtils.java:177) at com.datasophon.api.master.handler.host.InstallJDKHandler.handle(InstallJDKHandler.java:47) at com.datasophon.api.master.handler.host.DispatcherWorkerHandlerChain.handle(DispatcherWorkerHandlerChain.java:38) at com.datasophon.api.master.DispatcherWorkerActor.onReceive(DispatcherWorkerActor.java:71) at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:165) at akka.actor.Actor$class.aroundReceive(Actor.scala:502) at akka.actor.UntypedActor.aroundReceive(UntypedActor.scala:95) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526) at akka.actor.ActorCell.invoke(ActorCell.scala:495) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257) at akka.dispatch.Mailbox.run(Mailbox.scala:224) at akka.dispatch.Mailbox.exec(Mailbox.scala:234) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) Caused by: SFTP error (SSH_FX_PERMISSION_DENIED): Permission denied
请问如何解决此问题呢?
Search before asking
What happened
can i don't use root user install?i try add datasophon user and trust datasophon user in all hosts,but i get a lot of error:Caused by: SFTP error (SSH_FX_PERMISSION_DENIED): Permission denied and exe cmd: cp or chmod +x . in fulture,can use sudo privileges intall or sh scritps?
What you expected to happen
Caused by: SFTP error (SSH_FX_PERMISSION_DENIED): Permission denied and exe cmd: cp or chmod +x . in fulture,can use sudo privileges intall or sh scritps?
How to reproduce
use sudo privileges intall or sh scritps
Anything else
No response
Version
main
Are you willing to submit PR?
Code of Conduct