小编Sei*_*Sys的帖子

无法在 Debian Jessie 上安装 openjdk-8-jre-headless

这个星期五我看到我在运行时由于某种原因有2个被阻止的包apt-get upgrade,所以我很自然地做了任何没有经验的系统管理员都会做的事情并卸载了这些包,希望我可以简单地重新安装它们并解决问题。

我不知道,我只是让情况变得更糟。当我尝试重新安装时openjdk-8-jre-headless,我得到了这个:

$ apt-get install openjdk-8-jre-headless
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 openjdk-8-jre-headless : Depends: ca-certificates-java …
Run Code Online (Sandbox Code Playgroud)

debian java apt debian-jessie

29
推荐指数
3
解决办法
6万
查看次数

在 Debian 9 (stretch) 上升级 nginx 1.10.3 以避免 CVE-2017-7529 漏洞

截至目前,Debian 9 (stretch) 安装了 nginx 版本 1.10.3,该版本易受CVE-2017-7529 攻击

从 0.5.6 到 1.13.2 的 Nginx 版本容易受到 nginx 范围过滤器模块中整数溢出漏洞的影响,从而导致由特制请求触发的潜在敏感信息泄漏。

我担心用户数据的安全,因此我想升级到不再受此问题影响的最新版本。

debian nginx cve

6
推荐指数
1
解决办法
1万
查看次数

nginx 记录 php-fpm 的 stderr 输出在看似随机的位置被切断

自从我开始使用产生长调用链的 PHP 库以来,调试由它引起的问题变得越来越困难,因为我的错误日志最终包含如下输出:(某些值已使用 被清空*

2017/08/23 10:47:26 [error] 13057#13057: *206119 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught ActiveRecord\DatabaseException: PDOException: SQLSTATE[22P02]: Invalid text representation: 7 ERROR:  invalid input syntax for integer: "" in /var/www/********/vendor/php-activerecord/php-activerecord/lib/Connection.php:337
Stack trace:
#0 /var/www/********/vendor/php-activerecord/php-activerecord/lib/Connection.php(337): PDOStatement->execute(Array)
#1 /var/www/********/vendor/php-activerecord/php-activerecord/lib/Table.php(237): ActiveRecord\Connection->query('SELECT * FROM "...', Array)
#2 /var/www/********/vendor/php-activerecord/php-activerecord/lib/Table.php(219): ActiveRecord\Table->find_by_sql('SELECT * FROM "...', Array, false, NULL)
#3 /var/www/********/vendor/php-activerecord/php-activerecord/lib/Model.php(1666): ActiveRecord\Table->find(Array)
#4 /var/www/********/vendor/php-activerecord/php-activerecord/lib/Model.php(1605): ActiveRecord\Model::find_by_pk('', Array)
#5 /var/www/********/includes/classes/Models/NSModel.php(11): ActiveRecord\Model::find(''" while reading response header from upstream, client: **.***.***.***, server: ***********, request: …
Run Code Online (Sandbox Code Playgroud)

nginx logging php-fpm stderr php-fastcgi

5
推荐指数
1
解决办法
2055
查看次数

标签 统计

debian ×2

nginx ×2

apt ×1

cve ×1

debian-jessie ×1

java ×1

logging ×1

php-fastcgi ×1

php-fpm ×1

stderr ×1