Article View: uk.comp.os.linux
Article #493Re: Anonymous ftp uploading problem - RH6
From: Steve Houseman
Date: Sat, 07 Aug 1999 00:00
Date: Sat, 07 Aug 1999 00:00
40 lines
2529 bytes
2529 bytes
piglet@glutinous.custard.org (Tim Haynes) wrote ....
> <snip>
> Yikes, didn't anything interesting turn up in /var/log/messages,
> security or the xferlog before resorting to strace?
><snip>
just responding to that point ...if I try something and it fails then
if I knew where it dumped its error messages then I would look there.
If I didnt know that or they werent helpful then I would normally
try to run strace on it.
*If* the strace runs ok then it is quick .... and is
good at providing indicators for problems like
- what PATH it is using to find a lib,
- what file access is failing
- what host is being queried ....
- and probably others that I cant think of at this moment.
It is of little (zero?) use if the problem is due to configuration
problems such that a request is made and immediately denied without
any intervening system call action eg files being consulted.
It does not work for suid progs (man says it turns of suid) and
I certainly have had problems running it in some situations -
normally the most interesting (read important) .
So strace can be a *quick* solution to tracking down a problem
or of little help ... if it aint quick , I wouldnt persist with
it , but move on to some other debugging method (RTFM , source or NG?).
So in the original posting problem, I would normally have given
up trying to get strace to work , but as I had recommended it,
I felt that I ought to try a little harder before giving up :-)
It may well be that strace is not the best tool for this problem.
Cheers,
Steve Houseman
--
currently steve.houseman at virgin net
Technical Details
Message-ID:
<6r6ho7.ih.ln@rockhopper.woolacombe.lnx>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<slrn7qeqhh.32u.simon@child.demon.co.uk> <934033078.1203241304@192.168.1.1> <fcsfo7.po.ln@rockhopper.woolacombe.lnx> <slrn7qpb39.1do.piglet@spodzone.pigsty.org>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d8ad,46703e0382dc6a78 X-Google-Attributes: gid10d8ad,public X-Google-Thread: fac57,46703e0382dc6a78 X-Google-Attributes: gidfac57,public From: steve@rockhopper.woolacombe.lnx (Steve Houseman) Subject: Re: Anonymous ftp uploading problem - RH6 Date: 1999/08/07 Message-ID: <6r6ho7.ih.ln@rockhopper.woolacombe.lnx> X-Deja-AN: 510199211 References: <slrn7qeqhh.32u.simon@child.demon.co.uk> <934033078.1203241304@192.168.1.1> <fcsfo7.po.ln@rockhopper.woolacombe.lnx> <slrn7qpb39.1do.piglet@spodzone.pigsty.org> X-Complaints-To: abuse@virgin.net X-Trace: nclient11-gui.server.virgin.net 934103116 20936 194.168.70.148 (8 Aug 1999 09:05:16 GMT) Organization: tomorrow. NNTP-Posting-Date: 8 Aug 1999 09:05:16 GMT Newsgroups: uk.comp.os.linux,demon.tech.unix