Forum Discussion
LillyM_9417
Altostratus
Oct 05, 2011VE- F5 version 11
Hello,
I tried to "Reload an External Class Files" in v11 also VE-F5.
I read in my documents it says, in version11 , to reload an external class files Instead of "b load" command, the following to commands should be used. But I got the these error.
Any answer will be appreciated.
(tmos) modify cli admin-partitions update-partition Common
Syntax Error: admin-partitions may only be specified in a config file
(tmos) modify ltm data-group MYDATAGROUP access-mode read-only
Syntax Error: "MYDATAGROUP " unexpected argument
- nitass
Employee
i understand u get the command from: - LillyM_9417
Altostratus
Thanks a lot for your response, Here is the command output. I also cannot create a datagroup. I asked this question too. - nitass
Employee
i imported data group file via gui since i did not see an option to specify local file via tmsh. - LillyM_9417
Altostratus
When I tried to import my old external data group files to new virtual F5, I got this error: - nitass
Employee
initially, i tried this but unfortunately it did not work - got the same error as yours. - LillyM_9417
Altostratus
- nitass
Employee
Is there any way (You say: i think it might cause by text editor, so i changed it to this and it worked.) to make it work automatically? Which text editor do I need to use ?would u mind opening a support ticket and seeing what they say? - nitass
Employee
Now that the formatting of the classes themselves are complete, I’d like to point out one more issue, and that’s file formatting. If you’re editing all the external classes by hand on the BIG-IP, you have nothing to worry about. However, if you edit them on an external system and copy them over, be careful on which editor you choose. The Unix/Linux line terminator is a line feed (0x0A) whereas Windows default is a carriage return/line feed (0x0D0A) and Mac typically employs just a carriage return (0x0D). The file needs to be formatted in unix-style. I use gVim on my windows laptop. By default, it uses the dos-style, as evidenced in my hex readout in gVim below:i think it's. i just noticed there is an option in textpad to save file in pc (default), unix or mac format. when using pc format, winhex shows line terminator is CRLF as Jason mentioned.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects