Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Reserved word used for alias name

    Scheduled Pinned Locked Moved Firewalling
    7 Posts 5 Posters 1.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      p2ranger
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • D Offline
        doktornotor Banned
        last edited by

        /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
        
        
        1 Reply Last reply Reply Quote 0
        • P Offline
          p2ranger
          last edited by

          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

          1 Reply Last reply Reply Quote 0
          • DerelictD Offline
            Derelict LAYER 8 Netgate
            last edited by

            Save yourself future hassle and just use a different alias name.

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

            1 Reply Last reply Reply Quote 0
            • C Offline
              cmb
              last edited by

              @p2ranger:

              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.

              1 Reply Last reply Reply Quote 0
              • P Offline
                p2ranger
                last edited by

                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

                1 Reply Last reply Reply Quote 0
                • P Offline
                  phil.davis
                  last edited by

                  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".

                  As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                  If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.