View Full Version : sharedb import ?
hi.. im running sharedb..
And i want to import my old users..
so i guessed thats what ioimport is for..
but it doesnt seem to work.. :x
ioexport settings
## Path to export the GroupIdTable and UserIdTable to (use foward slashes).
set IE(GroupIdTable) "C:/ioFTPD/sqlexport/GroupIdTable"
set IE(UserIdTable) "C:/ioFTPD/sqlexport/UserIdTable"
## Path to export the user and group files to (use foward slashes).
set IE(GroupFiles) "C:/ioFTPD/sqlexport/groups"
set IE(UserFiles) "C:/ioFTPD/sqlexport/users"
ioimport settings is the normal file paths...
neoxed
05-04-2006, 11:54 AM
hi.. im running sharedb..
And i want to import my old users..
so i guessed thats what ioimport is for..
but it doesnt seem to work.. :xWhat exactly doesn't work? Vague statements don't help anyone.
nxImport is for importing users INTO the shared database.
nxExport is for exporting users OUT of the shared database.
It's really not that hard...
hehe.. relax man..
enough with the angry replies..
Just testing your nice script..
but seems it was working fine..
I was just anxious and didnt wait for it to run cmd.. :)
another question about your fine import and export script..
this question is about ioexport.
does ioexport lock the useridtable ?
cause i pointed all my scripts at c:/ioftpd/sqlexport/useridtable instead,
and none seem to work.
all say failed to open useridtable.. :x
any ideas or ways to fix ?
neoxed
05-08-2006, 04:05 PM
No, nxExport doesn't lock the UserIdTable or GroupIdTable files. The only thing I can think of is the script could have encountered an error and failed to close the handles to those files.
Can you try restarting ioFTPD and see if the other scripts are table to read the files.
i tried to restart ioftpd.. didnt help..
but the prob cant be your script.
cause
im running all my scripts on the quota bot..
and i tried to put the compare script on the 1 site bot.
there its working fine.
so 2 bots on same machine.
1 where scripts are working.
and 1 where they aint.. weird.. :-?
neoxed
05-09-2006, 09:08 PM
Which other scripts use the UserIdTable/GroupIdTable files? It's possible that they might be locking/not-closing the files in question.
Try using Process Explorer from Systernals to find the open handles.
im not sure any other scripts are using useridtable...
the weird thing is the sitebot with dzsbot can run the scripts reading from useridtable,
but the quota bot cant..
both bots are on same server, and i tried disabling all other scripts on the quotabot..
still notting.. :x
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2024, vBulletin Solutions, Inc.