View Single Post
Old 08-05-2010, 11:51 PM  
Yil
Too much time...
 
Join Date: May 2005
Posts: 1,194
Default

I'm a bit confused about "site db create" complaining that the command isn't understood, but other commands are generating messages into the nxTools error log.

Can you examine all the logfiles especially SystemError.log to see if the TCL script is having a fatal error? I'll have to double check but it's quite likely that errors in init.itcl aren't reported anywhere. As a workaround add a "putlog Hi" at the end of the file and see if the ioFTPD.log file shows it. Depending on your settings you may see a few of these show up shortly after startup without you having to do anything as the preloading of the TCL interpreters for worker threads takes place.

My best guess right now is you installed ..\scripts\nxTools but failed to install the associated nxTools library files in ..\lib\nxHelper and ..\lib\sqlite3.

The suggestion for making sure you merged the ioNinja and nxTools scripts\init.itcl files was a good one since I've seen that problem many times as people don't realize they need to be merged instead of just copied...

Assuming you get that problem solved let me also suggest that you don't install the nxTools versions of site who, site close, and site open by simply commenting them out from the FTP_Custom_Commands section and the FTP_Site_Permissions section. Those are built-in features of ioFTPD now and I don't think there is anything gained by the script versions. If someone knows of one then let me know and I'll see if I can handle it for you. At the least you should be aware that the permissions for those 3 commands are already included and because they are first will be used so comment/remove the duplicate entry in case you later decide to change the perms you won't be confused. You'll also need to use the "^" command prefix if you prefer the nxTools variant to disable the built-in feature of that same name for those 3 commands...
Yil is offline   Reply With Quote