On Fri, Feb 12, 2010 at 11:20 PM, Paul Peziol <[email protected]> wrote:
> I deleted some vlans that were created before disabling the dhcp. The result
> is the message below. From the posts I need to edit the config.xml file but
> unfortunately am not very good at CLI. I can pull up the shell from the
> console but am lost what to do from there. A detail list of instructions for
> this would be much appreciated as I know I'll probably run into it again. I
> found the config.xml file and pulled it up with vi config.xml. From within
> teraterm past that is where I am lost.
> XML error: OPTXXXX at line 115 cannot occur more than once

In vi, type:

:115

which will take you to line 115. Then go up a few lines to the opening
tag of that portion with the arrow keys, and delete everything from
the opening to closing tag. To delete a line in vi, type:

dd

When the offending lines are removed, hit esc, then type:

:x

to save and exit.

If you hit a wrong key at some point and just want to exit without
saving, type:

:q!

Or you may find the ee editor easier to use.
http://www.freebsd.org/cgi/man.cgi?query=ee&apropos=0&sektion=0&manpath=FreeBSD+7.0-RELEASE&format=html


And then upgrade to 1.2.3 so you won't run into that again.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Commercial support available - https://portal.pfsense.org

Reply via email to