April 1, 201313 yr Hi, I have read several posts from various users and it says that by default vsftp is always up and running. I want to enable the ftp on my unraid server (esp. because i don't want to take the flash drive out again and again for downloading few files from internet to setup few features as they become available). I am trying to connect to my unraid using FileZilla Client (from my windows Vista machine). When i checked the ftp service on my unraid it appears that its not running but people are claiming that it runs by default. All the articles that i have seen so far are all talk about stopping the ftp service, but i have issue in starting it:- Few O/ps from my unraid server :- No FTP Service running on my server /**************************************************************************************************/ root@Tower:/etc# ps -ef | grep vsftp | grep -v grep /**************************************************************************************************/ root@Tower:/etc# cat vsftpd.conf /**************************************************************************************************/ # vsftpd.conf for unRAID # with suggestions from forum user 'nars' # connect_from_port_20=YES write_enable=YES local_root=/mnt local_umask=0 # # No anonymous logins anonymous_enable=NO # # Allow only local vsftpd.user_list users to log in. local_enable=YES userlist_enable=YES userlist_deny=NO userlist_file=/boot/config/vsftpd.user_list check_shell=NO # # Logging to syslog syslog_enable=YES log_ftp_protocol=NO xferlog_enable=NO # # Misc. dirmessage_enable=NO ls_recurse_enable=YES /**************************************************************************************************/ Can someone please help me to understand what i need to do inorder to start the frp service on my unraid so that i can connect via my filezilla client ?
April 1, 201313 yr Hi, I have read several posts from various users and it says that by default vsftp is always up and running. I want to enable the ftp on my unraid server (esp. because i don't want to take the flash drive out again and again for downloading few files from internet to setup few features as they become available). I am trying to connect to my unraid using FileZilla Client (from my windows Vista machine). When i checked the ftp service on my unraid it appears that its not running but people are claiming that it runs by default. All the articles that i have seen so far are all talk about stopping the ftp service, but i have issue in starting it:- Few O/ps from my unraid server :- No FTP Service running on my server /**************************************************************************************************/ root@Tower:/etc# ps -ef | grep vsftp | grep -v grep /**************************************************************************************************/ root@Tower:/etc# cat vsftpd.conf /**************************************************************************************************/ # vsftpd.conf for unRAID # with suggestions from forum user 'nars' # connect_from_port_20=YES write_enable=YES local_root=/mnt local_umask=0 # # No anonymous logins anonymous_enable=NO # # Allow only local vsftpd.user_list users to log in. local_enable=YES userlist_enable=YES userlist_deny=NO userlist_file=/boot/config/vsftpd.user_list check_shell=NO # # Logging to syslog syslog_enable=YES log_ftp_protocol=NO xferlog_enable=NO # # Misc. dirmessage_enable=NO ls_recurse_enable=YES /**************************************************************************************************/ Can someone please help me to understand what i need to do inorder to start the frp service on my unraid so that i can connect via my filezilla client ? Did you try to connect: root@Tower:/# cat /etc/inetd.conf | grep ftp ftp stream tcp nowait root /usr/sbin/tcpd vsftpd and root@Tower:/# cat /etc/services |grep ftp ftp-data 20/tcp #File Transfer [Default Data] ftp-data 20/udp #File Transfer [Default Data] ftp 21/tcp #File Transfer [Control] ftp 21/udp #File Transfer [Control] It is there, on port 21. It will be started by the inetd process when you attempt to connect to port 21 with your FTP client. Joe L.
April 1, 201313 yr Author Hi Joe L, Thanks for your prompt reply :- I did exactly as you said and the o/p seems to be matching... but still when i try to connect using filezilla client (from my windows machine) i am not able to do so...Below are the screen shots from my server :- Filezilla Client (running on Windows Machine( Error Msg) is :- Status: Connecting to 192.168.xx.xx:21... Status: Connection established, waiting for welcome message... Response: 220 (vsFTPd 2.2.2) Command: USER root Response: 530 Permission denied. Error: Could not connect to server Status: Waiting to retry... Status: Delaying connection for 1 second due to previously failed connection attempt... Status: Connecting to 192.168.xx.xx:21... Status: Connection established, waiting for welcome message... Response: 220 (vsFTPd 2.2.2) Command: USER root Response: 530 Permission denied. Error: Could not connect to server /**************************************************/ root@Tower:~# cat /etc/inetd.conf | grep ftp ftp stream tcp nowait root /usr/sbin/tcpd vsftpd #ftp stream tcp nowait root /usr/sbin/tcpd proftpd # Tftp service is provided primarily for booting. Most sites # tftp dgram udp wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboo t -r blksize /**************************************************/ root@Tower:~# cat /etc/services |grep ftp ftp-data 20/tcp #File Transfer [Default Data] ftp-data 20/udp #File Transfer [Default Data] ftp 21/tcp #File Transfer [Control] ftp 21/udp #File Transfer [Control] ni-ftp 47/tcp #NI FTP ni-ftp 47/udp #NI FTP tftp 69/tcp #Trivial File Transfer tftp 69/udp #Trivial File Transfer sftp 115/tcp #Simple File Transfer Protocol sftp 115/udp #Simple File Transfer Protocol bftp 152/tcp #Background File Transfer Program bftp 152/udp #Background File Transfer Program softpc 215/tcp #Insignia Solutions softpc 215/udp #Insignia Solutions subntbcst_tftp 247/tcp #subntbcst_tftp subntbcst_tftp 247/udp #subntbcst_tftp mftp 349/tcp mftp 349/udp ftp-agent 574/tcp #FTP Software Agent System ftp-agent 574/udp #FTP Software Agent System pftp 662/tcp pftp 662/udp ftps-data 989/tcp # ftp protocol, data, over TLS/SSL ftps-data 989/udp ftps 990/tcp # ftp protocol, control, over TLS/SSL ftps 990/udp ftp-proxy 8021/tcp # FTP proxy /**************************************************/
April 1, 201313 yr Works here using filezilla, and I've set nothing up for ftp previously. The supplied vsftpd.conf file looks like this: # vsftpd.conf for unRAID # with suggestions from forum user 'nars' # connect_from_port_20=YES write_enable=YES local_root=/mnt local_umask=0 # # No anonymous logins anonymous_enable=NO # # Allow only local vsftpd.user_list users to log in. local_enable=YES userlist_enable=YES userlist_deny=NO userlist_file=/boot/config/vsftpd.user_list check_shell=NO # # Logging to syslog syslog_enable=YES log_ftp_protocol=NO xferlog_enable=NO # # Misc. dirmessage_enable=NO ls_recurse_enable=YES
April 1, 201313 yr Author Joe L, My vsftpd.conf file at /etc matches exactly with you....Only difference that i can see is for your filezilla log msg it says "Please specify the password" whereas in my log it says "Response: 530 Permission denied." Have you done anything different in your filezilla client or do you type any password in filezilla ??
April 1, 201313 yr Joe L, My vsftpd.conf file at /etc matches exactly with you....Only difference that i can see is for your filezilla log msg it says "Please specify the password" whereas in my log it says "Response: 530 Permission denied." Have you done anything different in your filezilla client or do you type any password in filezilla ?? I do not have a root password, and type nothing. I notice both look for valid users in /boot/config/vsftpd.user_list Do you have that file? (I do, and it is completely empty, but it seemed to work even without it after I deleted it )
April 1, 201313 yr whereas in my log it says "Response: 530 Permission denied." I'd then say it is a permission issue on your server.
April 1, 201313 yr Author I also don't have any root password as of now. My file "/boot/config/vsftpd.user_list" also appears to be empty.... /**************************************************/ root@Tower:/etc# cat /boot/config/vsftpd.user_list /dev/sdb: Timing buffered disk reads: 304 MB in 3.01 seconds = 101.12 MB/sec /**************************************************/ If you think this is a permission issue...then any idea where and how to fix that ??
April 1, 201313 yr ...I want to enable the ftp on my unraid server (esp. because i don't want to take the flash drive out again and again for downloading few files from internet to setup few features as they become available).... This has nothing to do with getting your FTP working, but... Why don't you just share your flash drive? I never take mine out to add/update plugins or other addons or even upgrade unRAID versions. Click on the flash drive from the main page and you can share it like so:
April 1, 201313 yr Author I Can share my USB/Flash Drive and that's what I am doing so far....But my basic question remain answered...Why does the FTP is not working on my server whereas everything else pretty much seem to be working.
April 26, 201313 yr In Settings -> FTP server, what user do you have set there? I've got "admin" in there but what's the default password? -Jim
Archived
This topic is now archived and is closed to further replies.