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