<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SAS Deployment Backup problem - error code 681 in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Deployment-Backup-problem-error-code-681/m-p/625342#M18215</link>
    <description>&lt;P&gt;The filesystem that this location is mounted on has 99GB of available storage space, so I don't think it's a matter of running out of space.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The user who owns the Backup directory has rwx permission, so shouldn't be a permissions problem.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Feb 2020 16:40:54 GMT</pubDate>
    <dc:creator>MarkESmith</dc:creator>
    <dc:date>2020-02-17T16:40:54Z</dc:date>
    <item>
      <title>SAS Deployment Backup problem - error code 681</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Deployment-Backup-problem-error-code-681/m-p/623440#M18171</link>
      <description>&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Running SAS on a Linux machine in a non-clustered setup.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just got a SAS Alerts email from our SAS System. The following is the text contained in the e-mail:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;A problem occurred in executing a "Deployment Backup and Recovery" operation.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Operation Status : NOT_STARTED&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;This was a scheduled backup.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;It is recommended to take another clean backup by running sas-backup after recovering from the error situation.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Got Exception as follows:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;Backup Errors&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Error Entry:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Status Code: 681&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Name: ERROR_CODE_GENERAL_IO_FAILURE&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Category: GENERAL&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Classification: ERROR&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Date and Time Of Error: 2020-02-09T01_00_01&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Log Name: session.log&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Log File Location: /opt/sas94/config/Lev1/Backup/Logs/2020-02-09T01_00_00/session/session&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Operation Type: session&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Originating Tier: Host: sas Configuration Directory: /opt/sas94/config/Lev1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Message: An error occurred while trying to do some disk operation.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Stack Trace: Unable to copy file /opt/sas94/config/Lev1/Backup/Vault/BackupHistory.xml to /opt/sas94/config/Lev1/Backup/dropzone/config/BackupHistory.xml&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;After reading the following thread, I decided to try and rename the BackupHistory.xml file in three locations and manually re-run the backup from the Administrator web page - but the error unfortunately still occurs.&lt;/FONT&gt; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;A href="https://communities.sas.com/t5/Administration-and-Deployment/SAS-Backup-failed/td-p/431689" target="_blank"&gt;https://communities.sas.com/t5/Administration-and-Deployment/SAS-Backup-failed/td-p/431689&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Here is the log from the aforementioned log location:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;2020-02-09 14:16:16,791 [main] INFO com.sas.svcs.backup.server.handler.ServiceSessionHandler - Drop Zone : /opt/sas94/config/Lev1/Backup/dropzone&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;2020-02-09 14:16:16,791 [main] INFO com.sas.svcs.backup.server.handler.ServiceSessionHandler - History &amp;amp; config file base is /opt/sas94/config/Lev1/Backup/Vault&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;2020-02-09 14:16:16,792 [main] INFO com.sas.svcs.backup.server.handler.ServiceSessionHandler - Is Start Session : false&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;2020-02-09 14:16:16,792 [main] INFO com.sas.svcs.backup.server.handler.ServiceSessionHandler - Synchronizing up..&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;2020-02-09 14:16:16,792 [main] INFO com.sas.svcs.backup.server.handler.ServiceSessionHandler - Is primary node : true&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;2020-02-09 14:16:16,792 [main] INFO com.sas.svcs.backup.server.handler.ServiceSessionHandler - Node is primary. Ending the BackupHistory &amp;amp; Backup Configuration maintenance for the service session.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;2020-02-09 14:16:16,792 [main] INFO com.sas.svcs.backup.server.handler.ServiceSessionHandler - Trying to copy file : /opt/sas94/config/Lev1/Backup/dropzone/config/BackupHistory.xml to /opt/sas94/config/Lev1/Backup/Vault/BackupHistory.xml&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;2020-02-09 14:16:16,792 [main] INFO com.sas.svcs.backup.server.handler.ServiceSessionHandler - Copying history file from /opt/sas94/config/Lev1/Backup/dropzone/config/BackupHistory.xml to /opt/sas94/config/Lev1/Backup/Vault/BackupHistory.xml&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;2020-02-09 14:16:16,792 [main] ERROR com.sas.svcs.backup.server.handler.ServiceSessionHandler - Unable to copy file /opt/sas94/config/Lev1/Backup/dropzone/config/BackupHistory.xml to /opt/sas94/config/Lev1/Backup/Vault/BackupHistory.xml&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;2020-02-09 14:16:16,793 [main] ERROR com.sas.svcs.backup.server.BackupServerSession - An exception while running the command: Unable to copy file /opt/sas94/config/Lev1/Backup/dropzone/config/BackupHistory.xml to /opt/sas94/config/Lev1/Backup/Vault/BackupHistory.xml&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;2020-02-09 14:16:16,811 [main] ERROR com.sas.svcs.backup.server.BackupDriver - An exception while running the BackupServer executable, Exiting..... : Unable to copy file /opt/sas94/config/Lev1/Backup/dropzone/config/BackupHistory.xml to /opt/sas94/config/Lev1/Backup/Vault/BackupHistory.xml&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error Code: 681, Stack Trace: Unable to copy file /opt/sas94/config/Lev1/Backup/dropzone/config/BackupHistory.xml to /opt/sas94/config/Lev1/Backup/Vault/BackupHistory.xml&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;at com.sas.svcs.backup.server.handler.ServiceSessionHandler.copyFile(ServiceSessionHandler.java:191)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;at com.sas.svcs.backup.server.handler.ServiceSessionHandler.syncUp(ServiceSessionHandler.java:118)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;at com.sas.svcs.backup.server.handler.ServiceSessionHandler.execute(ServiceSessionHandler.java:100)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;at com.sas.svcs.backup.server.handler.ServiceSessionHandler.execute(ServiceSessionHandler.java:33)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;at com.sas.svcs.backup.server.BackupServerSession.execute(BackupServerSession.java:107)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;at com.sas.svcs.backup.server.BackupDriver.main(BackupDriver.java:131)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;2020-02-09 14:16:16,812 [main] ERROR com.sas.svcs.backup.server.BackupDriver - [Ljava.lang.StackTraceElement;@63dc6270&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;2020-02-09 14:16:16,812 [main] INFO com.sas.svcs.backup.server.BackupDriver - Exiting with status code: 681&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;~&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;So it looks like the BackupHistory.xml file can't be copied and that's the root of the problem - but why? Is there anything else I can try to get this to work?&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Feb 2020 19:43:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Deployment-Backup-problem-error-code-681/m-p/623440#M18171</guid>
      <dc:creator>MarkESmith</dc:creator>
      <dc:date>2020-02-09T19:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Deployment Backup problem - error code 681</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Deployment-Backup-problem-error-code-681/m-p/623774#M18176</link>
      <description>&lt;P&gt;Look at the filesystem for&amp;nbsp;&lt;SPAN&gt;/opt/sas94/config/Lev1/Backup/ to check if it is running out of space. Also make sure that the user running the backup has write permission there.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 06:48:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Deployment-Backup-problem-error-code-681/m-p/623774#M18176</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-02-11T06:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Deployment Backup problem - error code 681</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Deployment-Backup-problem-error-code-681/m-p/625342#M18215</link>
      <description>&lt;P&gt;The filesystem that this location is mounted on has 99GB of available storage space, so I don't think it's a matter of running out of space.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The user who owns the Backup directory has rwx permission, so shouldn't be a permissions problem.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2020 16:40:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Deployment-Backup-problem-error-code-681/m-p/625342#M18215</guid>
      <dc:creator>MarkESmith</dc:creator>
      <dc:date>2020-02-17T16:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Deployment Backup problem - error code 681</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Deployment-Backup-problem-error-code-681/m-p/625465#M18225</link>
      <description>&lt;P&gt;Figured out the problem - just in case anyone has this same problem in the future, here's what my problem was. The backup files in the following location had the wrong owner (root) and had an incorrect octal permission set:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/opt/sas94/config/Lev1/Backup/dropzone/config&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Changed the ownership of all files within this path to the 'sasinst' user and changed the octal permission set of all files to '664' - after doing so, and manually running the backup, it completed successfully.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2020 22:13:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Deployment-Backup-problem-error-code-681/m-p/625465#M18225</guid>
      <dc:creator>MarkESmith</dc:creator>
      <dc:date>2020-02-17T22:13:38Z</dc:date>
    </item>
  </channel>
</rss>

