(imported comment written by SamuelMak)
Hi Kevin,
Thanks for the reply, but I’m getting all Green.
I’ve changed the upload maintenance to every 5 mins, hopping to trigger an upload.
Sorry for flooding, but see below for the logs.
Regards,
Samuel Mak
MFS.log
Wed, 11 Jul 2012 11:08:16 +0800
Service Started.
Thu, 12 Jul 2012 11:53:02 +0800
Service Started.
Thu, 12 Jul 2012 16:47:20 +0800
Service Started.
Thu, 12 Jul 2012 16:52:09 +0800
Stopping Service
Thu, 12 Jul 2012 16:52:09 +0800
Service Stopped
Thu, 12 Jul 2012 16:52:19 +0800
Service Started.
Thu, 12 Jul 2012 16:52:19 +0800
Loading task configuration file: BESUploadMaintenanceService.xml
Thu, 12 Jul 2012 16:52:19 +0800
Loaded task: BESUploadMaintenanceService
Thu, 12 Jul 2012 16:52:20 +0800
Task ‘BESUploadMaintenanceService’ run by command: “C:\Program Files (x86)\BigFix Enterprise\BES Server\Applications\BESUploadMaintenanceService\uploadmaintenanceservice.exe” -dsn bes_bfenterprise -sausername -sapassword -scandelay 2 -uploadsdir “C:\Program Files (x86)\BigFix Enterprise\BES Server\wwwrootbes”
Mon, 16 Jul 2012 09:03:46 +0800
Service Started.
Mon, 16 Jul 2012 09:03:47 +0800
Loading task configuration file: BESUploadMaintenanceService.xml
Mon, 16 Jul 2012 09:03:47 +0800
Loaded task: BESUploadMaintenanceService
Mon, 16 Jul 2012 09:03:48 +0800
Task ‘BESUploadMaintenanceService’ run by command: “C:\Program Files (x86)\BigFix Enterprise\BES Server\Applications\BESUploadMaintenanceService\uploadmaintenanceservice.exe” -dsn bes_bfenterprise -sausername -sapassword -scandelay 2 -uploadsdir “C:\Program Files (x86)\BigFix Enterprise\BES Server\wwwrootbes”
Mon, 16 Jul 2012 11:01:48 +0800
Loading task configuration file: BESUploadMaintenanceService.xml
Mon, 16 Jul 2012 11:01:48 +0800
Loaded task: BESUploadMaintenanceService
Mon, 16 Jul 2012 11:01:48 +0800
Stopping Service
Mon, 16 Jul 2012 11:01:49 +0800
Service Stopped
Mon, 16 Jul 2012 11:01:51 +0800
Service Started.
Mon, 16 Jul 2012 11:01:51 +0800
Loading task configuration file: BESUploadMaintenanceService.xml
Mon, 16 Jul 2012 11:01:51 +0800
Loaded task: BESUploadMaintenanceService
Mon, 16 Jul 2012 11:01:52 +0800
Task ‘BESUploadMaintenanceService’ run by command: “C:\Program Files (x86)\BigFix Enterprise\BES Server\Applications\BESUploadMaintenanceService\uploadmaintenanceservice.exe” -dsn bes_bfenterprise -sausername -sapassword -scandelay 10 -uploadsdir “C:\Program Files (x86)\BigFix Enterprise\BES Server\wwwrootbes”
OSD-UMS.log
Thu, 12 Jul 2012 16:52:20 +0800
File: C:\Program Files (x86)\BigFix Enterprise\BES Server\wwwrootbes\Uploads\46309ACB6EF52CB9B381B0A28516EADCBBDAE070\MDTResource.BFOSDSHA1: 46309ACB6EF52CB9B381B0A28516EADCBBDAE070deleted due to file pointer value 0.
Thu, 12 Jul 2012 16:52:20 +0800
File: 46309ACB6EF52CB9B381B0A28516EADCBBDAE070\MDTResource.BFOSD in uploads folder was deleted. Checking folder if fully empty.
Thu, 12 Jul 2012 16:52:20 +0800
Empty folder: C:\Program Files (x86)\BigFix Enterprise\BES Server\wwwrootbes\Uploads\46309ACB6EF52CB9B381B0A28516EADCBBDAE070 has been deleted.
Thu, 12 Jul 2012 16:52:20 +0800
Delete file pointer: OSD_FilePointer_46309ACB6EF52CB9B381B0A28516EADCBBDAE070 success.
Thu, 12 Jul 2012 16:52:20 +0800
Delete orphan: OSD_Orphan_46309ACB6EF52CB9B381B0A28516EADCBBDAE070 success.
Thu, 12 Jul 2012 16:52:20 +0800
Found file in folder: C:\Program Files (x86)\BigFix Enterprise\BES Server\wwwrootbes\Uploads\73F38F75EA9FE1335B45D490E69071299BE271A1Orphan record can be deleted.
Thu, 12 Jul 2012 16:52:20 +0800
Found file in folder: C:\Program Files (x86)\BigFix Enterprise\BES Server\wwwrootbes\Uploads\1486037A5754AB02EA70F0E42B07C71EB61E09B0Orphan record can be deleted.
Thu, 12 Jul 2012 16:52:20 +0800
Delete orphan: OSD_Orphan_73F38F75EA9FE1335B45D490E69071299BE271A1 success.
Thu, 12 Jul 2012 16:52:20 +0800
Delete orphan: OSD_Orphan_1486037A5754AB02EA70F0E42B07C71EB61E09B0 success.
Thu, 12 Jul 2012 16:52:20 +0800
Folder: 46309ACB6EF52CB9B381B0A28516EADCBBDAE070 in uploads folder was deleted.
Mon, 16 Jul 2012 09:04:10 +0800
Could not connect to DSN: bes_bfenterpriseusing username: -sapassword
Mon, 16 Jul 2012 09:04:10 +0800
Error in executing query to find 100 File Pointers with value 0: select top 100 newid() as row, name from dbo.dashboarddata where name like ‘OSD_FilePointer_%’ and convert(int, convert(varchar, convert(varbinary, value) ) ) < 1 and IsDeleted=0 and DashboardId=‘OSDeployment.ojo’ order by row
Mon, 16 Jul 2012 09:04:27 +0800
Could not connect to DSN: bes_bfenterpriseusing username: -sapassword
Mon, 16 Jul 2012 09:04:27 +0800
Error in executing query to find 100 orphan pointers: select top 100 newid() as row, name from dbo.dashboarddata where name like ‘OSD_Orphan_%’ and IsDeleted=0 and DashboardId=‘OSDeployment.ojo’ order by row
Mon, 16 Jul 2012 09:05:29 +0800
Could not connect to DSN: bes_bfenterpriseusing username: -sapassword
Mon, 16 Jul 2012 09:05:29 +0800
Error in executing query to find 100 File Pointers with value 0: select top 100 newid() as row, name from dbo.dashboarddata where name like ‘OSD_FilePointer_%’ and convert(int, convert(varchar, convert(varbinary, value) ) ) < 1 and IsDeleted=0 and DashboardId=‘OSDeployment.ojo’ order by row
Mon, 16 Jul 2012 09:19:30 +0800
Delete file pointer: OSD_FilePointer_85158B130CD7DB53073FFA9C9FE4C0E3D49F4083 success.
Mon, 16 Jul 2012 09:19:30 +0800
Delete orphan: OSD_Orphan_85158B130CD7DB53073FFA9C9FE4C0E3D49F4083 success.
Mon, 16 Jul 2012 09:21:10 +0800
Directory: C:\Program Files (x86)\BigFix Enterprise\BES Server\wwwrootbes\Uploads\85158B130CD7DB53073FFA9C9FE4C0E3D49F4083 is still empty, cannot de-orphan.