Greetings,
I am attempting to backup our SAS environment, but SAS Backup Manager is not working.
Status Code: | 672 |
Logs: | /u01/app/SASConf/Lev1/Web/Logs/SASServer1_1\SASDeploymentBackup9.4.log |
Hi Judson,
a few questions & thoughts:
First and most important: Did that ever work?
If yes, what changed?
To verify: the error occurs when you run an ad hoc backup from within SASMC?
(SASMC, Metadata Manager, Metadata Utilities, Server Backup, Backup Now)
If you do not run the backup from within SASMC but via batch/command line, then please
give the SASMC backup a try.
Next, go to Env Manager, log on as sasadm@saspw (or any unrestricted uid/admin id).
In Env Mgr, go to the Admin menu, go to Backup Manager. Can you get there?
Can you navigate around?
When SAS was installed/configured, was a vault location for the backup defined?
Are permissions set correctly on the vault location? (R/W)
If you are on Win, please verify that the Depl Agent is not running as Local System account.
Another thing we could check is:
SASMC - Application Management - Configuration Manager - SAS App Infrastructure:
right click on Backup Manage. Check the tabs and see if it is all ok (for example, internal connection or external,
settings etc). Its a long shot but worth a check
If the backup ever worked but now just stopped working, you could check whether the backup journal files
are updated properly.
One way to do so is to go to configuration-directory\Levn\Backup\backup.journal
As a test, you could copy and save the journal files to another location, then rename the original ones in this folder
(please just make sure that you do have a copy of these files!)
Then try to run the backup again. If the journal files would be the culprit, the ad hoc backup should run without problem.
Hope this helps to do some troubleshooting.
Please let me know what you find out.
If this cannot be resolved, Tech Sup would be the next step. They can help you to further troubleshhoot,
such as web app/web ser logs etc.
Thanks
Anja
Hi Anja,
Thank you for your email.
We are not sure if it ever worked, we were leaving that for the end of our implementation.
Just prior to looking at the backups, I had patched the portal (which runs the environment manager) with a couple of the critical patches for SSL and Apache vulnerabilities.
The error occurs when we run ad-hoc backups from the command line. We can run the Backup Manager in the Envrionment manager, but a manual backup from there fails too. It also fails if we try to moify the schedule or add a new one.
When we installed, we did not define a vault location.
It the SASMC, the backup Metadata utility works fine.
We are in Linux.
When I go to Application Management, there is nothing there, no plugins at all.
I tried tricking it by removing the journal file, and it dutifully created a new one, but it did not help.
I escalated to SAS Technical Support, but they came back with so many questions that it will take me some time to answer them.
Again, much appreciated anja,
Judson B. Tunnell
University of Victoria
Hello @agonistes,
besides the good questions and suggestions provided by @anja, here is my little bit of sand:
Your amin error is:
![CDATA[Failed to configure backup server on host: Host: berthella.comp.uvic.ca Configuration Directory: /u01/app/SASConf/Lev1]]
Which basically means that the BackupServer ( configuration-directory\Levn\Backup ) under your Lev1 folder has a corrupted or not accessible configuration (xml) file.
So, as anja mentioned, it looks like something changed in your system, I would check it. Permissions? Anyone editing files?
Another option is that this was caused after applying a hotfix. If that is the case, please read: http://support.sas.com/kb/52/990.html
Hope it helps a bit.
Kind regards,
Juan
Thank you very much for your reply Juan.
I have found that on our portal (which runs the Environment Manager) it has a SASConf/Lev1/Backup directory, but the metadata server has no Backup directory at all. Both are running the Deployment Manager Agent, but it seems to me that the metadata server should have that backup directory too.
Do you know if I can copy the directory and make appropriate modifications, or do I need to install it using the Deployment Manager.
Thanks,
Judson B. Tunnell
University of Victoria
Hi,
When you go to SASMC, Metadata Manager, Metadata Utilities, Server Backup: right click, Backup Configuration.
Does it just show "Backup" or a full path?
Thanks
Anja
Hi anja,
I really appreciate your assistance.
It just says Backups, no path.
Thanks,
Judson
Hi,
here is what you can try:
create - manually - a folder called "Backups" under \config dir\Lev1\SASMeta\MetadataServer
Then, in SASMC, Backup Config, instead of just backup, add the fully qualified path to the new backup location as
\config dir\Lev1\SASMeta\MetadataServer\Backups
and try the backup again (test all the ways you usually do it plus SASMC).
Do you have all the permissions to run batch jobs? Please remind me: are you on Unix or Win.
Win privileges come to mind, or, Unix permissions
Thanks
Anja
Hello Anja,
Im also facing the same error (Status code 672) which is on Windows Environment. did we find any solution for this? could you please help on this issue?
Srini
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.