From: Kalin KOZHUHAROV <kalin@thinrope.net>
To: linux-kernel@vger.kernel.org
Cc: jeanwelly@gmail.com
Subject: Re: How to debug FTP messaging in Linux FTP server
Date: Wed, 28 Dec 2005 23:40:12 +0900 [thread overview]
Message-ID: <43B2A3CC.60608@thinrope.net> (raw)
In-Reply-To: <c2bc1f40512280557w44d41e8fm58273fb96a1b6726@mail.gmail.com>
jeanwelly wrote:
> Hi, All
> I am using PowerPC target board and want to transfer files from board
> to a Linux FTP server.
What is the server software? vsftpd, ProFTPD, wuftp, whatever
> The current issue is that FTP server returns ERROR when I sending
> "STOR filename" from client.
> But command "TYPE type", "PASS password" and "USER username" can work
> correctly between board and server.
>
> My question is how can I debug or what tools can be used in Linux
> server to track what's going on in server.
#-2 Check if the user the server is running (do _NOT_ tell me it is running as root!) can write to
the directory
#-1 Look into the logs of the server.
#0 Read your server software FAQ.
#1 RTFM: Read your server software manual.
#2 turn on debugging and possibly keep it in foreground (do not daemonize it), increase debug
level/verbosity
#3 if still not clear try running an `strace -f -e open SERVER_COMMAND_HERE`
#4 still here? try `strace -f SERVER_COMMAND_HERE`
#5 `man strace`
#6 use a debugger like gdb
#F Hire a professional consultant to solve your particular problem :-)
I bet you will be up and running befre going on the positive numbers :-) Above level #4 you need
good programming/debugging skills which you are not likely to have based on your question.
> I guess there should be a lot of scenarios which can caused the STOR
> command get error return code, I appreciate if you can list some.
Yes, you are very right.
And BTW, this list is for linux kernel not for linux in general (as your question is). I should have
ignored you, but I am in "Reply" mode now :-)
Good luck!
Kalin.
--
|[ ~~~~~~~~~~~~~~~~~~~~~~ ]|
+-> http://ThinRope.net/ <-+
|[ ______________________ ]|
prev parent reply other threads:[~2005-12-28 14:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <c2bc1f40512280455w67b3db2cx4de6e32d50f5b760@mail.gmail.com>
2005-12-28 13:57 ` How to debug FTP messaging in Linux FTP server jeanwelly
2005-12-28 14:40 ` Kalin KOZHUHAROV [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43B2A3CC.60608@thinrope.net \
--to=kalin@thinrope.net \
--cc=jeanwelly@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.