Wednesday 3 July 2013

AF Token present before mount (Reason is AF Token File Exists before AF Mount)

Hadn't seen this one before, so thought I'd better get it written down, before I forget how to fix it!

Microlite edgemenu giving the following error:

AF token present before mount

This is another historic site using af0/fsp0 attached file systems, and not SharpDrive.
I can't be fussed to change the config, I just need it to work.

In this example the fsp0 gets mounted onto af0
Our af0 is /usr/lib/edge/system/mnt/af0


Change directory to your af0 folder and then check with an ls -al
I expect you to see a .edge_af file - delete it!

rm .edge_af

Test!

Update Oct 2014:
I also had the same but the message was:
Reason is AF Token File Exists before AF Mount 
My mount path has also changed in v3 to :
/opt/microlite/backupedge/system/mnt/af0/

Monday 3 June 2013

Reason is SharpDrive token file exists before mount

More fun fun fun with Microlite BackupEDGE.

A variation on the theme today and again, one that didn't seem to be covered by the FAQ on their support site.

Failed to initalise my disk :

Reason is SharpDrive token file exists before mount

Turns out that somehow I've managed to get a .edge.token in the directory where the disk gets mounted, but prior to the mount taking place!

For me it was 

/usr/lib/edge/system/mnt/sd.sdc1

ls -lt shows me that I had a token file there, even without the disk mounted.

A quick rm and problem is sorted!


Monday 4 March 2013

Failed to schedule Software Protection service for re-start

I have been running Windows 8 for a while now, upgraded from 7.

I've been seeing the following error in my Event Viewer for a while and decided to look into it:


Failed to schedule Software Protection service for re-start at 2113-02-08T11:19:03Z. Error Code: 0x80070002.


After much searching I found this thread on Technet that covers deleting and reinstalling the offending scheduled task.

http://social.technet.microsoft.com/Forums/en/winservergen/thread/6f986797-0db9-454d-9979-dbc625f09b82

So, with thanks to Yan Li I was able to stop the error occurring, but I did encounter a different error when attempting to import the task from my backup:

(24,9): Priority

The error message isn't very helpful, but comparing the XML with that of SvcRestartTaskLogon, I noticed that the following section in SvcRestartTask

<RestartOnFailure>
      <Priority>3</Priority>
      <Priority>PT1M</Priority>
</RestartOnFailure>


in SvcRestartTaskLogon is


<RestartOnFailure>
      <Interval>PT1M</Interval>
      <Count>3</Count>
</RestartOnFailure>

I changed the offending lines in SvcRestartTask and it now imports correctly.