Hi Balvinder --
> opendir(SMD,"$startloc") || die "Failed to open Sysmon DB";
This is the problem line of code. I suspect that the application does not
have permission to access this directory. I suspect this because you can
run it from the command line but not via the web server. Web servers
usually run as un-privileged users for security reasons, while your command
line will run with your user privileges. A script running from the command
line but not via the web server is a common symptom of this problem.
To test this theory, change your line of code as follows:
opendir(SMD,"$startloc") || die "Failed to open Sysmon DB: $!";
The "$!" at the end will give the system error (e.g.: "File not found", "Bad
permissions", etc.), which should tell you a bit more about what went wrong.
Make this change and re-run the script. Post your error log to the list.
-Jesse-
----
Jesse Erlbaum, CTO
Vanguard Media
212.242.5317 x115
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]