Articles of debian jessie

systemd:无法使我们成为一个subreaper:无效的参数。 SSH

由于升级到Debian 8(杰西),带来了systemd我得到这个职位的标题在我的系统日志错误。 远程SSHlogin开始 10:33:51 pap1 systemd[1]: Starting user-0.slice. 10:33:51 pap1 systemd[1]: Created slice user-0.slice. 10:33:51 pap1 systemd[1]: Starting User Manager for UID 0… 10:33:51 pap1 systemd[1]: Starting Session 23 of user root. 10:33:51 pap1 systemd[1]: Started Session 23 of user root. 10:33:51 pap1 systemd[12228]: Failed to make us a subreaper: Invalid argument 10:33:51 pap1 systemd[12228]: […]

MariaDB无法重新启动

我在Debian Jessie的专用服务器上运行Mariadb突然closures,当我尝试启动mysql它给了我这个错误: Dec 31 20:18:20 mysqld[6630]: 2016-12-31 20:18:20 140334745393088 [Note] /usr/sbin/mysqld (mysqld 10.1.20-MariaDB-1~jessie) starting as process 6630 … Dec 31 20:19:50 systemd[1]: mariadb.service start operation timed out. Terminating. Dec 31 20:20:32 systemd[1]: mariadb.service: main process exited, code=exited, status=1/FAILURE Dec 31 20:20:32 systemd[1]: Failed to start MariaDB database server. Dec 31 20:20:32 systemd[1]: Unit mariadb.service entered […]

Nginx的安装程序子域无法正常工作

在开始时,我创build了一个conf文件,当我想要访问http://www.domain.com时,它可以正常工作: server { listen 80; listen [::]:80; root /var/www/domain; index index.html server_name domain.com www.domain.com; } 然后我决定创build一个子域的另一个conf文件: server { listen 80; listen [::]:80; root /var/www/subdomain.domain; index index.html server_name subdomain.domain.com; } 现在的问题是,每当我想要访问http://www.domain.com或http://subdomain.domain.com ,在这两种情况下,结果是我应该为子域获得的页面。 新的conf文件已正确添加到site-enabled文件夹中: ln -s /etc/nginx/site-available/subdomain.domain.conf /etc/nginx/site-enabled/subdomain.domain.conf 这就是我的DNSlogging的样子: domain.com. IN A <server_ip> www.domain.com. IN A <server_ip> subdomain.domain.com. IN A <server_ip>

无法安装automake1.9

我无法在Debian 8上安装automake1.9。运行apt-get install automake1.9我Unable to locate package automake1.9错误。 我已经尝试更新回购清单,但也没有帮助 apt-get install automake1.9的输出 root@serv1:~# apt-get install automake1.9 Reading package lists… Done Building dependency tree Reading state information… Done E: Unable to locate package automake1.9 E: Couldn't find any package by regex 'automake1.9' root@serv1:~# 内容在sources.list #deb http://mirrors.linode.com/debian/ jessie main deb http://mirrors.linode.com/debian/ jessie main deb-src http://mirrors.linode.com/debian/ jessie main […]

破解mariadb debian更新

我有debian 8.0与backports和官方mariadb存储库成立。 我已经有了mariadb-server-10.1,它试图升级到其他版本。 mariadb的升级失败了,现在已经坏了。 我不能再使用owncloud了。 使用MySQL的其他服务是WordPress,但它没有问题。 当我想升级mariadb时:我得到这个消息: Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details. invoke-rc.d: initscript mysql, action "start" failed. dpkg: error processing package mariadb-server-10.1 (–configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of […]

安装后添加ssh密码短语?

ssh之后添加的ssh密码短语是否已经设置? 我正在使用Debian 8 stable Jessie 8.7。 而且你怎么能像在钥匙圈一样将它保存在Debian中,所以你不必每次都进入它? 感谢所有的答案。

MySQL安装的内存使用量最大

我使用的是Debian 8 Jessie和MariaDB。 我的mysqltuner似乎表示MariaDB可以使用内存的142% ——– Storage Engine Statistics ——————————————- [–] Status: +ARCHIVE +Aria +BLACKHOLE +CSV +FEDERATED +InnoDB +MRG_MyISAM [–] Data in InnoDB tables: 2G (Tables: 79) [–] Data in MyISAM tables: 96M (Tables: 146) [–] Data in PERFORMANCE_SCHEMA tables: 0B (Tables: 52) [!!] Total fragmented tables: 34 ——– Security Recommendations ——————————————- [OK] All database users […]

Apache 2.4 envvars被忽略

我将服务器从Debian 7升级到了Debian 8.结果,我在Apache 2.4.10上遇到了很多问题 在做: apache2 -S 结果: AH00111: Config variable ${APACHE_LOCK_DIR} is not defined AH00111: Config variable ${APACHE_PID_FILE} is not defined AH00111: Config variable ${APACHE_RUN_USER} is not defined AH00111: Config variable ${APACHE_RUN_GROUP} is not defined AH00111: Config variable ${APACHE_LOG_DIR} is not defined AH00526: Syntax error on line 74 of /etc/apache2/apache2.conf: Invalid Mutex directory in […]

在Debian 8上,使用tomcat 7,cpu 100%

我在Debian 8上遇到了tomcat 7的默认configuration问题。 问题:由于java进程,我得到了服务器的CPU,跳到100%,并停留数小时,使服务器变慢。 如果我重新启动tomcat服务器的CPU再次去1%。 几个小时之后,问题再次出现。 Java应用程序状态:没有定制的Java应用程序安装在tomcat上,所以这可能是一个tomcat问题。 日志:看着catalina.out我发现这个错误信息corppondence到CPU音高开始 2017年1月19日上午1时03分23秒org.apache.coyote.http11.AbstractHttp11处理器进程信息:parsingHTTP请求标头时出错 如何复制:服务器重新启动后,我试图访问tomcat服务器主页使用HTTPS通过访问此url通过Web浏览器 https://domain.com:8080 瞧,CPU开始疯了,我得到了以前的日志。 这意味着什么:这意味着每个有特殊要求的人都可以DDOS我的服务器 问题:有没有办法可以解决这个问题,而不会改变我的Linux发行版或由apt使用的打包版本的tomcat? 我正在使用Google Compute Engine的新版debian 8默认图片。 tomcat 7.0.56 Java 1.7.0_111

Lenovo ThinkServer RD450中未检测到硬盘

我们购买了一台新的联想ThinkServer RD450机架式服务器。 它有两个1 GB的硬盘 。 我们在服务器上configuration了RAID 1 ,然后我们启动了Debian Jessie OS安装。 在安装过程中,分区步骤中未显示硬盘。 我尝试使用Ubuntu Live启动系统,在那段时间,我能够分别看到两个硬盘。 请让我知道,如果我应该安装RAID驱动程序来检测硬盘,并让我知道我应该使用什么样的RAID驱动程序。