cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1146
Views
0
Helpful
2
Replies

Privisioning File Corrupt

MattEnderle
Level 1
Level 1

I have successfully gotten 1 SPA504G to provision so I know my process is correct.

The problem is I went into the trixbox and copied the file to the second phone mac spaMAC.xml and changed the extension information. I used VI to do this through SSH CLI.

I boot up that phone and the provisioning status said failed corrupt file.

I have made sure to close the file in vi before booting up the phone in case that cases an issue.

Can anyone help with this or has experience in doing this? What tools are you using to clone the file over?

Thanks,

Matt Enderle

2 Replies 2

Dan Lukes
VIP Alumni
VIP Alumni

Compare the working and non-working file to found ALL differences. Analyse them (there sohould be few differences only, it's easiest to analyze them than large complete file).

OR

Start with unmodified copy of working file then do, step by step, as-small-as-possible modifications within it (e.g. don't change values for two tags in one step). You should discover the exact change that make the file broken

OR

Divide and conqueror method. Start with broken file. Remove bottom half of all tags. If file remain broken, then the problem is in upper half of tags. Repeat the process. If the file become valid, then problem has been in a tag in bottom half. Restart the analysis process, but start with bottom half of tags.

I had similar issues before.

Starting working on the configuration file like it is provided by the SPC tool. When I upload the file into the provisioning server, it introduced some characters in the beginning of it.

It seems that the file output from the SPC comes as UTF-8 format. I edit this on Notepad++, but make sure to transform it into ANSI.

(Encoding -> Encoding in ANSI)

Anyway, check your file in a Text Editor which is XML aware, so that it can spot any error on the format as well.

Joao

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: