Sponsored Content
Full Discussion: Unable to Telnet
Top Forums UNIX for Dummies Questions & Answers Unable to Telnet Post 302254272 by vbe on Tuesday 4th of November 2008 04:40:13 AM
Old 11-04-2008
Could be You have a hog opening connections and not closing them properly (and so each connection consumes a new port...)
 

10 More Discussions You Might Find Interesting

1. IP Networking

Unable to telnet into the Sun server

I tried to telnet to my Sun server (E250) but I received the error message : "Network error: Connection reset by peer". I was able to ping my server. And, I had already commented off "CONSOLE=/dev/console" in /etc/default/login. But, if I rlogin from all other servers, it works. Is there... (2 Replies)
Discussion started by: dawn_lwf
2 Replies

2. UNIX for Dummies Questions & Answers

Unable to telnet from SunOS 5.6 Server

:cool: I need some assistance please. I'm setting up a SunOS 5.6 server and sofar I'm able to telnet into the unit but unable to telnet from it. Can anyone help me with this problem. When attempting to telnet from my SunOs to client terminal I'm receving the following error, "Unable to connect to... (3 Replies)
Discussion started by: sharris82
3 Replies

3. HP-UX

Unable to login at console and telnet

Hi friend, I'm facing a problem to access the console and telnet to the HP ux 11 server due to the system file is full. How to access this server via single mode and how to mount the folder / and folder /var? thanks. vestro (1 Reply)
Discussion started by: vestro
1 Replies

4. AIX

Unable to telnet to server

Hi, I encountered error when I telnet to my server. Error is as follows: telnetd: /bin/login: The file access permissions do not allow the specified action I am able to ssh into my server and I have checked/verified /etc/security and /etc/inetd.conf. I restarted the inetd subsystem via... (1 Reply)
Discussion started by: chongkls77
1 Replies

5. Solaris

Unable to telnet

Hi guys, After changing my workstation from domain rsm.renesas.com to my.renesas.local, I was unable to telnet to 1 of our Sun Solaris servers. There r errors in the messages file: Aug 15 17:35:26 rsmsso1.svc.rsm.renesas.com inetd: warning: can't verify hostname:... (12 Replies)
Discussion started by: *Jess*
12 Replies

6. SuSE

Unable to telnet (non-ssh) as root

Hi forum, I face a strange issue. I'm able to telnet as root with ssh. But I'm not able to telnet (non-ssh) as root to my Suse 10 machine. Can someone please point to significant files where I need to make changes for Suse 10 machine and resolve this issue. Thanks in advance. (2 Replies)
Discussion started by: anilgurwara
2 Replies

7. UNIX for Dummies Questions & Answers

Unable to telnet

Hi, I have two linux boxes and due to some reasons I have reinstalled OS in one of them. Now Iam unable to telnet one of them. I have included entries in /etc/hosts in both and Iam able to ping each other. Am I missing anything here or I we need to install/activate telnet server ? Thanks... (2 Replies)
Discussion started by: ssuhaib
2 Replies

8. Shell Programming and Scripting

Unable to close telnet session from script

Hello people, I am creating a script that will alert me in an ftp or telnet account on my system expires. FTP part is ok, but when I am entering the 3 script, it stucks. I can see that the script will not close the telnet seession. Can you please check and let me know what I am doing wrong? What if... (7 Replies)
Discussion started by: drbiloukos
7 Replies

9. Solaris

Unable to Telnet por 143 (IMAP)

Hello. I Need Some Help. I'm trying to telnet the IMAP port (to verify if is open). telnet myserver 143, but im getting this error: Connection closed by foreign host. The /var/log/syslog shows me following: imapd: error: cannot execute /usr/sbin/imapd: No such file or directory netstat... (3 Replies)
Discussion started by: rcruz
3 Replies

10. Shell Programming and Scripting

Unable to automate telnet login

i have to connect windows server from one of the unix box so i am using telnet and below is my following code #!/bin/sh host=hostname log=loginid port=23 pass=password cmd1=mkdir test1234 ( echo open ${host} ${port} sleep 1 echo ${log} sleep 3 echo "\r\n" sleep 3 echo ${pass}... (11 Replies)
Discussion started by: chandan.p
11 Replies
ENDSERVENT(P)						     POSIX Programmer's Manual						     ENDSERVENT(P)

NAME
endservent, getservbyname, getservbyport, getservent, setservent - network services database functions SYNOPSIS
#include <netdb.h> void endservent(void); struct servent *getservbyname(const char *name, const char *proto); struct servent *getservbyport(int port, const char *proto); struct servent *getservent(void); void setservent(int stayopen); DESCRIPTION
These functions shall retrieve information about network services. This information is considered to be stored in a database that can be accessed sequentially or randomly. The implementation of this database is unspecified. The setservent() function shall open a connection to the database, and set the next entry to the first entry. If the stayopen argument is non-zero, the net database shall not be closed after each call to the getservent() function (either directly, or indirectly through one of the other getserv*() functions), and the implementation may maintain an open file descriptor for the database. The getservent() function shall read the next entry of the database, opening and closing a connection to the database as necessary. The getservbyname() function shall search the database from the beginning and find the first entry for which the service name specified by name matches the s_name member and the protocol name specified by proto matches the s_proto member, opening and closing a connection to the database as necessary. If proto is a null pointer, any value of the s_proto member shall be matched. The getservbyport() function shall search the database from the beginning and find the first entry for which the port specified by port matches the s_port member and the protocol name specified by proto matches the s_proto member, opening and closing a connection to the database as necessary. If proto is a null pointer, any value of the s_proto member shall be matched. The port argument shall be in network byte order. The getservbyname(), getservbyport(), and getservent() functions shall each return a pointer to a servent structure, the members of which shall contain the fields of an entry in the network services database. The endservent() function shall close the database, releasing any open file descriptor. These functions need not be reentrant. A function that is not required to be reentrant is not required to be thread-safe. RETURN VALUE
Upon successful completion, getservbyname(), getservbyport(), and getservent() return a pointer to a servent structure if the requested entry was found, and a null pointer if the end of the database was reached or the requested entry was not found. Otherwise, a null pointer is returned. ERRORS
No errors are defined. The following sections are informative. EXAMPLES
None. APPLICATION USAGE
The port argument of getservbyport() need not be compatible with the port values of all address families. The getservbyname(), getservbyport(), and getservent() functions may return pointers to static data, which may be overwritten by subsequent calls to any of these functions. RATIONALE
None. FUTURE DIRECTIONS
None. SEE ALSO
endhostent() , endprotoent() , htonl() , inet_addr() , the Base Definitions volume of IEEE Std 1003.1-2001, <netdb.h> COPYRIGHT
Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1, 2003 Edition, Standard for Information Technol- ogy -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between this version and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html . IEEE
/The Open Group 2003 ENDSERVENT(P)
All times are GMT -4. The time now is 10:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy