服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器
升级我的发行版服务器ubuntu与GLPI的工作后,我的一个具体问题。 这里uname命令的结果是: (Linux ****** 3.13.0-32-generic#57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU / Linux) 我不明白这个问题..当我尝试使用networking连接到GLPI我有一个空白页面没有错误。 首先,我正在查看我的日志(apache2&MySQL),只有我的apache errors.log告诉我一些东西,当我尝试连接到web(使用web http:// servername / glpi )时: [Thu Oct 12 11:07:39.142484 2017] [:error] [pid 7078] [client 213.166.218.71:62978] PHP致命错误:Uncaught错误:调用未定义的方法Config :: getConfigurationValues()在/ usr / glpi / config / config.php:118 \ nStack trace:\ n#0 /usr/share/glpi/inc/includes.php(54): include_once()\ n#1 / usr […]
我今天注意到,我几天前禁用的systemd定时器仍在运行。 再次禁用它似乎没有效果。 我可能在这里错过了一些基本的东西(我对systemd很陌生),但是我所做的只是遵循网上一般的build议。 root@nla-cloud:/var/log# systemctl list-timers NEXT LEFT LAST PASSED UNIT ACTIVATES Fri 2017-10-13 00:00:00 UTC 13h left Thu 2017-10-12 00:00:01 UTC 10h ago delete_dummies.timer delete_dummies.service 没有反馈在这里说符号链接删除(这是什么发生了我第一次禁用它 – 日志丢失): root@nla-cloud:/var/log# systemctl disable delete_dummies.timer 是的,仍然活跃,等待… root@nla-cloud:/var/log# systemctl status delete_dummies.timer delete_dummies.timer – Deletes dummy devices at midnight Loaded: loaded (/lib/systemd/system/delete_dummies.timer; disabled; vendor preset: enabled) Active: active (waiting) […]
如何做基于自定义HTTP头的条件proxy_pass 假设我有4个nginx引擎运行在我的专用networking中,让我们调用它:web1,web2,web3,web4。 我有一个主要的nginx服务器,坐在互联网和我的私人networking,让我们打电话:Main_Web 在与Main_web相同的主机上,我在端口5000上运行基于python的身份validation服务,让callit auth_backend.py。 作为authentication后端,这个auth_backend.py将返回401,如果用户是回教徒。 但是对于合法用户,它将返回到内部位置(/ afterauth)的redirect(302),并且还添加自定义HTTP标题, 即: X-HTTP-BACKEND = 'http://web4/thispage?var=2' /etc/nginx/conf.d/default server { listen 80; server_name localhost; #charset koi8-r; #access_log /var/log/nginx/host.access.log main; add_header X-Backend $http_x_backend; location / { proxy_pass http://127.0.0.1:5000 ; proxy_set_header Host $host; } location /afterauth/ { set $my_next_proxy $upstream_http_x_backend; proxy_pass http://$my_next_proxy ; } #error_page 404 /404.html; # redirect server error pages […]
我在引导时遇到虚拟机问题; 已经读过,我可以将操作系统磁盘附加到另一个虚拟机(作为数据磁盘),并更改registry上的某些键以安全模式启动。 我不明白一件事:作为资源,我有一个“磁盘”,这不是一个VHD,所以我没有办法在程序中看到它将磁盘连接到另一个VM; 如何使“磁盘”一个VHD或无论如何,我可以附加? 这就是我所看到的复兴: Azure磁盘types的虚拟机无法正常工作
你能帮忙解决一个问题吗? 两个局域网:A(10.1.1.0)和B(10.2.2.0)。 在虚拟机上运行的两个OpenVPN服务器(guest虚拟机:ubuntu 16.04,pipe理程序:Proxmox或Hyper-V),不在网关上( 使用路由和OpenVPN,未在默认网关上运行 )。 本地VPN服务器Aconfiguration为服务器。 远程VPN服务器B – 作为客户端。 LAN之间的连接速率 - 1Gbps,延迟 – 10-12ms。 服务器configuration: mode server tls-server proto udp dev tun port 6666 server 10.11.11.0 255.255.255.0 push "route 10.1.1.0 255.255.255.0" client-config-dir /etc/openvpn/ccd route 10.2.2.0 255.255.255.0 client-to-client cipher none persist-key persist-tun comp-lzo sndbuf 393216 rcvbuf 393216 push "sndbuf 393216" push "rcvbuf 393216" tun-mtu 9000 […]
我正尝试在两台机器之间用td-agent设置encryption日志。 我已经从fluentd的官方文档中看到了这些例子,但是我陷入了一个非常奇怪的境地。 由于shared_key不匹配,客户端和服务器拒绝协商。 在这两个服务器上的关键短语是正确的,但是客户端和服务器状态,密钥不匹配。 这里是客户端configuration(文本省略): <match uwsgi.**> type copy <store> type secure_forward shared_key hello send_timeout 30s self_hostname client.example.net <server> name server.example.net host server.example.net port 24225 </server> </store> </match> 这里是服务器configuration: <source> type secure_forward shared_key hello self_hostname server.example.net bind 0.0.0.0 port 24225 secure true ca_cert_path /etc/td-agent/mycert.crt ca_private_key_path /etc/td-agent/mykey.key ca_private_key_passphrase "" 我不断收到来自服务器的这些错误消息: Shared key mismatch from 'client.example.net' 客户也一样: […]
(查询结果只是代表性的样本) 我是公共DNSpipe理新手。 我已经在Azure中设置了两个名称服务器。 我已经将我的域名指向他们,并创build了指向我的Web服务器的正向查找区域。 当我查询其中的一个时,我得到以下结果: ;; ANSWER SECTION example.com 3600 IN A 64.52.100.100 example.com 3600 IN NS DNS1. example.com 3600 IN SOA DNS1. HOSTMASTER. 我想知道为什么我的dig命令没有返回我的域的FQDN? 当我查询Google时,我得到以下结果: ;; ANSWER SECTION google.com 3600 IN A 172.217.10.174 google.com 3600 IN NS ns2.google.com. google.com 3600 IN SOA ns2.google.com. dns-admin.google.com. 为什么谷歌返回FQDN,但我的名字服务器不? 这是我需要纠正的吗? 如果是的话,怎么样? 谢谢!
我有两个(debian 8)linux系统。 我只升级了一个到util-linux 2.29.2,另一个仍然在运行2.25.2 -t nfs和-t cifs用于在升级后的服务器上运行,现在失败 mount error(112): Host is down Refer to the mount.cifs(8) manual page (eg man mount.cifs) 如果我检查NAS(同时支持NFS和SMB): sudo showmount -e NAS 我从两台服务器获得相同的安装点导出列表。 在libmount 2.29.2中是否有某些东西被破坏,或者是否有一些我不得不适应的向后兼容? 我已经检查过,我可以ping NAS,(通过ip和名字),而不是被iptables ip6tables或SELinux阻止。 此外,我可以通过更改版本来更改错误消息: sudo mount -t cifs -v -o credentials=~/.NAS_pass,vers=1.0 //NAS/backup ~/backup 挂载错误(13):权限被拒绝 sudo mount -t cifs -v -o credentials=~/.NAS_pass,vers=2.1 //NAS/backup ~/backup 挂载错误(112):主机closures(vers = 3.0相同的错误) […]
我很抱歉,如果这个答案以前,但search什么都没有给我。 我试图让ntpd开始在一个chroot目录。 ntpd的作品,但我坚持authentication。 我得到以下错误: ntpd[22401]: Command line: /usr/sbin/ntpd -p /var/chroot/ntp/var/run/ntpd.pid -i /var/chroot/ntp -4 -u ntp:ntp systemd[1]: Started LSB: Start NTP daemon. ntp[22392]: Starting NTP server: ntpd. ntpd[22403]: proto: precision = 0.303 usec (-22) ntpd[22403]: line 52 column 17 syntax error, unexpected T_Key, expecting T_EOC ntpd[22403]: syntax error in /etc/ntp.conf line 52, column 17 这涉及到ntp.conf: 48: […]
这个问题是关于configurationWindows 10客户端的NFS。 有两部分,1)映射导出(驱动器),2)设置即时消息 我们让NFS导出(/ media / NFS_share 192.168.0。*(rw,async))已经存在并正常运行,从另一个共享相同networking范围的nix框validation。 现在,为了在Windows上安装导出,我们需要安装NFS服务,并简单地安装: mount.exe 192.168.0.2:/media/NFS_share * 命令不幸的结果是: Network Error – 53 Type 'NET HELPMSG 53' for more information. 这显然是不正确的: PS C:\Users> showmount -e 192.168.0.2 Exports list on 192.168.0.2: /media/NFS_share 192.168.0.* 所以,1)什么是安装问题? “path未find”是一个令人误解的消息。 下一步将是设置身份映射。 虽然有多种方法,但我select了本地passwd和group文件。 但IdentityMappingloginServicesForNFS-客户端事件日志根本没有提到文件,坚持失败的AD连接,如%SystemRoot%\ system32 \ drivers \ etc中没有passwd / group文件。 2)本地文件仅适用于服务器吗? 应该将AnonymousUid / Gidregistry设置用于客户端吗? /编辑:值得一提的是,在Windows资源pipe理器中打开\ 192.168.0.2将共享显示为\ media […]