> Douglas Kline wrote:
> 
> >Access rights wouldn't explain a 0-length file.  If you don't have permissio
n
> >to write to the directory, it won't create any file.  A 0-length file could 
be
> >explained by a quota but root wouldn't ordinarily be bound by quotas.  That
> >could be worth a check.  Also, if this is a remote-mounted directory, then r
oot
> >  
> >
> I am not too deep into the system, a hint how to check quotas would help 
> much!


If quotas are installed, the command to check one's own quota is just "quota".
That by default will report your quota only if you've gone over it.  "quota -v"
will report your quota regardless of whether you're over it.  As "root", you
could type "quota <username>" ("<" and ">" are part of the customary way of
indicating a value to be filled in, i.e. don't include them in the actual
command) to check any valid username's quota.


> >might not have root access to it.  The file system's being full would be
> >another possibility.  If none of these things checks out and you don't get m
ore
> >useful diagnostics by running rundig with more "v"s, then try running rundig
 or
> >the htdig command which it calls under a diagnostic program which displays
> >sub-routine calls.  For Solaris that would be truss.  For earlier versions o
f
> >SunOS, that would be trace.  I don't know what it would be under HP Unix.
> >  
> >
> It's a local filesystem, not full. Even -vvv didn't gave other output.
> I don't know the equivalant to truss, but I will google for it. Might 
> the output of gdb help?


There is probably some equivalent command in HP Unix.  You could try apropos or
"man -k" on "trace" or something like that to see if that reports any relevant
man pages.  You could use a debugger like gdb.  However for these purposes a
command like truss would be easier to use.  You don't have to recompile the
software with debugging information and you don't have to run debugger
commands.  You just run the command and it's whole string of arguments, if
there are any, as arguments to the truss command, viz.

truss rundig

and it outputs the various sub-routine calls.  This can be extensive output and
so should probably be re-directed to a file.  Then you scan the output looking
for where it encounters an error or tries to create or write to a file or
anything else that could be informative.

HTH.

Douglas

========
Douglas Kline
[EMAIL PROTECTED]




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
ht://Dig general mailing list: <[EMAIL PROTECTED]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to