Unix/Linux Go Back    


UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

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

UNIX for Advanced & Expert Users


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 09-26-2012   -   Original Discussion by prasson_ibm
prasson_ibm's Unix or Linux Image
prasson_ibm prasson_ibm is offline
Registered User
 
Join Date: Jul 2009
Last Activity: 21 February 2017, 9:00 AM EST
Location: bangalore
Posts: 32
Thanks: 1
Thanked 0 Times in 0 Posts
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..
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Strawberry perl - New TK module installation error vasanth.vadalur Windows & DOS: Issues & Discussions 3 07-06-2011 05:54 AM
Perl - Error loading module. coolbhai Shell Programming and Scripting 9 06-21-2009 09:53 AM
perl module error zedex Shell Programming and Scripting 0 05-06-2009 03:24 PM
Apache module compilation error hjalle UNIX and Linux Applications 4 03-05-2009 04:25 PM
get error while compiling apache with php module jApHEth UNIX for Dummies Questions & Answers 2 11-29-2001 01:49 AM



All times are GMT -4. The time now is 08:07 PM.