Go Back   FlashFXP Forums > > > >

ioFTPD General New releases, comments, questions regarding the latest version of ioFTPD.

Reply
 
Thread Tools Rate Thread Display Modes
Old 01-08-2005, 11:00 AM   #1
esmandil
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Oct 2004
Posts: 107
Default UserIdTable.new file?

Hello,

From time to time I see a file "UserIdTable.new" in my ioftpd/etc directory, alongside normal "UserIdTable". Does anybody know what is it used for?

My guess is that ioftpd writes changes to userlist to UserIdTable.new sometimes, instead of UserIdTable... Am I right? Does anyone have any idea why is that so? Or when are the changes written back to UserIdTable?

I am trying to determine why users seem to disappear randomly from my server (no trace in any of the logs), and this file is currently my number one suspect...

Thanks for any help
esmandil is offline   Reply With Quote
Old 01-09-2005, 08:30 AM   #2
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

That file is used everytime the UserIdTable changes.
The new updated file is written as .new, then the old UserIdTable file is deleted, and the .new is renamed to UserIdTable.
This is to prevent crashes caused by an invalid UserIdTable in case the updated file couldn't be written correctly (HD full or such).
Mouton is offline   Reply With Quote
Old 01-09-2005, 10:44 AM   #3
esmandil
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Oct 2004
Posts: 107
Default

Thanks for the explanation, it is really helpful.

Now, the only question is why the UserIdTable.new file is kept around, and why isn't it renamed to UserIdTable in my case? When I try to rename it by hand, I get "file is being used by another process" error... maybe the same problem is preventing ioftpd from renaming the file?

Any ideas?
esmandil is offline   Reply With Quote
Old 01-09-2005, 01:18 PM   #4
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

UserIdTable is in use by ioFTPD.
If you want to replace this file, u need to close ioFTPD, then delete it, then rename the .new to UserIdTable.
Are u using NTFS or FAT32 ?
Did you try a chkdsk /f on the partition that has ioFTPD installed ?
Mouton is offline   Reply With Quote
Old 01-10-2005, 06:47 AM   #5
esmandil
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Oct 2004
Posts: 107
Default

Quote:
UserIdTable is in use by ioFTPD.
Actually, it is not - or at least not always. I have just verified that I am able to delete UserIdTable while ioFTPD is running (on my other system).

So something else must be locking the file. I will investigate further.

Quote:
Are u using NTFS or FAT32?
NTFS. Do you think it matters?

Quote:
Did you try a chkdsk /f on the partition that has ioFTPD installed ?
I didn't - good idea, though. I will try that later when I get access to the box.
esmandil is offline   Reply With Quote
Reply

Tags
determine, file, time, useridtable, useridtable.new

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Search For Files On A Remote Server chrome307 General Discussion 2 01-02-2005 12:06 PM
site change ratio suggestion Lunatik Suggestions 3 02-13-2003 09:14 PM


All times are GMT -5. The time now is 09:58 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)