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-95163

benwad's questions

Martin Hope
benwad
Asked: 2014-06-18 02:24:45 +0800 CST

Munin Postgres 插件:未找到 DBD::Pg

  • 11

我正在尝试为 Munin 激活一些 Postgresql 插件。当我运行时,munin-node-configure --suggest | grep postgres我得到以下输出:

postgres_bgwriter          | no   | no [DBD::Pg not found, and cannot do psql yet]
postgres_cache_            | no   | no [DBD::Pg not found, and cannot do psql yet]
postgres_checkpoints       | no   | no [DBD::Pg not found, and cannot do psql yet]
postgres_connections_      | no   | no [DBD::Pg not found, and cannot do psql yet]
postgres_connections_db    | no   | no [DBD::Pg not found, and cannot do psql yet]
postgres_locks_            | no   | no [DBD::Pg not found, and cannot do psql yet]
postgres_querylength_      | no   | no [DBD::Pg not found, and cannot do psql yet]
postgres_scans_            | no   | no [DBD::Pg not found, and cannot do psql yet]
postgres_size_             | no   | no [DBD::Pg not found, and cannot do psql yet]
postgres_transactions_     | no   | no [DBD::Pg not found, and cannot do psql yet]

我在谷歌上搜索了一个答案,但没有找到任何关于如何解决这个问题的明确答案。我以前从未使用过 Perl 模块(我们所有的软件都在 Python 中)所以我需要做什么来安装这个依赖项?我正在使用 Ubuntu 10.04.4 LTS。

ubuntu
  • 1 个回答
  • 4136 Views
Martin Hope
benwad
Asked: 2012-05-16 03:31:44 +0800 CST

启动 uWSGI 时“找不到用户‘wsgi’”

  • 0

我目前正在尝试使用 web.py、nginx 和 uWSGI 在 Amazon EC2 (Ubuntu 11.10) 上设置服务器,如下所示:http: //blog.nobien.net/2011/08/14/nginx-uwsgi-and -web-py-and-my-new-job/

我已经安装了所有东西,并将该页面中的所有脚本保存在同一个文件夹中。然后我编辑了 uwsgi.sh 脚本以指向 uwsgi.yaml 的位置。

然后我运行sh nginx.sh startwhich worked, then sh uwsgi.sh start,导致以下错误消息:

Starting uwsgi: start-stop-daemon: user 'uwsgi' not found

我注意到 uwsgi.sh 脚本中有几行是这样的,但它们的目的在博客文章中没有解释:

OWNER=uwsgi

NAME=uwsgi
DESC=uwsgi

我是用“root”替换它们,还是创建一个纯粹供 uwsgi 在其下运行的新用户?

amazon-ec2 python nginx uwsgi
  • 1 个回答
  • 2023 Views
Martin Hope
benwad
Asked: 2010-03-24 10:14:18 +0800 CST

在 000webhost.com(免费网络主机)上安装 Silverstripe

  • 0

我正在尝试学习如何使用 Silverstripe,因此我将 tar 文件提取到我的免费托管帐户中。然后我继续 install.php 并编辑了权限以满足 install.php 中规定的要求,但我仍然从“网络服务器配置”部分收到两个警告:

我不知道您正在运行什么网络服务器。如果没有 Apache,我无法判断是否启用了 mod_rewrite。

我不知道 mod_rewrite 是否正在运行。您可能需要自己配置重写规则。

我查看了 phpinfo() 并且 mod_rewrite 似乎已安装。我联系了网络主机,他们说这与虚拟目录路径有关,我应该在 public_html 目录中的 .htaccess 文件的顶部添加“RewriteBase /”。但是我这样做了,但仍然遇到同样的问题。install.php 脚本说即使有这些警告我也可以安装它,但是当我按下“安装”时,它只会刷新 install.php 页面。它甚至不会覆盖 .htaccess 文件。000webhost.com 说他们在没有太多配置的情况下成功地在他们的用户帐户上安装了 Silverstripe,但我似乎不知道怎么做。

编辑:我设法进入下一页,但现在有另一个警告正在停止安装:

友好的 URL 不起作用。这很可能是因为您的站点上未正确配置 mod_rewrite。请检查您的 Apache 配置中的以下内容;您可能需要让您的网络主机或服务器管理员为您执行此操作:
* mod_rewrite 已启用
* AllowOverride All 已为您的目录设置

我也从服务器收到此错误消息:

警告:unlink(mysite/_config.php) [function.unlink]: Permission denied in /home/a2716553/public_html/install.php on line 701

installation mod-rewrite cms
  • 1 个回答
  • 1547 Views

Sidebar

Stats

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

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

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

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve