|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Network/Internet Questions about internet applications, network configuration, usage (SAMBA, network printing, NFS) |
![]() |
|
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I am having problems with FTP. When I try to ftp to the machine it seems like it wants to connect and the immediately I am disconnected. I have tried turning the firewall off as well and same thing. I get in and immediately it disconnects the session. Any help would be great. Thanks.
|
|
|||
|
Sorry about that.
I use filezilla or windows to ftp to our webserver. It acts as though it connects and then immediatley disconnects. We are running Opensuse 11.1 |
|
||||
|
Well, you could try connecting with ftp.
I assume you know the login and the password ??You need to check if it's a problem with the software or the server so the first thing is to do in the command (you may have to install it): ftp <server address> You should see after that any messages if there is something wrong.
__________________
How does a linux geek make love?? - unzip; strip; touch; finger; mount; fsck; more; yes; umount; sleep; |
|
|||
|
Filezilla is a FTP client, for people not aware of it.
Do you actually have a FTP server running on opensuse 11.1? Did you set one up? Or did you think it would just be there? It doesn't get installed automatically. Perhaps you really wanted SFTP which will work if you have ssh login access to the machine and the admin has not disabled the SFTP subsystem. You have to specify SFTP in filezilla, it's also a SFTP client. SFTP is not related to FTP by the way, just that they are both file transfer protocols, that's all. |
|
||||
|
Quote:
What do you get with Code:
netstat -ap | grep ftp
__________________
Henk van Velden |
|
|||
|
0 0 *:ftp *.* LISTEN 3615/xinetd
|
|
||||
|
Correct. That means that you have configured a program in xinetd.d. Maybe pure-ftp (maybe another one). And xinetd is LISTENING.
Goto /etc/xinetd.d and look for a file which has ftp in its name. Post the contents here. It may contain security restrictions you are not aware of.
__________________
Henk van Velden |
|
|||
|
I have two
ftp_psa service ftp { socket_type = stream protocol = tcp wait = no user = root server = /usr/sbin/in.proftpd server_args = -c /etc/proftpd.conf instances = UNLIMITED } and pure-ftpd # default: off # description: The ftpd server serves FTP connections. It uses normal, \ # unencrypted usernames and passwords for authentication. This ftpd is \ # the pure-ftpd. # ** NOTE ** when using pure-ftpd from xinetd the arguments to control # it's behaviour should be added here in this file in the # "server_args" line since the configuration file # /etc/pure-ftpd.conf is only for standalone pure-ftpd. # The command "/usr/sbin/pure-config-args /etc/pure-ftpd.conf" # will print the arguments needed for behaviour like standalone # pure-ftpd. service ftp { # server_args = socket_type = stream protocol = tcp wait = no user = root server = /usr/sbin/pure-ftpd } |
|
||||
|
Hm, none of them has an explicit
Code:
disable = yes/no Code:
man xinetd.conf When the default for disable is yes, both will be configured which is not really possible. When the default is no, there would not be an ftp service, but there is. You could try to add disable statements to both, one with yes and the other with no. Find out what xinetd''s PID is with Code:
ps -ef | grep xinetd Code:
kill -HUP <pid-of-xinetd> Code:
netstat -ap | grep ftp Change yes and no and do it all again for checking the other server-program.
__________________
Henk van Velden |
![]() |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|