error:- sh: error importing function definition for `module


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users error:- sh: error importing function definition for `module
# 1  
Old 09-26-2012
error:- sh: error importing function definition for `module

Hi,
We have installed linux6(RHEL) OS and installed datastage application on that.
First time installation worked fine and our all services related to datastage was up and running.
When we stopped the datastage and restarted its giving below error while restart:-
Code:
./uv -admin -start

DataStage Engine 8.7.0.0 instance "ade" has been brought up. 
Starting JobMonApp 

sh: module: line 1: syntax error: unexpected end of file 
sh: error importing function definition for `module '/opt/IBM/InformationServer/Server/DSComponents/lib/libicui18n.so'

Due to this error,our application is not working correctly.

Out datastage environmental file failed with error saying:-
Code:
LESSOPEN="|/usr/bin/lesspipe.sh %s"; export LESSOPEN 
UDTHOME="/opt/IBM/InformationServer/Server/DSEngine/ud41"; export UDTHOME 
G_BROKEN_FILENAMES="1"; export G_BROKEN_FILENAMES 
module="() { eval `/usr/bin/modulecmd bash $*`"; export module 

===Errors encountered during environment exporting=== 
cmdTrace.c(713):ERROR:104: 'start' is an unrecognized subcommand 
cmdModule.c(411):ERROR:104: 'start' is an unrecognized subcommand

It looks like we are missing some module setting in Linux.

Anyone's help will be highly appriciated.

Thanks
Prasoon

Last edited by fpmurphy; 09-26-2012 at 04:50 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Python-rrdtool try except rrdtool.error module object has no attribute error

I have this code that gives this error on Linux and will be grateful if you can help import rrdtool try: ret_asd = rrdtool.update(myfile.rrd,'N:%s:%s' %(metric1, metric2)); except rrdtool.error, e: print e When i run the above i get the below error except... (1 Reply)
Discussion started by: kaf3773
1 Replies

2. Shell Programming and Scripting

Perl module error in testing

PERL MODULE : To debug my perl module code in test environment. I have taken production module to the test in the my home path directory and was trying to test it by changing the below path in my test code. But still i am getting the error to debug it. can you please let me knw whether i am... (13 Replies)
Discussion started by: ramkumar15
13 Replies

3. Programming

C program multiple definition error during linking time

Hi, I have the following files: // file.hvoid foo(); int i = 5; // should be just declared as extern int i; // file1.c#include <stdio.h> #include "file.h" void foo() { i = 10; printf("%d\n", i); } // file2.c#include <stdio.h> #include "file.h" int main() { foo(); (9 Replies)
Discussion started by: royalibrahim
9 Replies

4. Windows & DOS: Issues & Discussions

Getting Error when using Module Win32::IEAutomation;

Hi All, How are you Guys? I am using the Code use Win32::IEAutomation; # Creating new instance of Internet Explorer my $ie = Win32::IEAutomation->new( visible => 1, maximize => 1); # Site navigation $ie->gotoURL('http://www.google.com');... (4 Replies)
Discussion started by: adisky123
4 Replies

5. UNIX for Dummies Questions & Answers

insmod: Invalid module format error

I have open suse kernel kernel 3.1.0-1.2-desktop on which I used kernel source 3.1.10-1.2 downloaded from kernel.org. The module gets built. While loading a kernel module I am getting Invalid module format error with description "first_driver: no symbol version for module_layout" The... (5 Replies)
Discussion started by: rupeshkp728
5 Replies

6. Windows & DOS: Issues & Discussions

Strawberry perl - New TK module installation error

Hi, I am struggling in installing TK module for strawberry perl. I downloaded TK804 module, extracted to a folder, kept in c:/strawberry/perl/lib path, then from tht path 1) perl makefile.pl 2)dmake 3)dmake test 4)dmake install During perl makefile.pl it is giving error as... (3 Replies)
Discussion started by: vasanth.vadalur
3 Replies

7. Shell Programming and Scripting

Find C function definition in from Shell script

Hi, I am having list of C function names say function1 function2 function3 and i am having many source files under my current directory. Now i would like to find the file names which contains the function definition from my list. It would be appreciable if... (1 Reply)
Discussion started by: tsaravanan
1 Replies

8. Shell Programming and Scripting

Perl - Error loading module.

Hi, I have a strange issue in my script. When script is run from command prompt it runs fine,but when run from cron it exist with error message. I narrowed down the issue and found that " use Mail::Sender;" is the culprit. If I comment the statment the code runs fine in both command and... (9 Replies)
Discussion started by: coolbhai
9 Replies

9. Shell Programming and Scripting

perl module error

Hi I am working on XMLDiff utility which is working only thing which is bug in this utility is that i used Excel file as the output file so that user can perform some operations on it ... now what i am doing is i am using Spreadsheet::Writeexcel module and its giving me problems ... flow... (0 Replies)
Discussion started by: zedex
0 Replies

10. UNIX and Linux Applications

Apache module compilation error

I'm trying to compile an apache module (a tutorial module, Apache 2 Module Tutorial - GNU Build Tools and the Development Environment) and I get errors like this: apr.h:273: error: expected ´=´, ´,´,´;´,´asm´ or ´__attribute__´ before ´apr_off_t´ those errors occur like 30 times in different... (4 Replies)
Discussion started by: hjalle
4 Replies
Login or Register to Ask a Question