WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
   
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
Plugin Crashes (Read 13983 times)
jimaus
Junior Member
**
Offline



Posts: 59
Australia
Plugin Crashes
Apr 11th, 2006 at 11:12am
 
Gert,

We have been unable to keep WD running today, all of the Plugins have crashed at some stage.
Some will run for a while but then crash as soon as they have processed a file.
They include zip and unzip, ftp, move.

We moved all of the processes onto a different pc and had the same issues.

I have attached a zip file of the history db's for all processes.

I have included all history db's I could not remember which ones gave the most problems.

I hope you can shed a bit of light on this.

Cheers

Jim
Back to top
 
 
IP Logged
 
jimaus
Junior Member
**
Offline



Posts: 59
Australia
Re: Plugin Crashes
Reply #1 - Apr 11th, 2006 at 11:13am
 
oops here is the attachment

edited by Gert: removed attachment
Back to top
« Last Edit: Apr 11th, 2006 at 12:50pm by Gert »  
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: Plugin Crashes
Reply #2 - Apr 11th, 2006 at 12:48pm
 
Hello Jim,

I can not see any real error in the history databases.

Did you install the ftp plugin from the beta forum? In that case you may want to go back to the original.
Otherwise:
Can you enable "write debug info" for one task, and start it again, I am interested in that history.db, please email it to me.

Gert
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
jimaus
Junior Member
**
Offline



Posts: 59
Australia
Re: Plugin Crashes
Reply #3 - Apr 11th, 2006 at 1:18pm
 
Gert,

Attached history.db with debug on

Cheers

Jim

edited by Gert: removed attachment
Back to top
« Last Edit: Apr 12th, 2006 at 5:53am by Gert »  
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: Plugin Crashes
Reply #4 - Apr 11th, 2006 at 4:04pm
 
Jim,

The db shows that the plugin is called for a DELETED file. As this plugiun doesn't support the FILEDEL event, it crashes. I wonder what your settings on the events page ( http://www.watchdirectory.net/wdhelp/help/wdnewconfigpage4.html ) are.
Gert
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
jimaus
Junior Member
**
Offline



Posts: 59
Australia
Re: Plugin Crashes
Reply #5 - Apr 12th, 2006 at 12:16am
 
Gert,

I have rebooted the server, deleted those configurations thatwere causing problems and re created them.

I will let you know how it goes.

Cheers

Jim
Back to top
 
 
IP Logged
 
jimaus
Junior Member
**
Offline



Posts: 59
Australia
Re: Plugin Crashes
Reply #6 - Apr 12th, 2006 at 12:55am
 
Gert,

The problem may be with some files created by Macintosh OSX.

It creates a *.DS_Store file in the directories monitired by WD and it seems that WD will not delete it.

I have added an exception to the configs so that it ignores these files.

I notice that you have a global ignore directories setting, could one for global file ignore be added?

So that files of this type are not processed by all configs.

What does WD do with read only files? Could this cause the same issue?

Cheers

Jim
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: Plugin Crashes
Reply #7 - Apr 12th, 2006 at 5:56am
 
Regarding read-only files, maybe WD has trouble removing them, but it should not crash on them. I will look into that.

Gert
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
jimaus
Junior Member
**
Offline



Posts: 59
Australia
Re: Plugin Crashes
Reply #8 - Apr 18th, 2006 at 7:57am
 
Gert,

Still getting plugin crashes.

This is the email message I get from wd

Plugin returned errorcode -1. Error message=No further info. watchDirectory will abort
Date/Time: 18/04/2006 3:50:21 PM
Computer: ~

Attached is a zip of the history file for this particular config.

It appears to crash after each file it ftp's.

This was a new config.  I trashed all of the others.

Cheers

Jim

Edited by Gert: removed attachment
Back to top
« Last Edit: Apr 18th, 2006 at 5:03pm by Gert »  
 
IP Logged
 
jimaus
Junior Member
**
Offline



Posts: 59
Australia
Re: Plugin Crashes
Reply #9 - Apr 18th, 2006 at 8:02am
 
Gert,

I have tried setting the Service Recovery options to restart the Service if it fails, this does not work.

I also tried to get it to run a file that would restart the Service but that did not work either.

Should wd Recover if these settings are used?

Cheers

Jim
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: Plugin Crashes
Reply #10 - Apr 18th, 2006 at 5:10pm
 
Hello Jim,

When I look at the history database, I see an event for a "deleted file" (the one just uploaded, I assume you have "delete file after upload" checked).
As the FTP plugin does not support FILEDEL events, it returns -1. Can you send me the config file for this task (change your FTP password first if you like):

<task directory>\<yourtaskname>.config
<task directory>: press CTRL+9 inside the watchDirectory Control Center to explore this directory
<yourtaskname>: the name of your task

It looks like the FILEDEL event is enabled (it should not be). If you open the <task>.config with notepad, and search for "evtFileDel" it should be:

evtFileDel=-1

Gert
Back to top
 

deletedfile.jpg (23 KB | )
deletedfile.jpg

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
jimaus
Junior Member
**
Offline



Posts: 59
Australia
Re: Plugin Crashes
Reply #11 - Apr 18th, 2006 at 11:55pm
 
Gert,

The FTP configs have the DEL event greyed out, but the evtFileDel parameter in the config file is set to 1.

If the config such as FTP does not support DEL, the evtFileDel should default to 0.

I have had a look at the other configs for FTP, some were missing all event parameters, some look like,
[watchDirectoryEvents]
evtFileNew=1
evtFileDel=-1
evtFileRen=-1
evtFileChng=0
evtFileChngBasedOnSize=0
evtDirNew=-1
evtDirDel=-1
evtDirRen=-1
evtQuiet=-1
evtQuietSecondsInterval=60

The ones with the above work ok and consistently. any idea why wd would create sucha wide range of configs?

I only use the gui to set them up.

Attached is the config as requested.

Cheers

Jim
edited by Gert: removed the attachment
Back to top
« Last Edit: Apr 19th, 2006 at 5:14am by Gert »  
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: Plugin Crashes
Reply #12 - Apr 19th, 2006 at 5:12am
 
Jim,

Quote:
If the config such as FTP does not support DEL, the evtFileDel should default to 0.

the evtXXX settings can have 3 values:
-1: this event is not supported (grayed out)
0: this event is supported, but not selected by you
1: this event is supported and selected by you

However, the gui also checks the wdopAutoFtp.dll to see if it supports filedel. The actual "runtime" (wdRun.exe) does not do these checks, it just does what is configured. I will change the next release so wdRun will also ignore events not supported by the plugin (instead of aborting).

I am very curious how your config got the "1" value for filedel if you didn't edit it manually. Can you do a disk-check (chkdsk) of the drive with the config files?

Quote:
I have had a look at the other configs for FTP, some were missing all event parameters

You mean there is no [watchDirectoryEvents] heading anywhere in the config? weird indeed!

To fix the issue, you can manually edit the configs for those FTP tasks.

Gert
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
jimaus
Junior Member
**
Offline



Posts: 59
Australia
Re: Plugin Crashes
Reply #13 - Apr 19th, 2006 at 7:52am
 
Gert,

Some of the config files had the [watchDirectoryEvents] heading but nothing under it.

Looking like

[watchDirectoryEvents]
[watchDirectoryOther]
waitForFilesToBeAvailable=1
fireFilenewDirnewAtStart=1
missedEvents=0
etc..........

Cheers

Jim
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: Plugin Crashes
Reply #14 - Apr 19th, 2006 at 8:58am
 
mmm,


can you send me one of those config files?

do you happen to know/remember something about those tasks, for example: are they all created by copying another task?

Anyway, just edit them with notepad and add
[watchDirectoryEvents]
evtFileNew=1
evtFileDel=-1
evtFileRen=-1
evtFileChng=0
evtFileChngBasedOnSize=0
evtDirNew=-1
evtDirDel=-1
evtDirRen=-1
evtQuiet=-1
evtQuietSecondsInterval=60

making sure no other [watchDirectoryEvents] section exists.

Gert
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
jimaus
Junior Member
**
Offline



Posts: 59
Australia
Re: Plugin Crashes
Reply #15 - Apr 26th, 2006 at 6:12am
 
Gert,

Have removed WD from the server that was having problems as per this thread.

We installed WD on a different box and it has been running without a problem for a week.

It appears that something is strange with the box on which it was running.

Cheers

Jim
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: Plugin Crashes
Reply #16 - Apr 26th, 2006 at 6:22am
 
The Control Center only uses "normal" Windows functions to write your settings to the config files. If these functions misbehave on that computer, I would think that a lot of other programs would have trouble as well.
I am glad it is working ok again, but I would love to know the cause of the problems. Maybe a weird interaction with a virus-scanner?

Gert
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
jimaus
Junior Member
**
Offline



Posts: 59
Australia
Re: Plugin Crashes
Reply #17 - Apr 27th, 2006 at 12:24am
 
Gert.

Possibly a strange reaction to Virus Scanner, I would also like to find out the root cause, but it is a bit difficult when the server is a production server.

The wd we now use is still pointing to the server on which wd was originally running, so it appears the 'normal" windows stuff is not the issue.

Cheers

Jim
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1