Hello,
I have a file temp.txt with the below contents :
Sep 9 03:04:51 adcsdp01 MAPDR2_00[60716]: Unable to open trace file adpstartarv.log. (Error 110 Resource temporarily unavailable) [ntservsserver.cpp 6754]
Sep 9 03:05:35 adcsdp01 MAPDR2_00[76986]: SAP Service ADPMR2_00 successfully started.
Sep 9 03:04:51 adcsdp01 MAPDR2_00[34879]: Unable to open trace file adpstartarv.log. (Error 19 Resource temporarily unavailable) [gtaserver.cpp 6754]
When I am trying to send the above file using mailx from Red Hat Server , I am getting file on my mailbox with incorrect layout i.e second line is starting in continuation with the very first line although the file has three separate lines
Below is the mailx command :
mailx -s "Sending mail" mailid < temp.txt
Below is the output which shows that second line didnt started in a new line :
Sep 9 03:04:51 adcsdp01 MAPDR2_00[60716]: Unable to open trace file adpstartarv.log. (Error 110 Resource temporarily unavailable) [ntservsserver.cpp 6754] Sep 9 03:05:35 adcsdp01 MAPDR2_00[76986]: SAP Service ADPMR2_00 successfully started.
Sep 9 03:04:51 adcsdp01 MAPDR2_00[34879]: Unable to open trace file adpstartarv.log. (Error 19 Resource temporarily unavailable) [gtaserver.cpp 6754]
Could someone Please help.
Thanks
Rahul