我们有一个安装了Apache的Debian框,其工作主要是(也提供一些本地托pipe的PHP文件),作为在其他服务器上运行的基于Tomcat的Web应用程序的反向代理。 有时,我们要么收到UptimeRobot的警报, 要么接到我们的客户(有时甚至是两个)的电话,告诉我们系统已经closures。 我们还没有find这个问题的根本原因,但是我们观察到的唯一证据是,在“系统故障”情况下ssh访问服务器不起作用,所以除了Apache服务器必须被堵塞/耗尽,或许从networking连接的angular度来看。 软件版本: >lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 8.2 (jessie) Release: 8.2 Codename: jessie >apachectl -v Server version: Apache/2.4.10 (Debian) Server built: Aug 28 2015 16:28:08 我应该提供哪些其他信息,configuration或可能的日志文件以使诊断更容易?
我试图从MySQL迁移到Debian 8上的MariaDB。所以,我停止了MYSQL服务。 然后遵循以下步骤: 1: sudo apt-get install software-properties-common sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db sudo add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.2/debian jessie main' 2: apt-get install mariadb-server mariadb-client 在安装结束时,在启动服务时存在以下消息: Unpacking mariadb-server (10.2.6+maria~jessie) … Processing triggers for systemd (215-17+deb8u7) … Processing triggers for man-db (2.7.0.2-5) … Setting up libmariadb3 (10.2.6+maria~jessie) … Setting up mariadb-client-core-10.2 (10.2.6+maria~jessie) … Setting […]
我有一个运行Debian 8 Jessie的Linux服务器,我试图在Github上安装Docker。 我收到以下错误任何时候我尝试启动Docker服务返回: admin@srvr1:~$ sudo systemctl status docker.service ● docker.service – Docker Application Container Engine Loaded: loaded (/lib/systemd/system/docker.service; enabled) Active: failed (Result: start-limit) since Thu 2017-07-06 16:09:08 EDT; 47s ago Docs: https://docs.docker.com Process: 32666 ExecStart=/usr/bin/dockerd -H fd:// (code=exited, status=1/FAILURE) Main PID: 32666 (code=exited, status=1/FAILURE) Jul 06 16:09:08 yjuoy5v1ka systemd[1]: docker.service holdoff time over, scheduling […]
我在我的GNOME / DEBIAN中遇到了这个奇怪的问题,就在最近我试图安装第三方接入点软件,我认为这已经完全搞砸了我的GNOMEnetworkingpipe理器。 早些时候,我曾经在我的顶级酒吧获得所有的无线连接,但现在似乎不再来了。 我必须依靠WICD(第三方软件)来连接无线networking。 但是,如果我发出下面的命令,我的DEBIAN / GNOME能够检测到无线。 iw wlan0 scan
我使用的服务器软件需要PKCS12(.pfx)格式的SSL证书。 让我们只encryption给我PEM证书,这是自动刷新。 我需要在PEM证书更改时创build新的PKCS12证书。 密钥转换(在文件夹/etc/letsencrypt/live/<servername>/ ): openssl pkcs12 -export -out cert.pfx -inkey privkey.pem -in cert.pem -certfile chain.pem 在root用户crontab中: 35 5,17 * * * letsencrypt renew 每次letsencrypt renew后运行密钥转换命令是否足够? 或者是否可以configuration让我们encryption也生成PKCS12证书更新?
我目前有一个debian jessie的依赖问题,由系统升级导致testing库启用。 有没有一个安全的方式回到我以前的configuration? 不知道为什么testing资源库实际configuration,因为这是由以前的服务器pipe理员。 更新也由他写的Ansible脚本执行。 当我禁用源代码时,我进入时得到一个巨大的列表: apt-show-versions | grep“存档中没有可用的版本” 这只是一个部分: aspell-de-1901:all 1:2-31 installed: No available version in archive coinor-libcoinmp1v5:amd64 1.7.6+dfsg1-2 installed: No available version in archive coinor-libcoinutils3v5:amd64 2.9.15-4 installed: No available version in archive coinor-libosi1v5:amd64 0.106.9-2+b1 installed: No available version in archive cpp-6:amd64 6.4.0-1 installed: No available version in archive default-java-plugin:amd64 2:1.8-59 installed: No available […]
我有一个我想要解决的Xen虚拟机问题 apt-get install -f显示如下。 任何人都可以帮我理解这个吗? Reading package lists… Done Building dependency tree Reading state information… Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Traceback (most recent call last): File "/usr/bin/apt-listchanges", line 33, […]
在我的系统上,我之前运行的是Debian 8,并且configuration了一些原始的LXC容器(以lxc-execute启动),可以在不同的networking环境中从Bash提示符运行一些shell脚本到正常状态。 在Debian 8中,这个工作正常,Ctrl-C等可以在集装箱化的Bash环境中使用。 最近,我更新了我的主机到Debian 9,并发现LXC容器不能正常工作。 特别是在开始的时候,Bash吐出下面的消息: bash: cannot set terminal process group (1): Inappropriate ioctl for device bash: no job control in this shell 而Ctrl-C在shell中不能正常工作。 更糟糕的是,如果我不小心按下了Ctrl-C,那么它不仅不起作用,而且当试图从容器中退出时terminal挂起,我不得不手动init.lxc (从另一个terminal)来停止容器。 有没有什么办法让新版本的lxc-execute使其控制台更像“terminal一样”,以便Bash愿意启用作业控制?
我被告知切换到nginx或至less到mpm_worker。 但是,真的,我怎么估计,如果我的服务器是不是真的超载,即使使用mpm_prefork? 我的系统是: GCP 1 CPU + 3,75GB Debian 8 Apache 2.4与mpm_prefork 清漆caching,Memcache 一些php.ini设置 max_execution_time = 30 max_input_time = 60 memory_limit = 1536M 一些其他各种标准的apache模块,没有fastcgi和没有php-fpm。 <IfModule mpm_prefork_module> StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxRequestWorkers 250 MaxConnectionsPerChild 0 </IfModule> KeepAlive Off 我有大约20个小WordPress的博客。 那么,我可以在所有网站上共同使用多less个并发用户? 我不需要确切的数字。 我想知道是十几岁还是十几岁? 可能不是10000s。 但是,如果在线时间相当于250次 – 我认为现在还是很好的。 另外,我应该将内存限制设置为3GB? 或者让左边的2GB被清漆使用是个好主意? Completed 1000 requests Finished 1000 requests […]
在debian jessie中,我试图用varnish反向代理服务https,并且find了以下解决scheme: http : //davidbu.ch/mann/blog/2015-03-20/varnish-and-https-apache.html :apachepipe理端口443上的ssl东西,然后传递给端口80上的清漆,端口8080上传递给apache。 但是,请求https://myserver.com/index.html我在浏览器中: 403 Forbidden You don't have permission to access / on this server. Apache的error.log说: [authz_core:error] [pid 12662] [client 151.16.175.15:38240] AH01630: client denied by server configuration: proxy:http://127.0.0.1:80/index.html 我错过了什么? 我的虚拟主机定义 <VirtualHost *:8080> ServerAdmin [email protected] ServerName myserver.com DocumentRoot /home/paolo/weewx <Directory /home/paolo/weewx/> DirectoryIndex index.html Options FollowSymLinks AllowOverride All Require all granted order allow,deny […]