Recieved report I/O Error 6

General chat about HostMonitor (all messages posted before March 07, 2003 available here).
Locked
User avatar
mpriess
Posts: 112
Joined: Tue Jul 02, 2002 6:00 pm
Location: Arizona, USA

Post by mpriess »

Hi Alex,

There was an error dialog box on our hostmonitor (3.40) server this morning. It simply stated "I/O Error 6". I looked at the system log and it indicates a reporting error. The reports are set to run every 5 minutes. Here are a few lines from the log:

10/24/2002 3:03:49 PM Monitor started
10/24/2002 8:02:44 PM Report creation error: I/O error 6
10/24/2002 8:02:47 PM Report creation error: Cannot create file "\dac_itintrac$InetpubwwwrootEDIHostMonitorBizTalk.htm"
As far as I can tell the DAC_ITIntra server was availabe during this time.

Thanks for your assistance,
Mark
User avatar
mpriess
Posts: 112
Joined: Tue Jul 02, 2002 6:00 pm
Location: Arizona, USA

Post by mpriess »

I forgot to mention the errors occured in the system log every five minutes from 8PM last night until around 5:30am this morning when the program was restarted.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

After you restart program it does not record error anymore?
User avatar
mpriess
Posts: 112
Joined: Tue Jul 02, 2002 6:00 pm
Location: Arizona, USA

Post by mpriess »

Correct. Restarted app and the error went away. I didn't look closely enough to see if Hostmonitor was still monitoring all of the hosts while the message box was up. I know I couldn't access the program until I closed the dialog box. I was in a hurry to fix it so I just stoppedstarted it quickly before investigating further.
User avatar
mpriess
Posts: 112
Joined: Tue Jul 02, 2002 6:00 pm
Location: Arizona, USA

Post by mpriess »

Hi Alex,

I received this error again today (27th).
I did a little more troubleshooting. If I change the filename of the report, after I recieve this error, then click "generate" it successfully writes to the file. If I then change it back to the original it says it cannot write to the file. However, if the program is stoppedrestarted it will write to the original filename.
Let me know if you have any ideas. Thx!
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

It looks like HM does not close file after some I/O error and this I/O error happen after HM opens report file. HostMonitor must handle all I/O exception but probably I missed something. I am checking code, did not find where is mistake yet. BTW what can be reson for I/O error in your situation? Do you have low free space on drive? or you have some applications those work with report files?

Regards
Alex
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Ok, at 1st I checked code that creates HTML report (because I see extension of your report is htm) and I cannot find any error. So, I was confused. But later I checked code that produces WML report and found one posibility for the problem. What the type of your report (not extension but Hostmonitor's report type)? I hope WML or Text?
Anyway: 1st error (I/O error 6) is not HostMonitor's fault. Something wrong with your server or network, this error appears when system opens file but cannot write data into the file. After this error HM does not release handle and cannot open the file anymore.
So, please tell me type of the report. If my suggestion right problem will be fixed immediately.

Regards
Alex
User avatar
mpriess
Posts: 112
Joined: Tue Jul 02, 2002 6:00 pm
Location: Arizona, USA

Post by mpriess »

Hi Alex...thanks for the replies.

Report Profile information...
Type: htm
Using external and internal footers as well.

Other info: The report is viewed from an intranet site.

It seems to happen during the evening only. Backups are done at this time on all of the servers. Could the operation be timing out?
However, this doesn't make sense then because when I attempt to generate the reports manually in the morning they still fail...? Until the program is restarted.

I may try changing the path to a local drive to see if that helps.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Problem solved, patch available at http://www.ks-soft.net/download/hm341c.zip
Error appeared because compiler's library makes attempt to save buffers when HostMonitor calls closefile function.

Regards
Alex
User avatar
mpriess
Posts: 112
Joined: Tue Jul 02, 2002 6:00 pm
Location: Arizona, USA

Post by mpriess »

Thanks!
Amazingly fast tech support once again!
User avatar
mpriess
Posts: 112
Joined: Tue Jul 02, 2002 6:00 pm
Location: Arizona, USA

Post by mpriess »

HI Alex,

Just an FYI. The reports fix seems to be working fine. I haven't had any problems but some errors are still be recorded in the log file. All of the reports are created successfully however.

11/12/2002 4:03:49 PM Report creation error: I/O error 6
11/12/2002 7:49:03 PM Report creation error: I/O error 33
11/12/2002 9:03:49 PM Report creation error: I/O error 6


KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Errors appears because some process works with reports. Error 33 means "The process cannot access the file because another process has locked a portion of the file."

Regards
Alex
Locked