Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cannot connect via ftp to server

Status
Not open for further replies.

Scunningham99

Programmer
Sep 20, 2001
815
GB
SunOS eurrccunx001 5.9 Generic_117171-07 sun4u sparc SUNW,Sun-Fire-V240

we cannot ftp to server. it says

C:\>ftp 10.128.2.121
Connected to 10.128.2.121.
220 eurrccunx001 FTP server ready.
User (10.128.2.121:(none)): root
331 Password required for root.
Password:
530 Login incorrect.
Login failed.
ftp>


i have checked /etc/ftpusers
#root

and /etc/inetd.conf for deamon running

root@eurrccunx001 # ps -ef|grep ftp
root 618 561 0 10:08:08 pts/1 0:00 grep ftp
root 611 167 0 10:05:14 ? 0:00 in.ftpd -a

and ideas would be greatly appreciated!



Sy UK
 
Check the /etc/services file and see if ports 20 and 21 are commented out (disabled).
 
from /etc/services:-

ftp-data 20/tcp
ftp 21/tcp

any ideas?

Sy UK
 
Do you have an /etc/shells file and if so, is the shell you're using listed in it?
 
more /etc/shells
/etc/shells: No such file or directory

thanks for your help!


Sy UK
 
Not much help so far!! I know it's a stupid question, but you're certain that your password is correct? Has this worked previously?
 
Sy, i take it that telnet is working OK and that you can log in remotely as root (ie the CONSOLE= line in /etc/default/login is commented out to allow root to log in remotely (not a recommended thing, but fairly common))?
 
Hi Ken

yer done that bit working on server via telnet.

thanks again!

Sy UK
 
problem sorted:--

strange though. on one of our e450's the /etc/ftpusers file exists...

but on the v240 the file exists in /etc/ftpd/ftpusers.

before i noticed i created the file ftpusers in /etc. this is why it did not pick up the #root.

thanks for your help anyway!


Sy UK
 
Scunningham99;

Solaris 8 /etc/ftpusers

Solaris 9 /etc/ftpd/ftpusers

check the OS release on your systems with //more /etc/release you will probably find they are differenet OS.

Thanks

CA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top