› Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › Can’t close a Process
“Unable to contach process “meta_1” on port 4175
No Connection could be made because the target machine actively refused it”.
“hcicmd failed”
“Now trying SIGINT”
This isn’t using port 4175 (or even close)
I just want to force it closed, I’ve even bounced the service, no good.
HELP!!!
Win2Ksp4, Qdx 5.3 rev3
Doug
Doug
******************************
Command Issued: hcitcptest -t 4 -h localhost -p 8630
socket error: No connection could be made because the target machine actively refused it.
connecting…
It simply means you are tring to connect to a server on a socket but that server is not listening on that port.
You can verify this by running netstat -an and looking for that port to see if there is a listen on it.
For the engine problem, it looks like the TCP/IP connection was lost. Stop the engine, not the thread: hcienginestop -p It may take a while as it may have to kick it to death.
Running netstat -an showed me not listening on that port.
this is the response from running hcienginestop:
C:quovadxqdx5.3integratorsupport>hcienginestop -p meta_1
Trying hcicmd…
Can’t contact process meta_1 on port 4175: No connection could be made because the target machine actively refused it.
hcicmd failed!
Now trying SIGINT…
Unable to send SIGINT: No such file or directory
HELP!!
I’m not familiar with Cloverleaf on Windows, but do you have a firewall or something similar running on the Windows box? If you do, try creating some rules to allow Cloverleaf to use any port.
My guess for the first error is that the server is not up since is not connecting, but the second error (cannot bring down the process) is an indication of something stopping the socket communication (the command to stop the process is sent using a port) …that is why I think that there is a firewall or something stopping that type of communications.
Some versions of Windows have a built in firewall, check if that is your problem.
I can recreate the threads and process if its deleted, no problem. But the ports are in use I need to listen on.
Give me a command that will absolutely kill a process. I want to delete from existance. rebuild it from scratch and launch it, but i need it closed. Work has stopped in that department until i get something going HHEELLPP!!!
In UNIX we use the “kill” command. I’m not sure if there is something similar in Windows. You may have to go to the Task Manager and kill the process from there… or bounce the Windows box (probably faster)
Regards,
Carlos
the threads stay “initializing”.
No Joy
Did you check for a firewall?
site/exec/processes/processname/processname.log
./site/exec/processes/proces_name/pid
You may want to call Quovadx support if this is a production issue. They should be able to help you faster over the phone.
I did find the “4175” in the “cmd_port” within the meta_1 directory
hcicmd -p meta_1 -c “META_IN,InMetaRde,META_OUT,InMetaMfn purgex”
error was: No such file or directory
Try to connect with OLEAN_CLOVERLEA
Unable to contact process ‘meta_1’on port 4175
Unable to contact process ‘meta_1’on port 4175
Error was: No connection could be made because the target machine actively refused it.
hcicmd -p meta_1 -c”META_IN,InMetaRde,META_OUT,InMetaMfn eo_alias enable_all”
error was: No such file or directory
Try to connect with OLEAN_CLOVERLEA
Unable to contact process ‘meta_1’ on port 4175
Unable to contact process ‘meta_1’ on port 4175
Error was: No connection could be made because the target machine actively refused it.
hcienginestop -p meta_1
Trying hcicmd…
Now trying SIGINT…
Now trying SIGKILL…
Unable to stop process ‘meta_1’!
hcienginerun -p meta_1
Engine process ‘meta_1’ is already running.
OK, I deleted this file and finally it shows as “dead”
sheesh.
now to see if I can save anything. Thanks Carlos
I’ve seen this problem a number of times and appears to be due to the process not closing down properly – possibly a Windows thing. This leaves the pid file in the processes directory. I think all the GUI does is check for the presence of this file and if it finds it shows the process as ‘up’ even though it is definitely dead.
I usually check for this file and the cmd_port (in the same directory) if I have this type of problem and delete them once I’ve confirmed using task manager that no hciengine is running for the process.
Regards
Garry
engine will not allow you to let connect to a port that is being referenced by a thread that went down abnormally.
1. You ought to be very cautious on this. I am not familiar on QDX running Win2k.
You need to clean up the engine.
If the issue lies within only one process, you can do the following:
hcilmclear -p This should cleanup the engine at the process level. 2. In the netconfig, go to the thread you were having problems, disable the auto start option and save it. After the cleanup done in step 1, you should be able to start the threads manually. -Reggie-