1850317 Members
2802 Online
104054 Solutions
New Discussion

Re: Sessions refused

 
Tonatiuh
Super Advisor

Sessions refused

HP-UX 11.11

Everything was working well on this server. Suddenly it begin to refuse telnet and ftp connections. If I try over and over again, finally I can connect, but get me out later and the same history. I have restarted the server but everything remains in the same way.

C:\>telnet 117.21.216.13
Connecting To 117.21.216.13...Could not open a connection to host on port 23 : Connect failed

Any idea about the problem?
5 REPLIES 5
Sanjay_6
Honored Contributor

Re: Sessions refused

Hi,

Do you see something in the /var/adm/syslog/syslog.log file about why the connection is being refused.

Maybe you are exceeding the limit on the no of telnet session. Does it refuse connection after some time or you are having this problem immediately after reboot also.

Hope this helps.

Regds
Patrick Wallek
Honored Contributor

Re: Sessions refused

Look in /var/adm/syslog/syslog.log and see if the server is logging any errors and post them.
Sridhar Bhaskarla
Honored Contributor

Re: Sessions refused

Hi,

I would see if any of the kernel parameters like nfile/nproc etc., are overflowing and the swap space usage also. sar -v 5 5 for kernel parameters and 'swapinfo -t' for swap space usage. syslog.log/dmesg will also give more information.

-Sri

You may be disappointed if you fail, but you are doomed if you don't try
Tonatiuh
Super Advisor

Re: Sessions refused

The number of users is not reached. It is sometimes with only one user.

I attach the syslog.log.
Sundar_7
Honored Contributor

Re: Sessions refused

From what I found, it looks like you need to remove /etc/utmp and /etc/utmpx files.

# rm /etc/utmp /etc/utmpx

Execute telnet from your own box to the loop back address

# telnet 0

See if this is working.

If not, download tusc from the HP-UX porting center and get a race of telnet and figure out where it is failing

# tusc â flkv â T â %H:%M:%Sâ â o /tmp/output telnet <
Learn What to do ,How to do and more importantly When to do ?