Quantcast
Channel: SCN : All Content - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 4013

Cannot send email with Attachment in BODS using Shell Script

$
0
0

Hi All,

 

I am trying to send an email with Attachment(.TXT file) using a Shell script. As VB script cannot be run on Linux Job server, I am using a Shell script(ksh) to achieve this. The script works perfectly when I try to run it on the Linux console but when I execute it using the Script in BODS it gives me following error

 

 

 

BODS Version: 14.2.5.800(BODS 4.2 SP5)

Linux Version: RHEL 6.2

 

exec( 'ksh','/tmp/Test.ksh',8);

print(exec( 'ksh','/tmp/Test.ksh',8));

 

The print command captures the error and prints it in the Job Monitor as above. The account under which the job is running has enough rights to execute the script.

 

It seems that some of the SSL and LDAP libraries are missing on the Linux server and in the al_env.sh file.

 

Any inputs would be appreciated and rewarded with Points

 

Regards

Arun Sasi


Viewing all articles
Browse latest Browse all 4013

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>