Hi All,

I have some problems in having log file of gridftp server.

I use Xrootd as the backend of my gridftp server so I preload the posix library to try to write the data to Xrootd pool.

I use the following code the start the gridftp server:

export GLOBUS_LOCATION=/opt/globus
export LD_LIBRARY_PATH=/opt/globus/lib
#:$LD_LIBRARY_PATH

# Ann want me to comment.

XRDLIB="/opt/xrootd/lib"
if [ -z "$LD_LIBRARY_PATH" ]; then
   export LD_LIBRARY_PATH="$XRDLIB"
else
   export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:$XRDLIB"
fi
echo $LD_LIBRARY_PATH
export LD_PRELOAD=$XRDLIB/libXrdPosixPreload.so
export XROOTD_VMP="atlas02.cs.wisc.edu:1094:/atlas/xrootd=/atlas/xrootd"

exec /opt/globus/sbin/globus-gridftp-server -p 2811 -l /var/log/gridftp/gridftp.log -dsi posix &

I've seen the /var/log/gridftp/gridftp.log file but it is empty all the time. Does anyone know why it is?

Thanks,

Mengmeng

Reply via email to