Prev: SQLite build process
Next: metareplace -e
From: patrick_nyr on 18 Mar 2010 14:52 <hume.spamfilter(a)bofh.ca> wrote in message news:hnts3a$gun$1(a)Kil-nws-1.UCIS.Dal.Ca... > patrick_nyr <mpprpp2000(a)yahoo.com> wrote: >> Trying 127.0.0.1... >> telnet: Unable to connect to remote host: Connection refused > > There's something wrong with your inetd. I may be running, but it doesn't > appear to have the proper ports open. > > If /etc/inetd.conf contains the proper lines, then it's possible someone > messed up that file, restarted or HUPped inetd, and then repaired the > file. > > The command: > > pfiles `pgrep inetd` > > ...will list what ports inetd has open. > > Easiest thing to try is to try "pkill -1 inetd" to HUP inetd and see if > it opens the proper ports. > > How long has inetd been running? What's the date when you grep for its > process? > > -- > Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/ > Hi, I check what you sent me, but I rebooted the machine this morning. Thanks
From: cjt on 19 Mar 2010 00:18 patrick_nyr wrote: > <hume.spamfilter(a)bofh.ca> wrote in message > news:hntn9r$dea$1(a)Kil-nws-1.UCIS.Dal.Ca... >> patrick_nyr <mpprpp2000(a)yahoo.com> wrote: >>> "Connecting To <hostname> ...Could not open connection to host, on port >>> 21: >>> Connect failed" >> And if you log into the server itself, and use the command: >> >> telnet localhost 21 >> >> ... what do you see? >> >> -- >> Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/ >> > > Ok, I see. Sorry about that. > > On the local machine I get: > Trying 127.0.0.1... > telnet: Unable to connect to remote host: Connection refused > > Thanks > > You're not doing this as root, are you?
From: devN on 19 Mar 2010 03:24 On Mar 19, 12:52 am, "patrick_nyr" <mpprpp2...(a)yahoo.com> wrote: > <hume.spamfil...(a)bofh.ca> wrote in message > > news:hnts3a$gun$1(a)Kil-nws-1.UCIS.Dal.Ca... > > > > > > > patrick_nyr <mpprpp2...(a)yahoo.com> wrote: > >> Trying 127.0.0.1... > >> telnet: Unable to connect to remote host: Connection refused > > > There's something wrong with your inetd. I may be running, but it doesn't > > appear to have the proper ports open. > > > If /etc/inetd.conf contains the proper lines, then it's possible someone > > messed up that file, restarted or HUPped inetd, and then repaired the > > file. > > > The command: > > > pfiles `pgrep inetd` > > > ...will list what ports inetd has open. > > > Easiest thing to try is to try "pkill -1 inetd" to HUP inetd and see if > > it opens the proper ports. > > > How long has inetd been running? What's the date when you grep for its > > process? > > > -- > > Brandon Hume - hume -> BOFH.Ca,http://WWW.BOFH.Ca/ > > Hi, > > I check what you sent me, but I rebooted the machine this morning. > > Thanks Is the problem resolved now after the reboot? With inetd.conf containing ftp lines, this is confusing. How long has the inetd been running? Did you try running the FTPD manually?
From: Ceri Davies on 19 Mar 2010 08:20 On 2010-03-18, patrick_nyr <mpprpp2000(a)yahoo.com> wrote: > ><hume.spamfilter(a)bofh.ca> wrote in message > news:hnti5j$9fe$1(a)Kil-nws-1.UCIS.Dal.Ca... >> patrick_nyr <mpprpp2000(a)yahoo.com> wrote: >>> I ran the "netstat -af inet" and I don't see for ftp or telnet with >>> LISTEN. >> >> Is inetd running? For example, >> >> # ps -ef | grep inetd >> root 221 1 0 May 25 ? 8:37 /usr/sbin/inetd -s >> >> > Hi, > > Yes, this is running. > >> ... and does /etc/inetd.conf exist and contain lines for 'ftp' and >> 'telnet', >> like: >> > > Yes, it contains those lines for ftp and telnet' > >> # egrep 'ftp|telnet' /etc/inetd.conf >> #telnet stream tcp6 nowait root /usr/sbin/in.telnetd in.telnetd >> ftp stream tcp6 nowait root /usr/sbin/in.ftpd in.ftpd -a >> >> You can see there that ftp is enabled on this machine but telnet is not. >> > The telnet daemon and ftp daemon are enabled. Also check what port number the entry for ftp in /etc/services lists. Ceri -- That must be wonderful! I don't understand it at all. -- Moliere
From: patrick_nyr on 19 Mar 2010 08:28
"cjt" <cheljuba(a)invalid.invalid> wrote in message news:4BA2FB10.4030805(a)invalid.invalid... > patrick_nyr wrote: >> <hume.spamfilter(a)bofh.ca> wrote in message >> news:hntn9r$dea$1(a)Kil-nws-1.UCIS.Dal.Ca... >>> patrick_nyr <mpprpp2000(a)yahoo.com> wrote: >>>> "Connecting To <hostname> ...Could not open connection to host, on port >>>> 21: >>>> Connect failed" >>> And if you log into the server itself, and use the command: >>> >>> telnet localhost 21 >>> >>> ... what do you see? >>> >>> -- >>> Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/ >>> >> >> Ok, I see. Sorry about that. >> >> On the local machine I get: >> Trying 127.0.0.1... >> telnet: Unable to connect to remote host: Connection refused >> >> Thanks >> >> > You're not doing this as root, are you? > Yes, I am doing it as root. |