问题标签 [ubuntu-15.10]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
710 浏览

php - PHP-FPM 不写入池中指定的自定义错误日志

我已经使用ondrej/php repo 设置了一些在 php7 上运行良好的 wordpress 站点,但是 phpmyadmin 不会做任何事情,除了白屏,尽管它说它是 php7 兼容的。

显然,解决方案在于找到 php 抛出的错误,但我无法向 fpm 日志写入任何内容。

我已经关注PHP-FPM 不会写入错误日志php-fpm 每个池一个错误日志文件,这是我根据提供的答案进行的配置:

php/7.0/fpm/pool.d/phpma.conf

/etc/nginx/sites-available/phpmyadmin.conf 的一部分:

phpinfo 显示:

nginx 访问日志被写入就好了,并且是:

主 www 池的 php7 fpm 日志也正在编写​​中:

但是我希望使用的 php-fpm 日志没有被写入:

我还尝试将日志文件更改为 phpma 用户和组。我已经重新启动并在其他地方寻找错误,但我已经画了一个空白。有任何想法吗?谢谢。

0 投票
1 回答
159 浏览

linux - ~/.ssh/config 似乎不适用于 bitbucket 帐户中的多个身份?

对于多个 ssh 身份,我按照此Atlassian 文档中提供的说明进行操作。

以下是列出的身份:

这是~/ssh./config

现在的问题是bitbucket-foo3没有通过身份验证。bitbucket-foo1其余的工作正常。

我尝试使用ssh -vvv user@bitbucket-foo3,这是日志:

0 投票
1 回答
872 浏览

node.js - 节点不允许自定义堆限制(--max-old-space-size)

我在 Ubuntu 15.10 上运行节点 v6.2.1。

我的机器有 15GB 的 RAM:

但是,当我尝试以增加的堆限制启动节点时:

...它立即耗尽内存:

关于如何启动具有更高堆限制的节点进程的任何建议?

0 投票
1 回答
8094 浏览

symfony - Websocket 无法在 Ubuntu 上打开端口

我在基于 symfony 的门户网站上使用 websocket,而当我将门户网站移动到生产服务器上时,一切似乎都在 localhost 上正常工作。

在 localhost 上,我使用的主机是127.0.0.1,端口是8080,所以当我搬到生产环境时,我不得不将 ip 更改为生产 ip,然后我必须告诉 ubuntu 服务器使用以下命令打开端口 8080

sudo ufw allow 8080/tcp这给了我输出

然后我运行命令sudo ufw status查看端口是否已添加到防火墙中,我可以看到它是

但是错误仍然存​​在

我也尝试了该命令telnet 111.222.333.44 8080,这给了我以下错误

所以这告诉我端口8080没有打开,我需要使用什么命令来打开它?我正在使用 Ubuntu 15.10

任何帮助将不胜感激。

0 投票
1 回答
2717 浏览

linux - 如何在 ubuntu 中提取 .tar.gz 文件

我想提取一个名为kdiff3.tar.gz.

使用tar -xzvf kdiff3.tar.gz, 不会提取文件。它给出了这个错误:

使用file kdiff3.tar.gz给出了这个消息:

如果有人可以提供帮助,那就太好了。

0 投票
1 回答
10960 浏览

python-2.7 - python pandas dataframe index, error TypeError: Input must be iterable, pandas version perhaps wrong

I'm working with the eda-explorer python library from MIT, which allows one to import physiological data files from particular wearable biosensors. This libraray uses pandas DataFrames to store the physiological timeseries. I've been using this libarary in different computing set-ups. When I try to use it in my ubuntu 15.10 environment I get an error message I don't understand. It is related to the following function which is instrumental in getting the data into a DataFrame and doing some intitial transformations:

This results in the following error messages:

I don't get this error message on my windows PC. I'm using pandas version 0.15.0 in the ubuntu environment. Is this perhaps the problem that the particular syntax related to the index is only allowed in higher versions of pandas? How should I correct the syntax so that it works with older version of pandas? Or am I missing the point?

0 投票
2 回答
1698 浏览

linux - 在 Ubuntu15.10 上的 Matlab2016a 中检测到分段违规

在 Ubuntu 15.10 64 位上启动 Matlab2016a 时出现此错误。我该如何解决?

0 投票
1 回答
1300 浏览

c++ - 一个简单的印刷错误

gcc -wall -w -werror hello.cpp -o hello

告诉我:gcc:错误:无法识别的命令行选项'-wall',并且==> gcc:错误:无法识别的命令行选项'-werror'</p>

0 投票
2 回答
638 浏览

linux - 想添加swap分区

我想在我的 Ubuntu 15.10 中添加交换分区,在 Windows XP 上使用双启动,并在 Linux 上构建 Cyanogenmod 13,但总是出现如下错误,

这与我搜索并发现需要在我的 Ubuntu 中添加交换内存的 RAM 有关,有人建议您至少需要 4GB RAM(我有)+ 4GB 交换分区才能继续构建。 关于我的电脑 ,在检查并发现已经有交换分区或其他任何东西,如附加图片、 交换分区详细信息 ,但现在很困惑,什么可以帮助我继续我的构建有没有人有解决方案

0 投票
0 回答
123 浏览

ubuntu - Ubuntu升级后Android Studio慢

我最近将我的 Ubuntu 从 Mate 15.10 升级到了 Xenial Xerus 16.04 LTS。即使在使用 Android Studio 时,Mate 也完全稳定且快速,但升级后 Android Studio 变得非常慢。我什至检查了交换性和类似的东西,现在考虑重新安装 Mate 15.10 和所有应用程序。这会浪费很多时间,但不能忍受这么慢的 Android Studio。谁能给我其他建议,以免我在安装上浪费时间。