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
    • 最新
    • 标签
主页 / ubuntu / 问题

问题[lighttpd](ubuntu)

Martin Hope
ebaruk
Asked: 2020-06-17 17:53:21 +0800 CST

UBUNTU 20.04 Pi-hole,lighttpd 服务未运行

  • 2

希望有人可以帮助我在单板计算机上安装“pi-hole”:

  • Ubuntu 20.04
  • Rpi4-8GB/64 位 1.4 固件版本。

我遵循了基本链接(安装应该很容易):

ed-install安装 PI 孔 并 观看 (过程相同,不分版本) 。

我的问题是,此时一切都“卡住”了:

*[✓] Detected ARM-aarch64 architecture
[i] Checking for existing FTL binary...
[i] Latest FTL Binary already installed (v5.0). Confirming Checksum...
[i] Checksum correct. No need to download!
usermod: user 'pihole' does not exist
grep: /etc/pihole/setupVars.conf: No such file or directory
[i] Testing if systemd-resolved is enabled
[i] Systemd-resolved does not need to be restarted
[i] Restarting lighttpd service...ubuntu@ubuntu-server:~$ ^C*

所以我从来没有得到任何“已完成安装”的状态,也无法访问 pi-hole Web 界面或做任何其他事情,包括卸载。看起来过程已经完成,但是......那里什么都没有。

我尝试了很多关于“ lighttpd service ”的建议,但没有一个提到有效:

  • 在 reddit 中安装重新启动 lig​​httpd 服务时卡住了。
  • PI 孔没有 Web 界面访问和 lighttpd 服务无法 在话语中启动。
  • github 中的PI 漏洞问题。

当我从终端运行安装命令时,我的典型代码(它似乎可以工作,但没有安装任何东西......或得出结论......系统只是停止......):

*ubuntu@ubuntu-server:~$ sudo curl -sSL https://install.pi-hole.net | bash
sudo: unable to resolve host ubuntu-server: Name or service not known
[✗] Root user check
Script called with non-root privileges
The Pi-hole requires elevated privileges to install and run
Please check the installer for any concerns regarding this requirement
Make sure to download this script from a trusted source
[✓] Sudo utility check
sudo: unable to resolve host ubuntu-server: Name or service not known
[✓] Root user check
.;;,.
.ccccc:,.
:cccclll:. ..,,
:ccccclll. ;ooodc
'ccll:;ll .oooodc
.;cll.;;looo:.
.. ','.
.',,,,,,'.
.',,,,,,,,,,.
.',,,,,,,,,,,,....
....''',,,,,,,'.......
......... .... .........
.......... ..........
.......... ..........
......... .... .........
........,,,,,,,'......
....',,,,,,,,,,,,.
.',,,,,,,,,'.
.',,,,,,'.
..'''.
Existing PHP installation detected : PHP version 7.4.3
[✓] Disk space check
[✓] Update local cache of available packages
[✓] Checking apt-get for upgraded packages... 11 updates available
It is recommended to update your OS after installing the Pi-hole!
Installer Dependency checks...
[✓] Checking for dhcpcd5
[✓] Checking for git
[✓] Checking for iproute2
[✓] Checking for whiptail
SELinux not detected
Using interface: eth0
Using upstream DNS: Quad9 (unfiltered, no DNSSEC) (9.9.9.10, 149.112.112.10)
Static IP already configured
Unable to find IPv6 ULA/GUA address, IPv6 adblocking will not be enabled
[i] IPv4 address: 10.0.10.82/24
[i] IPv6 address:
[i] Web Interface On
[i] Web Server On
[i] Logging On.
[✓] Check for existing repository in /etc/.pihole
[i] Update repo in /etc/.pihole...HEAD is now at 4d25f69 Merge pull request #3321 from pi-hole/release/v5.0
[✓] Update repo in /etc/.pihole
[✓] Check for existing repository in /var/www/html/admin
[i] Update repo in /var/www/html/admin...HEAD is now at b86e4a3 Merge pull request #1247 from pi-hole/release/v5.0
[✓] Update repo in /var/www/html/admin
[i] Main Dependency checks...
[✓] Checking for cron
[✓] Checking for curl
[✓] Checking for dnsutils
[✓] Checking for iputils-ping
[✓] Checking for lsof
[✓] Checking for netcat
[✓] Checking for psmisc
[✓] Checking for sudo
[✓] Checking for unzip
[✓] Checking for wget
[✓] Checking for idn2
[✓] Checking for sqlite3
[✓] Checking for libcap2-bin
[✓] Checking for dns-root-data
[✓] Checking for libcap2
[✓] Checking for lighttpd
[✓] Checking for php7.4-common
[✓] Checking for php7.4-cgi
[✓] Checking for php7.4-sqlite3
[✓] Checking for php7.4-xml
[✓] Checking for php-intl
[✓] Enabling lighttpd service to start on reboot...
[i] Creating user 'pihole'...useradd: group pihole exists - if you want to add this user to that group, use -g.
[✗] Creating user 'pihole'
[i] FTL Checks...
[✓] Detected ARM-aarch64 architecture
[i] Checking for existing FTL binary...
[i] Latest FTL Binary already installed (v5.0). Confirming Checksum...
[i] Checksum correct. No need to download!
usermod: user 'pihole' does not exist
grep: /etc/pihole/setupVars.conf: No such file or directory
[i] Testing if systemd-resolved is enabled
[i] Systemd-resolved does not need to be restarted
[i] Restarting lighttpd service...ubuntu@ubuntu-server:~$ ^C
ubuntu@ubuntu-server:~$*
networking lighttpd 20.04
  • 1 个回答
  • 3598 Views
Martin Hope
Joe Schmoe
Asked: 2020-01-10 17:35:20 +0800 CST

在 Ubuntu 18.04 上安装“lighttpd”:它坏了!

  • 1

首先注意:似乎有几个关于这个一般主题的现有线程。但是,我查看了它们,它们似乎都属于“未满足的依赖项”/无法安装品种。我的问题不同;它安装;但无法运行。

我照常apt-get update; apt-get install lighttpd进行,在安装过程中,屏幕上显示以下错误:

/usr/sbin/lighttpd: Symbol `FamErrlist' has different size in shared object, consider re-linking
/usr/sbin/lighttpd: symbol lookup error: /usr/sbin/lighttpd: undefined symbol: FAMNoExists

伴随着一条消息,大意是lighttpd无法启动。

我已经做了相当多的其他研究试图让这个工作,但都无济于事。注意:我什至在不同的 Ubuntu 系统上下载了一个 .deb,该二进制文件确实可以工作,但是当我在 18.04 系统上获取 .deb 并解压缩它时,它失败了。我试过编译源码,但是源码包很奇怪;它没有 ./configure 脚本(只是 configure.ac,我尝试使用“autoconf”将其转换为“configure”,但未成功)

无论如何,我最终安装了一个名为“h2static”的东西,这似乎是一个很好的替代品,但我仍然很好奇为什么“lighttpd”不起作用。

更新:有人要求提供更多信息。请注意,我早就卸载了该软件包,因此与其作为已安装软件包运行相关的任何内容都已消失,但这里是“ldd”输出:

linux-vdso.so.1 (0x00007ffcc8f43000)
        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007fbd9246a000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fbd92266000)
        libattr.so.1 => /lib/x86_64-linux-gnu/libattr.so.1 (0x00007fbd92061000)
        libssl.so.1.1 => /usr/lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007fbd91dd4000)
        libcrypto.so.1.1 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007fbd91909000)
        libfam.so.0 => /usr/lib/x86_64-linux-gnu/libfam.so.0 (0x00007fbd91700000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fbd9130f000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fbd910f0000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fbd9291b000)
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fbd90d67000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fbd90b4f000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fbd907b1000)

这是运行二进制文件的任何尝试都会生成的错误消息(这与上面发布的相同,但为了清楚起见,这里再次显示):

/usr/sbin/lighttpd: Symbol `FamErrlist' has different size in shared object, consider re-linking
/usr/sbin/lighttpd: symbol lookup error: usr/sbin/lighttpd: undefined symbol: FAMNoExists
lighttpd
  • 1 个回答
  • 1237 Views
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
www139
Asked: 2018-05-13 17:49:39 +0800 CST

Ubuntu Desktop 18 virtualbox无法更改共享文件夹的文件权限

  • 3

我正在尝试使用主机 Windows 机器中的共享文件夹作为来宾 Ubuntu 虚拟机上 lighttpd 的根目录。当我尝试更改权限时,没有任何反应。权限始终保持不变(如下所示)。无论文件类型如何,lighttpd 总是返回 403 错误。如何更改文件权限?

编辑:

研究表明将我的用户添加到 vboxsf 用户组将允许我更改权限。当我尝试使用 将我的用户添加到组usermod时,它似乎已经奏效,但更改的内容会立即被覆盖并回滚。其他消息来源建议我必须手动安装具有我想要的权限的磁盘。尽管我尝试更改所有者,但 root 仍然是所有者。尽管我之前解释过尝试使用usermod更改所有者。检查 /etc/group 文件中的组设置,我看到我的用户名已列出。但是,virtualbox 可能会产生干扰。

作为替代方案,我正在考虑从访客到主机进行网络共享。

结束编辑

/media/sf_Space.io$ ls -l
total 10
drwxrwx--- 1 root vboxsf    0 May 12 11:57  css
-rwxrwx--- 1 root vboxsf    8 May 12 12:27  index.html
drwxrwx--- 1 root vboxsf    0 May 12 11:57  js
drwxrwx--- 1 root vboxsf    0 May 12 11:57  PythonCGITest
-rwxrwx--- 1 root vboxsf 1181 May 12 11:57  README.md
drwxrwx--- 1 root vboxsf    0 May 12 11:57  sprites
-rwxrwx--- 1 root vboxsf  587 May 12 11:57  test.html
drwxrwx--- 1 root vboxsf 4096 May 12 11:57 'welcome page (sketch)'
virtualbox permissions lighttpd 18.04
  • 2 个回答
  • 2071 Views
Martin Hope
The Chad Raccoon
Asked: 2016-01-30 19:13:50 +0800 CST

当我进入子目录时 lighttpd 显示 404 not found

  • 0

我有一个运行 lighttpd 的服务器,所以我可以在上面托管一个网站。

但事情是,当我进入诸如“domain.com/example/”之类的子目录时,我得到一个“404 - 未找到”。

如果您想看一下,这是我的lighttpd 配置。

任何帮助将不胜感激。:)

lighttpd
  • 1 个回答
  • 1536 Views
Martin Hope
aneuryzm
Asked: 2011-01-03 05:08:37 +0800 CST

带有 Lighttpd 网络服务器的 SVN?

  • 2

我需要在 Ubuntu 10.04 和 Ubuntu 9.04 上安装 svn。在两台服务器上,我都使用 lighttpd。

我在互联网上找到了一些教程,解释了使用 Apache 安装哪些软件包,但我实际上需要 lighttpd。

谢谢

10.04 server 9.04 svn lighttpd
  • 1 个回答
  • 2584 Views
Martin Hope
aneuryzm
Asked: 2011-01-03 00:13:07 +0800 CST

损坏的包:php-apc:取决于:phpapi-20090626+lfs

  • 4

我需要在 Ubuntu 10.04 和 Ubuntu 9.04 上安装 php-apc

首先,我可以安装这个包以使其在这些 Ubuntu 版本上与 php 5.2 + lighttpd 一起工作吗?

我尝试在 Ubuntu 10.04 上安装它,但出现以下错误:

sudo apt-get install php-apc

The following packages have unmet dependencies:
  php-apc: Depends: phpapi-20090626+lfs
E: Broken packages

谢谢

server php lighttpd
  • 1 个回答
  • 12721 Views
Martin Hope
aneuryzm
Asked: 2011-01-02 07:03:14 +0800 CST

在 lighttpd + php 5.2 上安装 APC

  • 3

我发现本教程在 Ubuntu 10 上使用 lighttpd + php 5.2 在服务器上安装 APC。

但是,当我运行sudo pecl install apc该软件包时,它只是下载并没有安装。(即我没有被问到下一个问题”并且根本没有创建 apc.ini 文件。

如果我只运行pecl install apc我会收到警告(没有写入某些文件的权限)。

(我需要 9.04 和 10.04 的说明)

谢谢

10.04 php 9.04 lighttpd
  • 1 个回答
  • 975 Views
Martin Hope
Adam Matan
Asked: 2010-11-30 07:06:19 +0800 CST

启动时加载守护进程

  • 4

除了弄乱 之外,有没有一种优雅的方式/etc/rc?.d来控制启动时的守护进程加载?

我个人担心的是阻止Nginx在启动时加载,同时将lighttpd设置为在启动时加载。

在此先感谢,亚当

boot services nginx lighttpd
  • 1 个回答
  • 4268 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