Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
udaya_kumar
Specialist
Specialist

Warning: Process exited with non zero exit code: 1

Hi,

I am getting this error when i run the edx task from command line

what might be the issue here?

16 Replies
Miguel_Angel_Baeyens

Hi,

Does your DSC has an asterisk that means that the user specified has not permissions to read on the Acitve Directory or Security Directory? How are you calling the EDX, from a BATch file?

Hope that helps.

Miguel

udaya_kumar
Specialist
Specialist
Author

Hi,

i am calling the EDX task from the batch file.

i am executing the batch file from the command line.

Miguel_Angel_Baeyens

Hi,

Does the Publisher have access to the DSC? Go to the QMC, System, Setup, Distribution Services, expand and select your service, go to the right part, General tab and check the "Settings for QDS" section, the drop down list "Directory Service Connector" and make sure that this exist and has its entry and a user with admin privileges in QMC, System, Setup, Directory Service Connectors, expand and select the service you are using (say Active Directory, for example), and make sure "Username" and "Password" are correct for that user and that you are able to perform user lookups and so.

Hope that helps.

Miguel

udaya_kumar
Specialist
Specialist
Author

Hi miguel,

I followed your steps and checked it.

DSC exists in the server in settings for QDS.

But there was no username and password in the Active Directory.

I added the service account username and password there and tried to run the task manually.

But it's giving the same error.

I am able to trigger and run the Distribute EDX task. and am able to trigger the VB Script EDX task but this vb script task gives this warning message.

Miguel_Angel_Baeyens

Hi,

Can you search for users in the Users tab of the QMC? Is the task running fine in Publisher (status when finished like Waiting and not Failed or Warning) but throwing the warning, although reloading and distributing OK?

Regards.

Miguel

udaya_kumar
Specialist
Specialist
Author

Hi,

I am not able to search for user in users tab in QMC. The Distribute task works fine by running manually and even by trigger by EDX in command line or batch file.

But the vb script task, when i run manually also, it gives warning and even when i trigger it by command line also, it gives the warning.

What could be the reason?

Miguel_Angel_Baeyens

Hi,

If you cannot search for users, that mean that the user you have added in the DSC configuration does not have permission to read the AD (usually a domain administrator, not a local administrator). Make sure that the user and password in the DSC configuration in the QMC page does not show a red asterisk.

Hope that helps.

Miguel

udaya_kumar
Specialist
Specialist
Author

Hi Miguel,

I checked it, it's showing red asterik beside the username and password in QMC.

Miguel_Angel_Baeyens

Hi,

Then that's likely to be the problem: Publisher needs a user will full read permissions on the DSC so Publisher can distribute and look for users to assign them when distributing. Try with your IT people to see whether they can set up in the QMC such a user. Publisher warns because it's unable to find any kind of users, so the reload is ok and so will show the logs, but the distribution is not possible, and therefore the warning.

Hope that helps.

Miguel