啟動infobright的時候遇見Can't find file: './mysql/host.frm'
2014.11.28
啟動infobright的時候,老是起不來,看到日誌後,出現下面的錯誤:
141128 12:18:20 [ERROR] /usr/local/infobright-4.5.0-x86_64/bin/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
141128 12:18:20 [ERROR] Fatal error: Can't open and lock privilege tables: Can't find file: './mysql/host.frm' (errno: 13)
當時也覺得奇怪,怎麼會有/mysql/ 這個路徑?檢查了幾次,還是沒有找到。後來度娘說涉及許可權,但是因為不熟悉,也不知道是哪裡的許可權問題。
於是檢視infobright引擎日誌:
2014-11-28 12:37:50 No LicenseFile entry in ini file. Using default path.
2014-11-28 12:37:50 License file path : /usr/local/infobright-4.5.0-x86_64/iblicense-xulong_deng-174744303-IEE.lic
2014-11-28 12:37:50 Brighthouse engine started.
看從這裡我可以確定,infobright的basedir許可權是正確的,那麼就剩下datadir目錄的。
去到datadir 看到真的是許可權問題:
於是修改了許可權,就可以成功啟動infobright。
啟動infobright的時候,老是起不來,看到日誌後,出現下面的錯誤:
141128 12:18:20 [ERROR] /usr/local/infobright-4.5.0-x86_64/bin/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
141128 12:18:20 [ERROR] Fatal error: Can't open and lock privilege tables: Can't find file: './mysql/host.frm' (errno: 13)
當時也覺得奇怪,怎麼會有/mysql/ 這個路徑?檢查了幾次,還是沒有找到。後來度娘說涉及許可權,但是因為不熟悉,也不知道是哪裡的許可權問題。
於是檢視infobright引擎日誌:
2014-11-28 12:37:50 No LicenseFile entry in ini file. Using default path.
2014-11-28 12:37:50 License file path : /usr/local/infobright-4.5.0-x86_64/iblicense-xulong_deng-174744303-IEE.lic
2014-11-28 12:37:50 Brighthouse engine started.
看從這裡我可以確定,infobright的basedir許可權是正確的,那麼就剩下datadir目錄的。
去到datadir 看到真的是許可權問題:
於是修改了許可權,就可以成功啟動infobright。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30936525/viewspace-2016599/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- MySQL不能啟動 Can't start server : Bind on unix sockeMySqlServer
- 解決can't find -lGL的問題
- Android開發:Android虛擬機器啟動錯誤Can't find 'Linux version ' string in kernel image fileAndroid虛擬機Linux
- 安裝caffe時候找不到boost怎麼辦?(boost的引用問題make can‘t find Boost‘s include files)
- Supervisor 解決 can't find command *
- eslint --fix 報錯 can't not find modulesEsLint
- cordova 解決can’t not find moudle " plugman platform ios"PlatformiOS
- MongoDB報錯:"assertion" : "can't map file memory"MongoDB
- mysql啟動時報錯Can't read from messagefile errmsg.sysMySql
- mysql什麼時候會發生file sortMySql
- can't create PID file問題處理
- mysql 啟動報錯Can't connect to local MySQL server through socket '/data/mysql/mysql/mysql.sock'(111)MySqlServer
- mha_replication_check Can't exec "mysqlbinlog": No such file or directoryMySql
- errors in crontab file, can't install. - linux crontabErrorLinux
- Can't find keyplane that supports type 4 for keyboard iPhone PortraitTiPhoneAI
- [ERROR] Can't open the mysql.plugin tableErrorMySqlPlugin
- mysql遇到Variable can’t be set to the value of ‘NULL’MySqlNull
- mysql can't start dues to the disk space is fullMySql
- mysql [ERROR] Can't create IP socket: Permission deniedMySqlError
- MySQL_ERROR 1231 (42000) at line XX in file 'file_name' Variable 'time_zone' can't beMySqlError
- 解決Error (1133): Can’t find any matching row in the user tableError
- "Error: Can't find libjava.so" 9.2.0.4 on RH 4.0 x86-64ErrorJava
- 辛星淺析ruby下的mkmf.rb can't find header files for ruby atHeader
- 完美解決stack Error: Can‘t find Python executable “python“, you can set the PYTHON env variable.ErrorPython
- Fatal error: can't check configuration file '/home/watt/proxy/dError
- iOS小記--libtool: can't locate file for: -lPods-xxxiOS
- MySQL連線提示Can't connect to local MySQL server through socketMySqlServer
- Can't connect to local MySQL server through socket '/tmp/mysql.sock'MySqlServer
- 【MySQL】Can't get stat of './mysql/slow_log.CSV' (Errcode: 2)MySql
- MySQL 啟動報錯 Table 'mysql.plugin' doesn't existMySqlPlugin
- 【MySQL】mysql啟動常見報錯 mysqld_safe mysqld from pid file hostname.pid endedMySql
- mysql中You can’t specify target table for update in FROM clMySql
- Mysql報錯Fatal error:Can't open and lock privilege tablesMySqlError
- mysql can't connect error about privilege----not root userMySqlError
- suse10啟動vsftp的時候報錯FTP
- Starting MySQL * Couldn't find MySQL server (/usr/bin/mysqld_safe)MySqlServer
- OSError: [E050] Can‘t find model ‘en_core_web_sm‘. It doesn‘t seem to be a shortcut link, a Python pErrorWebPython
- Can't find the 'libpq-fe.h header when trying to install pg gemHeader