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

macbert's questions

Martin Hope
macbert
Asked: 2019-04-17 01:07:50 +0800 CST

Kerberos 身份验证不适用于 Apache 和 PHP-FPM

  • 0

我已经使用 php-fpm drupal 后端在 apache 中配置了 kerberos 身份验证。

检查 apache 日志,乍一看它看起来不错,但不知何故,经过身份验证的用户似乎在某个地方迷路了。

在此处输入图像描述

在此处输入图像描述

Drupal 看门狗日志说:

在此处输入图像描述

这是否试图暗示 php-fpm 进程没有获得 $_Server[Remote_User] 变量?Apache mod_auth_kerb 是否对用户进行身份验证,而 php 没有?我可以以某种方式将该服务器 envar 传递给 php-fpm 吗?

apache-2.4
  • 1 个回答
  • 816 Views
Martin Hope
macbert
Asked: 2013-11-16 08:13:25 +0800 CST

在 SUSE 10.3 下无法编译 Varnish 2.1

  • 1

我刚刚从 git-repository 克隆了最新的 varnish 2.1。网站上列出的所有依赖项都已安装。我运行以下命令:

./autogen.sh -> works fine
./configure -> works fine too

但

make -> fails 

出现以下错误:

make[2]: Entering directory `/tmp/Varnish-Cache-2.1/bin/varnishd'
if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include   -
DVARNISH_STATE_DIR='"/usr/local/var/varnish"' -g -O2 -MT varnishd-instance.o -MD -MP -
MF ".deps/varnishd-instance.Tpo" -c -o varnishd-instance.o `test -f 'instance.c' ||  
echo './'`instance.c; \
then mv -f ".deps/varnishd-instance.Tpo" ".deps/varnishd-instance.Po"; else rm -f     
".deps/varnishd-instance.Tpo"; exit 1; fi

instance.c:1: error: expected identifier or ‘(’ before ‘.’ token
instance.c:1:35: warning: no newline at end of file
make[2]: *** [varnishd-instance.o] Error 1
make[2]: Leaving directory `/tmp/Varnish-Cache-2.1/bin/varnishd'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/tmp/Varnish-Cache-2.1/bin'
make: *** [install-recursive] Error 1

我在相当老的 SUSE 10.3 上构建它;不要问为什么。有任何想法吗?

installation
  • 1 个回答
  • 131 Views
Martin Hope
macbert
Asked: 2009-07-10 09:05:47 +0800 CST

挂载的 ext3 逻辑卷的在线调整大小

  • 3

我在 SLES10 上,正在尝试扩展我所做的 /usr 的大小:

lvextend -L +5G /dev/vg00/vol03

这似乎奏效了。现在,当我尝试这样做时:

resize2fs /dev/vg00/vol03 11G

我得到:

an ... is mounted; can't resize a mounted filesystem

我也试过:

ext2online /dev/vg00/vol03 11G

这导致:

warning - device size 157...., specified 288.... error invalid argument: seeking to 11811155968

主机是 VMWARE SLES9,所以我无法从 CD 启动,因此无法卸载 /usr

请帮忙。

linux lvm sles10
  • 3 个回答
  • 8100 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