Hi Team,

I am using guacamole-server version 1.0.0 and guacamole-client version
1.0.0.

Server : Centos 7  [ Guacamole -Server ]
> Remote OS : Windows Server 2008


We are using  *Oracle Report Builder* application in remote desktop to
generate pdf and rtf files.

While trying to download pdf and rtf files in the local operating system [
Windows 10 ], I am getting the below error :-

Report Builder *REP-0081* error during file i/o operation scaba 16


 I have added as many as logs as possible which are as follows :-

>
> pid:24707(-348199168) 05-Feb-2019 23:00:05
> guac_rdpdr_new_io_completion:Completion id [10] of Status 0 at Size 4
> pid:24707(-348199168) 05-Feb-2019 23:00:06 Major_Func and Minor_Func: 0
> and 0
> pid:24707(-348199168) 05-Feb-2019 23:00:06 guac_rdp_fs_open:
> path="\Download\DELEV_EFF_REP.pdf", access=0x12019f, file_attributes=0x80,
> create_disposition=0x5, create_options=0x60
> pid:24707(-348199168) 05-Feb-2019 23:00:06 guac_rdp_fs_open: Normalized
> path "\Download\DELEV_EFF_REP.pdf" to "\Download\DELEV_EFF_REP.pdf".
> pid:24707(-348199168) 05-Feb-2019 23:00:06 guac_rdp_fs_open: Translated
> path "\Download\DELEV_EFF_REP.pdf" to
> "/home/admin/public/rdp/gaJ7SWmDE7/Download/DELEV_EFF_REP.pdf".

pid:24707(-348199168) 05-Feb-2019 23:00:06 guac_rdp_fs_open: native open:
> real_path="/home/admin/public/rdp/gaJ7SWmDE7/Download/DELEV_EFF_REP.pdf",
> flags=0x242
> pid:24707(-348199168) 05-Feb-2019 23:00:06 guac_rdp_fs_open: Opened
> "\Download\DELEV_EFF_REP.pdf" as file_id=8
> pid:24707(-348199168) 05-Feb-2019 23:00:06 guac_rdpdr_fs_process_create:
> [file_id=8] desired_access=0x12019f, file_attributes=0x80,
> create_disposition=0x5, create_options=0x60,
> path="\Download\DELEV_EFF_REP.pdf"
> pid:24707(-348199168) 05-Feb-2019 23:00:06
> guac_rdpdr_new_io_completion:Completion id [10] of Status 0 at Size 5
> pid:24707(-348199168) 05-Feb-2019 23:00:06 Major_Func and Minor_Func: 5
> and 0
> pid:24707(-348199168) 05-Feb-2019 23:00:06
> guac_rdpdr_fs_process_query_standard_info: [file_id=8]
> pid:24707(-348199168) 05-Feb-2019 23:00:06
> guac_rdpdr_new_io_completion:Completion id [10] of Status 0 at Size 26
> pid:24707(-348199168) 05-Feb-2019 23:00:06 Major_Func and Minor_Func: 4
> and 0
> pid:24707(-348199168) 05-Feb-2019 23:00:06 guac_rdpdr_fs_process_write:
> [file_id=8] length=10, offset=0
> pid:24707(-348199168) 05-Feb-2019 23:00:06 Wrote 10 bytes in file id [8]
> of length 10 at offset 0
> pid:24707(-348199168) 05-Feb-2019 23:00:06
> guac_rdpdr_new_io_completion:Completion id [10] of Status 0 at Size 5
> pid:24707(-348199168) 05-Feb-2019 23:00:06 Major_Func and Minor_Func: 10
> and 0
> pid:24707(-348199168) 05-Feb-2019 23:00:06 
> *guac_rdpdr_new_io_completion:Completion
> id [10] of Status 0 at Size 33*
> pid:24707(-348199168) 05-Feb-2019 23:00:06
> guac_rdpdr_fs_process_query_volume_info: [file_id=8]
> pid:24707(-348199168) 05-Feb-2019 23:00:06 Major_Func and Minor_Func: 5
> and 0
> pid:24707(-348199168) 05-Feb-2019 23:00:06
> guac_rdpdr_fs_process_query_basic_info: [file_id=8]
> pid:24707(-348199168) 05-Feb-2019 23:00:06
> guac_rdpdr_new_io_completion:Completion id [10] of Status 0 at Size 40
> pid:24707(-348199168) 05-Feb-2019 23:00:06 Major_Func and Minor_Func: 5
> and 0
> pid:24707(-348199168) 05-Feb-2019 23:00:06
> guac_rdpdr_fs_process_query_standard_info: [file_id=8]
> pid:24707(-348199168) 05-Feb-2019 23:00:06
> guac_rdpdr_new_io_completion:Completion id [10] of Status 0



When I click ok the error, I get the below error :-

[image: image.png]

>
> pid:24707(-348199168) 05-Feb-2019 23:02:03 guac_rdp_fs_open: path="
> *\Download\DELEV_EFF_REP.pdf*", access=0x1, file_attributes=0x0,
> create_disposition=0x1, create_options=0x0
> pid:24707(-348199168) 05-Feb-2019 23:02:03 guac_rdp_fs_open: Normalized
> path "\Download\DELEV_EFF_REP.pdf" to "\Download\DELEV_EFF_REP.pdf".
> pid:24707(-348199168) 05-Feb-2019 23:02:03 guac_rdp_fs_open: Translated
> path "\Download\DELEV_EFF_REP.pdf" to
> "/home/admin/public/rdp/gaJ7SWmDE7/Download/DELEV_EFF_REP.pdf".
> pid:24707(-348199168) 05-Feb-2019 23:02:03 guac_rdp_fs_open: native open:
> real_path="/home/admin/public/rdp/gaJ7SWmDE7/Download/DELEV_EFF_REP.pdf",
> flags=0x0

pid:24707(-348199168) 05-Feb-2019 23:02:03 guac_rdp_fs_open: Opened
> "\Download\DELEV_EFF_REP.pdf" as file_id=4
> pid:24707(-348199168) 05-Feb-2019 23:02:03 guac_rdpdr_download_to_owner:
> Initiating download of "\Download\DELEV_EFF_REP.pdf"
> pid:24707(-348199168) 05-Feb-2019 23:02:03 guac_rdp_fs_close: Closed
> "\Download\DELEV_EFF_REP.pdf" (file_id=8)
> pid:24707(-348199168) 05-Feb-2019 23:02:03
> guac_rdpdr_new_io_completion:Completion id [10] of Status 0 at Size 4



It is only writing *10 bytes* and corrupted pdf file is downloaded.

I also went through MS-RDPEFS and it seems that everything is fine from
guacamole-server side.

*Any idea how may I debug the above issue?*

While downloading the rtf file it is writing  4271 bytes and then it shows
the above error:-

*t*es=0x80, create_disposition=0x5, create_options=0x60, path="
> *\Download\DELEV_EFF_REP.rtf*"
> pid:24707(-348199168) 05-Feb-2019 23:05:50
> guac_rdpdr_new_io_completion:Completion id [11] of Status 0 at Size 5
> pid:24707(-348199168) 05-Feb-2019 23:05:50 Major_Func and Minor_Func: 5
> and 0
> pid:24707(-348199168) 05-Feb-2019 23:05:50
> guac_rdpdr_fs_process_query_standard_info: [file_id=5]
> pid:24707(-348199168) 05-Feb-2019 23:05:50
> guac_rdpdr_new_io_completion:Completion id [11] of Status 0 at Size 26
> pid:24707(-348199168) 05-Feb-2019 23:05:50 Major_Func and Minor_Func: 4
> and 0
> pid:24707(-348199168) 05-Feb-2019 23:05:50 guac_rdpdr_fs_process_write:
> [file_id=5] length=113, offset=0
> pid:24707(-348199168) 05-Feb-2019 23:05:50 Wrote 113 bytes in file id [5]
> of length 113 at offset 0
> pid:24707(-348199168) 05-Feb-2019 23:05:50
> guac_rdpdr_new_io_completion:Completion id [11] of Status 0 at Size 5
> pid:24707(-348199168) 05-Feb-2019 23:05:50 Major_Func and Minor_Func: 4
> and 0
> pid:24707(-348199168) 05-Feb-2019 23:05:50 guac_rdpdr_fs_process_write:
> [file_id=5] length=1024, offset=113
> pid:24707(-348199168) 05-Feb-2019 23:05:50 Wrote 1024 bytes in file id [5]
> of length 1024 at offset 113
> pid:24707(-348199168) 05-Feb-2019 23:05:50
> guac_rdpdr_new_io_completion:Completion id [11] of Status 0 at Size 5
> pid:24707(-348199168) 05-Feb-2019 23:05:50 Major_Func and Minor_Func: 4
> and 0
> pid:24707(-348199168) 05-Feb-2019 23:05:50 guac_rdpdr_fs_process_write:
> [file_id=5] length=1024, offset=1137
> pid:24707(-348199168) 05-Feb-2019 23:05:50 Wrote 1024 bytes in file id [5]
> of length 1024 at offset 1137
> pid:24707(-348199168) 05-Feb-2019 23:05:50
> guac_rdpdr_new_io_completion:Completion id [11] of Status 0 at Size 5
> pid:24707(-348199168) 05-Feb-2019 23:05:50 Major_Func and Minor_Func: 4
> and 0
> pid:24707(-348199168) 05-Feb-2019 23:05:50 guac_rdpdr_fs_process_write:
> [file_id=5] length=1024, offset=2161
> pid:24707(-348199168) 05-Feb-2019 23:05:50 Wrote 1024 bytes in file id [5]
> of length 1024 at offset 2161
> pid:24707(-348199168) 05-Feb-2019 23:05:50
> guac_rdpdr_new_io_completion:Completion id [11] of Status 0 at Size 5
> pid:24707(-348199168) 05-Feb-2019 23:05:50 Major_Func and Minor_Func: 4
> and 0
> pid:24707(-348199168) 05-Feb-2019 23:05:50 guac_rdpdr_fs_process_write:
> [file_id=5] length=1024, offset=3185
> pid:24707(-348199168) 05-Feb-2019 23:05:50 Wrote 1024 bytes in file id [5]
> of length 1024 at offset 3185
> pid:24707(-348199168) 05-Feb-2019 23:05:50
> guac_rdpdr_new_io_completion:Completion id [11] of Status 0 at Size 5
> pid:24707(-348199168) 05-Feb-2019 23:05:50 Major_Func and Minor_Func: 4
> and 0
> pid:24707(-348199168) 05-Feb-2019 23:05:50 guac_rdpdr_fs_process_write:
> [file_id=5] length=62, offset=4209
> pid:24707(-348199168) 05-Feb-2019 23:05:50 Wrote 62 bytes in file id [5]
> of length 62 at offset 4209
> pid:24707(-348199168) 05-Feb-2019 23:05:50
> guac_rdpdr_new_io_completion:Completion id [11] of Status 0 at Size 5
> pid:24707(-348199168) 05-Feb-2019 23:05:50 Major_Func and Minor_Func: 4
> and 0
> pid:24707(-348199168) 05-Feb-2019 23:05:50 *guac_rdpdr_fs_process_write:
> [file_id=5] length=253, offset=4271*
> pid:24707(-348199168) 05-Feb-2019 23:05:50 Wrote 253 bytes in file id [5]
> of length 253 at offset 4271
> pid:24707(-348199168) 05-Feb-2019 23:05:50
> guac_rdpdr_new_io_completion:Completion id [11] of Status 0 at Size 5
> pid:24707(-348199168) 05-Feb-2019 23:05:50 Major_Func and Minor_Func: 10
> and 0
> pid:24707(-348199168) 05-Feb-2019 23:05:50
> guac_rdpdr_new_io_completion:Completion id [11] of Status 0 at Size 33
> pid:24707(-348199168) 05-Feb-2019 23:05:50
> guac_rdpdr_fs_process_query_volume_info: [file_id=5]
> pid:24707(-348199168) 05-Feb-2019 23:05:50 Major_Func and Minor_Func: 5
> and 0
> pid:24707(-348199168) 05-Feb-2019 23:05:50
> guac_rdpdr_fs_process_query_basic_info: [file_id=5]
> pid:24707(-348199168) 05-Feb-2019 23:05:50
> guac_rdpdr_new_io_completion:Completion id [11] of Status 0 at Size 40
> pid:24707(-348199168) 05-Feb-2019 23:05:50 Major_Func and Minor_Func: 5
> and 0
> pid:24707(-348199168) 05-Feb-2019 23:05:50
> guac_rdpdr_fs_process_query_standard_info: [file_id=5]
> pid:24707(-348199168) 05-Feb-2019 23:05:50
> guac_rdpdr_new_io_completion:Completion id [11] of Status 0 at Size 26


I have tried to save the file instead of downloading in the Download folder
and got the same error.

To reproduce it I have installed WPS Spreadsheets [*Kingsoft Spreadshee*t ]
and tried to save the excel and got the error.

I haven't added any code in *guacamole-server* apart from the logs.

Please help me out to resolve this issue.
If there is anything I am missing in the above info, please let me know.

Thanks,
Amarjeet Singh

Reply via email to