LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-28-2012, 05:29 AM   #1
mail2vivek1
LQ Newbie
 
Registered: Sep 2011
Posts: 24
Blog Entries: 1

Rep: Reputation: Disabled
Red face Strange FTP issue


Hello All,

I have configured vsftp server on my machine. and given chrooted access to user 'vivek'.. i am trying to upload one file but getting below error. i am able to browsethe directory, able to download files..also i am able to physically create a file in that directory


eux012{pg337905}# ftp abc.xyz.com
Connected to abc.xyz.com.
220 (vsFTPd 2.0.5)
Name (abc.xyz.com): vivek
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> pwd
257 "/"
ftp> put /home/pg337905/RATL_ENT_DEPLOY_1.4.4_LINUX_X32.zip
200 PORT command successful. Consider using PASV.
553 Could not create file.

-------

Config file
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/xferlog
xferlog_std_format=YES
ftpd_banner=Welcome to VIVEK FTP service.
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot_list
listen=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES


NOTE:- Permission on directories are fine and i am able to create files if i login into server physically.

Please advise
 
Old 03-28-2012, 05:32 AM   #2
mail2vivek1
LQ Newbie
 
Registered: Sep 2011
Posts: 24
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
SELINUX is also diabled
 
Old 03-28-2012, 06:37 AM   #3
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
I don't get the meaning of when you log into the server physically?
Are you trying to upload files using some client software like filezilla?
 
Old 03-28-2012, 06:48 AM   #4
msrd
LQ Newbie
 
Registered: Mar 2012
Posts: 2

Rep: Reputation: Disabled
kindly check in the configuration file whether upload enabled is yes or not.
 
Old 03-28-2012, 07:09 AM   #5
mail2vivek1
LQ Newbie
 
Registered: Sep 2011
Posts: 24
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
@ Deepak - Simply login and then created..not by any tool

@msrd - its enabled..
Config file
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/xferlog
xferlog_std_format=YES
ftpd_banner=Welcome to VIVEK FTP service.
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot_list
listen=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES



Also when i tried to use same configuration on some other linux server, it worked fine ....
I think this might be some port issue.... Please advise
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange ftp behavior cmosentine Programming 3 02-17-2012 01:35 PM
Strange FTP issue sathya_tce1 Linux - Networking 0 02-25-2009 07:06 AM
Strange FTP Problem mcupples Linux - Server 3 04-05-2007 11:37 AM
strange FTP issue tanmaya Linux - Networking 2 05-23-2005 08:15 AM
Strange FTP logs dominant Linux - Security 1 08-24-2004 02:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration