- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: telnet error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 03:21 AM
03-03-2004 03:21 AM
ex., telnet
from a Hp-UX box.. i get an error as "Parameter Not Set" why is it?? same thing runs from other hp-ux box.
Ganesh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 03:25 AM
03-03-2004 03:25 AM
Re: telnet error
Run the following on the system to which you were telneting
netstat -an | grep 80
Is there anything listening on port 80 like a webserver or something? I suspect you tried to telnet to a port in use & got that response from whatever was listening.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 03:26 AM
03-03-2004 03:26 AM
Re: telnet error
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 03:29 AM
03-03-2004 03:29 AM
Re: telnet error
Yes there is a webserver running in the destination server on port 80. Also the same command works from other 2 machines..
Mark,
Same result for ip address also..
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 03:35 AM
03-03-2004 03:35 AM
Re: telnet error
The web server should be downing an error in the error_log file
if its apache that's the name.
It would appear to be web server configuration or permissions on the html doc. You should get a message like this.
Attaching a sample run.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 03:35 AM
03-03-2004 03:35 AM
Re: telnet error
# cat /etc/services | grep telnet
Find out the port where telnet is running (default port is 23) and try again on that port number. As you said, port 80 is used by a web server.
# telnet system_name 23
OR
# telnet system_name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 03:47 AM
03-03-2004 03:47 AM
Re: telnet error
This is a server which we don't own.. so we cannot see the log files.. the message attached were seen when i tried the same command from other machines which were working..
Wilson,
When i try it in the default port
telnet
i get the following error
Trying...
Unable to connect to a server: Error 0
telnet: Unable to connect to remote host: Error 0
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 04:16 AM
03-03-2004 04:16 AM
Re: telnet error
# netstat -an | grep port_number
If the daemon is not running, you won't be able to connect through telnet.
Are you able to connect to the same target system from other servers? If yes, check if any telnet restriction is set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 04:27 AM
03-03-2004 04:27 AM
Re: telnet error
Yes the telnet is running in port 23.. i was able to connect from other servers.. i am checking the permissions now..
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 04:56 AM
03-03-2004 04:56 AM
Re: telnet error
-there is something listening on port 80
-there is no network magic to prevent you from doing so (firewall, etc.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 05:01 AM
03-03-2004 05:01 AM
Re: telnet error
open hostname/ip address.
Post results.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 05:08 AM
03-03-2004 05:08 AM
Re: telnet error
$ telnet
_telnet[6]: 3: parameter not set
another server
$telnet
telnet> open
Trying...
Unable to connect to a server: Error 0
telnet: Unable to connect to remote host: Error 0
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 05:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 05:23 AM
03-03-2004 05:23 AM
Re: telnet error
What it returns? It should return /usr/bin/telnet. Seems that it is some script through which you are running telnet.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 05:26 AM
03-03-2004 05:26 AM
Re: telnet error
when i did
/usr/bin/telnet
i got the connection made and got the message from the webserver..
thanks Guys..
Now how will I change it like, if i run telnet it should user /usr/bin/telnet
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 05:26 AM
03-03-2004 05:26 AM
Re: telnet error
I have never seen this error while using telnet.
Do a 'which telnet' and compare the binary against another server. If this is really a binary, run it with 'tusc' and see if you get any hints.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 05:28 AM
03-03-2004 05:28 AM
Re: telnet error
-Sri
PS: no points for either posts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 05:36 AM
03-03-2004 05:36 AM
Re: telnet error
Thanks for all your inputs..
actually when i ran
$type telnet or
$which telnet
i got the path as
/opt/socks/bin/telnet
i think it is the socksified telnet and that is the reason it was not working..
Now how do i change this to /usr/bin/telnet??
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 05:43 AM
03-03-2004 05:43 AM
Re: telnet error
Your /opt/socks/xxx path is first. Correct your path. put /usr/bin before /opt stuff
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2004 05:46 AM
03-03-2004 05:46 AM
Re: telnet error
It worked.
Ganesh