Sponsored Content
Operating Systems Solaris "Connection closed by foreign host error" in Solaris 10 Post 302729241 by kraljic on Friday 9th of November 2012 11:12:43 AM
Old 11-09-2012
In the target (192.168.0.179) , I am running a process called mgr which is part of an application called Golden Gate.
mgr process seems to have some issue holding on to this port.

I tried running another process (Oracle DB listener) on the same port 2012. This time the it hung for about 40 seconds and I got
Connection closed by foreign host error without hitting Ctrl+C

Code:
 $ telnet 192.168.0.179 2012
 Trying 192.168.0.179...
 Connected to 192.168.0.179.
 Escape character is '^]'.            ----------------------> hung for about 40 seconds and then received the below error without the need for Ctrl+C
 Connection to 192.168.0.179 closed by foreign host.


Both processes (mgr and lsnr) are run by the same OS user called oracle.

---------- Post updated at 11:12 AM ---------- Previous update was at 11:09 AM ----------

Since this is just a home based VM setup created for testing, I would like to disable all security/filter features in Solaris.
 

10 More Discussions You Might Find Interesting

1. Cybersecurity

"421 service not available, remote server has closed connection."?

"421 service not available, remote server has closed connection." I tried to do ftp to one of the unix server . ftp hostname password It get connects when i do any command it throws error ftp> ls "421 service not available, remote server has closed connection." (1 Reply)
Discussion started by: vishaldsh
1 Replies

2. UNIX for Dummies Questions & Answers

ssh_exchange_identification: Connection closed by remote host Connection closed

Hi Everyone, Good day. Scenario: 2 unix servers -- A (SunOS) and B (AIX) I have an ftp script to sftp 30 files from A to B which happen almost instantaneously i.e 30 sftp's happen at the same time. Some of these sftp's fail with the following error: ssh_exchange_identification: Connection... (1 Reply)
Discussion started by: jeevan_fimare
1 Replies

3. UNIX for Advanced & Expert Users

"Connection closed by remote host" while doing ssh to a solaris box

Hi All, When i try to do ssh from a linux to solaris box its throughing "Connection closed by remote host". Please not that this error is not occuring every time i do ssh, it occurs at random timing( Mostly ssh is successful) - unfortunately my script which is doing ssh is falling at this time... (4 Replies)
Discussion started by: pkumar7
4 Replies

4. Shell Programming and Scripting

shell script/telnet - Remove/Control "Connection closed by foreign host"

How do I gain control of the "Connection closed by foreign host" message telnet yields when you connect to it in a shell script? I'm using the output: #!/usr/local/bin/bash count=$(ping -c 1 $1 | grep 'received' | awk -F',' '{ print $2 }' | awk '{ print $1 }') if ; then echo "$1 PING "... (2 Replies)
Discussion started by: phpfreak
2 Replies

5. Solaris

"Connection closed by" error

OS: Solaris 8 Sparc server1:userA:/home/userA# ssh userB@server1 Connection closed by < IP address> Problem: From being a userA, I am unable to connect/ssh to the same server as when trying to use a different account. (userB) Do you know where can i start checking? Here are some... (3 Replies)
Discussion started by: hrist
3 Replies

6. HP-UX

Connection closed by foreign host

I am trying to connect to my HP server from remote machine. It gets connected but once credential are provided the connection is closed. adroit:/home/seo/hitendra 32 ] telnet myserv1 Trying... Connected to myserv1. Escape character is '^]'. Local flow control on Telnet TERMINAL-SPEED... (4 Replies)
Discussion started by: hiten.r.chauhan
4 Replies

7. Red Hat

Connection closed by host error in rhel 6 Linux

Hi All, I am new to Redhat Enterprise Linux 6 version. I am facing an issue with my lab server which is having RHEL6 lab1:root> uname -a Linux lab1 2.6.32-358.18.1.el6.x86_64 #1 SMP Fri Aug 2 17:04:38 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux I am getting this error for every 18 minutes 30... (0 Replies)
Discussion started by: go2suresh1979
0 Replies

8. Shell Programming and Scripting

Telnet Bash Script (Connection closed by foreign host.)

Hello Everyone, My following script is giving me problems, when the SIP trunk goes down and the telnet session is started and just when the command is about to complete the connection is closed then script restarts. I have noticed that as soon the script types in "sys re" or "sys rebo" or... (6 Replies)
Discussion started by: jeetz
6 Replies

9. Shell Programming and Scripting

Telnet error- Escape character is '^]' and connection closed by foreign host

In program, I want to telnet the ports present in telnet.txt file and capture screenshot of open port which is opened on new terminal. Problems: Escape character is '^]' and Connection closed by foreign host. Loop is not working properly. It only take one ports and closed the connection. ... (9 Replies)
Discussion started by: sk151993
9 Replies

10. UNIX for Beginners Questions & Answers

Telnet in script Connection closed by foreign host

Hello, I'm trying to learn and automate some tasks via a script, but my first ever script failed with "connection closed by foreign host" error. I checked the other discussions but it didn't help. Could you please help? #!/bin/bash ( sleep 2 echo open x.x.x.x 23 sleep 2 echo user sleep 2... (1 Reply)
Discussion started by: Myrtle
1 Replies
KNOCKER(1)						      General Commands Manual							KNOCKER(1)

NAME
knocker - An easy to use network security port scanner SYNOPSIS
knocker --host <host> [OPTION] DESCRIPTION
knocker is a simple and easy to use TCP security port scanner written in C using pthreads which is able to analyze hosts and all of the different services started on them. OPTIONS
-H, --host host name or numeric Internet address to scan -P, --port port number to scan (single port scan only) -SP, --start-port port number to begin the scan from -EP, --end-port port number to end the scan at --last-host uses the last scanned host as target --last-scan performs again the last port scan -q, --quiet disable console output and logs to file. -lf, --logfile <logfile> log the results to a specified file. -nf, --no-fency disable fency output -nc, --no-colors disable colored output --configure let the user configure knocker -h, --help display this help and exit -v, --version output version information and exit EXAMPLES
To run this program the standard way type: knocker --host 192.168.0.1 If you want to specify a port range to scan: knocker --host thehost --start-port 1 --end-port 2600 or knocker -H thehost -SP 1 -EP 2600 To scan a single port: knocker -H thehost --port 21 To run this program not using colors (if your terminal does not support colors): knocker --host 192.168.0.1 --no-colors To run this program run in background and have the results written in a log file: knocker --host 192.168.0.1 --quiet & AVAILABILTY
The latest version of this program can be found at http://knocker.sourceforge.net BUGS
See the BUGS file in the knocker source package for a list of known bugs. Report bugs to <g.gabriele79@genie.it> AUTHOR
knocker is written by Gabriele Giorgetti <g.gabriele79@genie.it> COPYRIGHT
Copyright (C) 2001,2002 Gabriele Giorgetti This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. MAY 24, 2002 KNOCKER(1)
All times are GMT -4. The time now is 04:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy