LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-04-2003, 01:04 PM   #1
hrishikesh
LQ Newbie
 
Registered: Jul 2003
Posts: 11

Rep: Reputation: 0
ftp logging problem. Xferlog file empty


hi,
I am using linux red hat 9.0

I have a ftp server installed on the machine.

The problem is that the xferlog file ( log of all ftp transfers) is always empty.

The logging is turned ON in the ftpaccess file with the following lines in the /etc/ftpaccess file:

log transfers anonymous,guest,real inbound,outbound
log security anonymous,guest,real
log syslog+xferlog

But still the /var/log/xferlog file remains empty. What could be the
problem ?

another question is that is an entry made into the xferlog immediately after a transfer is completed ? or is it made at certain intervals ?

- hrishikesh
 
Old 08-04-2003, 05:04 PM   #2
Sliptwixt
LQ Newbie
 
Registered: Aug 2003
Posts: 8

Rep: Reputation: 0
hi -
what are the permissions on the log file? can the server write to it?
are your ftp users being chroot'd after they log in?
it's possible that the ftp server (once locked in a chroot)
can no longer see the socket it needs to write the log data to.

The entries are written immediately to the xferlog.

hope that helps a little.
-e
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[c shell] file empty? saiz66 Programming 1 09-28-2004 10:57 PM
xferlog format tommytomato Linux - General 0 09-15-2004 01:51 AM
Snort ?config? problem: empty alert file Gyuszko Linux - Security 4 01-06-2004 03:41 PM
FTP Logging scottpioso Linux - Security 7 12-27-2003 08:40 AM
SuSE 8.0 FTP servers? An empty promise? shassouneh Linux - General 2 06-04-2002 03:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration