我有一个 arch linux 设置并通过 arch 用户存储库 ( yaourt -S neo4j) 安装了 neo4j,并且我能够正常运行 Web 控制台(sudo neo4j console具有看似正常的输出和完整功能),但是当尝试启动服务器 ( sudo neo4j start) 时,我遇到如下错误信息:
/usr/share/neo4j/bin/utils: line 345: [: -lt: unary operator expected\nUsing additional JVM arguments: -server -XX:+DisableExplicitGC -Dorg.neo4j.server.properties=/etc/neo4j/neo4j-server.properties -Djava.util.logging.config.file=/etc/neo4j/logging.properties -Dlog4j.configuration=file:/etc/neo4j/log4j.properties -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled\nStarting Neo4j Server...cat: /run/neo4j/neo4j-service.pid: No such file or directory\nprocess []... waiting for server to be ready. Failed to start within 120 seconds.\nNeo4j Server may have failed to start, please check the logs.\nrm: cannot remove \xe2\x80\x98/run/neo4j/neo4j-service.pid\xe2\x80\x99: No such …Run Code Online (Sandbox Code Playgroud) 我在新的 arch 系统中使用 pacman 时遇到了很多问题。我无法安装任何东西。
[root@life ~]# pacman -S pacaur
错误:找不到目标:pacaur
我已经尝试了一切,包括pacman -Syyu、重新安装 pacman 和弄乱镜像列表,这让我相信这可能是镜像列表或 pacman.conf 的问题
有人可以帮忙吗?
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/ …Run Code Online (Sandbox Code Playgroud) 我需要什么: 通过调用 python 脚本连接到 archlinux 上的不同 wifi 网络。
我在做什么: 从 python 执行以下语句:
wpa_passphrase "MySSID" "MyPass"> /etc/wpa_supplicant/profile.conf
wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/profile.conf
dhcpd wlan0
Run Code Online (Sandbox Code Playgroud)
它仅适用于第一次尝试。第二次执行时,它说 dhcpd 已经打开。我不知道如何切换到另一个网络。
我也试过 wpa_cli 又一次,不知道如何切换到另一个网络。
请提出一些修复或替代方案(不复杂)
问题是我以某种方式设置了活动边框的样式,使其呈亮橙色,并且所有边的厚度约为 5 像素。我不记得是什么命令导致了这个。
我使用 line 来设置非活动边框的样式没有问题set -g pane-border-style fg=brightblack。但是使用相同的格式来设置活动边框的样式不会set -g pane-active-border-style fg=white产生任何效果。
也许我试图设计错误的东西?是否有其他一些窗格属性与活动窗格重叠?
我的操作系统是Arch Linux,程序test.c很简单:
# cat test.c
#include <stdio.h>
int main(void) {
printf("Hello world!\n");
}
Run Code Online (Sandbox Code Playgroud)
不带选项编译-g,使用file命令查看可执行文件信息:
# gcc test.c
# file a.out
a.out: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=c7a538046222b5209d2daafbfc246de341a652d9, not stripped, with debug_info
Run Code Online (Sandbox Code Playgroud)
该file命令输出“ not stripped, with debug_info”,但我在编译期间不使用-g选项。用于gdb调试a.out:
# gdb a.out
GNU gdb (GDB) 7.12.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU …Run Code Online (Sandbox Code Playgroud) Zen Archlinux我正在尝试在我的内核版本上运行 hashcat 4.15.4-1-zen。我有一个 NVIDIA Geforce 920MX 和一个 Intel i6189DU。我安装了最新的nvidia-dkms驱动程序和opencl-nvidia软件包。我还安装了最新的 Hashcat 版本。
当我运行 hashcat 命令时,我收到此错误:clGetPlatformIDs(): CL_PLATFORM_NOT_FOUND_KHR。我使用一个工具来确定可用的 openCL 平台clinfo,输出仅显示我的 CPU 平台,而不显示我的 GPU,但该hashcat命令仍然输出相同的错误。
有什么帮助吗?
我在基于 arch 的系统上使用 xmonad。但升级后我无法通过编译我的 xmonad.hs 文件
\n\n$ xmonad --recompile
我似乎在 xmonad 的每个模块上都遇到错误,甚至 import XMonad 似乎也不起作用。\n如果有人以某种方式解决了这个问题,请告诉我。
\n\nError detected while loading xmonad configuration file: \n/home/arya/.xmonad/xmonad.hs\n\nxmonad.hs:2:1: error:\n Could not find module \xe2\x80\x98XMonad\xe2\x80\x99\n Use -v to see a list of the files searched for.\n |\n2 | import XMonad\n | ^^^^^^^^^^^^^\n\nxmonad.hs:3:1: error:\n Could not find module \xe2\x80\x98XMonad.Config.Mate\xe2\x80\x99\n Use -v to see a list of the files searched for.\n |\n3 | import XMonad.Config.Mate\n | ^^^^^^^^^^^^^^^^^^^^^^^^^\n\nxmonad.hs:5:1: error:\n Could not find module \xe2\x80\x98XMonad.StackSet\xe2\x80\x99\n …Run Code Online (Sandbox Code Playgroud) 我正在尝试在 Arch Linux 操作系统上使用 Genymotion 和虚拟机启动 Android 模拟器。
VirtualBox 是从社区安装的,Genymotion 是从 AUR 安装的。当我启动我创建的自定义虚拟设备时,它会在 Android 徽标出现之前立即关闭到启动状态。它不显示错误消息。
我已经重新安装了所有内容,从头开始一次又一次地尝试。
当我这样做时:sudo vboxreload从/usr/lib/virtualbox
它说:Loading modules: vboxnetadp vboxnetflt vboxpci vboxdrv
virtualbox-host-dkms未安装。
virtualbox-host-modules-arch已安装。(5.2.14-1)
Use Host GPU虚拟设备设置中的选项未选中。
VirtualBox 屏幕上出现错误消息:
我的 Genymotion 日志来自genymotion-player.log于Genymotion/deployed/custom-phone
2018-07-11T15:32:53+03:00 [Genymotion Player:13067] [warning] "Cannot init install path settings (status=1) /opt/genymotion/genymotion.ini"
2018-07-11T15:32:53+03:00 [Genymotion Player:13067] [debug] Proxy configuration: no proxy used
2018-07-11T15:32:53+03:00 [Genymotion Player:13067] [debug] Host date and time: "11 Jul 2018 15:32:53 +0300"
2018-07-11T15:32:53+03:00 [Genymotion Player:13067] …Run Code Online (Sandbox Code Playgroud) 截至目前,我的 archlinux 系统需要当前版本的 gcc (8.3) 以及 gcc 7.2 和 gcc 5.5(在其他路径中)。
我正在尝试编译源代码,如下所示:
$ ./contrib/download-prerequisites
Run Code Online (Sandbox Code Playgroud)
在构建目录中:
$ ../gcc-5.5.0/configure --prefix=/home/mjonyh/bin/gcc/5.5.0 --disable-multilib --enable-languages=c,c++,fortran
Run Code Online (Sandbox Code Playgroud)
比发现错误
sys/ustat.h: no such file or directory
Run Code Online (Sandbox Code Playgroud)
已安装: binutils gcc-libs libmpc gcc-ada libmpc dejagnu inetutils lib32-gcc-libs doxygen gcc-ada lib32-glibc
更新:我通过手动注释掉gcc-xxx/libsanitizer/sanitizer-common/sanitizer-platform-limits-posix.cc中的 ustat.h解决了该问题(行号 157 和 250)。因为archlinux 弃用了glibc 中的ustat.h。
Manjaro 现在附带最新版本的 Python ( 3.8 )。但是,我当前的项目需要旧版本的 Python ( 3.7 )。有没有办法安装旧版本并在启动程序时使用类似python37或 的方法,以便我可以在两个版本之间切换?python38
archlinux ×10
linux ×5
python ×2
android ×1
compilation ×1
gcc ×1
gdb ×1
genymotion ×1
hashcat ×1
haskell ×1
manjaro ×1
neo4j ×1
opencl ×1
python-3.7 ×1
python-3.x ×1
su ×1
tmux ×1
unix ×1
virtualbox ×1
xmonad ×1