Environment Variable ORACLE_UNQNAME not defined











up vote
1
down vote

favorite












I'm trying to install Oracle 11gR2 Enterprise Edition but during database creation, I got this error :



Environment Variable ORACLE_UNQNAME not defined


And when I tried to launch emctl.bat From cmd I got this one :



Please set ORACLE_UNQNAME to database unique name.


And to solve this error, I have used this command:



set ORACLE_UNQNAME=orcl


To define my Enivronment variable (orcl is the database name) I got this error :



EM Configuration issue. D:appproduct11.2.0dbhome_1/Chlebta-PC_orcl not found


So any help for solving this issue?










share|improve this question




























    up vote
    1
    down vote

    favorite












    I'm trying to install Oracle 11gR2 Enterprise Edition but during database creation, I got this error :



    Environment Variable ORACLE_UNQNAME not defined


    And when I tried to launch emctl.bat From cmd I got this one :



    Please set ORACLE_UNQNAME to database unique name.


    And to solve this error, I have used this command:



    set ORACLE_UNQNAME=orcl


    To define my Enivronment variable (orcl is the database name) I got this error :



    EM Configuration issue. D:appproduct11.2.0dbhome_1/Chlebta-PC_orcl not found


    So any help for solving this issue?










    share|improve this question


























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I'm trying to install Oracle 11gR2 Enterprise Edition but during database creation, I got this error :



      Environment Variable ORACLE_UNQNAME not defined


      And when I tried to launch emctl.bat From cmd I got this one :



      Please set ORACLE_UNQNAME to database unique name.


      And to solve this error, I have used this command:



      set ORACLE_UNQNAME=orcl


      To define my Enivronment variable (orcl is the database name) I got this error :



      EM Configuration issue. D:appproduct11.2.0dbhome_1/Chlebta-PC_orcl not found


      So any help for solving this issue?










      share|improve this question















      I'm trying to install Oracle 11gR2 Enterprise Edition but during database creation, I got this error :



      Environment Variable ORACLE_UNQNAME not defined


      And when I tried to launch emctl.bat From cmd I got this one :



      Please set ORACLE_UNQNAME to database unique name.


      And to solve this error, I have used this command:



      set ORACLE_UNQNAME=orcl


      To define my Enivronment variable (orcl is the database name) I got this error :



      EM Configuration issue. D:appproduct11.2.0dbhome_1/Chlebta-PC_orcl not found


      So any help for solving this issue?







      windows-7 command-line environment-variables






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 10 '17 at 21:50









      Hennes

      58.7k792141




      58.7k792141










      asked Apr 3 '14 at 19:10









      Chlebta

      1441211




      1441211






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          0
          down vote













          This means you have incorrectly set up environment variables. You would have to share more details about the box, like if there are any Oracle products already installed, your Xsh profile, etc, but basically: If you are about to work with one product, you need your ORACLE_HOME, ORACLE_SID and also PATH having pointing same Oracle home. What you mention is typical when your ORACLE_HOME points into different home than PATH. You can avoid it by calling binaries with full path but you should fix variables anyway.



          edit: A bit late I noticed Windows tag, which most probably means there is another Oracle product already installed on the same box, as Oracle on Windows uses registry for environment variables. Also, emctl is used for dbconsole/em control, not for database itself.






          share|improve this answer




























            up vote
            -1
            down vote













            Try this instead, this is how you properly set up environmental variables.






            share|improve this answer





















            • -1, An answer that doesn't answer the question, but merely points to another answer, therefore is not an answer. superuser.com/help/deleted-answers
              – El8dN8
              Nov 25 '17 at 8:31













            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f737425%2fenvironment-variable-oracle-unqname-not-defined%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            This means you have incorrectly set up environment variables. You would have to share more details about the box, like if there are any Oracle products already installed, your Xsh profile, etc, but basically: If you are about to work with one product, you need your ORACLE_HOME, ORACLE_SID and also PATH having pointing same Oracle home. What you mention is typical when your ORACLE_HOME points into different home than PATH. You can avoid it by calling binaries with full path but you should fix variables anyway.



            edit: A bit late I noticed Windows tag, which most probably means there is another Oracle product already installed on the same box, as Oracle on Windows uses registry for environment variables. Also, emctl is used for dbconsole/em control, not for database itself.






            share|improve this answer

























              up vote
              0
              down vote













              This means you have incorrectly set up environment variables. You would have to share more details about the box, like if there are any Oracle products already installed, your Xsh profile, etc, but basically: If you are about to work with one product, you need your ORACLE_HOME, ORACLE_SID and also PATH having pointing same Oracle home. What you mention is typical when your ORACLE_HOME points into different home than PATH. You can avoid it by calling binaries with full path but you should fix variables anyway.



              edit: A bit late I noticed Windows tag, which most probably means there is another Oracle product already installed on the same box, as Oracle on Windows uses registry for environment variables. Also, emctl is used for dbconsole/em control, not for database itself.






              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                This means you have incorrectly set up environment variables. You would have to share more details about the box, like if there are any Oracle products already installed, your Xsh profile, etc, but basically: If you are about to work with one product, you need your ORACLE_HOME, ORACLE_SID and also PATH having pointing same Oracle home. What you mention is typical when your ORACLE_HOME points into different home than PATH. You can avoid it by calling binaries with full path but you should fix variables anyway.



                edit: A bit late I noticed Windows tag, which most probably means there is another Oracle product already installed on the same box, as Oracle on Windows uses registry for environment variables. Also, emctl is used for dbconsole/em control, not for database itself.






                share|improve this answer












                This means you have incorrectly set up environment variables. You would have to share more details about the box, like if there are any Oracle products already installed, your Xsh profile, etc, but basically: If you are about to work with one product, you need your ORACLE_HOME, ORACLE_SID and also PATH having pointing same Oracle home. What you mention is typical when your ORACLE_HOME points into different home than PATH. You can avoid it by calling binaries with full path but you should fix variables anyway.



                edit: A bit late I noticed Windows tag, which most probably means there is another Oracle product already installed on the same box, as Oracle on Windows uses registry for environment variables. Also, emctl is used for dbconsole/em control, not for database itself.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jun 27 '14 at 10:13









                Ren

                184




                184
























                    up vote
                    -1
                    down vote













                    Try this instead, this is how you properly set up environmental variables.






                    share|improve this answer





















                    • -1, An answer that doesn't answer the question, but merely points to another answer, therefore is not an answer. superuser.com/help/deleted-answers
                      – El8dN8
                      Nov 25 '17 at 8:31

















                    up vote
                    -1
                    down vote













                    Try this instead, this is how you properly set up environmental variables.






                    share|improve this answer





















                    • -1, An answer that doesn't answer the question, but merely points to another answer, therefore is not an answer. superuser.com/help/deleted-answers
                      – El8dN8
                      Nov 25 '17 at 8:31















                    up vote
                    -1
                    down vote










                    up vote
                    -1
                    down vote









                    Try this instead, this is how you properly set up environmental variables.






                    share|improve this answer












                    Try this instead, this is how you properly set up environmental variables.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Feb 7 '16 at 21:44









                    vng21092

                    1334




                    1334












                    • -1, An answer that doesn't answer the question, but merely points to another answer, therefore is not an answer. superuser.com/help/deleted-answers
                      – El8dN8
                      Nov 25 '17 at 8:31




















                    • -1, An answer that doesn't answer the question, but merely points to another answer, therefore is not an answer. superuser.com/help/deleted-answers
                      – El8dN8
                      Nov 25 '17 at 8:31


















                    -1, An answer that doesn't answer the question, but merely points to another answer, therefore is not an answer. superuser.com/help/deleted-answers
                    – El8dN8
                    Nov 25 '17 at 8:31






                    -1, An answer that doesn't answer the question, but merely points to another answer, therefore is not an answer. superuser.com/help/deleted-answers
                    – El8dN8
                    Nov 25 '17 at 8:31




















                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f737425%2fenvironment-variable-oracle-unqname-not-defined%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

                    Alcedinidae

                    RAC Tourist Trophy