<?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 funcion system() does not finish ! in Operating System - Tru64 Unix</title>
    <link>https://community.hpe.com/t5/operating-system-tru64-unix/funcion-system-does-not-finish/m-p/4873290#M3845</link>
    <description>We installed latest patches of Oracle8i on Tru64 4.0E. After it we have problem with program. It stays frozen on c funcion "int system(str)" which does not finish.&lt;BR /&gt;&lt;BR /&gt;We dit not change program, environment, operating system. This function is standard c library function. We do not understand the relation between oracle and sustem call.&lt;BR /&gt;&lt;BR /&gt;Have somebody idea ? Thanks.</description>
    <pubDate>Wed, 01 Dec 2004 06:54:29 GMT</pubDate>
    <dc:creator>Fedor Poradovsky</dc:creator>
    <dc:date>2004-12-01T06:54:29Z</dc:date>
    <item>
      <title>funcion system() does not finish !</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/funcion-system-does-not-finish/m-p/4873290#M3845</link>
      <description>We installed latest patches of Oracle8i on Tru64 4.0E. After it we have problem with program. It stays frozen on c funcion "int system(str)" which does not finish.&lt;BR /&gt;&lt;BR /&gt;We dit not change program, environment, operating system. This function is standard c library function. We do not understand the relation between oracle and sustem call.&lt;BR /&gt;&lt;BR /&gt;Have somebody idea ? Thanks.</description>
      <pubDate>Wed, 01 Dec 2004 06:54:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/funcion-system-does-not-finish/m-p/4873290#M3845</guid>
      <dc:creator>Fedor Poradovsky</dc:creator>
      <dc:date>2004-12-01T06:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: funcion system() does not finish !</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/funcion-system-does-not-finish/m-p/4873291#M3846</link>
      <description>The system() function passes the string parameter to the sh command, which&lt;BR /&gt;  interprets string as a command and executes it. See sh(1) to determine&lt;BR /&gt;  which command interpreter is defined by sh on your system.&lt;BR /&gt;&lt;BR /&gt;  The system() function invokes the fork() function to create a child process&lt;BR /&gt;  that in turn uses theexec function to run sh, which interprets the shell&lt;BR /&gt;  command contained in the string parameter. The current process waits until&lt;BR /&gt;  the shell has completed before returning.&lt;BR /&gt;&lt;BR /&gt;If you have patched Oracle, possibly the called shell (or script) may have been changed. Try to find out which sh command is hanging (f.e. by "ps" command).&lt;BR /&gt;&lt;BR /&gt;Erich</description>
      <pubDate>Wed, 01 Dec 2004 07:06:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/funcion-system-does-not-finish/m-p/4873291#M3846</guid>
      <dc:creator>Erich Wimmer</dc:creator>
      <dc:date>2004-12-01T07:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: funcion system() does not finish !</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/funcion-system-does-not-finish/m-p/4873292#M3847</link>
      <description>Thak you for response.&lt;BR /&gt;&lt;BR /&gt;I forget write that the program which hangs runs not as oracle. We did not change it and its environment, except ORACLE_HOME, however system() is not its part. Program runs under /usr/csh and I supposed that the fork() will create csh also. Now I do not know. However I mus say that the submited command is not in csh specific syntax, for ex. "ls -l".&lt;BR /&gt;&lt;BR /&gt;The program when hanged has not child. So I do not know, if it hangs before fork() is executed or after child process finished.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Dec 2004 09:41:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/funcion-system-does-not-finish/m-p/4873292#M3847</guid>
      <dc:creator>Fedor Poradovsky</dc:creator>
      <dc:date>2004-12-01T09:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: funcion system() does not finish !</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/funcion-system-does-not-finish/m-p/4873293#M3848</link>
      <description>You should find out what will be called by the system() function. If this called script or program can be tested without using the calling process and disturbing your data, try it within the same environment.&lt;BR /&gt;You can also play arround with following short c-program, by changing the system call to your needs:&lt;BR /&gt;main()&lt;BR /&gt;{&lt;BR /&gt;if(system("sleep 10") &amp;lt; 0);&lt;BR /&gt;  {&lt;BR /&gt;  perror("system");&lt;BR /&gt;  }&lt;BR /&gt;printf("after system-call\n");&lt;BR /&gt;exit(0);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Erich.&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Dec 2004 04:21:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/funcion-system-does-not-finish/m-p/4873293#M3848</guid>
      <dc:creator>Erich Wimmer</dc:creator>
      <dc:date>2004-12-02T04:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: funcion system() does not finish !</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/funcion-system-does-not-finish/m-p/4873294#M3849</link>
      <description>Thanks.&lt;BR /&gt;&lt;BR /&gt;The simple program works. &lt;BR /&gt;Problem is with more complex programs with call to Oracle. We find that problem was in use of bad version of library file libjip8.so in $LD_LIBRARY_PATH. We did not find what we made bad in client installation. Which part of oracle installs this file.&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Fedor</description>
      <pubDate>Thu, 02 Dec 2004 12:04:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/funcion-system-does-not-finish/m-p/4873294#M3849</guid>
      <dc:creator>Fedor Poradovsky</dc:creator>
      <dc:date>2004-12-02T12:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: funcion system() does not finish !</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/funcion-system-does-not-finish/m-p/4873295#M3850</link>
      <description>thanks</description>
      <pubDate>Thu, 02 Dec 2004 12:10:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/funcion-system-does-not-finish/m-p/4873295#M3850</guid>
      <dc:creator>Fedor Poradovsky</dc:creator>
      <dc:date>2004-12-02T12:10:48Z</dc:date>
    </item>
  </channel>
</rss>

