NeoXed's scripts nxAutoNuke, nxTools, etc. |
09-25-2007, 08:51 PM
|
#1
|
Too much time...
FlashFXP Beta Tester ioFTPD Scripter
Join Date: May 2003
Posts: 1,326
|
nxMyDB v0.2.0 - Alpha 2
Will not work with ioFTPD v6.x, as the module system is partially broken.
Changes- NEW: Event handler for catching server start and stop events.
- NEW: Full user and group synchronization during start-up.
- NEW: Incremental user and group synchronization performed on configurable intervals.
- NEW: Three new configuration options: Sync, SyncFirst, and SyncInterval.
- NEW: Two new tables for keeping track of changes made to users and groups.
- CHG: Removed the "Refresh" configuration option, see the new sync options.
- CHG: Renamed io_users and io_group tables to io_user and io_group, respectively.
- CHG: The "updated" column will only be set on writes.
- FIX: Corrected a few possible memory leaks in failure scenarios.
Download
http://www.inicom.net/pages/en.ioftp...pts.php?id=227
|
|
|
09-25-2007, 08:52 PM
|
#2
|
Too much time...
FlashFXP Beta Tester ioFTPD Scripter
Join Date: May 2003
Posts: 1,326
|
A new and improved locking system will be introduced for v0.3.0 (alpha 3).
|
|
|
09-27-2007, 10:27 AM
|
#3
|
Junior Member
FlashFXP Registered User
Join Date: Jul 2005
Posts: 16
|
woah thanks! can this be test-driven on a semi-live site already or is it too early for that yet?
|
|
|
09-27-2007, 02:31 PM
|
#4
|
Too much time...
FlashFXP Beta Tester ioFTPD Scripter
Join Date: May 2003
Posts: 1,326
|
It's semi-working, yeah. I do need the community's help for testing it, any bugs found can be corrected easier now than later.
The only thing to keep in mind is that the database tables might change in the upcoming release (for the new locking algorithm).
|
|
|
09-28-2007, 03:46 AM
|
#5
|
Junior Member
FlashFXP Registered User
Join Date: Jul 2005
Posts: 16
|
okay, im running it now, but somehow it wont create any data on my mysql server.
its loaded okay: [ERROR] 09-29-2007 10:43:48 nxMyDB: v0.2.0 loaded, using MySQL Client Library v5.0.45.
even tho im not quite sure it should be reported as error..
could you help me make it work? my mysql settings are double checked - can i see a log file somewhere to check what im doing wrong? Error.log and SystemError.log arent showing anything
Last edited by gerard; 09-28-2007 at 03:54 AM.
Reason: added "is there a log file"
|
|
|
09-28-2007, 04:01 AM
|
#6
|
Senior Member
Join Date: Feb 2006
Posts: 138
|
Quote:
Originally Posted by neoxed
It's semi-working, yeah. I do need the community's help for testing it, any bugs found can be corrected easier now than later.
The only thing to keep in mind is that the database tables might change in the upcoming release (for the new locking algorithm).
|
So the upcoming release would not be directly backwards compatible with the current one then?
|
|
|
09-28-2007, 09:55 AM
|
#7
|
Too much time...
FlashFXP Beta Tester ioFTPD Scripter
Join Date: May 2003
Posts: 1,326
|
Quote:
Originally Posted by gerard
okay, im running it now, but somehow it wont create any data on my mysql server.
its loaded okay: [ERROR] 09-29-2007 10:43:48 nxMyDB: v0.2.0 loaded, using MySQL Client Library v5.0.45.
even tho im not quite sure it should be reported as error..
could you help me make it work? my mysql settings are double checked - can i see a log file somewhere to check what im doing wrong? Error.log and SystemError.log arent showing anything
|
Yeah, I'm still working on a logging system for properly logging warnings/errors/etc.
For now, all the debug information is sent out via OutputDebugString. This information can be viewed with DebugView.
http://www.microsoft.com/technet/sys...debugview.mspx
|
|
|
09-28-2007, 09:56 AM
|
#8
|
Too much time...
FlashFXP Beta Tester ioFTPD Scripter
Join Date: May 2003
Posts: 1,326
|
Quote:
Originally Posted by pion
So the upcoming release would not be directly backwards compatible with the current one then?
|
Maybe, maybe not. It's still an alpha release...nothing's final at this point.
I still need people to help with testing.
|
|
|
09-29-2007, 01:22 PM
|
#9
|
Junior Member
FlashFXP Registered User
Join Date: Jul 2005
Posts: 16
|
00000000 0.00000000 [3288] | 3044 | SyncTimer | context=00000000 timer=00C0B64C
00000001 0.00005544 [3288] | 3044 | DbAcquire | dbPtr=01C1FF74
00000002 0.00033749 [3288] | 3044 | ConnectionCheck | context=00000000 data=00149184
00000003 0.00043691 [3288] | 3044 | ConnectionCheck | Connection has not been used in 60 seconds (60 second limit), pinging it.
00000004 0.00000000 [3288] | 3044 | DbGroupSync | db=00149184 sync=014EFF2C
00000005 0.00000000 [3288] | 3044 | GroupSyncIncr | db=00149184 sync=014EFF2C
00000006 0.00000000 [3288] | 3044 | DbUserSync | db=00149184 sync=014EFF2C
00000007 0.00000000 [3288] | 3044 | UserSyncIncr | db=00149184 sync=014EFF2C
00000008 0.00000000 [3288] | 3044 | DbRelease | db=00149184
thats what DebugView is giving me - is it any useful? looks like it is working. but there is nothing happening to my db. its still empty. only got the naked tables i created via the schema.sql
|
|
|
09-29-2007, 01:35 PM
|
#10
|
Too much time...
FlashFXP Beta Tester ioFTPD Scripter
Join Date: May 2003
Posts: 1,326
|
Have you created any users or groups yet?
Any users that existing before loading the module will continue to stay in user-files (if they say STANDARD in UserIdTable they are managed by ioFTPD not by NXMYDB).
|
|
|
09-30-2007, 06:32 AM
|
#11
|
Junior Member
FlashFXP Registered User
Join Date: Jul 2005
Posts: 16
|
ah, okay. it was a working io environment so yeah, i had the old users - ill create a few and see if it works
|
|
|
Thread Tools |
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:22 PM.
|