服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器
我一直在使用phpmailer来处理我的电子邮件,而且我已经正确使用了dkim。 我有一个关键的mail._domainkey.domain.com。 我已经使用http://www.mail-tester.com/validation了我以前的电子邮件,并且我为phpmailer电子邮件收到了9.4。 我有安装postfix和opendkim。 我已经设置他们使用相同的密钥我已经设置以前,但我跑了一个testing邮件发送从后缀,它只得到9.0。 没有dkim就输了-1。 我应该可以像这样的分数不被垃圾邮件过滤,但因为我有DKIM设置和工作在过去的id喜欢用它来获得10/10。 有一个简单的方法,我可以用现有的私钥文件和匹配的DNS条目签名电子邮件。 我使用roundcube作为客户端,但它看起来不像它可以在这个级别configuration。 我检查了发送到Gmail的电子邮件的来源,并没有提及数据中的dkim。 (它仍然是它的收件箱,但我想要得到这个sorting)。 这里是我configuration设置的所有东西 的/ etc / opendkim /的Keytable mail._domainkey.domain.com domain.com :default:/etc/opendkim/keys/domain.com/default /etc/opendkim.conf AutoRestart Yes AutoRestartRate 10/1h Canonicalization relaxed/simple ExternalIgnoreList refile:/etc/opendkim/TrustedHosts InternalHosts refile:/etc/opendkim/TrustedHosts KeyTable refile:/etc/opendkim/KeyTable LogWhy Yes Mode sv PidFile /var/run/opendkim/opendkim.pid SignatureAlgorithm rsa-sha256 SigningTable refile:/etc/opendkim/SigningTable Socket inet:8891@localhost Syslog Yes SyslogSuccess Yes TemporaryDirectory /var/tmp UMask 022 UserID opendkim:opendkim […]
遵循networking上的例子,为第一个DSC脚本build立一个工作示例并不困难。 但是,我需要find一种方法来列出脚本所做的更改,而不是实际上“做到这一点”。 我遇到的挑战是我要testing的脚本包含一些发布pipe理特定的variables,这些variables在发布过程中被填充。 喜欢这个: # Copy website bits to configured deployment path File CopyDeploymentBits { Ensure = "Present" Type = "Directory" Recurse = $true SourcePath = $applicationPath DestinationPath = $($Node.DeploymentPath) } 是否有可能通过正常的发布path执行脚本,只需执行“testing”部分,并获得什么是好/不好的日志,不应用任何更改? 谢谢!
我有一个HP UX服务器,当您使用bdf命令时,其安装点/ usr已达到100%。 如何从新磁盘或其他挂载点的现有磁盘空间添加空间(尝试删除文件,而不是选项): 不用重新启动服务器 没有在线JS vgdisplay — Volume groups — VG Name /dev/vg00 VG Write Access read/write VG Status available Max LV 255 Cur LV 8 Open LV 8 Max PV 16 Cur PV 1 Act PV 1 Max PE per PV 4356 VGDA 2 PE Size (Mbytes) 32 Total PE 4346 Alloc PE […]
我们的设置如下; – 2个托pipe站点的tomcat服务器 – 1个负载均衡器 – 包含数据库的客户端服务器的SSH连接 除了一个SSH隧道不能保持一致的客户端外,这种方法工作得很好。 最初,SSH连接在有问题的服务器上间歇性地下降。 为了纠正这个,我添加了ServerAliveInterval和ServerAliveCountMax以及ClientAliveInterval和ClientAliveCountMax。 连接停了几天,但客户的服务器崩溃,连接被中断。 这服务器崩溃被归因于SSH隧道,但我不确定是这种情况。 tunnel.bat文件如下: :loop ECHO OFF echo y | plink.exe -ssh -R 24011:localhost:1433 [email protected] -pw PasswordHereButI'mNotTelling ping -n 10 -w 1 127.0.0.1>nul REM ping -n 10 -w 1 127.0.0.1 goto loop 将日志级别更改为3,并获得以下输出; Jun 10 11:55:09 Phobos sshd[18092]: debug1: server_input_global_request: rtype tcpip-forward want_reply 1 Jun 10 […]
目标是外部用户可以通过HTTPS进行连接,通过Apache的基本身份validation,然后查看代理tomcat站点。 我已经build立了一个反向代理到一个运行在不同端口上的同一台机器上的tomcat服务器,使用基本authentication:(/etc/httpd/conf.d/vhost.conf) NameVirtualHost *:80 <VirtualHost *:80> ServerName sub.domainx.co.uk ErrorLog "/var/log/proxy/domainx_prox_error_log" CustomLog "/var/log/proxy/domainx_prox_access_log" common ProxyRequests Off <Proxy *> Order deny,allow Deny from all Allow from all </Proxy> <Location /> AuthType Basic AuthName "Proxy Auth" AuthUserFile /var/www/syzygy-auth/CONFLUENCE/.htpasswd Require user ukuser Satisfy any Deny from all Allow from 192.168.0.0/21 </Location> ProxyPass / http://sub.domainx.co.uk:8090/ ProxyPassReverse / http://sub.domainx.co.uk:8090/ </VirtualHost> 以上工作正常。 […]
我正在尝试为两个全新的RHEL 6.6 x64服务器获取MySQL SSL复制设置。 我有没有SSL的复制工作,但我不能使用SSL设置它,也不能直接使用SSL连接。 我已经尝试从主机和从机连接mysql -h xxxx -u root -p —ssl = 1 –ssl-ca = ca.pem –ssl-cert = client-cert.pem –ssl- key = client-key.pem ,以及本地(Windows + MySQL Workbench),无论如何,我得到: ERROR 2026 (HY000): SSL connection error: error:00000001:lib(0):func(0):reason(1) 因为RHEL带有MySQL 5.1,所以我把https://webtatic.com/packages/mysql55/上的 master和slave都升级到了5.5,现在两个版本的mysql都升级了。“Ver 14.14 Distrib 5.5.43 for Linux(x86_64)使用readline 5.1“ 然后,我尝试使用https://www.howtoforge.com/how-to-set-up-mysql-database-replication-with-ssl-encryption-on上的教程设置带有自签名证书和复制的SSL -centos-5.4 我确保为所有三个证书使用不同的通用名称, opensslvalidation确认在针对ca.pem进行testing时,client-cert.pem和server-cert.pem都是“OK”。 但是,无论我尝试什么,我仍然会遇到SSL连接错误。 主人的错误日志没有错误,没有别的我可以看到,这将导致失败。 任何帮助将不胜感激! 谢谢。
我在Linux上使用ZFS作为运行Ubuntu Server 14.04 LTS的文件服务器。 ZFS池使用sharenfs属性共享多个数据集。 在ZFS之外还有一些在/etc/exports中定义的额外的NFS共享。 当exportfs -r运行时,所有的ZFSpipe理的共享drop- zfs get sharenfs tank/set仍然显示属性设置,但是直到我通过zfs set sharenfs=…重置属性zfs set sharenfs=…共享不能被挂载客户。 有没有办法阻止exportfs -r杀死ZFSpipe理的股份,或者在不干扰ZFS股票的情况下更新非ZFS股票? 作为最后的手段,是否有一个快速简单的方法让ZFS重新设置所有sharenfs属性?
我的盒子A和远程服务器B(都是Debian jessie)之间有一个OpenVPN。 在服务器B上,我也运行Squid3。 然后,我将A浏览器configuration为使用带有B服务器(10.2.0.1:3128)的VPN地址的远程代理服务器,仅用于端口80(无SSL)。 它工作正常,我可以浏览互联网。 我可以通过whatismyip.com看到请求源自公共B服务器地址。 我还在B服务器上有一个防火墙,其规则如下: -A INPUT-m state –state INVALID -j NFLOG –nflog-prefix "fp=bad_packets:1" -A INPUT-m state –state INVALID -j DROP 然后我有时会注意到一些数据包被丢弃了: Jun 12 09:16:20 ks1 fp = bad_packets:1 IN = tun0 OUT = MAC = SRC = 10.2.0.9 DST = 10.2.0.1 LEN = 40 TOS = 00 PREC = 0x00 TTL = […]
我有一个与NGINX随机403错误的问题。 在一个页面“profile / user.name.1”我有静态图像,但他们没有加载。 我收到以下消息: "Failed to load resource: the server responded with a status of 403 (Forbidden)". 当我尝试从这个页面明确地到达另一个页面时,我得到一个“403 Forbidden”消息。 我用用户“nginx”运行nginx,我试着用“myuser nginx”运行它, http://nicholasorr.com/blog/2008/07/22/nginx-engine-x-what-a-pain-in-在-stream浪汉/ 这个图像文件夹的权限是: drwxr-xr-x 2 myuser nginx 4096 5 jun 20:54 pics 我的index.php文件的权限是: -rwxr-xr-x 1 myuser nginx 2517 11 jun 23:34 index.php 编辑:当我检查整个path的权限,与: namei -mo /usr/share/nginx/html/myuser/public/img/pics 我有: drwxr-xr-x root root / drwxr-xr-x root root […]
根据Amazon Cognito定价 ,执行同步操作和/或使用同步存储空间需要花费。 但是,如果我只是想使用Amazon Cognito对用户进行身份validation,以便他们可以访问AWS资源(本例中为S3),该怎么办? 那是免费的吗? 也就是说,使用Cognitoauthentication用户需要执行同步操作还是使用同步存储空间?