Reserved word used for alias name
-
I have a server on my network named oracle (batman theme)
When I try to add it as an alias by the name oracle, I get:
The following errors were detected: Reserved word used for alias name
I took a look at a file that showed what the reserved words were, and oracle was not one of them. Unless it is found somewhere else. I tried using another name, and it was able to take it, but I don't want to use another name.
Pfsense 2.2
Any ideas?
Thanks
Jason
-
/etc/inc/util.inc ~line 824
reserved words: pre-defined service/protocol/port names which should not be ambiguous, and the words "port" and "pass" */
$ grep oracle /etc/services | grep -v # oracle 2005/udp
-
So if I delete the line for oracle 2005/udp located in /etc/services, will that then allow me to use the name?
I don't use oracle so I'm not concerned about a conflict
Thanks
Jason
-
Save yourself future hassle and just use a different alias name.
-
So if I delete the line for oracle 2005/udp located in /etc/services, will that then allow me to use the name?
I don't use oracle so I'm not concerned about a conflict
it's not a matter of whether you use oracle, that's a keyword shortcut for its port and hence cannot be an alias name. Choose a different name, don't try to work around it or you will end up with problems now or at some point in the future.
-
Ah ok
thanks for helping me understand that. I've changed it to another name and have started changing everything else on the server and links and what not associated with the new name.
Wish I had thought about Oracle being an issue before I had chosen this naming structure
Thanks
Jason
-
It's a server, not an alias. You can add oracle.my.domain.tld to host overrides (or your internal DNS, whatever) so that the name starting with "oracle" resolves to the server IP.
Then use oracle.my.domain.tld in an Alias - you can call the Alias "oracles" if you like.
I just did that for fun - In Diagnostics->Tables I have a table called "oracles" that contains the IP of the server called "oracle.my.domain.tld".