服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器
这是我的firewalldconfiguration: firewall-cmd –zone=abc –list-all abc (active) target: ACCEPT icmp-block-inversion: no interfaces: eth0 sources: services: ports: protocols: masquerade: no forward-ports: port=162:proto=udp:toport=9162:toaddr= sourceports: icmp-blocks: rich rules: rule family="ipv4" source NOT address="127.0.0.1" port port="2181" protocol="tcp" reject rule family="ipv6" source NOT address="::1" port port="2181" protocol="tcp" reject 我有独立的hbase与zookeeper在::: 2181上聆听 netstat -tulnp | grep 2181 tcp6 0 0 :::2181 :::* LISTEN […]
我正在testing4个分片的本地Ubuntu机器上的分片mongodb设置。 我在屏幕上运行分片mongo服务器,因为它们必须托pipe在不同的端口上。 对于单个的mongo,我启动服务作为service mongod start ,默认启动mongo 27017.如何将它们设置为可以将端口作为parameter passing的服务? 例如service mongod start 27012,service mongod stop 27012.我在/etc/init.d中找不到任何mongod脚本来编辑和获取参数。
我已经为AWS Lambda设置了Cloudwatch警报。 我有几个在开发,testing和生产阶段的Lambdas。 有没有办法在电子邮件中获得Lambda的名称,所以我可以正确地分配每个电子邮件警报的紧迫性?
我最近遇到了Microsoft Log Parser。 这是一个了不起的工具。 我parsingExchange接收连接器协议日志,但我遇到与IISW3C格式的这个错误。 C:\TEMP>logparser "SELECT * FROM RECV20170706-1.LOG" -i:IISW3C Task completed with parse errors. Parse errors: 4 parse errors occurred during processing (To see details about the parse error(s), execute the command again with a non-zero value for the "-e" argument) Statistics: ———– Elements processed: 0 Elements output: 0 Execution time: 0.06 seconds […]
我在我的DNS服务器中有一个我的域名有一个奇怪的问题。 我一直这样做正常,但这次它一直说: received notify for zone 'domain.nl': not authoritative 我第一次做的当然是将域添加到我的主DNS上的named.conf中。 这是它的configuration: options { #listen-on port 53 { 127.0.0.1; }; listen-on-v6 port 53 { ::1; }; directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; memstatistics-file "/var/named/data/named_mem_stats.txt"; allow-query { any; }; allow-transfer { localhost; IP of slave; }; recursion no; dnssec-enable yes; dnssec-validation yes; dnssec-lookaside auto; /* Path to […]
login到NextCloud后,我得到了无尽的redirect,只是不断得到我的访问日志中的下面: [08/Jul/2017:00:18:49 +0100] "GET /login?redirect_url=/apps/files/ HTTP/1.1" 200 10760 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36" 我使用Nginx和PHP-FPM 7运行CentOS 7 Nextcloud Nginx Conf.d文件: upstream examplecombackend { server unix:/var/run/php-fcgi-examplecom.sock; } server { listen 80; server_name example.com; return 301 https://$server_name$request_uri; } server { listen 443 ssl; server_name example.com; access_log /var/www/vhosts/example.com/access.log; error_log /var/www/vhosts/example.com/error.log; ssl_certificate […]
我是服务器的新手,我为可能问一个简单的问题表示抱歉。 我有一个HP Proliant ML350p Gen8服务器与智能arraysp420i 500毫克caching。 服务器具有:RAID 1configuration中的2个逻辑SSD驱动器vmWare软件虚拟机是Windows 2012R正在运行的数据库。 我仍然注意到处理读写信息的延迟。 问题:添加具有更高GBcaching的另一个智能arrays是否允许更多的开放通道,从而提高性能? 谢谢
这个问题之前已经被问过了,我只是希望得到一些帮助。 在search论坛和看到别人的post后,我仍然无法得到这个工作。 现在我有端口80上的所有stream量去一台服务器,我正试图连接一个子域与我的networking上的另一个networking服务器。 我很新的networking和做这个项目学习,任何帮助,非常感谢。 主服务器:我正在使用000-default.conf NameVirtualHost *:80 <VirtualHost *:80> # The ServerName directive sets the request scheme, hostname and port that # the server uses to identify itself. This is used when creating # redirection URLs. In the context of virtual hosts, the ServerName # specifies what hostname must appear in the request's Host: header […]
我有一个在Ubuntu上运行的Samba服务器(smbd版本4.3.11)。 我无法从我局域网上的其他计算机连接到它(我尝试了一个OS X 10.12盒子和一个Windows 7盒子) 但是,我可以telnet到我的OS X的139端口,并看到smbd日志中的连接。 我可以在Ubuntu上本地连接到samba。 任何想法进一步故障排除? 有关我迄今为止所做的更多细节: Ubuntu服务器在192.168.1.11 OS X客户端框在192.168.1.107 我将smbd上的日志级别设置为3级。 我在Ubuntu服务器上运行以下命令: smbclient -L 192.168.1.11 -U% 这成功地返回服务器上的预期份额,并将大量的日志行打印到smbd日志中。 我在OS X框上运行以下命令: smbutil view '//192.168.1.11' 我得到以下错误: smbutil: server connection failed: No such file or directory 服务器上没有打印日志行。 任何尝试使用OS X Finder中的connect to server UI connect to server失败。 与Windows 7中的map network drive用户界面相同。不会发布smbd日志条目。 我在Ubuntu服务器上运行以下命令: echo hello | telnet 192.168.1.11 […]
我是新的ansible,我们使用pbrun(powerbroker)而不是sudo,并且rootlogin在所有服务器上都是禁用的。 我怎样才能通过有能力的主人设置无密码login到所有从服务器? 我的考虑:我们可以创build一个合适的用户>它应该通过pbrun自动切换到root。 这怎么设置?