Sponsored Content
Full Discussion: Telnet fail
Operating Systems Linux Telnet fail Post 302769082 by mehrdad68 on Monday 11th of February 2013 06:40:19 AM
Old 02-11-2013
Telnet fail

Hi,
I try to telnet to server:

[root@myserver ~]# telnet xx.xxx.1.72 1521
Trying xx.xxx.1.72...
telnet: connect to address xx.xxx.1.72: Connection refused
telnet: Unable to connect to remote host: Connection refused

iptables is off:

[root@myserver ~]# service iptables status
Firewall is stopped.
[root@myserver ~]#

And I have edit /etc/xinetd.d/telnetd and changed disable to no and restart "/etc/rc.d/init.d/xinetd restart".

[root@myserver ~]# netstat --numeric-ports -l | grep 1521
tcp 0 0 myserver.krb5.dax.net:1521 *:* LISTEN
[root@myserver ~]#

any idia?

Kind Regards
Me
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Mail fail

I am using the shell script file to send mail by "mailx". I do this by cron job, there is no error found. But it is fail, any suggest to me? How can I resend it automatically? Is there any resend logic by using the mailx? (3 Replies)
Discussion started by: adela
3 Replies

2. Ubuntu

fail to telnet localhost 106

Hi folks, Ubuntu 7.04 server amd64 On running; $ telnet localhost 106 Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused $ netstat -an | grep 106 $ sudo netstat -an | grep 106 both no printout Pls advise where shall I check and how to fix... (22 Replies)
Discussion started by: satimis
22 Replies

3. Shell Programming and Scripting

Webpage to Telnet via Perl and Expect: Telnet problem?

Somewhat long story: I have a simple Perl CGI script that uses Expect to Telnet to a device and grab some data, and then spits it back to Perl for display on the Webpage. This works for many devices I've tried, but one device just fails, it keeps rejecting the password on this device, only... (1 Reply)
Discussion started by: jondo
1 Replies

4. Shell Programming and Scripting

Rename fail

I've a lot of file with an hyphen on filename, so I use rename for remove him ad substitute with an underscore but it fails $ rename 's/\-/\_/' * Unknown option: _ Unknown option: i Unknown option: r Unknown option: e Unknown option: e Unknown option: _ Unknown option: g Unknown... (12 Replies)
Discussion started by: cv313x
12 Replies

5. AIX

en0 fail to up.

This is a LPAR that i created earlier. I want to set an IP address to en0 but it failed. Command: failed stdout: yes stderr: no Before command completion, additional instructions may appear below. en0 devdbm01 inet0 changed Method error (/usr/lib/methods/chgif): ... (8 Replies)
Discussion started by: wingcross
8 Replies

6. UNIX for Dummies Questions & Answers

Automatically login in the telnet from present telnet

Hi, I was writing one script which includes to switch to the another telnet automatically from the present telnet server. I was using rlogin but firstly it takes the same user name of the present telnet and secondly it is prompting for the password. But i want to switch to the another telnet... (2 Replies)
Discussion started by: Prateek
2 Replies

7. Shell Programming and Scripting

Why does my test fail ??

Hello, I am stuck... i dunno why does my test fail... any idea ? #!/bin/bash dos2unix info.txt Distor=Distributeur LINE=$(cat info.txt | sed -n 1p) echo $LINE echo $Distor echo "" echo "123-$LINE-123" echo "123-$Distor-123" if ; then LINE2=$(cat info.txt | sed -n 2p) echo $Distor... (14 Replies)
Discussion started by: patx
14 Replies

8. UNIX for Dummies Questions & Answers

Difference Between Krb5-telnet And Ekrb5-telnet

Hi, I want to know the difference between these two services. Both are under xinetd. Both are used for enabling and disabling Telnet service. So, can somebody please explain me the difference between the two ? Thanks in advance :) (0 Replies)
Discussion started by: kashifsd17
0 Replies

9. Shell Programming and Scripting

If Telnet fail abort other command..??

Hi Team, I my script i telent my node ip and after loging i run some commands...But some time login fail so i want to stop script at that time.. CONFIG_CHNG.sh printf 'Please Input Node ID : ' read node node="$node" #exec > node_log_$node.log 2>&1 #set -x >... (2 Replies)
Discussion started by: Ganesh Mankar
2 Replies

10. Forum Support Area for Unregistered Users & Account Problems

Fail to register

After inputted all required fields in registration page, the below message is shown and cannot go on. A required field called Custom Date & Time Formats is missing or has an invalid value. (2 Replies)
Discussion started by: Unregistered
2 Replies
SMBTORTURE(1)							  [FIXME: manual]						     SMBTORTURE(1)

NAME
smbtorture - Run a series of tests against a SMB server SYNOPSIS
smbtorture smbtorture {//server/share} [-d debuglevel] [-U user%pass] [-k] [-N numprocs] [-n netbios_name] [-W workgroup] [-o num_operations] [-e num files(entries)] [-O socket_options] [-m maximum_protocol] [-L] [-c CLIENT.TXT] [-t timelimit] [-C filename] [-A] [-p port] [-s seed] [-f max_failures] [-X] {BINDING-STRING|UNC} {TEST1} [TEST2] [...] DESCRIPTION
smbtorture is a testsuite that runs several tests against a SMB server. All tests are known to succeed against a Windows 2003 server (?). Smbtorture's primary goal is finding differences in implementations of the SMB protocol and testing SMB servers. Any number of tests can be specified on the command-line. If no tests are specified, all tests are run. If no arguments are specified at all, all available options and tests are listed. Binding string format The binding string format is: TRANSPORT:host[flags] Where TRANSPORT is either ncacn_np for SMB, ncacn_ip_tcp for RPC/TCP or ncalrpc for local connections. 'host' is an IP or hostname or netbios name. If the binding string identifies the server side of an endpoint, 'host' may be an empty string. 'flags' can include a SMB pipe name if using the ncacn_np transport or a TCP port number if using the ncacn_ip_tcp transport, otherwise they will be auto-determined. other recognised flags are: sign enable ntlmssp signing seal enable ntlmssp sealing connect enable rpc connect level auth (auth, but no sign or seal) validate enable the NDR validator print enable debugging of the packets bigendian use bigendian RPC padcheck check reply data for non-zero pad bytes For example, these all connect to the samr pipe: o ncacn_np:myserver o ncacn_np:myserver[samr] o ncacn_np:myserver[\pipe\samr] o ncacn_np:myserver[/pipe/samr] o ncacn_np:myserver[samr,sign,print] o ncacn_np:myserver[\pipe\samr,sign,seal,bigendian] o ncacn_np:myserver[/pipe/samr,seal,validate] o ncacn_np: o ncacn_np:[/pipe/samr] o ncacn_ip_tcp:myserver o ncacn_ip_tcp:myserver[1024] o ncacn_ip_tcp:myserver[1024,sign,seal] o ncalrpc: UNC Format The UNC format is: //server/share OPTIONS
-d debuglevel Use the specified Samba debug level. A higher debug level means more output. -U user%pass Use the specified username/password combination when logging in to a remote server. -k Use kerberos when authenticating. -W workgroup Use specified name as our workgroup name. -n netbios_name Use specified name as our NetBIOS name. -O socket_options Use specified socket options, equivalent of the smb.conf option "socket options". See the smb.conf(5) manpage for details. -m max_protocol Specify the maximum SMB dialect that should be used. Possible values are: CORE, COREPLUS, LANMAN1, LANMAN2, NT1 -s seed Initialize the randomizer using seed as seed. -L Use oplocks. -X Enable dangerous tests. Use with care! This might crash your server... -t timelimit Specify the NBENCH time limit in seconds. Defaults to 600. -p ports Specify ports to connect to. -c file Read NBENCH commands from file instead of from CLIENT.TXT. -A Show not just OK or FAILED but more detailed output. Used only by DENY test at the moment. -C filename Load a list of UNC names from the specified filename. Smbtorture instances will connect to a random host from this list. -N numprocs Specify number of smbtorture processes to launch. -o num_operations Number of times some operations should be tried before assuming they're output is consistent (default:100). -e num_files Number of entries to use in certain tests (such as creating X files) (default: 1000). -f max_failures Number of failures before aborting a test (default: 1). VERSION
This man page is correct for version 4.0 of the Samba suite. SEE ALSO
Samba AUTHOR
This utility is part of the Samba[1] suite, which is developed by the global Samba Team[2]. smbtorture was written by Andrew Tridgell. This manpage was written by Jelmer Vernooij. NOTES
1. Samba http://www.samba.org/ 2. Samba Team http://www.samba.org/samba/team/ [FIXME: source] 04/16/2014 SMBTORTURE(1)
All times are GMT -4. The time now is 12:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy