1. 程式人生 > >Unable to create the pidfile.

Unable to create the pidfile.

安裝cloudera namager時,cloudera-scm-server可以正常啟動,cloudera-scm-agent啟動失敗:
這裡寫圖片描述
檢視日誌
/opt/cm-5.7.0/log/cloudera-scm-agent/cloudera-scm-agent.out的內容,列印一下內容:

<code class="hljs oxygene has-numbering" style="display: block; padding: 0px; color: inherit; box-sizing: border-box; font-family: 'Source Code Pro', monospace;font-size:undefined; white-space: pre; border-radius: 0px; word-wrap: normal; background: transparent;">/opt/cm-<span class="hljs-number" style="color:#06666;box-sizing: border-box;">5.7</span>.<span class="hljs-number" style="color:#06666;box-sizing: border-box;">0</span>/lib64/cmf/agent/build/env/lib/python2.<span class="hljs-number" style="color:#06666;box-sizing: border-box;">6</span>/site-packages/cmf-<span class="hljs-number" style="color:#06666;box-sizing: border-box;">5.7</span>.<span class="hljs-number" style="color:#06666;box-sizing: border-box;">0</span>-py2.<span class="hljs-number" style="color:#06666;box-sizing: border-box;">6</span>.egg/cmf/parcel.py:<span class="hljs-number" style="color:#06666;box-sizing: border-box;">17</span>: DeprecationWarning: the sets <span class="hljs-keyword" style="color:#0088;box-sizing: border-box;">module</span> <span class="hljs-keyword" style="color:#0088;box-sizing: border-box;">is</span> <span class="hljs-keyword" style="color:#0088;box-sizing: border-box;">deprecated</span>
  <span class="hljs-keyword" style="color:#0088;box-sizing: border-box;">from</span> sets import <span class="hljs-keyword" style="color:#0088;box-sizing: border-box;">Set</span>
[<span class="hljs-number" style="color:#06666;box-sizing: border-box;">11</span>/May/<span class="hljs-number" style="color:#06666;box-sizing: border-box;">2016</span> <span class="hljs-number" style="color:#06666;box-sizing: border-box;">10</span>:<span class="hljs-number" style="color:#06666;box-sizing: border-box;">12</span>:<span class="hljs-number" style="color:#06666;box-sizing: border-box;">05</span> +<span class="hljs-number" style="color:#06666;box-sizing: border-box;">0000</span>] <span class="hljs-number" style="color:#06666;box-sizing: border-box;">31760</span> MainThread agent        INFO     SCM Agent Version: <span class="hljs-number" style="color:#06666;box-sizing: border-box;">5.7</span>.<span class="hljs-number" style="color:#06666;box-sizing: border-box;">0</span>
Unable <span class="hljs-keyword" style="color:#0088;box-sizing: border-box;">to</span> <span class="hljs-keyword" style="color:#0088;box-sizing: border-box;">create</span> the pidfile.
</code><ul class="pre-numbering" style="box-sizing: border-box; position: absolute; width: 50px; top: 0px; left: 0px; margin: 0px; padding: 6px 0px 40px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(221, 221, 221); list-style: none; text-align: right; background-color: rgb(238, 238, 238);"><li style="box-sizing: border-box; padding: 0px 5px;">1</li><li style="box-sizing: border-box; padding: 0px 5px;">2</li><li style="box-sizing: border-box; padding: 0px 5px;">3</li><li style="box-sizing: border-box; padding: 0px 5px;">4</li><li style="box-sizing: border-box; padding: 0px 5px;">5</li></ul><ul class="pre-numbering" style="box-sizing: border-box; position: absolute; width: 50px; top: 0px; left: 0px; margin: 0px; padding: 6px 0px 40px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(221, 221, 221); list-style: none; text-align: right; background-color: rgb(238, 238, 238);"><li style="box-sizing: border-box; padding: 0px 5px;">1</li><li style="box-sizing: border-box; padding: 0px 5px;">2</li><li style="box-sizing: border-box; padding: 0px 5px;">3</li><li style="box-sizing: border-box; padding: 0px 5px;">4</li><li style="box-sizing: border-box; padding: 0px 5px;">5</li></ul>

解決

執行命令

mkdir /opt/cm-5.7.0/run/cloudera-scm-agent

再次嘗試,啟動成功。

這裡寫圖片描述

相關推薦

Unable to create the pidfile.

安裝cloudera namager時,cloudera-scm-server可以正常啟動,cloudera-scm-agent啟動失敗: 檢視日誌/opt/cm-5.7.0/log/cloudera-scm-agent/cloudera-scm-agent.out的內容,

Unable to create the django_migrations table (%s)

%s 環境 syn nag manage right error man 版本 環境:python3.6 + django2.1 +mysql5.5執行python manage.py migrate時報錯如下 “Unable to create the django_mi

報錯 raise MigrationSchemaMissing("Unable to create the django_migrations table (%s)" % exc)

django http spa col miss ons tab simple pytho Django 執行遷移生成表: python manage.py migrate 報錯: raise MigrationSchemaMissing("Unable to cre

Django: raise MigrationSchemaMissing("Unable to create the django_migrations table (%s)" % exc)……

raise MigrationSchemaMissing("Unable to create the django_migrations table (%s)" % exc) django.db.migrations.exceptions.MigrationSchemaMissing: Unable

Tomcat空間不足:java.lang.IllegalStateException: Unable to create the directory [/tmp/tomcat.]

今天在伺服器部署專案的時候遇到了專案無法啟動的錯誤,仔細一看異常: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is java.lang

Unable to create the django_migrations table 遷移檔案時報錯

執行python manage.py makemigrations 報錯: raise MigrationSchemaMissing("Unable to create the django_migrations table (%s)" % exc) django.db.

git提交代碼出現錯誤fatal: Unable to create '項目路徑/.git/index.lock': File exists.

log stack sts exists 下一個 flow code .cn create git提交代碼出現錯誤fatal: Unable to create ‘項目路徑/.git/index.lock‘: File exists. 具體出錯代碼如下: 具體原因不詳

安裝xcode6 beta 後調試出現Unable to boot the iOS Simulator以及編譯蘋果官方Swift的demo報錯failed with exit code 1的解決的方法

imu fonts mat 詳細說明 watermark data- 重新啟動 技術分享 說明 蘋果昨天公布新語言Swift(雨燕),須要安裝xcode6 以及mac os 系統為10.9以上。 (xcode6 beta 可在官方下載。須要登錄開發人員賬號;mac os

ArcCatalog連接ArcSDE連接報:unable to create new database connection file,permission is denied

sde rcc href connect database 連接 art .com new 參考博文:鏈接 另外,若機器ip變更,sde是否受影響的問題 ArcCatalog連接ArcSDE連接報:unable to create new database conne

配置ssh框架啟動tomcat服務器報異常Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]

clas 系統默認 lba nco not -1 path xml配置 mysql用戶 在Spring中配置jdbc時,引用的是dbcp.jar包,在db.properties配置文件中,使用了之前的properties配置文件的用戶名username(MySql用戶名)

MyEclipse打開JSP文件報"Failed to create the part's controls"解決方法

ati file setting editor 技術 figure str 其他 clean   HTML代碼放到JSP中的,打不開了,在網上找了半天解決方法,總算解決了。 方法1. 在"開始"-->"運行"---->"cmd"進入命令提示行後,再進入myec

python多版本配置後使用pip出現 Fatal error in launcher: Unable to create process using '"'

com num cnblogs src eat sta reat xxxxx 。。 上一篇剛介紹了python的多版本環境配置,然後再我把python2的python.exe改成python2.exe之後,python2的pip就不好使了,出現了如題的錯誤。。。 然後解決辦

MyEclipse打開JSP文件報"Failed to create the part's controls"解決方法匯總

project 文件夾 window per win 而且 configure work 有時 有時候,打開別人的開發環境中導過來的項目的JSP文件,會出現“Failed to create the part‘s controls”的錯誤! 解決的

VirtualBox 在WIN7 X64 安裝報錯 獲取VirtualBox COM對象失敗,Unable to start the virtual device

device class mode gis col model gist try .cn Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\CLSID\{00020420-0000-0000-C000-000

CloudStack: unable to add the host

cloudstack一、故障現象cloudstack添加宿主機,報錯“unable to add the host”,然後虛擬機宿主機也沒法添加到cloudstack的管理。二、處理過程然後查看了下宿主機的/var/log/cloudstack/agent/agent.log日誌,沒有發現有什麽異常,查看管理

Unable to access the IIS metabase

roo admin root -c and logs ssi href man https://stackoverflow.com/questions/12859891/error-unable-to-access-the-iis-metabase 解決方法1

Unable to register the DLL/OCX: RegSvr32 failed with exit code 0x3 我的解決方法

通過 depend led end blog unable ocx div IT 一個在win7 64位下能正常註冊的ocx 在XP下註冊時報錯,Unable to register the DLL/OCX: RegSvr32 failed with exit code

pip安裝出現Fatal error in launcher: Unable to create process using '"'的解決辦法

python2 情況 是否 bubuko inf img where class 控制 python中使用pip安裝模塊時,出現:Fatal error in launcher: Unable to create process using ‘"‘ 原因:系統中可能有多處安

file_get_contents()獲取https出現這個錯誤Unable to find the wrapper “https” – did

AC ans html 解決 itl follow htm erer -c file_get_contents()獲取https出現這個錯誤Unable to find the wrapper “https” – did 解決辦法一,如果你是用的服務器,可以參考這個辦法

安裝Neo4j提示:Unable to determine the path to java.exe

neo4j安裝Neo4j 壓縮版時提示如圖所示的錯誤:出現這種原因是發現系統沒有安裝相應的java環境。從java網站現在java開發軟件: 安裝完jdk,這後在安裝 neo4j 如圖:安裝Neo4j提示:Unable to determine the path to java.exe