This is a discussion on fail to telnet localhost 106 within the Mail Servers forums, part of the Mastering Servers category; Hi folks, Ubuntu 7.04 server amd64 On running; $ telnet localhost 106 Code: Trying 127.0.0.1... telnet: Unable to connect to ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
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 $ 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. satimis |
| Sponsored Links | ||
|
|
|
||||
|
Can you paste output of the following command?
Code:
sudo netstat -tulpn Code:
sudo /etc/init.d/openbsd-inetd restart Code:
sudo iptables -L -n
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
|
|||
|
Quote:
Password: Code:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Progra
m name
tcp 0 0 0.0.0.0:20000 0.0.0.0:* LISTEN 5226/perl
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 4652/mysqld
tcp 0 0 0.0.0.0:8333 0.0.0.0:* LISTEN 5136/httpd.
vmware
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 5230/perl
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 5128/apache
2
tcp 0 0 192.168.213.1:53 0.0.0.0:* LISTEN 4507/named
tcp 0 0 172.16.77.1:53 0.0.0.0:* LISTEN 4507/named
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 5018/proftp
d: (acce
tcp 0 0 192.168.0.10:53 0.0.0.0:* LISTEN 4507/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 4507/named
tcp 0 0 192.168.0.10:22 0.0.0.0:* LISTEN 4941/sshd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 4569/cupsd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 4900/master
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 4507/named
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 5128/apache
2
tcp 0 0 0.0.0.0:8222 0.0.0.0:* LISTEN 5136/httpd.
vmware
tcp6 0 0 :::993 :::* LISTEN 4761/courie
rtcpd
tcp6 0 0 :::995 :::* LISTEN 4796/courie
rtcpd
tcp6 0 0 :::110 :::* LISTEN 4774/courie
rtcpd
tcp6 0 0 :::143 :::* LISTEN 4741/courie
rtcpd
tcp6 0 0 :::53 :::* LISTEN 4507/named
tcp6 0 0 :::25 :::* LISTEN 4900/master
tcp6 0 0 ::1:953 :::* LISTEN 4507/named
udp 0 0 0.0.0.0:32768 0.0.0.0:* 4507/named
udp 0 0 0.0.0.0:514 0.0.0.0:* 4372/syslog
d
udp 0 0 0.0.0.0:10000 0.0.0.0:* 5230/perl
udp 0 0 0.0.0.0:20000 0.0.0.0:* 5226/perl
udp 0 0 192.168.213.1:53 0.0.0.0:* 4507/named
udp 0 0 172.16.77.1:53 0.0.0.0:* 4507/named
udp 0 0 192.168.0.10:53 0.0.0.0:* 4507/named
udp 0 0 127.0.0.1:53 0.0.0.0:* 4507/named
udp6 0 0 :::32769 :::* 4507/named
udp6 0 0 :::53 :::* 4507/named
Quote:
Code:
sudo: /etc/init.d/openbsd-inetd: command not found Quote:
Code:
Chain INPUT (policy ACCEPT) target prot opt source destination ACCEPT 0 -- 0.0.0.0/0 220.232.213.178 state RELATED,ESTABLISHED ACCEPT tcp -- 0.0.0.0/0 220.232.213.178 tcp dpt:22 ACCEPT tcp -- 0.0.0.0/0 220.232.213.178 tcp dpt:8222 ACCEPT tcp -- 0.0.0.0/0 220.232.213.178 tcp dpt:8333 ACCEPT tcp -- 0.0.0.0/0 220.232.213.178 tcp dpt:902 REJECT 0 -- 0.0.0.0/0 220.232.213.178 reject-with icmp-port-unreachable Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination ACCEPT 0 -- 220.232.213.178 0.0.0.0/0 state RELATED,ESTABLISHED ACCEPT udp -- 220.232.213.178 0.0.0.0/0 udp dpt:53 REJECT 0 -- 220.232.213.178 0.0.0.0/0 reject-with icmp-port-unreachable satimis |
|
|||
|
Quote:
Something I can't understand; $ locate poppassd Code:
/etc/pam.d/poppassd /etc/xinetd.d/poppassd /usr/sbin/poppassd /usr/share/doc/poppassd /usr/share/doc/poppassd/changelog.Debian.gz /usr/share/doc/poppassd/copyright /usr/share/doc/poppassd/README.gz /usr/share/man/man8/poppassd.8.gz /var/cache/apt/archives/poppassd_1.8.5-3.1ubuntu1_amd64.deb /var/lib/dpkg/info/poppassd.conffiles /var/lib/dpkg/info/poppassd.list /var/lib/dpkg/info/poppassd.md5sums /var/lib/dpkg/info/poppassd.postinst /var/lib/dpkg/info/poppassd.postrm Code:
/usr/sbin/couriertcpd /usr/sbin/tcpdump /usr/share/doc/tcpdump /usr/share/doc/tcpdump/changelog.Debian.gz /usr/share/doc/tcpdump/changelog.gz /usr/share/doc/tcpdump/copyright /usr/share/doc/tcpdump/examples /usr/share/doc/tcpdump/examples/atime.awk /usr/share/doc/tcpdump/examples/packetdat.awk /usr/share/doc/tcpdump/examples/send-ack.awk /usr/share/doc/tcpdump/examples/stime.awk /usr/share/doc/tcpdump/README.gz /usr/share/man/man1/couriertcpd.1.gz /usr/share/man/man8/tcpdump.8.gz /usr/share/webmin/caldera/tcpd /usr/share/webmin/caldera/tcpd/images /var/cache/apt/archives/tcpdump_3.9.5-2ubuntu1_amd64.deb /var/lib/dpkg/info/tcpdump.list /var/lib/dpkg/info/tcpdump.md5sums However running; $ apt-cache policy poppassd Code:
poppassd:
Installed: (none)
Candidate: 1.8.5-3.1ubuntu1
Version table:
1.8.5-3.1ubuntu1 0
500 http://us.archive.ubuntu.com feisty/universe Packages
100 /var/lib/dpkg/status
Code:
openbsd-inetd:
Installed: (none)
Candidate: 0.20050402-3
Version table:
0.20050402-3 0
500 http://us.archive.ubuntu.com feisty/main Packages
Do I need to remove them before running; Code:
sudo apt-get install poppassd openbsd-inetd sudo /etc/init.d/openbsd-inetd restart Thanks $ sudo netstat -tulpn | grep 106 Code:
Password: tcp 0 0 0.0.0.0:106 0.0.0.0:* LISTEN 5652/inetd B.R. satimis |
|
||||
|
Hmm not sure, it looks like port is open now. Can you just stop firewall and try it again?
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
|
|||
|
Quote:
Code:
Password: Code:
Trying 127.0.0.1... Connected to localhost.localdomain. Escape character is '^]'. Connection closed by foreign host. Code:
Trying 192.168.0.10... Connected to 192.168.0.10. Escape character is '^]'. Connection closed by foreign host. Code:
tcp 0 0 0.0.0.0:106 0.0.0.0:* LISTEN 4881/inetd satimis |
|
||||
|
To stop iptables you need to provide few more commands:
Code:
iptables -F iptables -X iptables -t nat -F iptables -t nat -X iptables -t mangle -F iptables -t mangle -X iptables -P INPUT ACCEPT iptables -P FORWARD ACCEPT iptables -P OUTPUT ACCEPT
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
|
|||
|
Quote:
Performed following steps; $ sudo iptables -F Password: $ sudo iptables -X $ sudo iptables -t nat -F $ sudo iptables -t nat -X $ sudo iptables -t mangle -F $ sudo iptables -t mangle -X $ sudo iptables -P INPUT ACCEPT $ sudo iptables -P FORWARD ACCEPT $ sudo iptables -P OUTPUT ACCEPT all without complaint $ telnet localhost 106 Code:
Trying 127.0.0.1... Connected to localhost.localdomain. Escape character is '^]'. Connection closed by foreign host. Code:
Trying 192.168.0.10... Connected to 192.168.0.10. Escape character is '^]'. Connection closed by foreign host. B.R. satimis |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fail to mount remote NFS server | satimis | Web servers | 0 | 04-19-2008 09:06 PM |
| F8 - fail to load amd pata driver | satimis | CentOS / RHEL / Fedora | 0 | 01-25-2008 12:31 PM |
| Telnet Problem | kasimani | Databases servers | 3 | 03-05-2007 08:02 PM |
| Server monitoring (samba,NFS,telnet,ssh,ftp) | warren | Linux software | 11 | 06-26-2006 08:10 PM |
| Login fail message | ricc | Shell scripting | 4 | 08-13-2005 01:43 AM |