服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器
我正在尝试为我的apache2服务器设置SSH。 阿帕奇似乎find我的私钥,因为它一旦我移动它抱怨。 但它不检查文件的内容:当我用乱码replace它时,它仍然会给我一个很好的启动 ks@survey:/etc/apache2/ssl.key$ sudo service apache2 restart [ ok ] Restarting web server: apache2 … waiting . 它不应该检查密钥文件的内容,并要求我的密码? 这是我的error.log说: [Wed Jul 23 22:21:55 2014] [notice] caught SIGTERM, shutting down [Wed Jul 23 22:21:56 2014] [notice] Apache/2.2.22 (Debian) mod_ssl/2.2.22 OpenSSL/1.0.1e mod_wsgi/3.3 Python/2.7.3 configured — resuming normal operations (我的openssl版本应该被打上补丁并且没有心跳。) Apachectl提供以下输出: ks@survey:/etc/init.d$ sudo /usr/sbin/apachectl -S VirtualHost configuration: […]
我正在运行一台Ubuntu 12机器,最近一直在努力保护它。 我从这个指南做了所有的改变。 我没有运行Linode,但是我使用这些作为设置防火墙等的起点。 一切顺利,我一直在使用机器一段时间。 我试图通过passwd -l命令来locking一些用户的账户,这是成功的。 但是,当我尝试添加新用户或更改密码时,我遇到了最奇怪的错误: myuser@mymachine:~$ passwd Old Password: passwd: Authentication token manipulation error passwd: password unchanged 或者,添加新用户时: myuser@mymachine:~$ sudo adduser mynewuser Adding user `mynewuser' … Adding new group `mynewuser' (1011) … Adding new user `mynewuser' (1002) with group `mynewuser' … Creating home directory `/home/mynewuser' … Copying files from `/etc/skel' … passwd: […]
我正在用squid_passwd文件和Mysqltesting两个身份validation。 这是我的configuration auth_param basic program /usr/lib/squid3/basic_ncsa_auth /etc/squid3/squid_passwd # auth_param basic program /usr/lib/squid3/basic_db_auth –dsn "DBI:mysql:database=abc" –user "root" –password "aaa" –table "user" –usercol "User_Name" –passwdcol "Password" –cond "" –plaintext auth_param basic children 5 auth_param basic realm Squid proxy-caching web server auth_param basic credentialsttl 1 minute auth_param basic casesensitive off # auth_param basic children 5 # auth_param basic […]
我需要从3个节点复制数据到单个节点。 我知道快照命令,并且能够成功地将每个节点具有100%数据(完全复制)的群集中的数据复制到单节点群集。 但是这种情况下,我有一个数据分为3个节点的集群:50%-25%-25%。 如果我在每个“源”节点上创build快照并在单个“目标”节点上恢复,是否一切正常?
我为Apache进程分配了5GB的内存。 虽然基于每个Apache进程平均消耗42.5MB的事实,我已经在我的服务器上设置了以下内容(同时计算好像每个进程消耗50MB的内存): <IfModule mpm_prefork_module> StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 100 MaxRequestsPerChild 0 </IfModule> 现在提问: 我如何确定要设置多lessStartServers ? 虽然无法设置Worker mpm (PHP等),负载平衡是我的高stream量的最佳select? 我如何减lessApache进程内存? 我的网站使用CDN为用户提供资源,而服务器最终只提供HTML。 我已经阅读了这里的答案,并在Google中search了很多这样的问题,但是找不到任何具体的东西。
安装OpenStack(DevStack)后,我login到仪表板。 我只能find两个选项卡(计算和编排),但没有networking和对象存储,但我已经login为pipe理员。 检查keystone服务,找不到快捷和中子服务,所以我只是创build这些服务,现在它列出如下所示: [stack@openstack devstack]$ keystone service-list +———————+———-+—————-+—————————–+ | id | name | type | description | +———————+———-+—————-+—————————–+ | 2cbf320ab83d4177a71d97ea478404f8 | cinder | volume |Cinder Volume Service| | b8d632ae79b34d95ac1f44738ac7eef0 | cinderv2 | volumev2 |Cinder Volume Service V2 | | b54f6814b6c449678118870d8492f93d | ec2 | ec2 |EC2 Compatibility Layer | | fc9b9806dfe74b89b600c178cc0e1812 | glance | image |Glance […]
我已经从Awsats迁移到logstash(结合弹性search和Kibana)。 不过,我需要使用logstash导入/parsing几个旧的IIS日志文件。 这些文件已被移至logstash服务器。 但是,我无法find一个命令来parsing现有的日志文件。
我需要在Linux Red Hat 6.2中按服务名称实现历史CPU利用率。 有没有可以提供这些细节的软件或命令?
我们在生产Microsoft Windows 2003 SP2服务器上安装了各种SDK,我想知道是否有充足的理由让它们在那里,或者是否存在安全风险。 用于.NET Framework 3.5.21022的Visual Studio 2008 Express工具的Microsoft Windows SDK 适用于Win32 6.1.5288.17011的Visual Studio 2008 Express工具的Microsoft Windows SDK Microsoft Windows SDK .NET Framework工具6.1 Microsoft Windows SDK .NET Framework工具7.1.30514 服务器托pipe一个至less有一个.NET组件的IIS网站。 任何关于这个问题的帮助或build议,将不胜感激。
刚刚在我的debian wheezy,nginx 1.6服务器上安装了StartSSL证书。 一切似乎工作正常,我可以在https浏览网站没有问题,直到我尝试login… IE工作正常,我可以login到OK。 铬给我这个错误:错误代码:ERR_SPDY_PROTOCOL_ERROR Firefox只是挂起,什么都不做。 当我取消StartSSL证书并使用自签名证书时,再次正常工作,我可以login没有任何问题。 我的nginxconfiguration: server { listen 443 ssl spdy; server_name test.com; root /home/www/test.com/; ssl on; ssl_certificate /etc/nginx/certs/test.com.crt; ssl_certificate_key /etc/nginx/certs/test.com.key; access_log /logs/access.log; error_log /logs/error.log; error_page 404 /404.html; location / { index index.php index.html index.htm; try_files $uri $uri/ /index.php?$args; } ………. ……… } 任何build议可能是错误的?