<?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 - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/error-in-profile-file/m-p/4936645#M46326</link>
    <description>Hi Adrian,&lt;BR /&gt;&lt;BR /&gt;I'm clutching at straws here!&lt;BR /&gt;&lt;BR /&gt;The complaint is for line 55 which is the if,then,fi section for setting up your timezone.&lt;BR /&gt;&lt;BR /&gt;What is the content of your /etc/TIMEZONE file?&lt;BR /&gt;&lt;BR /&gt;The only other thing is that later on, you have  a section with a line continuation character '\' - this shouldn't be a problem, but it's maybe worth putting the 'if' statement all on one line!&lt;BR /&gt;&lt;BR /&gt;Like I said, clutching... ;-)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Andy Bruce</description>
    <pubDate>Thu, 27 Oct 2005 08:28:32 GMT</pubDate>
    <dc:creator>Andrew Bruce</dc:creator>
    <dc:date>2005-10-27T08:28:32Z</dc:date>
    <item>
      <title>error in .profile file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-in-profile-file/m-p/4936641#M46322</link>
      <description>I just installed patch #4163445 which upgraded my 9.2.0.6 home to 9.2.0.7&lt;BR /&gt;&lt;BR /&gt;However when I log into the machine I get the following error message:&lt;BR /&gt;&lt;BR /&gt;.profile[55]: Syntax error: `then' is not &lt;BR /&gt;matched.&lt;BR /&gt;&lt;BR /&gt;This never happened before. Could the patch have messed up my .profile file? &lt;BR /&gt;&lt;BR /&gt;The file is attached. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Oct 2005 10:58:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-in-profile-file/m-p/4936641#M46322</guid>
      <dc:creator>Adrian Sobers2</dc:creator>
      <dc:date>2005-10-26T10:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: error in .profile file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-in-profile-file/m-p/4936642#M46323</link>
      <description>I do not even see 'then' in the attached file. Is this the complete .profile for the login account in question?&lt;BR /&gt;&lt;BR /&gt;Look at date/time stamp. The patch would not have changed individual .profiles.&lt;BR /&gt;&lt;BR /&gt;Look at the date/time stamp of the /etc/profile. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Oct 2005 11:10:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-in-profile-file/m-p/4936642#M46323</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-10-26T11:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: error in .profile file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-in-profile-file/m-p/4936643#M46324</link>
      <description>sorry, i realized that afterwards.&lt;BR /&gt;&lt;BR /&gt;attached is the profile file from /etc</description>
      <pubDate>Wed, 26 Oct 2005 11:19:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-in-profile-file/m-p/4936643#M46324</guid>
      <dc:creator>Adrian Sobers2</dc:creator>
      <dc:date>2005-10-26T11:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: error in .profile file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-in-profile-file/m-p/4936644#M46325</link>
      <description>Well, this error indicates one of two things as far as I can recall.&lt;BR /&gt;&lt;BR /&gt;1) There is within a if then fi loop some code that prematurely terminates the loop, causing a mismatch.&lt;BR /&gt;&lt;BR /&gt;2) There is an if or a fi or a then missing on one of your loops.&lt;BR /&gt;&lt;BR /&gt;I'd use the diff command to compare the profile that oracle backed up before it updated and that should help find the problem.&lt;BR /&gt;&lt;BR /&gt;I sure hope Oracle backed up the file or you'll need to get the original off a backup.&lt;BR /&gt;&lt;BR /&gt;Its quite common for Oracle to release code that is not adequately tested for HP-UX and leave us as admins to debut it.&lt;BR /&gt;&lt;BR /&gt;diff /etc/profile /etc/profile.backup&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 26 Oct 2005 13:22:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-in-profile-file/m-p/4936644#M46325</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-10-26T13:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: error in .profile file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-in-profile-file/m-p/4936645#M46326</link>
      <description>Hi Adrian,&lt;BR /&gt;&lt;BR /&gt;I'm clutching at straws here!&lt;BR /&gt;&lt;BR /&gt;The complaint is for line 55 which is the if,then,fi section for setting up your timezone.&lt;BR /&gt;&lt;BR /&gt;What is the content of your /etc/TIMEZONE file?&lt;BR /&gt;&lt;BR /&gt;The only other thing is that later on, you have  a section with a line continuation character '\' - this shouldn't be a problem, but it's maybe worth putting the 'if' statement all on one line!&lt;BR /&gt;&lt;BR /&gt;Like I said, clutching... ;-)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Andy Bruce</description>
      <pubDate>Thu, 27 Oct 2005 08:28:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-in-profile-file/m-p/4936645#M46326</guid>
      <dc:creator>Andrew Bruce</dc:creator>
      <dc:date>2005-10-27T08:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: error in .profile file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-in-profile-file/m-p/4936646#M46327</link>
      <description>this was solved in another thread.&lt;BR /&gt;&lt;BR /&gt;i was missing a "fi" at the end of the script.&lt;BR /&gt;&lt;BR /&gt;Thanks all.</description>
      <pubDate>Sun, 06 Nov 2005 14:10:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-in-profile-file/m-p/4936646#M46327</guid>
      <dc:creator>Adrian Sobers2</dc:creator>
      <dc:date>2005-11-06T14:10:22Z</dc:date>
    </item>
  </channel>
</rss>

