[RK_2014_0905]ubuntu中,wireshark启动提示:Lua: Error during loading: [string "/usr/share/wireshark/init.lua"]:46: dofile has been disabled

一.问题描述

PC机安装ubuntu14.04,使用root用户登陆。

启动wireshark时,出现一下的Error对话框:

Lua: Error during loading:
[string "/usr/share/wireshark/init.lua"]:46: dofile has been disabled due to running Wireshark as superuser.

二.解决方法

修改/usr/share/wireshark/init.lua

# vi /usr/share/wireshark/init.lua

将倒数第二行:

dofile(DATA_DIR.."console.lua")

改为

--dofile(DATA_DIR.."console.lua")
时间: 2024-10-06 02:53:01

[RK_2014_0905]ubuntu中,wireshark启动提示:Lua: Error during loading: [string "/usr/share/wireshark/init.lua"]:46: dofile has been disabled的相关文章

ubuntu/wireshark -Lua: Error during loading: [string "/usr/share/wireshark/init.lua"]:45有关问题解决

ubuntu/wireshark --Lua: Error during loading: [string "/usr/share/wireshark/init.lua"]:45问题解决 错误如下: 解决方案:修改init.lua 直接运行wireshark的话会报错: Lua: Error during loading: [string "/usr/share/wireshark/init.lua"]:45: dofile has been disabled 要对

【Linux学习之旅】之Ubuntu 14.04下的Wireshark出现Wireshark - Lua: Error during loading...

Lua: Error during loading: [string "/usr/share/wireshark/init.lua"]:46: dofile has been disabled due to running Wireshark as superuser. See http://wiki.wireshark.org/CaptureSetup/CapturePrivileges for help in running Wireshark as an unprivileged

centos启动提示an error occurred during the file system check

由于我是在centos系统的vps中遇到的问题,并不清楚以下方法是否适用于其他linux系统,不过我想是适用的,只不过命令有差别. centos启动提示an error occurred during the file system check这个问题一般是没有正常关机,直接断电,或者磁盘挂载出错导致.先输入root密码,-----------------------------然后使用修复磁盘命令fsck,也可以加一些参数.-a 自动修复文件系统,不询问任何问题.-A 依照/etc/fstab

在Ubuntu中使用MySQL错误:ERROR 1524 (HY000): Plugin 'msyql_native_password' is not loaded

报错信息提示: 解决方式: vi /etc/mysql/my.cnf 添加如下代码 [mysqld]skip-grant-tables 重启服务 sudo service mysql restart 登录mysql服务 成功解决,记录一下 在Ubuntu中使用MySQL错误:ERROR 1524 (HY000): Plugin 'msyql_native_password' is not loaded 原文地址:https://www.cnblogs.com/bai-boy/p/12272699

启动MongoDB时,提示:error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

启动MongoDB时,提示: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory [[email protected] ~]# /usr/local/mongodb/bin/mongod --dbpath=/usr/local/mongodb/data --logpath /usr/local/mongodb/logs/mon

Lua 字符串查找函数 string.find(s, pattern [, init [, plain]] )【转】

函数原型 string.find(s, pattern [, init [, plain]] ) s: 源字符串 pattern: 待搜索模式串 init: 可选, 起始位置 plain: 我没用过 ① 子串匹配: print(string.find("haha", 'ah') ) ----- 输出 2 3 注意: lua 里面数组或者字符串的字符, 其下标索引是从 1 开始, 不是 0 string.find 默认情况下返回两个值, 即查找到的子串的 起止下标, 如果不存在匹配返回

ubuntu中安装myeclipse提示Insufficient Memory解决方法

经过查看资料发现出现这个问题的原因是因为计算机中swap分区的内存不足,或者没有创建swap分区,google中http://www.bkjia.com/webzh/1003601.html提供了一种解决方法, 但是在我的计算机上并没有成功创建成功swap分区,我在单独搜索swap分区的创建,最终成功解决Myeclipse不能安装的问题:现将swap的创建方法记录如下: 备注:1)Ubuntu版本:16.042)Linux用户:root(如果不是root用户,在创建的时候需要加sudo命令) 通

Ubuntu中安装Android环境的个人总结

Ubuntu14.04中安装Android开发环境详解 前言 我之前从没有学过Android,对于Java也只用其写过简单的算法.而我又再愿意继续在Windows环境下进行编码,所以我毅然的选择在Ubuntu系统下进行编码,在不愿意卸载现在的Windows系统情况下,我选择了在虚拟机中安装Ubuntu,并且对于Ubuntu也是最近才真正系统的学了一下.基于以上的原因,在配置整个Android环境时让我蛋碎过无数次,仅以我的经验来告诉后来的人也对自己整个配置过程做一个总结,希望这对后来还想学习的人

error:while loading shared libraries: libevent-2.1.so.6: cannot open shared object file: No such file or directory

执行 memcached 启动命令时,报错,提示:error while loading shared libraries: libevent-2.1.so.6: cannot open shared object file: No such file or directory 查看 memcached 命令缺失什么库ldd /usr/local/bin/memcached 查看 libevent-1.2.so.1 是否存在 locate libevent-1.2.so.1 结果: 系统已经安装