fail to telnet localhost 106


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu fail to telnet localhost 106
# 1  
Old 12-16-2007
fail to telnet localhost 106

Hi folks,


Ubuntu 7.04 server amd64


On running;

$ telnet localhost 106
Code:
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 the problem. TIA


P.S.
1)
confirmed with ISP port 106 is open

2)
I'm adding "change password" plugin on SquirrelMail. After installing poppassd on repo I tested it whether works according to /usr/local/squirrelmail/www/plugins/change_pass/INSTALL
Code:
Be sure to test and make certain your poppass daemon is working properly.
To test, try telneting into the daemon and changing a password:

$ telnet localhost 106
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 poppassd v1.8.1 hello, who are you?
user <username>
200 Your password please.
pass <oldpassword>
200 Your new password please.
newpass <newpassword>
200 Password changed, thank-you.
quit
200 Bye.
Connection closed by foreign host.


B.R.
satimis
# 2  
Old 12-16-2007
It seems that you poppass daemon is not started, or not installed. Make sure that you have all the dependencies for the plugin installed, including the poppass(d) package for your underlying mail server.

For eample fout courier:

Code:
#apt-cache search courierpassd
courierpassd - Change courier user passwords using poppassd interface

# 3  
Old 12-16-2007
Quote:
Originally Posted by reborg
It seems that you poppass daemon is not started, or not installed. Make sure that you have all the dependencies for the plugin installed, including the poppass(d) package for your underlying mail server.

For eample fout courier:

Code:
#apt-cache search courierpassd
courierpassd - Change courier user passwords using poppassd interface

I have this package installed;

$ apt-cache policy courierpassd
Code:
courierpassd:
  Installed: 1.1.2-1
  Candidate: 1.1.2-1
  Version table:
 *** 1.1.2-1 0
        500 http://us.archive.ubuntu.com feisty/universe Packages
        100 /var/lib/dpkg/status

The problem is caused after removeing xinitd.

$ sudo apt-get remove xinetd


Remark: have "netkit-inetd" reinstalled.


Before I have another problem when xinetd was running;
Code:
$ telnet localhost 106
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
Connection closed by foreign host.

I can't proceed further. Please help


satimis
# 4  
Old 12-16-2007
try reconfiguring the poppassd package
Code:
sudo dpkg-reconfigure courierpassd

# 5  
Old 12-16-2007
Quote:
Originally Posted by satimis
$ sudo apt-get remove xinetd
You would need to go through all the services that were previously managed by xinetd, check if they are still needed and support them by some other mechanism, or reenable xinetd.

What was the problem with xinetd?

There is no problem having both xinetd and inetd active as long as they are each managing different ports/services.
# 6  
Old 12-16-2007
Quote:
Originally Posted by reborg
try reconfiguring the poppassd package
Code:
sudo dpkg-reconfigure courierpassd

$ sudo dpkg-reconfigure courierpassd
No response

satimis
# 7  
Old 12-16-2007
Quote:
Originally Posted by porter
You would need to go through all the services that were previously managed by xinetd, check if they are still needed and support them by some other mechanism, or reenable xinetd.

What was the problem with xinetd?

There is no problem having both xinetd and inetd active as long as they are each managing different ports/services.
I failed to make "change password" work on SM. Therefore I removed xinetd to check whether it is its problem. I did not find problem on running xinetd other thand "change password" on SM. I can reinstall this package.

satimis
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Telnet failed to localhost.

Hi, I am trying telnet to localhost 514. But the connection is refusing. Port does not appear in netstat. IP table service is also off. (5 Replies)
Discussion started by: Nishit
5 Replies

2. 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

3. Linux

Telnet fail

Hi, I try to telnet to server: # 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: # service iptables status Firewall is stopped. # And I have edit... (4 Replies)
Discussion started by: mehrdad68
4 Replies
Login or Register to Ask a Question