Loosing connection after authentication


 
Thread Tools Search this Thread
Operating Systems Solaris Loosing connection after authentication
# 1  
Old 04-29-2015
Loosing connection after authentication

Hi!

I am having a problem when logging in on a solaris 10 server, after typing one or two commands, I lose connectivity, with the following message:
Code:
server unexpectedly closed network connection

I have checked the following:

Code:
 grep `uname -n` /etc/inet/hosts /etc/inet/ipnodes
/etc/inet/hosts:190.54.1.60     AIOPTSVR        loghost aioptsvr.mcel.co.mz
/etc/inet/ipnodes:190.54.1.60   AIOPTSVR        loghost aioptsvr.mcel.co.mz

Code:
 more /etc/hostname.e1000g0
190.54.1.60

Code:
 grep -v ^# /etc/defaultrouter
190.54.1.1

Code:
ifconfig e1000g0
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 190.54.1.60 netmask ffff0000 broadcast 190.54.255.255
        ether 0:14:4f:c6:49:1e

Code:
 dladm show-dev e1000g0
e1000g0         link: up        speed: 100   Mbps       duplex: full

Code:
 netstat -rn

Routing Table: IPv4
  Destination           Gateway           Flags  Ref     Use     Interface
-------------------- -------------------- ----- ----- ---------- ---------
default              190.54.1.1           UG        1     550240
10.0.0.0             10.0.0.60            U         1        959 e1000g1
190.54.0.0           190.54.1.60          U         1        405 e1000g0
224.0.0.0            190.54.1.60          U         1          0 e1000g0
127.0.0.1            127.0.0.1            UH       11      12189 lo0

Code:
 netstat -ni -I e1000g0
Name  Mtu  Net/Dest      Address        Ipkts  Ierrs Opkts  Oerrs Collis Queue
e1000g0 1500 190.54.0.0    190.54.1.60    77166417 0     42951194 0     0      0

Code:
egrep '(^hosts|^services)' /etc/nsswitch.conf
hosts:      files
services:   files

Code:
inetadm | grep -v disabled
ENABLED   STATE          FMRI
enabled   online         svc:/application/x11/xfs:default
enabled   online         svc:/application/font/stfsloader:default
enabled   online         svc:/application/print/rfc1179:default
enabled   online         svc:/network/rpc/cde-calendar-manager:default
enabled   online         svc:/network/rpc/cde-ttdbserver:tcp
enabled   online         svc:/network/rpc/gss:default
enabled   online         svc:/network/rpc/smserver:default
enabled   online         svc:/network/rpc/rstat:default
enabled   online         svc:/network/rpc/rusers:default
enabled   online         svc:/network/cde-spc:default
enabled   online         svc:/network/security/ktkt_warn:default
enabled   online         svc:/network/telnet:default
enabled   online         svc:/network/nfs/rquota:default
enabled   online         svc:/network/swat:default
enabled   online         svc:/network/ftp:default
enabled   online         svc:/network/finger:default
enabled   online         svc:/network/login:rlogin
enabled   online         svc:/network/shell:default
enabled   online         svc:/network/rpc-100235_1/rpc_ticotsord:default
enabled   online         svc:/network/stdiscover:default
enabled   online         svc:/network/stlisten:default

I really dont know what else to check, I have done all this checks by connecting to the management port of the chassis,
# 2  
Old 04-29-2015
Is it a production server?
Do you loose connection as root?
Quote:
I have done all this checks by connecting to the management port of the chassis,
As its a long time I am in bed ( and completely disconnected from true UNIX world) I dont remember now if that means you entered by a serial port equivalent, is that so?
# 3  
Old 04-29-2015
Yes its a production server, and yes I am root, but user oracle ha the same issue.

The server (Blade) its located in a chassis, with 6 other blades, so what I did and I can loging fine is to connect to the management port of the chassis, them from there connect to the particular server, once there I can do all the stuff the server will not kick me out

---------- Post updated at 12:32 PM ---------- Previous update was at 10:40 AM ----------

I have issued
Code:
snoop -D

and I had the following results:
Code:
 190.54.1.62 -> AIOPTSVR     drops: 0 TCP D=2049 S=1019 Ack=1829873131 Seq=35650
22256 Len=1460 Win=49640
 190.54.1.62 -> AIOPTSVR     drops: 0 TCP D=2049 S=1019 Push Ack=1829873131 Seq=
3565023716 Len=380 Win=49640
    AIOPTSVR -> 190.54.1.62  drops: 0 TCP D=1019 S=2049 Ack=3565023716 Seq=18298
73131 Len=0 Win=46720
    AIOPTSVR -> 190.54.1.62  drops: 0 NFS R 4 (write       ) NFS4_OK PUTFH NFS4_
OK WRITE NFS4_OK 3115 (ASYNC)
 190.54.1.62 -> AIOPTSVR     drops: 0 NFS C 4 (commit      ) PUTFH FH=7205 COMMI
T at 0 for 8192

the
Code:
drops: 0

indicate what? a drop connection or not?
# 4  
Old 04-29-2015
I'd be suspicious of the network infrastructure rather than the Solaris box.

I'd be tempted to connect a client via a crossover cable directly to the normal network port of the Solaris box and login from there to see whether it is really Solaris that is closing the connection.

What network boxes (eg, switches) are between your users and Solaris? Could the network be faulty? Anyone changed anything very recently?
# 5  
Old 04-29-2015
My number one suspect in this is really the network infraestructure, but the network guys, deny as always...
If I can connect via chassis with no issues (same as connecting directly), I really canīt relate this as solaris problem..
I have no knowledge of what network equipment is between myself (my station) and the server, but I can say that I am on a different network, and but the connectivity I have with that server via the management port of the blade chassis is fine
# 6  
Old 04-29-2015
Well if the system is disconnecting users after only a few seconds then this "production" system is no good to them, is it!! So put a client box on the main network connection (even if you use a mini switch of your own if you haven't got a crossover cable) and test it yourself by-passing the network infrastructure. That will tell you if Solaris is actually kicking people out or not.

You're not dealing with a Mickey Mouse desktop OS here, Solaris runs banks worldwide and is unlikely to be the culprit here. A simple test will prove it or not.

---------- Post updated at 12:48 PM ---------- Previous update was at 12:46 PM ----------

The fact that you can use the management port without getting kicked out doesn't prove the main network port is okay. Connect your own client to the main network port.

---------- Post updated at 12:50 PM ---------- Previous update was at 12:48 PM ----------

And don't forget that you'll have to set your client box to a suitable static ip address.
# 7  
Old 04-29-2015
I have done what you suggested, I have configured my laptop with the same IP of the server, connect and no ISSUES!!!
what next??
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

Samba loosing SID UID mapping

Hi all, I don't know how many times I've setup samba shares, but... It's been a while since the last time. The SID UID maps used to always seem random. I.E. if I had to move the data to another box, I'd have to note all of the SID / UID relations and write scripts to convert them on the new... (0 Replies)
Discussion started by: mph
0 Replies

2. Solaris

Solaris 10 ftp connection problem (connection refused, connection timed out)

Hi everyone, I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies

3. UNIX Desktop Questions & Answers

X11 connection rejected because of wrong authentication

I have two Solaris 10 systems, A and B, both of which share home directories via NFS (served from a 3rd, Linux, machine). User names, uids, and home directories are identical when the same user has accounts on both Solaris 10 machines. When I run ssh -X user@A from my home machine, I can easily... (0 Replies)
Discussion started by: WolfyPDX
0 Replies

4. Homework & Coursework Questions

Loosing formatting when echoing an awk script

1. The problem statement, all variables and given/known data: When I echo out the output of my awk script I loose the formatting that I set in my awk script (it should be in a table format). 2. Relevant commands, code, scripts, algorithms: 3. The attempts at a solution (include all... (2 Replies)
Discussion started by: ROFL
2 Replies

5. SCO

SCO box loosing network connection

Hello, We have a SCO box running OpenServer 5.0.5. This has our business software on it (15 users connecting via terminal emulator (ansio lite)) which has been running for about 12-15yrs strong! Within the past 6-8 months, at random times of the day, we've been loosing connection to this box. ... (8 Replies)
Discussion started by: rpcbrielle
8 Replies

6. What is on Your Mind?

You know your on the brink of loosing it when.....

you spend an entire day with scripting nightmares and go to bed real late in the early morning hrs to wake up to your gf asking you a question and your only answer is "It's in the script" LMAO Happened to me this morning would you believe that?? My daughter is 10yrs old and my gf wanted to check... (3 Replies)
Discussion started by: phpfreak
3 Replies

7. Programming

Loosing signals even with sigqueue

Hi everyone, I have a process that forks many times.At a random time point the children must send a SIGUSR1 to the parent.To do that I'm using a pair of sigaction & sigqueue.However many signals are getting lost. Here are some code segments: a)sigaction sigset_t mask_set; /* used to set a... (12 Replies)
Discussion started by: jonas.gabriel
12 Replies

8. Shell Programming and Scripting

replace ascii chars without loosing it.

Hi, Can some one tell, how to replace ascii non printable TAB from the while to something, then later on replace it back to TAB. Basciallz we do bulk data processing, our processin treats TAB as new field , So I thought we can replace it with something and later on revert it. TIA (4 Replies)
Discussion started by: braindrain
4 Replies

9. UNIX for Dummies Questions & Answers

How to install FreeBSD without loosing my data?

hi. I am newbie in Unix. I wanted to install Free BSD 5.2.1 to my computer which winXp was already installed. But i couldn't. I chose Standard. Then it said you are going to use dos style fdisk partitioning. Then a window displayed begining like this. WARNING: A geometry of 155127/16/63 for... (0 Replies)
Discussion started by: sualcavab
0 Replies

10. UNIX for Dummies Questions & Answers

Linux without loosing Win9x

If you wan't to try Linux but don't want to lose Micro$oft Win, 3 basic options. You can buy a new Disk ( wich aren't as expensive as they were) and install it there. You can partition your disk so that you'll be able to boot under win or linux. Or you can run VMware, wich is a great Virtual... (2 Replies)
Discussion started by: merlinpr
2 Replies
Login or Register to Ask a Question