Tableau 服务管理器 (TSM) 备份疑难解答

备份由于服务未启动而未能启动

当您备份 Tableau Server 时,首先执行的步骤之一是确认关键服务正在运行,并且这些服务未运行的情况下将其启动。如果无法启动这些服务:

  • 活动存储库
  • 文件存储
  • 群集控制器

备份 Tableau Server 的任何尝试都将失败,并出现以下错误之一:

An error occurred starting one or more of the following services: Active Repository, File Store, Cluster Controller.
One or more of the following services did not start in a timely fashion: Active Repository, File Store, Cluster Controller.

若要成功备份 Tableau Server,请确保这些进程可以启动。

备份失败,并出现共享冲突错误。

当磁盘空间不足时,TSM 备份可能会失败,并出现误导性错误。

如果备份失败且出现“共享冲突”,请检查这些日志是否存在类似于如下的错误:

tabadmincontroller*.log

2019-02-27 13:42:16.011 -0600  pool-37-thread-2 : INFO  
com.tableausoftware.tabadmin.webapp.backup.AbstractBackupSingleInstanceAction - Starting 'backup' call on node1:8315 for service pgsql_0.20183.18.1214.0808 with params 
{"node":"node1","skipVerification":false,"singleNode":true,"origin":"COMMAND_LINE","writePath":"testbackup.tsbak","postgresOnly":false,"overrideDiskSpaceCheck":false,"skipCompression":false}

tabadminagent*.log

2019-02-27 13:44:01.796 -0600  pool-14-thread-5 : ERROR org.apache.thrift.server.TThreadPoolServer - Error occurred during processing of message.
				java.lang.RuntimeException: org.apache.thrift.TException: java.nio.file.FileSystemException: C:\ProgramData\Tableau\Tableau Server\data\tabsvc\tabadminagent\0\filetransfer\df699acb-731a-41dd-af6b-baa39e2d6cc3: The process cannot access the file because it is being used by another process.

				at com.google.common.base.Throwables.propagate(Throwables.java:241)
				at com.tableausoftware.tabadmin.agent.services.TRestoreFileTransferHandler.processFile(TRestoreFileTransferHandler.java:110)
				at com.tableausoftware.file.transfer.endpoint.FileTransferHandler$Processor$processFile.getResult(FileTransferHandler.java:262)
				at com.tableausoftware.file.transfer.endpoint.FileTransferHandler$Processor$processFile.getResult(FileTransferHandler.java:246)
				at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
				at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
				at org.apache.thrift.TMultiplexedProcessor.process(TMultiplexedProcessor.java:123)
				at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
				at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
				at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
				at java.lang.Thread.run(Thread.java:748)
				Caused by: org.apache.thrift.TException: java.nio.file.FileSystemException: C:\ProgramData\Tableau\Tableau Server\data\tabsvc\tabadminagent\0\filetransfer\df699acb-731a-41dd-af6b-baa39e2d6cc3: The process cannot access the file because it is being used by another process.

				at com.tableausoftware.file.transfer.filetransferservice.server.FileTransferServiceHandler.deleteTransfer(FileTransferServiceHandler.java:217)
				at com.tableausoftware.tabadmin.agent.services.TRestoreFileTransferHandler.processFile(TRestoreFileTransferHandler.java:106)
				... 9 more
				Caused by: java.nio.file.FileSystemException: C:\ProgramData\Tableau\Tableau Server\data\tabsvc\tabadminagent\0\filetransfer\df699acb-731a-41dd-af6b-baa39e2d6cc3: The process cannot access the file because it is being used by another process.

				at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
				at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
				at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
				at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
				at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
				at java.nio.file.Files.deleteIfExists(Files.java:1165)
				at com.tableausoftware.file.transfer.filetransferservice.server.FileTransferServiceHandler.deleteTransfer(FileTransferServiceHandler.java:215)
			... 10 more

这可能表示备份由于磁盘空间不足而失败。

感谢您的反馈!您的反馈已成功提交。谢谢!