您的位置:首页 > 运维架构 > Linux

Kali Linux 常见错误整理

2015-11-10 09:55 489 查看

Please install lsusb from your distro’s package manager.

apt-get install usbutils


missing LSB tags and overrides

在启动脚本前加描述

#
### BEGIN INIT INFO
# Provides:          mysql
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Should-Start:      $network $time
# Should-Stop:       $network $time
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start and stop the mysql database server daemon
# Description:       Controls the main MySQL database server daemon "mysqld"
#                    and its wrapper script "mysqld_safe".
### END INIT INFO
#

警告提示
==================================

insserv: warning: script 'K01my-wifi' missing LSB tags and overrides
insserv: warning: script 'my-wifi' missing LSB tags and overrides
insserv: warning: script 'K01my-wifi' missing LSB tags and overrides
insserv: warning: script 'my-wifi' missing LSB tags and overrides
insserv: warning: script 'K01my-wifi' missing LSB tags and overrides
insserv: warning: script 'my-wifi' missing LSB tags and overrides


perl: warning: Setting locale failed.

root@kali:~# apt-get install locales
root@kali:~# dpkg-reconfigure locales

警告提示
-------------------------------------------------------------------------------

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").


android sdk lib32stdc++6

apt-get install lib32stdc++6

=========================================================
Starting emulator for AVD 'AVD_for_Nexus_One_by_Google'
/usr/share/android-sdk/tools/emulator: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory


android failed to create the SD card

1.设置android sdk下的tools权限为可执行权限。

2.没有安装ia32-libs的原因

sudo dpkg --add-architecture i386
sudo apt-get update
sudo aptitude install ia32-libs


/usr/libexec/mysqld: Can’t change dir to ‘/xxx’ (Errcode: 13)

错误日志记录:

mysqld started

[Warning] Can't create test file xxx.lower-test
[Warning] Can't create test file xxx.lower-test
/usr/libexec/mysqld: Can't change dir to '/xxx' (Errcode: 13)
[ERROR] Aborting

检查数据目录和日志目录的权限和所属用户
检查SELINUX的权限

对数据目录和日志目录执行如下命令:

#chcon -R -t mysqld_db_t /xxx


kali apt install eclipse

To solve this issue, put this line:

org.eclipse.swt.browser.DefaultType=mozilla


at the end of this file

eclipse/configuration/config.ini


and it’ll work fine !!

报错如下:

Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  linux