<?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: error in .profile file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile-file/m-p/4936682#M410967</link>
    <description>Sandman,&lt;BR /&gt;&lt;BR /&gt;When I run your command I get this:&lt;BR /&gt;&lt;BR /&gt;+ eval export TERM; TERM=xterm;&lt;BR /&gt;+ export TERM&lt;BR /&gt;+ TERM=xterm&lt;BR /&gt;+ stty erase ^H kill ^U intr ^C eof ^D&lt;BR /&gt;+ stty hupcl ixon ixoff&lt;BR /&gt;+ tabs&lt;BR /&gt;+ PATH=/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/upgrade/bin:/opt/fcms/bin:/opt/pd/bin:/opt/resmon/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/graphics/common/bin:/opt/gnome/bin:/opt/mx/bin:/usr/sbin/diag/contrib:/opt/wbem/bin:/opt/wbem/sbin:/opt/ignite/bin:.:/automate2:.:/opt/oracle/app/oracle/product/8.1.7/bin:/usr/local/bin:/usr/bin:/usr/ccs/bin:/bin:/opt/java1.4/bin:/usr/sbin:.:/automate2&lt;BR /&gt;+ set -u&lt;BR /&gt;+ trap echo 'logout' 0&lt;BR /&gt;+ EDITOR=vi&lt;BR /&gt;+ export EDITOR&lt;BR /&gt;+ TZ=CST6CDT&lt;BR /&gt;+ export TZ&lt;BR /&gt;+ ORACLE_BASE=/opt/oracle&lt;BR /&gt;+ export ORACLE_BASE&lt;BR /&gt;+ ORACLE_HOME=/opt/oracle/app/oracle/product/8.1.7&lt;BR /&gt;+ export ORACLE_HOME&lt;BR /&gt;+ ORACLE_SID=IRDS&lt;BR /&gt;+ export ORACLE_SID&lt;BR /&gt;+ ORACLE_TERM=hp&lt;BR /&gt;+ export ORACLE_TERM&lt;BR /&gt;+ ORA_NLS33=/opt/oracle/app/oracle/product/8.1.7/ocommon/nls/admin/data&lt;BR /&gt;+ export ORA_NLS33&lt;BR /&gt;+ PATH=/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/upgrade/bin:/opt/fcms/bin:/opt/pd/bin:/opt/resmon/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/graphics/common/bin:/opt/gnome/bin:/opt/mx/bin:/usr/sbin/diag/contrib:/opt/wbem/bin:/opt/wbem/sbin:/opt/ignite/bin:.:/automate2:.:/opt/oracle/app/oracle/product/8.1.7/bin:/usr/local/bin:/usr/bin:/usr/ccs/bin:/bin:/opt/java1.4/bin:/usr/sbin:.:/automate2:.:/opt/oracle/app/oracle/product/8.1.7/bin:/usr/local/bin:/usr/bin:/usr/ccs/bin:/bin:/opt/java1.4/bin:/usr/sbin&lt;BR /&gt;+ export PATH&lt;BR /&gt;+ TNS_ADMIN=/opt/oracle/app/oracle/product/8.1.7/network/admin&lt;BR /&gt;+ export TNS_ADMIN&lt;BR /&gt;+ BACKUP=/opt/oracle/data/orabackup&lt;BR /&gt;+ export BACKUP&lt;BR /&gt;+ GRAPH=/var/adm/backupfiles&lt;BR /&gt;+ export GRAPH&lt;BR /&gt;+ INIT_ORA=/opt/oracle/app/oracle/product/8.1.7/dbs&lt;BR /&gt;+ export INIT_ORA&lt;BR /&gt;+ ARCH_LOG=/opt/oracle/archive_logs/IRDS/arch&lt;BR /&gt;+ export ARCH_LOG&lt;BR /&gt;+ ORACLE_BASE=/opt/oracle&lt;BR /&gt;+ export ORACLE_BASE&lt;BR /&gt;+ ALERT_LOG=/opt/oracle/admin/IRDS/bdump&lt;BR /&gt;+ export ALERT_LOG&lt;BR /&gt;+ SHLIB_PATH=/opt/oracle/app/oracle/product/8.1.7/lib:/usr/lib&lt;BR /&gt;+ export SHLIB_PATH&lt;BR /&gt;+ SRCHOME=&lt;BR /&gt;+ export SRCHOME&lt;BR /&gt;+ ORAENV=/usr/local/bin&lt;BR /&gt;+ export ORAENV&lt;BR /&gt;+ TMPDIR=/tmp&lt;BR /&gt;+ export TMPDIR&lt;BR /&gt;+ umask 022&lt;BR /&gt;+ + awk -F: /^[^#]/{printf "%s ",$1} /etc/oratab&lt;BR /&gt;SIDLIST=IRDS IRDS8 IRDS90 IRDS9 &lt;BR /&gt;+ echo SIDs on this machine are IRDS IRDS8 IRDS90 IRDS9 &lt;BR /&gt;SIDs on this machine are IRDS IRDS8 IRDS90 IRDS9 &lt;BR /&gt;+ ORAENV_ASK=&lt;BR /&gt;+ . /usr/local/bin/oraenv&lt;BR /&gt;.profile[70]: Syntax error at line 70 : `then' is not matched.&lt;BR /&gt;+ IRDS_log=/opt/oracle/admin/IRDS/bdump&lt;BR /&gt;+ export IRDS_log&lt;BR /&gt;+ echo logout&lt;BR /&gt;logout</description>
    <pubDate>Wed, 26 Oct 2005 12:15:16 GMT</pubDate>
    <dc:creator>Adrian Sobers2</dc:creator>
    <dc:date>2005-10-26T12:15:16Z</dc:date>
    <item>
      <title>error in .profile file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile-file/m-p/4936677#M410962</link>
      <description>When I log into my UNIX box, I get this message now:&lt;BR /&gt;&lt;BR /&gt;SIDs on this machine are IRDS IRDS8 IRDS90 IRDS9 *&lt;BR /&gt;.profile[70]: Syntax error: `then' is not matched.&lt;BR /&gt;&lt;BR /&gt;Which .profile file is this referring to, the oracle or the one in /etc?&lt;BR /&gt;&lt;BR /&gt;I just installed a patch to move from 9.2.0.6 to 9.2.0.7. Could that have touched my .profile files?</description>
      <pubDate>Wed, 26 Oct 2005 11:38:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile-file/m-p/4936677#M410962</guid>
      <dc:creator>Adrian Sobers2</dc:creator>
      <dc:date>2005-10-26T11:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: error in .profile file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile-file/m-p/4936678#M410963</link>
      <description>Note the "." in .profile. That clearly refer's to a user's .profile. I suspect what happened was that a file that was sourced in the user's .profile contains an error.&lt;BR /&gt;&lt;BR /&gt;Something like this within the .profile:&lt;BR /&gt;&lt;BR /&gt;umask 027&lt;BR /&gt;PATH=${PATH}:./&lt;BR /&gt;...&lt;BR /&gt;...&lt;BR /&gt;...&lt;BR /&gt;. /usr/local/bin/oraenv.sh &lt;BR /&gt;...&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;Note the "." before /usr/local/bin/oraenv.sh; this tells the shell to include the file just as if it were part of .profile. It does not execute as a child process. You should also note that sourced files may in turn source other files.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Oct 2005 11:43:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile-file/m-p/4936678#M410963</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-10-26T11:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: error in .profile file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile-file/m-p/4936679#M410964</link>
      <description>Do you even have an /etc/.profile ?&lt;BR /&gt;&lt;BR /&gt;Usually not. It is /etc/profile  ( no dot)&lt;BR /&gt;&lt;BR /&gt;Probably in oracle's home directory.&lt;BR /&gt;&lt;BR /&gt; - Jihn</description>
      <pubDate>Wed, 26 Oct 2005 11:44:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile-file/m-p/4936679#M410964</guid>
      <dc:creator>John Kittel</dc:creator>
      <dc:date>2005-10-26T11:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: error in .profile file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile-file/m-p/4936680#M410965</link>
      <description>IMHO...you should test your $HOME/.profile like any other shell script i.e. put set -x at the top of the .profile or execute it at the command line manually in order to isolate the error and debug it:&lt;BR /&gt;&lt;BR /&gt;# sh -x &amp;lt;.profile&amp;gt;&lt;BR /&gt;&lt;BR /&gt;cheers!</description>
      <pubDate>Wed, 26 Oct 2005 11:49:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile-file/m-p/4936680#M410965</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2005-10-26T11:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: error in .profile file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile-file/m-p/4936681#M410966</link>
      <description>A. Clay Stephenson,&lt;BR /&gt;&lt;BR /&gt;I checked the .profile for the user and here is that section you made reference to,&lt;BR /&gt;&lt;BR /&gt;umask 022&lt;BR /&gt;SIDLIST=`awk -F: '/^[^#]/{printf "%s ",$1}' /etc/oratab`&lt;BR /&gt;echo "SIDs on this machine are $SIDLIST"&lt;BR /&gt;ORAENV_ASK=&lt;BR /&gt;. /usr/local/bin/oraenv&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;is the problem therefore in the /etc/oratab file?&lt;BR /&gt;&lt;BR /&gt;or the /usr/local/bin/oraenv file?&lt;BR /&gt;&lt;BR /&gt;Yes, I'm a newbie ;)</description>
      <pubDate>Wed, 26 Oct 2005 12:09:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile-file/m-p/4936681#M410966</guid>
      <dc:creator>Adrian Sobers2</dc:creator>
      <dc:date>2005-10-26T12:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: error in .profile file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile-file/m-p/4936682#M410967</link>
      <description>Sandman,&lt;BR /&gt;&lt;BR /&gt;When I run your command I get this:&lt;BR /&gt;&lt;BR /&gt;+ eval export TERM; TERM=xterm;&lt;BR /&gt;+ export TERM&lt;BR /&gt;+ TERM=xterm&lt;BR /&gt;+ stty erase ^H kill ^U intr ^C eof ^D&lt;BR /&gt;+ stty hupcl ixon ixoff&lt;BR /&gt;+ tabs&lt;BR /&gt;+ PATH=/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/upgrade/bin:/opt/fcms/bin:/opt/pd/bin:/opt/resmon/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/graphics/common/bin:/opt/gnome/bin:/opt/mx/bin:/usr/sbin/diag/contrib:/opt/wbem/bin:/opt/wbem/sbin:/opt/ignite/bin:.:/automate2:.:/opt/oracle/app/oracle/product/8.1.7/bin:/usr/local/bin:/usr/bin:/usr/ccs/bin:/bin:/opt/java1.4/bin:/usr/sbin:.:/automate2&lt;BR /&gt;+ set -u&lt;BR /&gt;+ trap echo 'logout' 0&lt;BR /&gt;+ EDITOR=vi&lt;BR /&gt;+ export EDITOR&lt;BR /&gt;+ TZ=CST6CDT&lt;BR /&gt;+ export TZ&lt;BR /&gt;+ ORACLE_BASE=/opt/oracle&lt;BR /&gt;+ export ORACLE_BASE&lt;BR /&gt;+ ORACLE_HOME=/opt/oracle/app/oracle/product/8.1.7&lt;BR /&gt;+ export ORACLE_HOME&lt;BR /&gt;+ ORACLE_SID=IRDS&lt;BR /&gt;+ export ORACLE_SID&lt;BR /&gt;+ ORACLE_TERM=hp&lt;BR /&gt;+ export ORACLE_TERM&lt;BR /&gt;+ ORA_NLS33=/opt/oracle/app/oracle/product/8.1.7/ocommon/nls/admin/data&lt;BR /&gt;+ export ORA_NLS33&lt;BR /&gt;+ PATH=/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/upgrade/bin:/opt/fcms/bin:/opt/pd/bin:/opt/resmon/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/graphics/common/bin:/opt/gnome/bin:/opt/mx/bin:/usr/sbin/diag/contrib:/opt/wbem/bin:/opt/wbem/sbin:/opt/ignite/bin:.:/automate2:.:/opt/oracle/app/oracle/product/8.1.7/bin:/usr/local/bin:/usr/bin:/usr/ccs/bin:/bin:/opt/java1.4/bin:/usr/sbin:.:/automate2:.:/opt/oracle/app/oracle/product/8.1.7/bin:/usr/local/bin:/usr/bin:/usr/ccs/bin:/bin:/opt/java1.4/bin:/usr/sbin&lt;BR /&gt;+ export PATH&lt;BR /&gt;+ TNS_ADMIN=/opt/oracle/app/oracle/product/8.1.7/network/admin&lt;BR /&gt;+ export TNS_ADMIN&lt;BR /&gt;+ BACKUP=/opt/oracle/data/orabackup&lt;BR /&gt;+ export BACKUP&lt;BR /&gt;+ GRAPH=/var/adm/backupfiles&lt;BR /&gt;+ export GRAPH&lt;BR /&gt;+ INIT_ORA=/opt/oracle/app/oracle/product/8.1.7/dbs&lt;BR /&gt;+ export INIT_ORA&lt;BR /&gt;+ ARCH_LOG=/opt/oracle/archive_logs/IRDS/arch&lt;BR /&gt;+ export ARCH_LOG&lt;BR /&gt;+ ORACLE_BASE=/opt/oracle&lt;BR /&gt;+ export ORACLE_BASE&lt;BR /&gt;+ ALERT_LOG=/opt/oracle/admin/IRDS/bdump&lt;BR /&gt;+ export ALERT_LOG&lt;BR /&gt;+ SHLIB_PATH=/opt/oracle/app/oracle/product/8.1.7/lib:/usr/lib&lt;BR /&gt;+ export SHLIB_PATH&lt;BR /&gt;+ SRCHOME=&lt;BR /&gt;+ export SRCHOME&lt;BR /&gt;+ ORAENV=/usr/local/bin&lt;BR /&gt;+ export ORAENV&lt;BR /&gt;+ TMPDIR=/tmp&lt;BR /&gt;+ export TMPDIR&lt;BR /&gt;+ umask 022&lt;BR /&gt;+ + awk -F: /^[^#]/{printf "%s ",$1} /etc/oratab&lt;BR /&gt;SIDLIST=IRDS IRDS8 IRDS90 IRDS9 &lt;BR /&gt;+ echo SIDs on this machine are IRDS IRDS8 IRDS90 IRDS9 &lt;BR /&gt;SIDs on this machine are IRDS IRDS8 IRDS90 IRDS9 &lt;BR /&gt;+ ORAENV_ASK=&lt;BR /&gt;+ . /usr/local/bin/oraenv&lt;BR /&gt;.profile[70]: Syntax error at line 70 : `then' is not matched.&lt;BR /&gt;+ IRDS_log=/opt/oracle/admin/IRDS/bdump&lt;BR /&gt;+ export IRDS_log&lt;BR /&gt;+ echo logout&lt;BR /&gt;logout</description>
      <pubDate>Wed, 26 Oct 2005 12:15:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile-file/m-p/4936682#M410967</guid>
      <dc:creator>Adrian Sobers2</dc:creator>
      <dc:date>2005-10-26T12:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: error in .profile file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile-file/m-p/4936683#M410968</link>
      <description>Hi Adrian,&lt;BR /&gt;Im quite sure you will have to look in /usr/local/bin/oraenv&lt;BR /&gt;For this file is executed with .&lt;SPACE&gt;~oraenv&lt;BR /&gt;In this file I suppose are set all the environment variable for oracle...&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor&lt;/SPACE&gt;</description>
      <pubDate>Wed, 26 Oct 2005 12:23:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile-file/m-p/4936683#M410968</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2005-10-26T12:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: error in .profile file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile-file/m-p/4936684#M410969</link>
      <description>the error must be in this file, but i need help in pinpointing it &lt;BR /&gt;&lt;BR /&gt;the file attached is the oraenv file from&lt;BR /&gt;&lt;BR /&gt;/usr/local/bin</description>
      <pubDate>Wed, 26 Oct 2005 12:44:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile-file/m-p/4936684#M410969</guid>
      <dc:creator>Adrian Sobers2</dc:creator>
      <dc:date>2005-10-26T12:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: error in .profile file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile-file/m-p/4936685#M410970</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I think that adding a "fi" to the last line on the file will help here.&lt;BR /&gt; &lt;BR /&gt;Regards,&lt;BR /&gt;Zigor</description>
      <pubDate>Wed, 26 Oct 2005 12:51:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile-file/m-p/4936685#M410970</guid>
      <dc:creator>Zigor Buruaga</dc:creator>
      <dc:date>2005-10-26T12:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: error in .profile file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile-file/m-p/4936686#M410971</link>
      <description>Thank you all for your help.&lt;BR /&gt;&lt;BR /&gt;Zigor Buruaga you were right, a missing "fi" at the end was the problem</description>
      <pubDate>Wed, 26 Oct 2005 12:57:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-profile-file/m-p/4936686#M410971</guid>
      <dc:creator>Adrian Sobers2</dc:creator>
      <dc:date>2005-10-26T12:57:11Z</dc:date>
    </item>
  </channel>
</rss>

