Skip to main content
Solved

pgsql not working in MDM template project.


Forum|alt.badge.img+1

I am working on template project for MDM and i am not able to run the pgsql script in it and i did followed the steps mentioned in this  MDM Example Project - Ataccama ONE Gen2 Platform Latest 

Kindly let me know if you have any solution for this.

 

 

 

Best answer by DannyRyan

Hi @Mayuresh 

The start-mdm-server.bat calls an external cmd (command) terminal. (External to ONE Desktop Application).
Did you observe a Command Terminal session opening at all?
 

If you are unable to see the “MDM Server” command terminal -- this may indicate the batch files are blocked by your companies security policy.

Are you able to run the following, which calls our encrypt.bat script

  1. Using your Windows Start Menu
  2. Type Command
  3. Locate and Click on Command Prompt, App.
  4. In Command Prompt type the location of your Ataccama build followed by \runtime\bin\
  5. Based on the screen shot you provided this would be cd c:\NEW_MDM\ataccama 14.5\runtime\bin\
  6. Run encrypt.bat
  7. Enter any text you like, I used “Hello World!
  8. Press Enter
  9. The encrypted form of the text you entered should then be displayed.

 

This was a simple task, to determine if you are able to run Window Command Prompts.

If you are able to run this test and you still have trouble - i would suggest raising a ticket with your IT/Security team for them to review further.

Please let us know how you get on.

Danny
 

Where you able to see a window like this open up?
Quick test, running encrypt.bat to check if user can run batch files.

 

View original
Did this topic help you find an answer to your question?

3 replies

DannyRyan
Ataccamer
Forum|alt.badge.img+2
  • Head of Technical Training
  • 41 replies
  • November 30, 2023

Hi @Mayuresh 
Would it be possible to click on the ‘Properties’ tab at the bottom of your screen.
Then share the full path of the stop-db-postgres.bat file.


Given the error message you have received, I have a theory that there are folders containing a space character in the full path.
For example
C:\NEW FOLDER\

 

Windows Batch files require a change to enclosure paths in double quotes, when folders containing spaces are used.
The simplest solution is to replace the space character with another character
C:\NEW_FOLDER\

 

Let us know if this is the case, and if removing the space character helped to resolve the issue.
Have a great day
Danny


Forum|alt.badge.img+1
  • Author
  • Data Voyager
  • 1 reply
  • December 1, 2023

Hi, @DannyRyan

This is the full path of stop-db-postgres.bat file.

 

also when i try to start start-mdm-server.bat it gets terminated.

 

Regards,

Mayuresh


DannyRyan
Ataccamer
Forum|alt.badge.img+2
  • Head of Technical Training
  • 41 replies
  • Answer
  • December 1, 2023

Hi @Mayuresh 

The start-mdm-server.bat calls an external cmd (command) terminal. (External to ONE Desktop Application).
Did you observe a Command Terminal session opening at all?
 

If you are unable to see the “MDM Server” command terminal -- this may indicate the batch files are blocked by your companies security policy.

Are you able to run the following, which calls our encrypt.bat script

  1. Using your Windows Start Menu
  2. Type Command
  3. Locate and Click on Command Prompt, App.
  4. In Command Prompt type the location of your Ataccama build followed by \runtime\bin\
  5. Based on the screen shot you provided this would be cd c:\NEW_MDM\ataccama 14.5\runtime\bin\
  6. Run encrypt.bat
  7. Enter any text you like, I used “Hello World!
  8. Press Enter
  9. The encrypted form of the text you entered should then be displayed.

 

This was a simple task, to determine if you are able to run Window Command Prompts.

If you are able to run this test and you still have trouble - i would suggest raising a ticket with your IT/Security team for them to review further.

Please let us know how you get on.

Danny
 

Where you able to see a window like this open up?
Quick test, running encrypt.bat to check if user can run batch files.

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings