Go Back   FlashFXP Forums > > > >

NeoXed's scripts nxAutoNuke, nxTools, etc.

Reply
 
Thread Tools Rate Thread Display Modes
Old 09-25-2007, 08:51 PM   #1
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default 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
neoxed is offline   Reply With Quote
Old 09-25-2007, 08:52 PM   #2
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

A new and improved locking system will be introduced for v0.3.0 (alpha 3).
neoxed is offline   Reply With Quote
Old 09-27-2007, 10:27 AM   #3
gerard
Junior Member
FlashFXP Registered User
 
Join Date: Jul 2005
Posts: 16
Default

woah thanks! can this be test-driven on a semi-live site already or is it too early for that yet?
gerard is offline   Reply With Quote
Old 09-27-2007, 02:31 PM   #4
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

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).
neoxed is offline   Reply With Quote
Old 09-28-2007, 03:46 AM   #5
gerard
Junior Member
FlashFXP Registered User
 
Join Date: Jul 2005
Posts: 16
Default

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"
gerard is offline   Reply With Quote
Old 09-28-2007, 04:01 AM   #6
pion
Senior Member
 
Join Date: Feb 2006
Posts: 138
Default

Quote:
Originally Posted by neoxed View Post
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?
pion is offline   Reply With Quote
Old 09-28-2007, 09:55 AM   #7
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Quote:
Originally Posted by gerard View Post
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
neoxed is offline   Reply With Quote
Old 09-28-2007, 09:56 AM   #8
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Quote:
Originally Posted by pion View Post
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.
neoxed is offline   Reply With Quote
Old 09-29-2007, 01:22 PM   #9
gerard
Junior Member
FlashFXP Registered User
 
Join Date: Jul 2005
Posts: 16
Default

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
gerard is offline   Reply With Quote
Old 09-29-2007, 01:35 PM   #10
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

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).
neoxed is offline   Reply With Quote
Old 09-30-2007, 06:32 AM   #11
gerard
Junior Member
FlashFXP Registered User
 
Join Date: Jul 2005
Posts: 16
Default

ah, okay. it was a working io environment so yeah, i had the old users - ill create a few and see if it works
gerard is offline   Reply With Quote
Reply

Tags
chg, download, group, synchronization, user

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

Forum Jump


All times are GMT -5. The time now is 04:23 AM.

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