<?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: Not  a terminal message in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/not-a-terminal-message/m-p/2426015#M1310</link>
    <description>One more thing,&lt;BR /&gt;&lt;BR /&gt;The message :&lt;BR /&gt;&lt;BR /&gt;/home/migrate/genrcsrep: COBDIR: Parameter not set&lt;BR /&gt;&lt;BR /&gt;Indicates that the environment variable COBDIR was not set whenever this process was run.  You'll need to insure that the enviroment configuration scripts also get run for the cron process to be aware of the environment variable.&lt;BR /&gt;&lt;BR /&gt;You could also indicate to your developers that this is an application problem, and they need to establish all required environment variable whenever they execute a cron job.&lt;BR /&gt;&lt;BR /&gt;Hope that helps.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 13 Jun 2000 15:45:35 GMT</pubDate>
    <dc:creator>Albert E. Whale, CISSP</dc:creator>
    <dc:date>2000-06-13T15:45:35Z</dc:date>
    <item>
      <title>Not  a terminal message</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-a-terminal-message/m-p/2426013#M1308</link>
      <description>Hi.&lt;BR /&gt;&lt;BR /&gt;I have been running a job using crontab and I have noticed that the jobs are no longer running sucessfully, I am getting the following message in the elm.&lt;BR /&gt;&lt;BR /&gt;Not a terminal&lt;BR /&gt;stty: : Not a typewriter&lt;BR /&gt;stty: : Not a typewriter&lt;BR /&gt;/home/migrate/genrcsrep: COBDIR: Parameter not set.                     &lt;BR /&gt;&lt;BR /&gt;Can anybody tell me what I need to do.&lt;BR /&gt;&lt;BR /&gt;Thanking you.&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Tue, 13 Jun 2000 15:38:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-a-terminal-message/m-p/2426013#M1308</guid>
      <dc:creator>Dave Walley</dc:creator>
      <dc:date>2000-06-13T15:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Not  a terminal message</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-a-terminal-message/m-p/2426014#M1309</link>
      <description>Dave,&lt;BR /&gt;&lt;BR /&gt;It appears that something has changed either the /etc/profile or the .profile for the user which has Cron Jobs running.&lt;BR /&gt;&lt;BR /&gt;What you need to do is to edit either (or both) of these files and then update them so that they test to insure that any stty commands are occurring in an 'interactive session'.&lt;BR /&gt;&lt;BR /&gt;The command that you can use to test this is the tty -s command.  If there is a Terminal associated with the process that is calling the function, then the return status is 0 if the calling process does not have a terminal associated with it, then there is no need to excute the stty commands.&lt;BR /&gt;&lt;BR /&gt;In the scripts which configre the environment, place the &lt;BR /&gt;&lt;BR /&gt;if tty -s &lt;BR /&gt;then &lt;BR /&gt;&lt;BR /&gt;&amp;lt; some sequence of commands &amp;gt;&lt;BR /&gt;&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;you'll need to try a few different locations, but I'm sure that you'll get the hang of it.&lt;BR /&gt;&lt;BR /&gt;Hope that helps.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Jun 2000 15:44:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-a-terminal-message/m-p/2426014#M1309</guid>
      <dc:creator>Albert E. Whale, CISSP</dc:creator>
      <dc:date>2000-06-13T15:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Not  a terminal message</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-a-terminal-message/m-p/2426015#M1310</link>
      <description>One more thing,&lt;BR /&gt;&lt;BR /&gt;The message :&lt;BR /&gt;&lt;BR /&gt;/home/migrate/genrcsrep: COBDIR: Parameter not set&lt;BR /&gt;&lt;BR /&gt;Indicates that the environment variable COBDIR was not set whenever this process was run.  You'll need to insure that the enviroment configuration scripts also get run for the cron process to be aware of the environment variable.&lt;BR /&gt;&lt;BR /&gt;You could also indicate to your developers that this is an application problem, and they need to establish all required environment variable whenever they execute a cron job.&lt;BR /&gt;&lt;BR /&gt;Hope that helps.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Jun 2000 15:45:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-a-terminal-message/m-p/2426015#M1310</guid>
      <dc:creator>Albert E. Whale, CISSP</dc:creator>
      <dc:date>2000-06-13T15:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Not  a terminal message</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-a-terminal-message/m-p/2426016#M1311</link>
      <description>In your .profile in clude these lines to setup terminal variable:&lt;BR /&gt;#Set up the terminal:&lt;BR /&gt;        if [  "$TERM" = "" ]&lt;BR /&gt;        then&lt;BR /&gt;               eval ` tset -s -Q -m ':?hp' `&lt;BR /&gt;       else&lt;BR /&gt;               eval ` tset -s -Q `&lt;BR /&gt;        fi&lt;BR /&gt;&lt;BR /&gt;I hope this helps.</description>
      <pubDate>Tue, 13 Jun 2000 15:49:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-a-terminal-message/m-p/2426016#M1311</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-06-13T15:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Not  a terminal message</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-a-terminal-message/m-p/2426017#M1312</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;First try to run that script from your shell. If it is working properly from your shell but not run from crontab then you should check all the environment variable which was defined in your shell scripts. If it is working properly in your shell then just take all the variable of your shell script by env command &amp;amp; append all those variable in from  of your script.&lt;BR /&gt;&lt;BR /&gt;Hope it would work.&lt;BR /&gt;&lt;BR /&gt;Sandip&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jun 2000 10:17:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-a-terminal-message/m-p/2426017#M1312</guid>
      <dc:creator>Sandip Samanta</dc:creator>
      <dc:date>2000-06-15T10:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Not  a terminal message</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-a-terminal-message/m-p/2426018#M1313</link>
      <description>Dave,&lt;BR /&gt;&lt;BR /&gt;Has this information helped you?&lt;BR /&gt;&lt;BR /&gt;Do you need further assistance?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jun 2000 16:25:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-a-terminal-message/m-p/2426018#M1313</guid>
      <dc:creator>Albert E. Whale, CISSP</dc:creator>
      <dc:date>2000-06-15T16:25:17Z</dc:date>
    </item>
  </channel>
</rss>

