4 Replies Latest reply on Sep 13, 2020 12:24 PM by Asmita Kesarwani

    error while creating folder in domian

    lokesh muddada New Member

      i want to create a folder in domain in linux environment..it shows the below error

       

      command: ./infacmd.sh createFolder -dn Domain_Linux -un Administrattor -pd Administrator -sdn native -hp mh30021710:6005 -re 180 -fn dem -fp Domain

       

      ERROR:

      [ICMD_10033] Command [createFolder] failed with error [[INFACMD_40000] [INFACMD_10152] The folder path must begin with the root path '/'.].

        • 1. Re: error while creating folder in domian
          Smitha HC Guru

          Hi Lokesh,

           

          While creating folder you need to provide full path excluding the domain name. Also it should start with /.

           

          For example : -fp /<folder_1>

           

          If you want to create folder under domain, then you have to specify only /.

           

          Please try and let me know whether it works.

           

          Regards,
          Smitha

          • 2. Re: error while creating folder in domian
            Asmita Kesarwani Guru

            Hi Lokesh,

             

            For more details please refer the below Kb to use this command:

            152272

             

            Thanks,

            Asmita

            • 3. Re: error while creating folder in domian
              Rajan Rath Guru

              As per the syntax;

              fn (folder_name) - You need to specify the desired folder name

              fp (folder_path) - You need to specify the folder path. If the folder needs to be created under the Domain i.e. the root directory, you can specify it as "/". If there is already a folder available and the desired folder needs to be created under that folder, you can specify as "/<folder1>"

               

              With the current command, if you wish to create the directory under the Domain, you will need to modify it to:

              ./infacmd.sh createFolder -dn Domain_Linux -un Administrattor -pd Administrator -sdn native -hp mh30021710:6005 -re 180 -fn dem -fp /

               

              Hope this helps.

               

              Regards,

              Rajan

              • 4. Re: error while creating folder in domian
                Asmita Kesarwani Guru

                This issue may also occur because:

                 

                -The full folder path was not provided for the object name when the ot option is provided with value "FOLDER"

                -When the PowerCenter repository folder name  was  provided as the Object Name instead of domain folder paths to services.

                 

                Also, in case if you want to create a folder under Domain run the command as follows :

                 

                ./infacmd.sh createFolder -dn Domain -un Administrator -pd Administrator -sdn native  -fn Test -fp /

                 

                If you want to create a folder under an already existing folder, run the below command:

                 

                ./infacmd.sh createFolder -dn Domain -un Administrator -pd Administrator -sdn native  -fn Test -fp /Folder1

                 

                In this example Test folder will be generated under Folder1.

                 

                Hope this helps.

                 

                Thanks,

                Asmita