| Hi,
interesting one this. Let me confirm what happened.
In editor made changes and asked to USE but did not specify a file.
This wiped out the in memory editor structures and tried to load a non-existant
file. Now that is an oversight as we should not wipe out the memory stuff until
we have validated the file.
Now the customer must have SAVED or EXITed for the empty database to have been
written (Quit would have avoided that).
So name the Permenant database file /var/opt/console/data/console_cfg.dat is
empty.
I assume the customer has never done an Export to text as recommended in the
User Guide!!
Now if the customer has NOT tried to reconfigure or restart PCM since the above
tragedy there will be a copy of the database in:
/var/opt/console/tmp/console_cfg.dat
as we copy it from data to tmp on each startup or reconfigure. If this is the
case:
# cp /var/opt/console/tmp/console_cfg.dat /var/opt/console/data/console_cfg.dat
then restart and he will have the pre edit data.
If not then Oh dear he is back to scratch.
First he must get the base template database installed
# console -E import /usr/opt/DCR150/templates/console_config.PORT
Then go into editor and key in his database.
Finally export it to a text file against such an occurence.
Cheers Simon...
|