Process on a specified Terminal and Socket Port does not start


 
Thread Tools Search this Thread
Operating Systems AIX Process on a specified Terminal and Socket Port does not start
# 1  
Old 01-11-2017
IBM Process on a specified Terminal and Socket Port does not start

Hi,
I new to AIX, and I have been using Rocket UniData in it. I had to set up a Process for Data Exchange by assigning a unique Terminal and a Socket Port to that process. I ran the process for the first time and it was successful and after use I stopped the process. Now when I want to run it again, the process won't start. This is issue I am facing right now, which means I am not again able to run that process again once I have stopped it. I can get this process running for one more time only when I set an another unused terminal to that process. But after changing then, it will only run for 1 time and then stop and will never run again for every terminal. Where did I go wrong? Smilie
# 2  
Old 01-11-2017
Without seeing your code so we know what you actually did there isn't any easy way for us to guess.

Please show us your code (in CODE tags) so we have a chance to help you.
# 3  
Old 01-13-2017
Hey Don, Thanks for the reply.
By setting up the Process, what I meant was like setting Controls (setting up terminal, assigning ports for the process and adding channel controls for the process to communicate) in UniData and not writing code for the process. The previous day, what I found was that whenever I logoff the process all the Control Settings that I have previously set up was erased. This is why my process doesn't start the next time I try to logon. So any idea why this happens?
# 4  
Old 01-13-2017
You are doing things to set up your environment before running Rocket UniData. That is coding. I have no idea what Rocket UniData is used for (although I assume that you aren't designing inertial guidance systems for ICBMs), but it probably doesn't matter for this discussion.

If you are saying that you have a script that works to set up an invocation of Rocket UniData to work on one terminal and socket port, but it doesn't work on another terminal and/or socket port, that would make sense... But if you won't show us what you're doing and be much more forthcoming about what is going wrong, there isn't much we can do to help.

If you're saying that you login to AIX and set up an environment from which you can run Rocket UniData invocations, but it doesn't work after you have logged out; that would also make sense. Unless you do something to your login startup scripts to setup the variables in your environment every time you login, you will have to manually set up your environment every time you login or build the manual steps you perform to setup that environment into your scripts that start Rocket UniData invocations. But, again, if you aren't willing to show us what code you use to set up the needed environment and aren't willing to show us the code you use to start a Rocket UniData invocation, there isn't much we can do to guess at what might be needed.

I don't have an AIX system handy for my reference and I don't feel like buying a Rocket UniData license to try to figure out what you haven't told us. But, I hope some of the comments above will give you an idea of where to start.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. IP Networking

Get process id and port from the socket

Hello, Please help me in getting the process id and the port number from the socket netstat -Aan|grep -i closed f100050010b133b8 tcp 0 0 *.* *.* CLOSED f1000500119b53b8 tcp4 0 0 *.* *.* ... (3 Replies)
Discussion started by: Vishal_dba
3 Replies

2. IP Networking

Tcp ip port open but no such process (merged: Release A Port)

i want to kill a tcp connection by killing its pid with netstat -an i got the tcp ip connection on port 5914 but when i type ps -a or ps-e there is not such process running on port 5914 is it possible that because i do not log on with proper user account i can not see that process running? (30 Replies)
Discussion started by: alinamadchian
30 Replies

3. Solaris

How to clear network socket port 17005?

:)Hi Solaris Experts, I am wondering whether it is possible to clear a network socket port 17005 left by Apache Tomcat/6.0.20 after having to terminate it forcefully, since it has run away due to remote JDBC resource contention on another server. A normal Tomcat stop / shutdown proves... (2 Replies)
Discussion started by: gjackson123
2 Replies

4. Programming

Using socket to test a TCP port

Hello, I'm trying to write a small c application to test a tcp port. This works fine for the most part but the default timeout on the connect is very long. I have been reading many posts but and it looks like I need to set the socket to be non-blocking and poll for a result. I have been totally... (2 Replies)
Discussion started by: tjones1105
2 Replies

5. Solaris

Start process independent from TERMINAL (or also with PPID 1)

Hi *, please, I need fast tip (help). I have a process starting through /etc/rc3.d/xxxx script. However, sometimes (mostly because of testing reasons) I need to stop the process, change something and then start it again. But: 1) when I start it in terminal, the process dies when I leave the... (2 Replies)
Discussion started by: freeangel
2 Replies

6. IP Networking

Port number of socket returned by accept()

Hi, I typed a few tcp/ip client/server examples from a book and it works - sort of - but I noticed something strange. When I run my server I set it to use port 3001 and the client uses the same port to connect to server. They succeed, but the server prints something that doesn't really make much... (0 Replies)
Discussion started by: idelovski
0 Replies

7. Programming

Cloning a socket connection, using other port numbers

Hello everybody, I've coded a multi-client server based on internet sockets using the scheme listen on port X-accept-fork, exactly like beej's guide At some point I would like to establish a secondary connection between a client and the server-child serving him. I was considering the... (4 Replies)
Discussion started by: jonas.gabriel
4 Replies

8. UNIX for Dummies Questions & Answers

Socket programming:One server two port

I want my server socket to listen on two ports in my machine. How do i achieve it? I will have two clients one connecting to 1 port and another to a different port. So my server needs to listen to both. Thanks. (1 Reply)
Discussion started by: abc.working
1 Replies

9. Shell Programming and Scripting

Start process in shellscript at other terminal

A programming running in tty0 crashes. In a second terminal I kill all the processes. Can i start the program again from this terminal? Yes, I can, but it starts in tty1, and when i close the terminal, the program closes. Now I want to start the program from tty1 in tty0, so i can close... (4 Replies)
Discussion started by: benschell
4 Replies

10. Programming

socket on serial port

Does anyone know if it's possible to send socket by a serial port ? If yes, how can I find on Irix the value of my serial ports to use with this function : serverSockAddr.sin_port = ? Thanks for all responses ! Kintoo (2 Replies)
Discussion started by: kintoo
2 Replies
Login or Register to Ask a Question