Rajesh Fowkar forced the electrons to say:
> However here at office on Red Hat 6.2 when I try to send a mail to localhost
> it gives error on the console 
> 
> /tmp: fopen Is a directory

It is trying to open a file (for writing) in /tmp, but somehow the
filename turns out to be an empty string - so it tries to open /tmp, and
the open fails with EISDIR, since one cannot open a directory for writing.

Essentially, some setting is missing - temporary file name, something. 
Check the configuration, run the program through strace/ltrace - and
try to parse the o/p.  Cannot really remote help you on this, since
I haven't even seen the software. Check if $LOGNAME, $USER, $HOSTNAME
etc. are set (and exported) by your shell. See what the hostname command
returns.

Also, check what the temporary file name looks like on the machine where
the program works. You might get a clue from that.

Binand


----------------------------------------------
Find out more about this and other Linux India 
mailing lists at http://lists.linux-india.org/

Reply via email to