<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: clamscan command from the java program gives the exit code 127 in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59862#M21105</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For context of others, I see you've also recently posted related questions such as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/thread/235318"&gt;Different versions of files for rule and scheduler in antivirus action. &lt;/A&gt;(related to&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/docs/DOC-5978"&gt;Antivirus&lt;/A&gt;&amp;nbsp;).&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://migration33.stage.lithium.com/thread/235915"&gt;clamdscan restricting the apparmor.d file to scan the files in /opt&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A __default_attr="235273" __jive_macro_name="thread" _jive_internal="true" class="jive_macro_thread jive_macro link-titled" href="https://community.alfresco.com/thread/235273-failed-to-execute-script-for-scheduler-in-virus-scanning" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It sounds as if you're getting closer to solving it - please let us know how you get on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Mar 2018 10:01:28 GMT</pubDate>
    <dc:creator>janv</dc:creator>
    <dc:date>2018-03-09T10:01:28Z</dc:date>
    <item>
      <title>clamscan command from the java program gives the exit code 127</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59861#M21104</link>
      <description>I am exploring the addon&amp;nbsp;GitHub - fegorama/alfviral: Alfresco Virus Alert&amp;nbsp;I am using the COMMAND mode to scan the files for virus.I have the following configuration in alfviral.properties file.alfviral.mode=COMMANDalfviral.command.exec=/usr/bin/clamscanWhen the following code is executed&amp;nbsp;ProcessBuil</description>
      <pubDate>Wed, 07 Mar 2018 17:29:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59861#M21104</guid>
      <dc:creator>ayushi_agrahari</dc:creator>
      <dc:date>2018-03-07T17:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: clamscan command from the java program gives the exit code 127</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59862#M21105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For context of others, I see you've also recently posted related questions such as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/thread/235318"&gt;Different versions of files for rule and scheduler in antivirus action. &lt;/A&gt;(related to&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/docs/DOC-5978"&gt;Antivirus&lt;/A&gt;&amp;nbsp;).&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://migration33.stage.lithium.com/thread/235915"&gt;clamdscan restricting the apparmor.d file to scan the files in /opt&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A __default_attr="235273" __jive_macro_name="thread" _jive_internal="true" class="jive_macro_thread jive_macro link-titled" href="https://community.alfresco.com/thread/235273-failed-to-execute-script-for-scheduler-in-virus-scanning" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It sounds as if you're getting closer to solving it - please let us know how you get on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 10:01:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59862#M21105</guid>
      <dc:creator>janv</dc:creator>
      <dc:date>2018-03-09T10:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: clamscan command from the java program gives the exit code 127</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59863#M21106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, test if the call /usr/bin/clamscan is fine!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not, use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;whereis clamscan&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;for found this executable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fegor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 10:39:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59863#M21106</guid>
      <dc:creator>fegor</dc:creator>
      <dc:date>2018-03-09T10:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: clamscan command from the java program gives the exit code 127</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59864#M21107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, test from command line using the same user as the Alfresco process&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 10:43:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59864#M21107</guid>
      <dc:creator>mikel_asla</dc:creator>
      <dc:date>2018-03-09T10:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: clamscan command from the java program gives the exit code 127</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59865#M21108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have installed the amps in alfresco 5.2 and keep the following configuration in alfviral.properties file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;alfviral.mode=COMMAND&lt;/P&gt;&lt;P&gt;alfviral.command.exec=/usr/bin/clamscan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I run the clamscan command in terminal,it is working perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when I have tried to run the command through java code,it is giving the exit code 127 which means that the command is not found&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following code in CommandScan.java class&lt;/P&gt;&lt;DIV class="" style="padding: 0px 15px;"&gt;&lt;SPAN class="" style="color: #24292e;"&gt;ProcessBuilder&lt;/SPAN&gt; pb &lt;SPAN class="" style="color: #d73a49;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #d73a49;"&gt;new&lt;/SPAN&gt; &lt;SPAN class="" style="color: #24292e;"&gt;ProcessBuilder&lt;/SPAN&gt;(&lt;SPAN class="" style="color: #005cc5;"&gt;this&lt;/SPAN&gt;&lt;SPAN class="" style="color: #d73a49;"&gt;.&lt;/SPAN&gt;command);&lt;/DIV&gt;&lt;DIV class="" style="padding: 0px 15px;"&gt;&lt;SPAN class="" style="color: #24292e;"&gt;Process&lt;/SPAN&gt; process &lt;SPAN class="" style="color: #d73a49;"&gt;=&lt;/SPAN&gt; pb&lt;SPAN class="" style="color: #d73a49;"&gt;.&lt;/SPAN&gt;start();&lt;/DIV&gt;&lt;DIV class="" style="padding: 0px 15px;"&gt;res &lt;SPAN class="" style="color: #d73a49;"&gt;=&lt;/SPAN&gt; process&lt;SPAN class="" style="color: #d73a49;"&gt;.&lt;/SPAN&gt;waitFor();&lt;/DIV&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;logger.debug(" ++++++the value of res is++++++++"+res);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and when I have uploaded a file of mimetype application/x-dosexec,I got the following logs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;2018-03-07 19:12:38,753 DEBUG &amp;nbsp;[security.antivirus.CommandScan] [http-apr-8080-exec-10] ++++++the value of res is++++++++127&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am surprised that logs are showing that the command is not found because when I have directly run the clamscan on a file,it is working perfectly and showing that the file is infected if the file is infected and clean if the file is not infected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me why the clamscan command is giving the value 127(command not found) through the java class but running perfectly through the terminal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 10:52:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59865#M21108</guid>
      <dc:creator>ayushi_agrahari</dc:creator>
      <dc:date>2018-03-09T10:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: clamscan command from the java program gives the exit code 127</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59866#M21109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;B&gt;Fernando González&lt;/B&gt;‌&lt;/P&gt;&lt;P&gt;ayushi@ayushi-GA-78LMT-S2PT:~$ whereis clamscan&lt;BR /&gt;clamscan: /usr/bin/clamscan /usr/share/man/man1/clamscan.1.gz&lt;BR /&gt;ayushi@ayushi-GA-78LMT-S2PT:~$ which clamscan&lt;BR /&gt;/usr/bin/clamscan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 10:56:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59866#M21109</guid>
      <dc:creator>ayushi_agrahari</dc:creator>
      <dc:date>2018-03-09T10:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: clamscan command from the java program gives the exit code 127</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59867#M21110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please, in java code insert:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;logger.debug(" ++++++ The value of command is: " + this.command);&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;And return this info.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Fegor&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 11:22:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59867#M21110</guid>
      <dc:creator>fegor</dc:creator>
      <dc:date>2018-03-09T11:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: clamscan command from the java program gives the exit code 127</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59868#M21111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And, as Mkel say, which user runs Alfresco?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And finally, the best method to use Alfviral is through ICAP protocol &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fegor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 11:25:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59868#M21111</guid>
      <dc:creator>fegor</dc:creator>
      <dc:date>2018-03-09T11:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: clamscan command from the java program gives the exit code 127</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59869#M21112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when I put this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;logger.debug(" ++++++ The value of command is: " + this.command);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the logs are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;2018-03-09 19:00:06,535&amp;nbsp; DEBUG [security.antivirus.CommandScan] [DefaultScheduler_Worker-10] &lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;++++++&lt;/SPAN&gt; the value of command is[/usr/bin/clamscan, /home/alfresco_installation/Alfviral/alf_data/contentstore/2018/3/9/14/46/aeaa46c1-9af5-4d1d-9750-24656ad3da5b.bin]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 13:32:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59869#M21112</guid>
      <dc:creator>ayushi_agrahari</dc:creator>
      <dc:date>2018-03-09T13:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: clamscan command from the java program gives the exit code 127</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59870#M21113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One, exist the bin file?, '&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;/home/alfresco_installation/Alfviral/alf_data/contentstore/2018/3/9/14/46/aeaa46c1-9af5-4d1d-9750-24656ad3da5b.bin'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two, can you prove without path?, only with clamscan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fegor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 13:49:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59870#M21113</guid>
      <dc:creator>fegor</dc:creator>
      <dc:date>2018-03-09T13:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: clamscan command from the java program gives the exit code 127</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59871#M21114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes,the bin file /home/alfresco_installation/Alfviral/alf_data/contentstore/2018/3/9/14/46/aeaa46c1-9af54d1d-9750-24656ad3da5b.bin exists and the clamscan is working directly properly and returning the correct value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But not through the /usr/bin/clamscan command from java class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And secondly,I don't understand what do u mean by proving without the path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ayushi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 14:48:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59871#M21114</guid>
      <dc:creator>ayushi_agrahari</dc:creator>
      <dc:date>2018-03-09T14:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: clamscan command from the java program gives the exit code 127</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59872#M21115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without path is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;alfviral.command.exec=clamscan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;El 9 mar. 2018 3:50 p. m., "ayushi.agrahari" &amp;lt;community@alfresco.com&amp;gt;&lt;/P&gt;&lt;P&gt;escribió:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;Alfresco Community&lt;/P&gt;&lt;P&gt;&amp;lt;https://community.alfresco.com/?et=watches.email.thread&amp;gt;&lt;/P&gt;&lt;P&gt;Re: clamscan command from the java program gives the exit code 127&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;respuesta de Ayushi Agrahatri&lt;/P&gt;&lt;P&gt;&amp;lt;https://community.alfresco.com/people/ayushi.agrahari?et=watches.email.thread&amp;gt;&lt;/P&gt;&lt;P&gt;en &lt;STRONG&gt;Alfresco Content Services (ECM)&lt;/STRONG&gt; - Ver la discusión completa&lt;/P&gt;&lt;P&gt;&amp;lt;https://community.alfresco.com/message/829605-re-clamscan-command-from-the-java-program-gives-the-exit-code-127?commentID=829605&amp;amp;et=watches.email.thread#comment-829605&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 14:54:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59872#M21115</guid>
      <dc:creator>fegor</dc:creator>
      <dc:date>2018-03-09T14:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: clamscan command from the java program gives the exit code 127</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59873#M21116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okie I will try it and will let u know&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks fegor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 15:01:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59873#M21116</guid>
      <dc:creator>ayushi_agrahari</dc:creator>
      <dc:date>2018-03-09T15:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: clamscan command from the java program gives the exit code 127</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59874#M21117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On doing&lt;/P&gt;&lt;P&gt;alfviral.command.exec=clamscan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it still is showing the status as 127 means that the command is not found.&lt;/P&gt;&lt;P&gt;The logs are&lt;/P&gt;&lt;P&gt;the value of command is[clamscan, /home/alfresco_installation/Alfviral/alf_data/contentstore/2018/3/6/18/3/d66b45ad-992e-4154-b844-c1b8e0cdb03e.bin]&lt;BR /&gt;&amp;nbsp;2018-03-12 13:40:00,338&amp;nbsp; DEBUG [security.antivirus.CommandScan] [DefaultScheduler_Worker-2] ++++++the value of res is++++++++127&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but on directly running the command,the command is working perfectly.&lt;/P&gt;&lt;P&gt;clamscan /home/alfresco_installation/Alfviral/alf_data/contentstore/2018/3/6/18/3/d66b45ad-992e-4154-b844-c1b8e0cdb03e.bin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the output is&lt;/P&gt;&lt;P&gt;/home/alfresco_installation/Alfviral/alf_data/contentstore/2018/3/6/18/3/d66b45ad-992e-4154-b844-c1b8e0cdb03e.bin: Eicar-Test-Signature FOUND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;----------- SCAN SUMMARY -----------&lt;BR /&gt;Known viruses: 6434688&lt;BR /&gt;Engine version: 0.99.2&lt;BR /&gt;Scanned directories: 0&lt;BR /&gt;Scanned files: 1&lt;BR /&gt;Infected files: 1&lt;BR /&gt;Data scanned: 0.00 MB&lt;BR /&gt;Data read: 0.00 MB (ratio 0.00:1)&lt;BR /&gt;Time: 12.821 sec (0 m 12 s)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 08:45:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59874#M21117</guid>
      <dc:creator>ayushi_agrahari</dc:creator>
      <dc:date>2018-03-12T08:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: clamscan command from the java program gives the exit code 127</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59875#M21118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But, the Alfresco user and this user is same?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 09:01:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59875#M21118</guid>
      <dc:creator>fegor</dc:creator>
      <dc:date>2018-03-12T09:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: clamscan command from the java program gives the exit code 127</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59876#M21119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ayushi@ayushi-GA-78LMT-S2PT:/opt/alfresco_installation$ ls -ltr&lt;BR /&gt;total 4&lt;BR /&gt;drwxr-xr-x 15 root root 4096 Mar 12 13:09 Alfviral&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 09:48:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59876#M21119</guid>
      <dc:creator>ayushi_agrahari</dc:creator>
      <dc:date>2018-03-12T09:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: clamscan command from the java program gives the exit code 127</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59877#M21120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I test in my system in some days and I say you...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 14:38:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59877#M21120</guid>
      <dc:creator>fegor</dc:creator>
      <dc:date>2018-03-12T14:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: clamscan command from the java program gives the exit code 127</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59878#M21121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@&lt;A _jive_internal="true" class="" data-avatarid="3347" data-externalid="" data-online="false" data-presence="null" data-userid="87167" data-username="fegor" href="https://community.alfresco.com/people/fegor" rel="nofollow noopener noreferrer"&gt;Fernando González&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Hi fegor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are you able to replicate the problem in your system and have you find any solution to the above stated problem.I am in urgent need to solve this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ayushi Agrahatri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 11:30:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59878#M21121</guid>
      <dc:creator>ayushi_agrahari</dc:creator>
      <dc:date>2018-03-21T11:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: clamscan command from the java program gives the exit code 127</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59879#M21122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;B&gt;Ayushi Agrahatri&lt;/B&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I test in my system this weekend (I make this project only in my free time) and send my results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Fegor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 08:45:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59879#M21122</guid>
      <dc:creator>fegor</dc:creator>
      <dc:date>2018-03-23T08:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: clamscan command from the java program gives the exit code 127</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59880#M21123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi fegor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz test it and let me know the results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ayushi Agrahari&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Mar 2018 14:07:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/clamscan-command-from-the-java-program-gives-the-exit-code-127/m-p/59880#M21123</guid>
      <dc:creator>ayushi_agrahari</dc:creator>
      <dc:date>2018-03-24T14:07:21Z</dc:date>
    </item>
  </channel>
</rss>

