Unable to run application using ssh


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Unable to run application using ssh
# 1  
Old 04-26-2012
Unable to run application using ssh

I'm testing a C++ based application (HLR) in my solaris system.
Whenever i start the application remotely from some other solaris server using ssh command the application throws an error and goes down.
command i used:
Code:
ssh root@192.168.151.77 "./start_hlr.sh"

Below is the error observed :

Code:
Initializing OAM Transaction list...
Initializing TCAP Stack ...FtAttachEx failed exiting errno: 258
Unable to initialize the stackexitFunc called with exit code: 514exiting...

But if i directly login to the server and run the application its working fine.

Why the application is not running when invoked remotely using ssh ?

Last edited by Scrutinizer; 04-26-2012 at 03:39 AM.. Reason: Additional code tags
# 2  
Old 04-26-2012
Undef ENV values are likely to be causing the problem.

From the ssh man:
Code:
           Additionally, ssh reads ~/.ssh/environment, and adds lines of the
           format ``VARNAME=value'' to the environment if the file exists
           and users are allowed to change their environment.  For more
           information, see the PermitUserEnvironment option in
           sshd_config(5).

Set ~/.ssh/environment in the target machine to load the profile variables needed.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Programming

The application was unable to start correctly(0xc0150002).

Dear Team, please help me on the issue "The application was unable to start correctly(0xc0150002).click ok to close the application" Have created the build using installshield 2012. dll was generated from VS2008. Used 3rd party libraries.Included all the libraries,dll. This was the first tme... (1 Reply)
Discussion started by: SA_Palani
1 Replies

2. IP Networking

Unable to access web application hosted in same network

All, I have various web applications hosted in a client network. These web apps are accessed through a Apache web server. We have deployed a new web application server and it is not serviced through the Apache web server. So i am unable to access this applications. But i am able to access... (3 Replies)
Discussion started by: vel4ever
3 Replies

3. Debian

How to run windows application in Ubuntu?

HI ! all I have some model which works fine in windows 7 OS with matlab program I want to run all those from Ubuntu 12.04 32-bit OS. is there any provision to run windows applications? wine I tried, its not working, if any other available kindly explain the usage also Note : Dual boot ... (5 Replies)
Discussion started by: Akshay Hegde
5 Replies

4. Shell Programming and Scripting

Unable to run command after ssh

Hello, I am trying to create a ksh script to login to server and collect gather output of some command to troubleshoot some issue. DATE=`date +%b.%d.%Y.%M.%H` echo " Enter emp id to login to server" read Eid Eid=$Eid echo " Enter hostname of the system" read HOST HOST=$HOST... (2 Replies)
Discussion started by: saurabh84g
2 Replies

5. Shell Programming and Scripting

Run application at startup

We have a Windows Service written in C# ported over to linux using Mono Develop... The code is working 100% when we run a script file which runs the exe... but we want the application to run at startup.... The application gathers info of the computer eg. Hard Disk Space etc... And compress it into... (1 Reply)
Discussion started by: yodzaan
1 Replies

6. Programming

unable to create phonon application on Qt

Hi I am new to QT.I am running Qt 4.7 on Fedora 9.My Application crashes with the the following statements. on execution of return app.exec(); The inferior stopped because it received a signal from the Operating System. Signal name : SIGSEGV Signal meaning :Segmentation fault:wall: ... (2 Replies)
Discussion started by: sruthihsr
2 Replies

7. Shell Programming and Scripting

File creating in another path.. application unable to locate

I am submitting a concurrent program (of HOST tyme) from Oracle apps screen, The MAIN shell program submits another program, (child) which is also a Shell program. The child writes data to log file. Now the main program, read the log and do some calculations and sends the data to user through... (1 Reply)
Discussion started by: Pradeep Garine
1 Replies

8. UNIX for Advanced & Expert Users

Application to run on ports

I do not have much idea about ports. How can i make an application(written in C) to run on a specific port ? Does the code internally written in C says about port number where the application to run ? Can i make an application to select port dynamically which are closed(other than standard... (3 Replies)
Discussion started by: shafi2all
3 Replies
Login or Register to Ask a Question