<?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: SAS Metadata Services SAS 9.4 in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Services-SAS-9-4/m-p/369907#M9112</link>
    <description>metadata server log says, &lt;BR /&gt;&lt;BR /&gt;ERROR: Resource is write-locked by another user.  File =Journal/date_time_Journal.dat.  System Error Code = 0.&lt;BR /&gt;ERROR: The file is already locked by another user.&lt;BR /&gt;ERROR: Resource is write-locked by another user.  File =Journal/date_time_Journal.dat.  System Error Code = 0.&lt;BR /&gt;ERROR: The file is already locked by another user.&lt;BR /&gt;ERROR: The server will not be able to initialize until the above error(s) are corrected.  Locate details in the server log by searching for 'ALERT EMAIL' for each of the problems noted above.&lt;BR /&gt;ERROR: The SAS Metadata Supervisor failed to initialize properly because of the errors noted above.  Contact Technical Support for assistance if these messages do not indicate a solution to the problem.&lt;BR /&gt;ERROR: The SAS Metadata Supervisor failed to load due to the errors noted above.  Contact Technical Support for assistance if these messages do not indicate a solution to the problem.&lt;BR /&gt;ERROR: CLASSFACTORY cannot be instantiated.  &lt;BR /&gt;</description>
    <pubDate>Fri, 23 Jun 2017 14:36:15 GMT</pubDate>
    <dc:creator>woo</dc:creator>
    <dc:date>2017-06-23T14:36:15Z</dc:date>
    <item>
      <title>SAS Metadata Services SAS 9.4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Services-SAS-9-4/m-p/369691#M9101</link>
      <description>&lt;P&gt;I am not able to restarting sas services,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;./sas.servers start&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Starting SAS servers&lt;BR /&gt;SAS Web Infrastructure Data Server is already UP&lt;BR /&gt;SAS Advanced Analytics Common Data Server is already UP&lt;BR /&gt;Starting SAS Decision Manager Common Data Server&lt;BR /&gt;Starting SAS Data Remediation Data Server&lt;BR /&gt;Starting SAS Job Monitor Data Server&lt;BR /&gt;SAS Metadata Server 1 is NOT up&lt;BR /&gt;The remaining SAS servers will NOT be started as a result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;more detail error saying -&amp;gt; &lt;STRONG&gt;error occured while attempting to initialize journal file journal/date_time_journal.dat.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, tried to start metadata server only but it fails as well&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;./MetadataServer.sh start&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Waiting up to 600 seconds for Metadata Server to listen to port XXXXX.&lt;/P&gt;
&lt;P&gt;Server is started (pid #...)&lt;/P&gt;
&lt;P&gt;Server is stopped&lt;/P&gt;
&lt;P&gt;Log files are located at: .../MetadataServer/Logs&lt;/P&gt;
&lt;P&gt;Metadata server failed to start, check the log for errors.&lt;/P&gt;
&lt;P&gt;Log files are located at: .../MetadataServer/Logs&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2017 20:12:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Services-SAS-9-4/m-p/369691#M9101</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2017-06-22T20:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Metadata Services SAS 9.4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Services-SAS-9-4/m-p/369710#M9103</link>
      <description>&lt;P&gt;Anything incriminating in the Metadata Server logs? I'd be suspect of an expired license.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2017 20:55:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Services-SAS-9-4/m-p/369710#M9103</guid>
      <dc:creator>dpage</dc:creator>
      <dc:date>2017-06-22T20:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Metadata Services SAS 9.4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Services-SAS-9-4/m-p/369907#M9112</link>
      <description>metadata server log says, &lt;BR /&gt;&lt;BR /&gt;ERROR: Resource is write-locked by another user.  File =Journal/date_time_Journal.dat.  System Error Code = 0.&lt;BR /&gt;ERROR: The file is already locked by another user.&lt;BR /&gt;ERROR: Resource is write-locked by another user.  File =Journal/date_time_Journal.dat.  System Error Code = 0.&lt;BR /&gt;ERROR: The file is already locked by another user.&lt;BR /&gt;ERROR: The server will not be able to initialize until the above error(s) are corrected.  Locate details in the server log by searching for 'ALERT EMAIL' for each of the problems noted above.&lt;BR /&gt;ERROR: The SAS Metadata Supervisor failed to initialize properly because of the errors noted above.  Contact Technical Support for assistance if these messages do not indicate a solution to the problem.&lt;BR /&gt;ERROR: The SAS Metadata Supervisor failed to load due to the errors noted above.  Contact Technical Support for assistance if these messages do not indicate a solution to the problem.&lt;BR /&gt;ERROR: CLASSFACTORY cannot be instantiated.  &lt;BR /&gt;</description>
      <pubDate>Fri, 23 Jun 2017 14:36:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Services-SAS-9-4/m-p/369907#M9112</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2017-06-23T14:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Metadata Services SAS 9.4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Services-SAS-9-4/m-p/369984#M9117</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/26689"&gt;@woo&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Find out who is holding this file and kill that process:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;lsof /&amp;lt;SASConfig&amp;gt;/Lev&amp;lt;X&amp;gt;/SASMeta/MetadataServer/Journal/date_time_Journal.dat&lt;BR /&gt;kill -9 &amp;lt;PID&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Jun 2017 16:19:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Services-SAS-9-4/m-p/369984#M9117</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2017-06-23T16:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Metadata Services SAS 9.4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Services-SAS-9-4/m-p/370436#M9126</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/26689"&gt;@woo&lt;/a&gt; wrote:&lt;BR /&gt;metadata server log says, &lt;BR /&gt;&lt;BR /&gt;ERROR: Resource is write-locked by another user. File =Journal/date_time_Journal.dat. System Error Code = 0.&lt;BR /&gt;ERROR: The file is already locked by another user.&lt;BR /&gt;ERROR: Resource is write-locked by another user. File =Journal/date_time_Journal.dat. System Error Code = 0.&lt;BR /&gt;ERROR: The file is already locked by another user.&lt;BR /&gt;ERROR: The server will not be able to initialize until the above error(s) are corrected. Locate details in the server log by searching for 'ALERT EMAIL' for each of the problems noted above.&lt;BR /&gt;ERROR: The SAS Metadata Supervisor failed to initialize properly because of the errors noted above. Contact Technical Support for assistance if these messages do not indicate a solution to the problem.&lt;BR /&gt;ERROR: The SAS Metadata Supervisor failed to load due to the errors noted above. Contact Technical Support for assistance if these messages do not indicate a solution to the problem.&lt;BR /&gt;ERROR: CLASSFACTORY cannot be instantiated. &lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You could have a hanging instance of the Metadata server running that does not work anymore, but has the file(s) locked. Which means you have to find the offending process from the process list and kill it.&lt;/P&gt;
&lt;P&gt;In addition to the lsof suggested by &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;, use&lt;/P&gt;
&lt;PRE&gt;ps -ef|less&lt;/PRE&gt;
&lt;P&gt;to display all running processes on a UNIX system. This might give you a bigger picture of what's going on.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 06:14:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Services-SAS-9-4/m-p/370436#M9126</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-06-26T06:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Metadata Services SAS 9.4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Services-SAS-9-4/m-p/370549#M9129</link>
      <description>&lt;P&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;Hi,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;are you attempting to restart the services/SAS servers just as maintenance task, or, are there any&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;processes that ran beforehand, which caused the metadata server to stop?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;I am asking because there are certain tasks that could place locks on a journal file, such as a backup.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;If you'd provide the entire metadata server log (attach the file), we could maybe find some other&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;indications that would explain the error. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;Also, as as Kurt suggested, do a ps, but add "Foundation" please:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;ps -ef | grep SASFoundation&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;The&amp;nbsp;error has been seen in some cases when&amp;nbsp;the environment is running on a&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;EMC OneFS (I don't know what you are running on, so I am really just throwing out &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;things/ideas &lt;/FONT&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;here.) The problems were related to locks caused by an &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;autoexec file/config&amp;nbsp;files that were not stored locally.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;You could take a look at filelocks:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/hostunx/69602/PDF/default/hostunx.pdf" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/hostunx/69602/PDF/default/hostunx.pdf&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;Page 41. Take a look at the settings for that option.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;Thanks&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;Anja&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 13:34:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Services-SAS-9-4/m-p/370549#M9129</guid>
      <dc:creator>anja</dc:creator>
      <dc:date>2017-06-26T13:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Metadata Services SAS 9.4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Services-SAS-9-4/m-p/462437#M13128</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/26689"&gt;@woo&lt;/a&gt;&amp;nbsp;- Did you ever resolve this issue?&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2018 18:14:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Services-SAS-9-4/m-p/462437#M13128</guid>
      <dc:creator>Jwcris</dc:creator>
      <dc:date>2018-05-15T18:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Metadata Services SAS 9.4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Services-SAS-9-4/m-p/530574#M15506</link>
      <description>&lt;P&gt;To archive a solution :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ssh sasmeta-machine&lt;BR /&gt;sudo bash&lt;BR /&gt;lsof /sasconfig/meta/Lev1/SASMeta/MetadataServer/Journal/&amp;lt;datetime&amp;gt;_Journal.dat&lt;BR /&gt;kill -9 &amp;lt;PID&amp;gt; found&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ssh sasmeta-machine&lt;BR /&gt;cd /sasconfig/meta/Lev1/SASMeta/&lt;BR /&gt;tar -cvf &amp;lt;datetime&amp;gt;MetadataServer.tar /sasconfig/meta/Lev1/SASMeta/MetadataServer&lt;BR /&gt;cd /sasconfig/meta/Lev1/SASMeta/MetadataServer&lt;BR /&gt;./MetadataServer.sh -recover&lt;BR /&gt;./MetadataServer.sh -status&lt;BR /&gt;-&amp;gt; started&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 10:09:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Services-SAS-9-4/m-p/530574#M15506</guid>
      <dc:creator>Stephane</dc:creator>
      <dc:date>2019-01-28T10:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Metadata Services SAS 9.4</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Services-SAS-9-4/m-p/625290#M18210</link>
      <description>&lt;P&gt;I got this message when I try to start all SAS services but when I forgot to do: "Update SID File in Metadata" with the SAS Deployment Manager when I install the new licence.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Claude&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2020 14:53:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Services-SAS-9-4/m-p/625290#M18210</guid>
      <dc:creator>PWC2018_1</dc:creator>
      <dc:date>2020-02-17T14:53:56Z</dc:date>
    </item>
  </channel>
</rss>

