服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器
我正在按照这个教程在我的服务器上安装ffmpeg。 当我configuration源时,我得到这个问题: ffmpeg headers not found. 在那个教程中他们说: To Fix: Just install ffmpeg-devel using yum install ffmpeg-devel 但是,如果我尝试input这一行,我得到这个错误: Error: Package: librtmp-2.3-1.el6.rf.x86_64 (rpmforge) Require: libgnutls.so.26()(64bit) Error: Package: librtmp-2.3-1.el6.rf.x86_64 (rpmforge) Require: libgnutls.so.26(GNUTLS_1_4)(64bit) 但是我不知道如何安装libgnutls.so.26。 我不能在我的回购中find这个包。 我能做什么?
我在工作场所build立了一个新的Linux环境。 我configuration了sssd并将其绑定到公司的一个Active Directory域。 我可以说sssd是部分工作,让我告诉你: 我已经清理本地机器上的sssdcaching,重新启动sssd并查询域用户: [root@pnd01 ~]# sss_cache -E [root@pnd01 ~]# service sssd restart Stopping sssd: [ OK ] Starting sssd: [ OK ] [root@pnd01 ~]# id itai.ganot uid=10238(itai.ganot) gid=10012(XXXX_ops) groups=10012(XXXX_ops) [root@pnd01 ~]# 这是sssd.conf文件: [sssd] config_file_version = 2 reconnection_retries = 3 sbus_timeout = 30 services = nss, pam domains = AD [nss] filter_groups = root […]
我正在尝试在我的服务器上启用SOAP。 肥皂已安装,但不显示在php_info。 PHP版本5.4.39 系统信息:Linux ip-xxx-xxx-xxx-xxx.secureserver.net 2.6.32-042stab106.4#1 SMP Fri Mar 27 15:19:28 MSK 2015 x86_64 configuration命令: './configure' '–disable-fileinfo' '–enable-bcmath' '–enable-calendar' '–enable-ftp' '–enable-gd-native-ttf' '–enable-libxml' '–enable-pdo=shared' '–enable-sockets' '–prefix=/usr/local' '–with-apxs2=/usr/local/apache/bin/apxs' '–with-curl=/opt/curlssl/' '–with-freetype-dir=/usr' '–with-gd' '–with-imap=/opt/php_with_imap_client/' '–with-imap-ssl=/usr' '–with-jpeg-dir=/usr' '–with-kerberos' '–with-libdir=lib64' '–with-libxml-dir=/opt/xml2/' '–with-mcrypt=/opt/libmcrypt/' '–with-mysql=/usr' '–with-mysql-sock=/var/lib/mysql/mysql.sock' '–with-openssl=/usr' '–with-openssl-dir=/usr' '–with-pcre-regex=/opt/pcre' '–with-pdo-mysql=shared' '–with-pdo-sqlite=shared' '–with-pic' '–with-png-dir=/usr' '–with-xpm-dir=/usr' '–with-zlib' '–with-zlib-dir=/usr' 加载的configuration文件:/usr/local/lib/php.ini 其中包含:[肥皂] ;extension=soap.so ; Enable soap extension […]
介绍 在我的数据库服务器(CentOS 7)上,我想允许从特定的Web前端访问port 3306 (MySQL)(在我的例子中是10.10.40.6和10.10.40.7 )。 最重要的是,我想允许从所有主机访问port 22 (SSH)。 我通过编辑/etc/firewalld/zones/的XML区域文件来pipe理我的configuration,因此我可以轻松地将它们分发到不同的系统。 组态 这是我的区域configuration: <?xml version="1.0" encoding="utf-8"?> <zone> <short>DB Host</short> <description>Communication to SSH and MySQL.</description> <interface name="eth0"/> <rule family="ipv4"> <port port="22" protocol="tcp"/> <accept/> </rule> <rule family="ipv4"> <source address="10.10.40.6,10.10.40.7"/> <port port="3306" protocol="tcp"/> <accept/> </rule> </zone> 问题 当我从我的web前端扫描机器时,我可以看到port 3306是打开的,但是port 22仍然是closures的: Starting Nmap 6.40 ( http://nmap.org ) at 2015-05-05 16:21 […]
我正在build立jenkins第一次。 HTTP错误:503问题访问/。 原因:服务不可用 我关掉了firewalld。 jenkins来自官方的詹姆斯百胜餐饮集团。 Java版本“1.7.0_79”OpenJDK运行环境(rhel-2.5.5.1.el7_1-x86_64 u79-b14)OpenJDK 64位服务器虚拟机(构build24.79-b02,混合模式) May 05, 2015 9:59:54 PM org.eclipse.jetty.util.log.JavaUtilLog warn WARNING: Failed startup of context w.{,file:/var/cache/jenkins/war/},/var/cache/jenkins/war java.lang.NullPointerException at jenkins.util.groovy.GroovyHookScript.run(GroovyHookScript.java:63) at hudson.util.BootFailure.publish(BootFailure.java:43) at hudson.WebAppMain.contextInitialized(WebAppMain.java:247) at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:782) at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424) at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:774) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) at org.eclipse.jetty.server.Server.doStart(Server.java:282) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at winstone.Launcher.<init>(Launcher.java:154) at winstone.Launcher.main(Launcher.java:354) at […]
请注意,这个问题是关于ELB本身,而不是ELB背后的EC2实例 情况 我们最近经历了以下ELB问题: 50%的请求没有达到我们的后端,看来ELB本身也是如此 通过AWS控制台的ELB监控没有显示任何exception(零ELB 4xx和ELB 5xx) 外部检查证实我们的后端EC2实例运行良好,可以到达 我们的假设是ELB运行的EC2实例存在连接问题。 临时修复是创build新的ELB(在我们的EC2实例的同一组前面)并更改DNSlogging。 问题 这是经常发生的事情吗? 有没有什么工具可以快速检测到这个(我们总是认为这是我们的错,只有经过彻底的检查,我们才开始看AWS) 有没有一种方法可以避免这一切发生
因此,用于创buildgMSA的文档表示参数“-PrincipalsAllowedToRetrieveManagedPassword”应该限制将gMSA用于属于参数中给出的安全组的一部分的机器的能力。 例如 New-ADServiceAccount -name dev-service -DNSHostName dev-service -PrincipalsAllowedToRetrieveManagedPassword gMSA-dev-service-allowed-hosts 据我所知,只应允许属于安全组“gMSA-dev-service-allowed-hosts”的机器访问账户开发服务的密码,从而限制可以使用该账户的机器。 我的问题是,我不能这样工作。 即使在不是“gMSA-dev-service-allowed-hosts”成员的机器上,也可以毫无问题地使用该帐号。 我误解了-PrincipalsAllowedRetrieveManagedPassword的含义吗? 谢谢 最好, DSA
我在Windows Server上configuration了一个带有NPS策略的DHCP服务器,连接到在pfSense上运行的FreeRADIUS2服务器。 身份validation基于MAC地址。 如果FreeRADIUS中不存在MAC地址,则Windows不会提供地址,并且按照我的需要工作。 现在,我在FreeRADIUS上configuration了一个Framed-IP-Address属性,我希望Windows能够传递包含在这个属性中的指定地址,但是却是从池中传递一个IP地址。 我已经在NPS策略的“IP参数”部分中testing了所有可能的参数,但是无济于事。 我想使用这个解决scheme,因为将来的IP和MAC地址将被存储在一个MySQL数据库中,意图是FreeRADIUS使用这个标准来允许在防火墙(这部分工作)和数据库中指定的IP将被DHCP服务器使用。 我错过了什么? 这是一个可行的configuration?
我试图创build一个Apache + PHPdocker容器,但我得到一个生成错误。 这是我的dockerfile, FROM ubuntu:14.04 MAINTAINER Mizanur Rahman RUN apt-get update RUN apt-get -y upgrade RUN apt-get install -y apache2 libapache2-mod-php5 php5-mysql php5-gd php-pear php-apc php5-curl curl lynx-cur php5-intl RUN a2enmod php5 RUN a2enmod rewrite RUN sed -i "s/short_open_tag = Off/short_open_tag = On/" /etc/php5/apache2/php.ini RUN sed -i "s/error_reporting = .*$/error_reporting = E_ERROR | E_WARNING […]
我有一个运行CentOS的Vagrant虚拟机,它是从一个文件(config.yaml)构build的,我试图获取PHP错误日志设置和访问。 config.yaml – PHP部分: php: install: '1' settings: version: '56' modules: php: – cli – intl – mcrypt pear: { } pecl: – pecl_http ini: display_errors: Off error_reporting: E_ALL & ~E_NOTICE & ~E_STRICT session.save_path: /var/lib/php/session date.timezone: America/Denver log_errors: On error_log: /var/log/php_errors.log fpm_ini: error_log: /var/log/php-fpm.log fpm_pools: phpfp_tg4gv8zscipk: ini: prefix: www listen: '127.0.0.1:9000' security.limit_extensions: .php user: www-user […]