Results 61 to 70 of 120
ok, with the modified command
new strace.log - Pastebin.com...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-14-2013 #61Just Joined!
- Join Date
- Jan 2013
- Posts
- 61
ok, with the modified command
new strace.log - Pastebin.com
- 02-14-2013 #62Linux Newbie
- Join Date
- Jun 2012
- Posts
- 100
You forgot to terminate a previous session?? * points down *
You can find processes and pids with: lsof -itcp@0.0.0.0:5555 . Probably need root for this.
Originally Posted by Herculeon's strace log
- 02-14-2013 #63Just Joined!
- Join Date
- Jan 2013
- Posts
- 61
why, yes! yes I did forget to terminate the previous session!! LOL
sorry about that.
Try this one:
new strace.log - Pastebin.com
- 02-15-2013 #64Linux Newbie
- Join Date
- Jun 2012
- Posts
- 100
Did you try to connect to it with the above trace? And did you receive the same error? I'm not seeing that much. But that could be just all there is.
- 02-15-2013 #65Just Joined!
- Join Date
- Jan 2013
- Posts
- 61
Yes, I just tried a connection again so I could copy the exact text out.
Command: USER anonymous
Response: 331 Please specify the password.
Command: PASS **************
Response: 500 OOPS: vsftpd: refusing to run with writable root inside chroot()
Error: Critical error
Error: Could not connect to server
Say, here is a dumb question. The command you gave me, I ran it as su. Should I run it as a normal user? I might know 1 or 2 things about *nix and still a relative newb but I am just trying to make sure I am not making a rudimentary mistake.
- 02-15-2013 #66Linux Newbie
- Join Date
- Jun 2012
- Posts
- 100
Yes please do. I made this command JUST to run it as a normal user. The error you are receiving is probably bogus.
- 02-15-2013 #67Just Joined!
- Join Date
- Jan 2013
- Posts
- 61
Ok, here it is run as a normal user
as normal user - Pastebin.com
However, filezilla still shows:
Command: USER anonymous
Response: 331 Please specify the password.
Command: PASS **************
Response: 500 OOPS: vsftpd: refusing to run with writable root inside chroot()
Error: Critical error
Error: Could not connect to server
- 02-15-2013 #68Linux Newbie
- Join Date
- Jun 2012
- Posts
- 100
Strace get's us nowhere. Run the following commands as a normal user:
EDIT: Forgot to create the appropate files. Confirm in your reply that you did 'touch /tmp/emptyconfig' before running vsftpd! (please)touch /tmp/emptyconfig
/usr/sbin/vsftpd -olisten_port=5555 -opasv_min_port=5556 -opasv_max_port=5557 -oport_enable=NO \
-olisten=true -orun_as_launching_user=true -oanon_world_readable_only=false -odual_log_enable=yes \
-olog_ftp_protocol=yes -ovsftpd_log_file=/tmp/vsftpd.log -oxferlog_file=/tmp/vsftpd.log -owrite_enable=true \
-oanon_upload_enable=true -oanon_mkdir_write_enable=true -oanon_other_write_enable=true -oseccomp_sandbox=no \
-olocal_enable=no /tmp/emptyconfig | tail -F /tmp/vsftpd.log
- 02-15-2013 #69Just Joined!
- Join Date
- Jan 2013
- Posts
- 61
I did
touch ~/.emptyconfig
touch ./vsftpd.log
touch /tmp/emptyconfig
I did the command and got no output. rebooted even did the three touches again still no output. rebooted and did it again, hoping something would catch and still no output. Nothing in the vsftp.log in the the tmp directory and/or in the directory I ran the commands from. The emptyconfig was in fact empty. It does say "500 OOPS: cannot read config file: tail" when I run the command you requested.
- 02-16-2013 #70Linux Newbie
- Join Date
- Jun 2012
- Posts
- 100
You have to make sure that the user running vsftpd can read the file '/tmp/emptyconfig' and has read/write to the file '/tmp/vsftpd.log'. The file '/tmp/emptyconfig' is empty on purpose. We specify all the commands on the commandline. However, vsftpd insists it has a config file so we give it one. To test both conditions, the following commands should yield no output at all:
Then try again with the above commandline.echo vsftpd > /tmp/vsftpd.log
cat /tmp/emptyconfig


Reply With Quote
