The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



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.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Running script from other user rather than login user rawatds Shell Programming and Scripting 3 01-30-2009 01:18 PM
check user id before running script cpolikowsky UNIX for Dummies Questions & Answers 3 06-06-2008 12:02 PM
Running a Unix command as a different user Andrewkl UNIX for Advanced & Expert Users 4 03-20-2008 04:52 AM
What user is a process running as? america2 UNIX for Dummies Questions & Answers 1 05-21-2006 03:58 PM
running a script under different user Gary Dunn Shell Programming and Scripting 4 12-13-2004 06:17 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-13-2006
bryan bryan is offline
Registered User
  
 

Join Date: Jan 2005
Posts: 22
program running for one user and not for other user

i have an application that i can call from command line

i can pass arguments to the command specifying the server name, user name and password.

when i give my login information such as username and password in the argument, the command gets executd. as an fyi, i can login using ssh to system.

but when my co-worker gives his login information ( he has been disabled to login to the server using ssh) to the command, the program fails saying

exec(): 0509-036 Cannot load program because of the following errors:
0509-150 Dependent module libvm.so could not be loaded.
0509-022 Cannot load module libkp.so
0509-026 System error: A file or directory in the path name does not exist

i made sure all the permissions are correct and they turned out to be correct.

is this because his ssh login is disabled and the command tries to login him in the server?
  #2 (permalink)  
Old 11-13-2006
ask.jackal ask.jackal is offline
Registered User
  
 

Join Date: Jan 2006
Posts: 24
Are u invoking any programs in the remote server thru the script after logging in to the machine? Is the error thrown from the part of the script which is supposed to be execed in the remote server?
  #3 (permalink)  
Old 11-13-2006
Just Ice's Avatar
Just Ice Just Ice is offline Forum Advisor  
Lights on, brain off.
  
 

Join Date: Mar 2005
Location: in front of my computer
Posts: 637
i would compare the PATH values --- including any required database paths (i.e., LD_LIBRARY*) and variables --- between the 2 of you and see what could be missing ... if those are the same, i would check whether the program you are trying to run requires you to be able to ssh into the server ...

i am more inclined to think that you have things in your PATH that your colleague doesn't because of the error being put out ...


good luck!
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:46 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0