AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-591192

Steve's questions

Martin Hope
Steve
Asked: 2018-09-07 09:24:45 +0800 CST

启动时无法启动 Lighttpd 守护进程

  • 4

每次打开笔记本电脑时,我都会在启动过程中多次看到有关Lighttpdsystemctl --failed的错误消息(也打开):

Failed to start Lighttpd Daemon.
See 'systemctl status lighttpd.service' for details.

登录后,我输入systemctl status lighttpd.service并得到以下输出:

● lighttpd.service - Lighttpd Daemon
   Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2018-09-06 20:54:16 +05; 22min ago
  Process: 1170 ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf (code=exited, status=127)

Sen 06 20:54:16 ibrokhim-i systemd[1]: lighttpd.service: Service hold-off time over, scheduling restart.
Sen 06 20:54:16 ibrokhim-i systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 5.
Sen 06 20:54:16 ibrokhim-i systemd[1]: Stopped Lighttpd Daemon.
Sen 06 20:54:16 ibrokhim-i systemd[1]: lighttpd.service: Start request repeated too quickly.
Sen 06 20:54:16 ibrokhim-i systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Sen 06 20:54:16 ibrokhim-i systemd[1]: Failed to start Lighttpd Daemon.

此外,这是来自的输出cat /etc/lighttpd/lighttpd.conf:

server.modules = (
    "mod_access",
    "mod_alias",
    "mod_compress",
    "mod_redirect",
)

server.document-root        = "/var/www/html"
server.upload-dirs          = ( "/var/cache/lighttpd/uploads" )
server.errorlog             = "/var/log/lighttpd/error.log"
server.pid-file             = "/var/run/lighttpd.pid"
server.username             = "www-data"
server.groupname            = "www-data"
server.port                 = 80


index-file.names            = ( "index.php", "index.html", "index.lighttpd.html" )
url.access-deny             = ( "~", ".inc" )
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )

compress.cache-dir          = "/var/cache/lighttpd/compress/"
compress.filetype           = ( "application/javascript", "text/css", "text/html", "text/plain" )

# default listening port for IPv6 falls back to the IPv4 port
## Use ipv6 if available
#include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
include_shell "/usr/share/lighttpd/create-mime.assign.pl"
include_shell "/usr/share/lighttpd/include-conf-enabled.pl"

我该如何解决这个问题?

boot lighttpd 18.04
  • 3 个回答
  • 17224 Views
Martin Hope
Steve
Asked: 2018-05-05 20:06:18 +0800 CST

升级到 Ubuntu 18.04 时 sudo update-manager -d 出错

  • 0

我无法从 17.10 升级到 Ubuntu 18.04。当我运行sudo update-manager -d它时显示错误:

Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused
Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused
Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused

(update-manager:2584): Gtk-WARNING **: cannot open display: :0

在此之前,sudo update-manager -d找到了版本并即将开始升级过程,但我取消了它。现在它显示了那个错误。

而且,现在当我更新软件包时,PPA 源是 Bionic,它来自 18.04,而不是 17.10:

Get:9 http://archive.ubuntu.com/ubuntu bionic-security InRelease [69.9 kB]

结果,在运行之后apt upgrade,有大量的软件包需要升级,需要 1260 MB。

我知道我把一切都搞砸了。在这种情况下如何升级到 Ubuntu 18.04?或者我可以通过升级到 18.04dist-upgrade吗?

upgrade 18.04
  • 1 个回答
  • 1427 Views
Martin Hope
Steve
Asked: 2017-12-18 11:50:24 +0800 CST

如何在 Mozilla Firefox Quantum 上使用 IDM

  • 3

我想使用 Internet 下载管理器在 Firefox 上下载。根据这个答案,可以使用名为 Flashgot 的扩展来完成。但 Flashgot 不适用于新的 Firefox Quantum。但是,我发现这个扩展可以用来中断浏览器的下载作业,方法是将这些作业重定向到外部下载管理器,如 Internet 下载管理器 (IDM)。但我不知道如何将 IDM 与这个新扩展集成。我在“可执行文件的路径”框中写了 IDM 的位置 ( /.wine/drive_c/Program Files (x86)/Internet Download Manager/IDMan.exe),但是当我尝试下载某些内容时,出现了错误。

扩展的偏好页面

扩展程序的设置页面

尝试下载文件时出现的错误

错误

我怎样才能让它工作?预先感谢!

firefox
  • 3 个回答
  • 5257 Views
Martin Hope
Steve
Asked: 2017-11-09 12:08:21 +0800 CST

如何将 VM 复制到另一台计算机?

  • 1

我想将我的虚拟机复制到另一台计算机上并使用它,因为我在两台计算机 Ubuntu 16.04 中使用的第二台 PC 中没有任何变化(例如历史记录、快照、uuid 等)。

virtualbox
  • 1 个回答
  • 13336 Views
Martin Hope
Steve
Asked: 2016-11-27 21:01:55 +0800 CST

Wine 程序无法从其他硬盘打开文件

  • 0

我无法通过 Wine 打开我的第二个硬盘驱动器上的任何文件(音乐、视频、任何类型的文件)。如果我将该文件复制到主文件夹,那么我可以。但我不想复制每个文件(第一个文件没有太多空间) 我怎样才能让它工作?

wine
  • 1 个回答
  • 1015 Views
Martin Hope
Steve
Asked: 2016-11-27 20:36:42 +0800 CST

我使用的是哪个 Wine 版本?

  • 7

我想知道我使用的是哪个版本的 Wine。因为如果我apt show wine在终端上输入:

Package: wine
Version: 1:1.6.2-0ubuntu14
Priority: extra
Section: universe/otherosfs
Source: wine1.6
Origin: Ubuntu
Maintainer: Scott Ritchie <scottritchie@ubuntu.com>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 6,144 B
Depends: wine1.6
Homepage: http://www.winehq.org/
Download-Size: 974 B
APT-Sources: http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
Description: Microsoft Windows Compatibility Layer (meta-package)
 Wine is a compatibility layer for running Windows applications on Linux.
 Applications are run at full speed without the need of cpu emulation. Wine
 does not require Microsoft Windows, however it can use native system dll
 files in place of its own if they are available.
 .
 This meta-package always depends on the default version of Wine.

但如果我输入wine --version:

wine-1.9.22

为什么不只有一个版本?

wine
  • 1 个回答
  • 41541 Views
Martin Hope
Steve
Asked: 2016-11-07 08:09:12 +0800 CST

16.04关机好慢

  • 0

关机大约需要 6-7 分钟。特别是:ccpd.service 5 min 6s 的停止作业正在运行 我该怎么办?

shutdown
  • 2 个回答
  • 745 Views
Martin Hope
Steve
Asked: 2016-11-07 01:38:13 +0800 CST

Wine 程序错误

  • 0

当我运行任何葡萄酒程序时,出现程序错误:

错误

有时 winemenubuilder.exe 也会出现。winecfg 也不能正常工作(Wine 程序崩溃:内部错误 - 收到无效参数)怎么了?

wine
  • 1 个回答
  • 10421 Views
Martin Hope
Steve
Asked: 2016-10-26 18:48:18 +0800 CST

未安装 Wine 的 Mono 包

  • 52

Wine 说 Mono 包没有安装,但我用终端安装了它:

sudo apt-get install mono-complete

我应该怎么办?

wine
  • 5 个回答
  • 247789 Views
Martin Hope
Steve
Asked: 2016-09-18 20:12:11 +0800 CST

如何修复硬盘的健康状况

  • 3

硬盘 SMART 测试结果窗口

大家好。我需要你的帮助。最近我通过“磁盘”检查了我的硬盘,发现“最差”列和“类型”列中有很多问题,许多属性是故障前和老化。好像过了一段时间我的硬盘可能无法工作。我需要修复它们并尽可能多地使用我的硬盘。我可以做吗?谢谢

我使用 Ubuntu 16.04 amd64

hard-drive
  • 1 个回答
  • 714 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve