You may also want to make sure that the FTP and Telnet servers have
indeed been installed on the system. They do not install by default if
the install was anything other then an expert install. And even then
sometimes you have to check to make sure that the Telnet server gets
installed.
Mark
Kevin Venkiteswaran wrote:
>
> > from my m/c I am able to login into any other machine
> > but
> > the other way I am NOT able to ...Where did I screw up...
>
> Note sure what you mean by m/c, but anyway...
>
> > I enabled inet services in startup drake.
> > I compared with other machines here, found that I dont have
> > ftpaccess file,,,generated that...even then....I am unable to login
> > from other machines to my machine...
> >
> > from other machines if try : for example:
> >
> > *****************************
> > [shiva@prism ~]$ ftp cryst // cryst is my machine....
> > Connected to cryst.
> > 421 Service not available, remote server has closed connection
> > ftp> by
> > [shiva@prism ~]$
>
> I believe this message is caused by the ftp server being taken offline
> -- the service hasnt been shut off, but just taken offline... Try
> restarting the servicing / checking logs (/var/log/messages is a good
> place to start). Also, see comment below for telnet problem.
>
> > [shiva@prism ~]$ telnet cryst // my machine...
> > Trying 144.16.74.75...
> > Connected to cryst.
> > Escape character is '^]'.
> > Connection closed by foreign host.
> > [shiva@prism ~]$
> > *************************************
>
> Check /etc/hosts.deny and /etc/hosts.allow. There is a man page (run
> 'man hosts.allow') for more info. Just of the file is: '<service>:
> <source>', where <service> is the service you are offering (ftp, telnet,
> sshd, etc) and <source> is the ip/domain/etc. There is also the keyword
> 'ALL'. First suggestion to see if this is your problem is to comment out
> all lines in hosts.deny and hosts.allow, then add to hosts.allow 'ALL:
> ALL'. This will allow connections from any host to any service. NOTE:
> you do NOT want to leave your machine like this -- its just an easy way
> to see if the problem lies in these files. If that fixes your problem,
> then add the appropriate directives to these files (say 'ftp: localhost
> 192.168.1.' for allowing connections from localhost and
> 129.168.1.0/255.255.255.0 -- again, see the man page for more details).
>
> Best of luck
> Kevin
>
> --
> There are those who claim that magic is like the tide; that it swells
> and
> fades over the surface of the earth, collecting in concentrated pools
> here
> and there, almost disappearing from other spots, leaving them parched
> for
> wonder. There are also those who believe that if you stick your fingers
> up
> your nose and blow, it will increase your intelligence.
> -- The Teachings of Ebenezum, Volume VII