Telnet session disconnects abruptly


 
Thread Tools Search this Thread
Operating Systems SCO Telnet session disconnects abruptly
# 15  
Old 08-16-2015
jgt
Code:
 # uname -X
 System = SCO_SV
Node = service
Release = 5v6.0.0
KernelID = 2008-12-09
Machine = Pent III
BusType = ISA
Serial = 3OC000888
Users = 20
OEM# = 0
Origin# = 1
NumCPU = 4
 #

Code:
 custom
 IMMMMMMMMMMMMMMMMMMM Software Manager (custom) on service MMMMMMMMMMMMMMMMMMM;:ZDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD?::3 Host   Software   View   Options                                    Help 3::@DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDY::                                                                            :: All software on service.AirIdeal.com                                       ::ZDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD?::3*       BackupEDGE for OpenServer 6 (ver 02.03.01)                        3::3        SCO OpenServer Release 6.0.0 (ver 6.0.0Ni)                        3::3        SCO OpenServer Release 6.0.0 Maintenance Pack 4 (ver 1.0.0Ce)     3::3                                                                          3::3                                                                          3::3                                                                          3::3                                                                          3::3                                                                          3::3                                                                          3::3                                                                          3::3                                                                          3::3                                                                          3::3                                                                          3::@<************************************************DDDDDDDDDDDDDDDDDDDDDDDD>Y:: View All                                             Total 3   Selected 1  ::DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD:: The selected software is fully installed.                                  :HMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM<

I have searched the /usr/adm/messages file and do not see the hardware except for the very beginning of the file which is from years ago before I started,
Code:
 WARNING: Integral console keyboard not found. If you are using
the integral console, check the keyboard connection.
Wed Aug  5 10:26:31 2009
 WARNING: svc_start: ss_accept 4
 Aug  5 10:26:31 rpcbind: Terminating on signal. Restart with rpcbind 
Wed Aug  5 10:29:22 2009
ing up.  Please wait.
 
NOTICE: megasas: 00.00.03.05 Mon Oct 02 11:21:32 PDT 2006
0:0,127,0: HBA          : (megasas,1) LSI MegaRAID3.01
  0,8,0: SES          : DP      BACKPLANE       1.05
  1,127,0: HBA          : (megasas,1) LSI MegaRAID3.01
  2,127,0: HBA          : (megasas,1) LSI MegaRAID3.01
  2,0,0: DISK         : DELL    PERC 5/i Adapter1.03
  3,127,0: HBA          : (megasas,1) LSI MegaRAID3.01
  V3.04 (adpu320,1) Adaptec Ultra320 SCSI: Bus 5, Device 12:0,7,0: HBA          : (adpu320,1) Adaptec Ultra320
  0,2,0: TAPE         : SEAGATE DAT    DAT72-052A16E
  V3.04 (adpu320,2) Adaptec Ultra320 SCSI: Bus 5, Device 13:0,7,0: HBA          : (adpu320,2) Adaptec Ultra320
 NOTICE: IDE: DMA enabled(Mode = ULTRA DMA 5) for Drive0 at 0xAC98
 1:0,2,0: HBA          : (ide,1) Generic IDE/ATAPI
  0,0,0: CDROM        : HL-DT-STDVD-ROM DH10N   0D09
  1,2,0: HBA          : (ide,1) Generic IDE/ATAPI
 NOTICE: IPsec: Initialized Security Association Processing.
Aug  5 10:29:22 sco_pmd[982]: PMD started - PID 983
Aug  5 10:29:22 sco_pmd[983]:     Please register your SCO software products now by accessing
Aug  5 10:29:22 sco_pmd[983]:     Xinuos Inc. | Support | Xinuos Product Registration.
Aug  5 10:29:22 sco_pmd[983]:     SCO Product Registration provides you with many important
Aug  5 10:29:22 sco_pmd[983]:     benefits, including access to Technical Support (if you have
Aug  5 10:29:22 sco_pmd[983]:     purchased a license with bundled support) and information on new
Aug  5 10:29:22 sco_pmd[983]:     maintenance, products, services and special promotions.
Aug  5 10:29:22 sco_pmd[983]:     Registering software products is also an important part of
Aug  5 10:29:22 sco_pmd[983]:     controlling software piracy, which helps reduce overall costs
Aug  5 10:29:22 sco_pmd[983]:     of software products.
Aug  5 10:29:22 sco_pmd[983]:     You may use SCO's online help facility for information on how
Aug  5 10:29:22 sco_pmd[983]:     to use the License Manager utility to register your software products.
device    address vec dma  comment
-------------------------------------------------------------------------------
%bcme0    -   22   -  chip=BCM5721 mem=FE3F0000 addr=00:22:19:d7:56:66
 NOTICE: bcme0 (slot:0 port:1): NIC Link is Up 100Mbps half duplex
synchutmp (Aug  5 10:29:27 pid/ppid 1111/1): truncating /var/adm/wtmpx to an exact number of records 5572-364
Wed Aug  5 10:29:29 2009

is there a way to get this information from today?
The NIC card still has the Same MAC address.

I also see the following information from the messages file
Code:
 -------------------------------------------------------------------------------
%bcme0    -   16   -  chip=BCM5721 mem=FE3F0000 addr=00:22:19:d7:56:66
Aug  6 09:43:35 prngd[1117]: prngd 0.9.29 (12 Jul 2004) started up for user root
Aug  6 09:43:35 prngd[1117]: have 7 out of 2048 filedescriptors open
 Aug  6 09:43:37 NOTICE: bcme0 (slot:0 port:1): NIC Link is Up 100Mbps full duplex, receive  & transmit flow control ON
 UX:psradm: INFO: At 08/06/15 09:43:38, 1 was brought on-line.
UX:psradm: INFO: At 08/06/15 09:43:40, 2 was brought on-line.
 ex, receive  & transmit flow control ON
                     UX:psradm: INFO: At 08/06/15 09:43:42, 3 was brought on-line.
 ex, receive  & transmit flow control ON
                                                                                   Aug  6 09:44:13 prngd[1629]: prngd 0.9.29 (12 Jul 2004) started up for user root
Aug  6 09:44:13 prngd[1629]: have 7 out of 2048 filedescriptors open
Aug  6 09:44:13 sshd[1699]: error: Bind to port 22 on :: failed: Network is unreachable.
Aug  6 09:44:13 sshd[1699]: Server listening on 0.0.0.0 port 22.

---------- Post updated at 10:57 AM ---------- Previous update was at 10:50 AM ----------

sorry about the "custom" formatting.
Here it is again
Code:
 IMMMMMMMMMMMMMMMMMMM Software Manager (custom) on service MMMMMMMMMMMMMMMMMMM;
 :ZDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD?
 ::3 Host   Software   View   Options                                    Help 3:
 :@DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDY:
 :                                                                            :
 : All software on service.xxxxxxxxx.com                                       :
 :ZDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD?:
 :3*       BackupEDGE for OpenServer 6 (ver 02.03.01)                        3:
 :3        SCO OpenServer Release 6.0.0 (ver 6.0.0Ni)                        3:
 :3        SCO OpenServer Release 6.0.0 Maintenance Pack 4 (ver 1.0.0Ce)     3:
 :3                                                                          3:
 :3                                                                          3:
 :3                                                                          3:
 :3                                                                          3:
 :3                                                                          3:
 :3                                                                          3:
 :3                                                                          3:
 :3                                                                          3:
 :3                                                                          3:
 :3                                                                          3:
 :@<************************************************DDDDDDDDDDDDDDDDDDDDDDDD>Y:
 : View All                                             Total 3   Selected 1  :
 :DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD:
 : The selected software is fully installed.                                  :
 HMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM<

---------- Post updated at 11:00 AM ---------- Previous update was at 10:57 AM ----------

Thank you edfair,
I have a separate DHCP Server running on the Cable router providing addresses for all of the devices, wired and wireless. Are you suggesting setting up a DHCP range for the wireless devices and setting the wired device which require Telnet access to static?
# 16  
Old 08-16-2015
Earlier versions of the OS created and appended the hardware discovery information to the messages file on every boot. I suspect that this is an issue you should look at some time in the future as it is the start of most diagnostic routines. (I assume you have rebooted since 2009)

I had mentioned going static with the terminals as something I had done in my installations. It makes network diagnostics somewhat easier.
# 17  
Old 08-16-2015
@Ed, version 6.0.0 does not display the same startup screen as Openserver 5, and that same information is not recorded in /usr/adm/messages.
Sean, you should download and install some additional patches.
OSS711E, OSS714A, P535239A,P535243B.
These are all available at Xinuos, Inc. | Support | Update | Download | Product
There may be others that are also useful (network drivers, hba.)
# 18  
Old 08-16-2015
jgt
Thank you. I will look into these. I just wonder why after having worked for about a month why it stopped and started disconnecting randomly. Being in IT I know anything, especially a bug in software and rear it ugly head at anytime, but it still perplexes me.
I do see several TCP retransmissions and the Users computers send a TCP RST in wireshark just before every session is disconnected, and so maybe new drivers and updates will help. I will have to check with the Developer that created the proprietary database software as I don't want to completely stop what access they have now. Working on a 20 year old machine and hard drives causes anxiety. I hope that will correct the issue, I should know in a couple of days and will post progress.
All of the help and suggestions are greatly appreciated
# 19  
Old 08-24-2015
To all.
I still need your help on this one.
My apologies on the delay, but I needed to get approval to load the SCO fixes as listed by jgt but this was completed on Friday August 21st and as of today the issue happened again. My user was connected via telnet into the server working in the database application an suddenly they just get disconnected. Depending on what terminal emulation program they are using they see "telnet session terminated" on the screen or the entire screen just disappears. Again this depends on how the terminal emulation program responds to being disconnected. Any help, ideas or suggestions would be greatly appreciated.
# 20  
Old 08-24-2015
Can you try the following demontstration.
Code:
#cd /tmp
#l t
***you should get a error message saying that t does not exist.
#cat >t <<EOF
echo Goodbye World
EOF
#chmod +x t
#./t
  **you should see "Goodbye World"
#exec ./t

The telnet session disappears.
Can you determine how the application code is started?
Code:
#grep username /etc/password

The output shows the user, uid,groupid,name, home directory, and shell. Separated by colons.
Is the home directory the same for all users.
Is the shell, a common shell (sh,ksh,bash,rksh) or is it the application program?
If it is not the application program, what are the last several lines of the user's .profile (this is a file called .profile in the user's home directory.)
Before trying anything we should know if all users share a common home directory.
Code:
#cd /etc
#less passwd
you can use <pgdn> and <pgup> to view, and type q at the : prompt to quit.

# 21  
Old 08-24-2015
jgt,
Thank you again for the help. I now understand how the program is being started thanks to you training script and the exec command.
I can see that the application is initiated through the user's .profile using the exec command
if I try a
Code:
 #grep username /etc/password

I get
Code:
 grep: cannot open file /etc/password for reading: No such file or directory (error 2)

But I can see that in /etc/passwd
Code:
 username:x:102:50::/u/username:/bin/sh

Every user has their own home directory, and the shell is common
Here is a .profile
Code:
 #
# this is .profile that we use to assign WPTERM variable
#
ABE=ASCII
SHELL=/bin/sh
PATH=/bin:/usr/bin:/etc:/usr/lib:/u/appl/fp:/u/softa/bin:/u/myprog:/usr/sys/conf:/u/wp51/wpbin:/u/wp51/shbin
HOME=/
HZ=50
pp=/u/appl/fp
on=/u/appl/filepro
pf=/u/appl/filepro
up=/updates/u/appl/filepro
sd=/u/softa/bin
mp=/u/myprog
if [ "$TERM" = dialup ]
then
:
echo To use multiscreens - type in '"mscreen -n 4"', use  Alt 1-Alt 4 keys
echo
fi
if   test "$TERM" = dialup -o "$TERM" = unknown
   then
       eval `tset -m :\?${TERM:-ansi} -e -s -r -Q`
fi
if   test "$TERM" = wyse50 -o "$TERM" = wy50
   then
       WPTERM=wyse50
elif   test "$TERM" = wyse60 -o "$TERM" = wy60
   then
       WPTERM=dejaA25
elif test "$TERM" = ansi
   then
 case `tty` in
  /dev/tty[01][0-9]) WPTERM=scoconscol ;;
  /dev/ttyv*) WPTERM=scoconscol ;;
  *) WPTERM=dejaA25 ;;
 esac
elif test "$TERM" = vt100
   then
       WPTERM=vt102
fi
PFTOKSIZE=130000
ver_number=3
export ABE SHELL PATH HOME TERM HZ pp pf sd on WPTERM PFTOKSIZE ver_number mp
getcolor  # optional color for color screens
umask 0000
exec mz gmain

I can see the "exec mz gmain" and when I run that command after I SSH into the box to the command prompt I get right to the application main menu.
I am not clear on the if then else statements but do know that I set the terminal emulator program to use term type as "ansi"
Does this help at all?
Thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

How do I keep an X session alive when my VPN/ssh disconnects so I can reconnect later?

Hi, Sorry if this question has been asked before, however, I have tried looking in the forum (and google in general) and I haven't found an answer, so I thought I'd ask here. I am trying to use a GUI application in Solaris 10. Normally I connect with a VPN then SSH and use Xming to... (2 Replies)
Discussion started by: John_sp
2 Replies

2. HP-UX

ssh session getting hung (smilar to hpux telnet session is getting hung after about 15 minutes)

Our network administrators implemented some sort of check to kill idle sessions and now burden is on us to run some sort of keep alive. Client based keep alive doesn't do a very good job. I have same issue with ssh. Does solution 2 provided above apply for ssh sessions also? (1 Reply)
Discussion started by: yoda9691
1 Replies

3. AIX

Telnet disconnects on handheld device AIX

I have intermec handheld device which is connecting to AIX Server on port 12431 or whatever. ( oracle application ) The handheld device connects for few seconds and then disconnects from the AIX server. Once it disconnects the handheld device automatically switches off. Are there any... (2 Replies)
Discussion started by: filosophizer
2 Replies

4. UNIX for Dummies Questions & Answers

Telnet Session to AIX

Hello, I have AIX 5.3 at home connected to netgear router. Port Forwarding has been enabled on the router. Problem is that if I want to telnet, I have to try 2 or 3 times before I can get a logon prompt. It times out for first or second time (Connection to session <IP_Address> failed: Connection... (1 Reply)
Discussion started by: bluebee
1 Replies

5. AIX

aix telnet disconnects

We're having problems getting disconnected from AIX with our telnet sessions. I can't ping the server when this happens, either. Other serves can be pinged at the same time. This happens both at unix and within the database. Database locks remain when editing files. unix logins remain after... (0 Replies)
Discussion started by: e1lyons
0 Replies

6. UNIX for Dummies Questions & Answers

Unix Telnet session

Hi Is there any way whilst in a telnet session you can view your client machine name that you are using to connect to the Unix box ? :eek: (2 Replies)
Discussion started by: mlucas
2 Replies

7. Shell Programming and Scripting

Telnet Session

{ sleep 2 echo "$user" sleep 2 echo "$password" sleep 2 echo " ls" sleep 10 echo "exit" }| telnet $server I have a machine x and i have executed the above script on machine 'x'. i entered the... (6 Replies)
Discussion started by: pathanjalireddy
6 Replies

8. Shell Programming and Scripting

Telnet session does not expire

Dear friends.. Our project has a module that runs on handheld devices. Through the handheld we telnet to solaris where the application actually runs. I noticed that after starting a session through the handheld, if i go out of range or if i remove and replace the battery in the handheld, the... (1 Reply)
Discussion started by: deepsteptom
1 Replies

9. UNIX for Dummies Questions & Answers

telnet session timeout

hi, we can set something such that if the user has been idle for a while, it will auto disconnect. where to do so? thanks (6 Replies)
Discussion started by: yls177
6 Replies
Login or Register to Ask a Question