服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器
我在httpd的error_log文件中看到很多标记为[error]的行,如下所示: … [Mon Jul 22 12:00:35 2012] [error] Maximum new request methods 62 reached while registering method NONE. [Mon Jul 22 12:00:35 2012] [error] Maximum new request methods 62 reached while registering method NONE. [Mon Jul 22 12:00:35 2012] [error] Maximum new request methods 62 reached while registering method NONE. [Mon Jul 22 12:00:38 2012] […]
我将我的Apache安装程序更改为工作模式,suexec和fcgid,如本教程中所述: https ://wiki.hetzner.de/index.php/Apache_PHP5_fcgi_und_SuExec。 几乎一切正常。 我写了一个脚本,它为我设置了一切,并创build了证书,并使用ssl创build了vHostconfiguration。 您可以在下面看到一个典型的文件。 当我访问端口80上的服务器,一切工作正常。 当我通过https访问它时,使用来自pad.dblx.io的正确证书,而是显示默认vHost(dblx.io)的内容。 我现在正在search几个小时的错误,但找不到configuration错误。 你可以帮我吗? cat /etc/apache2/sites-available/pad.dblx.io <VirtualHost *:80> ServerAdmin xxx ServerName pad.dblx.io ServerAlias pad.dblx.io *.pad.dblx.io SuexecUserGroup xxx xxx AddHandler fcgid-script .php DocumentRoot "/var/www/pad.dblx.io/www" DirectoryIndex index.htm index.html index.php <Directory /> Options FollowSymLinks AllowOverride All </Directory> <Directory "/var/www/pad.dblx.io/www"> Options Indexes MultiViews FollowSymLinks +ExecCGI FCGIWrapper /var/www/pad.dblx.io/php-fcgi/php-fcgi-starter .php AllowOverride All Order allow,deny allow […]
我有一台安装了WinSSHD的Windows服务器。 如果我configuration用户支持“terminal访问”,然后使用WinSCP连接,我不能启动terminal会话 – 有没有人得到这些一起工作,并支持远程terminal会话?
我有一个Plesk的Windows服务器,我希望它与我现有的3个域名服务器一起工作。 我已经configuration名称服务器接受从Windows服务器导出的区域文件,但我不知道如何使Windows服务器导出区域文件给他们。 我的研究导致制作一个batch file,我使用Windows任务计划程序进行计划。 我的问题是: 1)Windows 2008 R2 Plesk服务器上的Plesk区域文件的位置是什么? 2)在batch file中包含什么来实现这个function? 我需要一个典型的区域导出脚本。 谢谢
我在Ubuntu 10上使用mysql和php运行virtualmin 最近我有更新MySQL和PHP到最新版本,因为我的pdo_mysql.default_socket从/tmp/mysql.sock更改为/var/run/mysqld/mysqld.sock 。 我已经完成了php.ini文件的更新。 它在Apache mod_php mode.工作正常Apache mod_php mode. 但它不能在cgi and fcgid mode 。 什么/我可以在哪里做更改,以便其他模式也将开始拿起新的套接字。 1. Apache mod_php (run as Apache's user) 2. CGI wrapper (run as virtual server owner) 4. FCGId (run as virtual server owner)
本质上我有httpd重新路由HTTP请求到某个位置subdomain.domain.com/folder到Tomcat( http://localhost:8080/app/ )。 这可以正常使用ProxyPass和ProxyPassReversefunction。 但是,当使用https进行此操作时,我的Tomcat实例抱怨说,它不知道如何处理安全连接。 基本上我试图请求进入https://subdomain.domain.com/folder被解密的apache然后发送到http://localhost:8080/app/ 。 我设置的相关虚拟主机是这样的: 我希望这是明确的。 如果你需要更多的澄清,我可以提供。 <VirtualHost *:443> # General setup for the virtual host DocumentRoot "/srv/www/docroot/" ServerName subdomain.domain.com #ServerAdmin [email protected] ErrorLog /var/log/apache2/mydomain-ssl-error_log TransferLog /var/log/apache2/mydomain-ssl-access_log # SSL Engine Switch: # Enable/Disable SSL for this virtual host. SSLEngine on SSLCertificateFile /etc/apache2/certs/my-cert.crt SSLCertificateKeyFile /etc/apache2/certs/my-key.key SSLCertificateChainFile /etc/apache2/certs/DigiCertCA.crt # Turn on proxy engine so urls […]
我安装了清漆,并面对我认为是一个主要问题: 有时几个不同的URL显示相同的caching内容。 如果你进入一个显示错误页面内容的页面,并强制刷新(CTRL + F5),那么你直接从后端获得正确的内容。 例如,而不是显示: 有时它caching: 即使使用默认的VCL文件也会发生这种情况。 为什么发生这种情况? 问候, 这是我的清漆configuration文件: backend default { .host = "127.0.0.1"; .port = "8080"; # We will then configure apache to listen to port 8080 } sub vcl_recv { if (req.restarts == 0) { if (req.http.x-forwarded-for) { set req.http.X-Forwarded-For = req.http.X-Forwarded-For + ", " + client.ip; } else { […]
我已经启用了epel和remi存储库,但是: yum install rsnapshot 产生 No package rsnapshot available. rsnapshot是在以前的版本中的EPEL …被删除?
可能重复: 需要自定义Nginx的正则expression式 期望的结果是这样的: http://www.example.com/about/?r=something 对此: http://www.example.com/about.php/?r=something 这是我得到的,但它不工作: if (!-e $request_filename) { rewrite ^/([^?]*[^?/])/?(\?.*)?$ /$1.php/$2 last; break; } 我在这里做错了什么?
我们不得不将所有MSSQL数据库从死亡箱中紧急迁移到新的SQL2008实例。 不幸的是,我们必须通过从夜间备份中恢复(.bak文件)来完成。 有没有办法: 自动恢复一批文件,以便: DatabaseName.bak> [恢复到]> DatabaseName 自动从数据库的安全性>用户列表中删除特定用户? 大叫,如果你需要更多的信息