1757218 Members
2862 Online
108858 Solutions
New Discussion юеВ

ftp error

 
Torsten.
Acclaimed Contributor

Re: ftp error

If you need a more secure (!) "workaround", consider to use another client application like filezilla on your PC and connect via sftp or scp to the server. I'm sure this will work.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
BrianDoyle
Trusted Contributor

Re: ftp error

Hi guys,

/etc/resolv.conf has a nameserver and the gateway is correct (in netconf)

There's no ftpaccess or ftpusers file in /etc/ftpd

I'd really like to find out why this is not working befoer i use ftp software.
Its a strange one.....
BrianDoyle
Trusted Contributor

Re: ftp error

I can telnet to the server.....just cant connect with ftp.
Torsten.
Acclaimed Contributor

Re: ftp error

1) per default all ftp related actions (login) are logged into syslog.

Open another session to the server and run

# tail -f /var/adm/syslog/syslog.log
and watch it while you try to connect.

2) it would make sense (and probably somebody already did it) on a secured system to restrict or even disable ftp and telnet daemons at all for security reasons.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
BrianDoyle
Trusted Contributor

Re: ftp error

tail -f /var/adm/syslog/syslog.log
It doesnt show anything new in the past 2 days, even as I try to connect via ftp or even telnet/ssh etc, nothing logged.....

Logging must be outputted to another file but how can I find out?

# more /etc/syslog.conf
mail.debug /var/adm/syslog/mail.log
*.info;mail.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root
*.emerg *
Tim Nelson
Honored Contributor

Re: ftp error

Let's start over.

While ftp'ing you are getting a login and password prompt but end up with the 530 login incorrect error.

This means ftp is running and working normally. Again, try as a different user other than root to test.

Also, if you have no entries for the ftp connections in syslog.log then tack on a "-l" (el) at the end of the ftpd line in /etc/inetd.conf and inetd -c to re-read the conf. This will at least put some entries in the syslog.log and we will take it from there.

If you still do not see some ftp connection info in syslog.log then just maybe you are not connecting to the server you think you are ?



BrianDoyle
Trusted Contributor

Re: ftp error

hi tim,

I believe the cause is it being a trusted system and there's some parameter i havent modified to allow ftp through.

My inetd.conf currently has
ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -l
so i was expecting logging but nothing at all in the syslog.
Siju Vadakkan
Trusted Contributor

Re: ftp error

I think it is becz ur password contains special characters like @,#. try a password without @and #.
BrianDoyle
Trusted Contributor

Re: ftp error

hi
there are no characters like that in the passwords
Davis Paul
Valued Contributor

Re: ftp error

Hi,
Please check the file /var/adm/inetd.sec for any ftp restriction....
Regards,
Davis Paul.