Questions tagged [arch-linux]
Arch Linux (or Arch, pronounced /ˈɑrtʃ/) is an independently developed, Linux-based operating system for i686 and x86-64 computers. It is composed predominantly of free and open source software, and supports community involvement.
300
questions
20
votes
2
answers
21k
views
Why is WordPress loading blank pages on Nginx and PHP-FPM?
Good day.
While this post discusses a similar setup to mine serving blank pages occasionally after having made a successful installation, I am unable to serve anything but blank pages. There are no ...
31
votes
6
answers
330k
views
MySQL (MariaDB) Not Starting [closed]
I am running Arch Linux 4.8.4-1 on a 64bit installation. I installed MariaDB via pacman. When I try to start it with systemctl start mysqld, it gives me
Job for mariadb.service failed because the ...
2
votes
1
answer
27k
views
nginx: FastCGI sent in stderr: "Primary script unknown"
Using the latest version of nginx (1.10.0) and php-fpm (PHP 7.0.6) on 64-bit arch linux.
When attempting to request index.php for a DokuWiki installation, I get the following error:
2016/05/21 22:...
0
votes
0
answers
398
views
"Can't read superblock" when trying to boot . Failed to mount /dev/mapper/xxxxxxx on real root
I finished setting up my new Arch system about a month ago. Since I had two nvme drives to use for the system I did some research on how I could use both of them to utilize the full capacity of both ...
10
votes
5
answers
7k
views
Pacman doesn't work in Docker image
I need to run an Arch Linux container but I can't install anything on it :
When I try to run pacman -Syyu --noconfirm
error: failed to initialize alpm library
(could not find or read directory: /var/...
0
votes
0
answers
86
views
Postfix not signing mail with OpenDKIM
Postfix is not signing outgoing mail with OpenDKIM despite giving no errors.
My main.cf file
readme_directory = /usr/share/doc/postfix
inet_protocols = ipv4
meta_directory = /etc/postfix
...
0
votes
1
answer
42
views
Access Forbidden 403 no search permission for the directory
I installed the Apache server on Manjaro (no tag for it, Arch is the closest). It works well. I added a virtualhost and tried to set directory permissions with chmod, but no luck. I got 403 error when ...
0
votes
0
answers
538
views
Why do I get ECONNREFUSED|ECONNREFUSED for an openvpn server, after doing easyrsa gen-crl?
My OpenVPN server has been working perfectly fine on an Arch Linux install. I've done regular pacman -Syu updates over the past year, every now and then I've had to run:
easyrsa gen-crl
When the ...
2
votes
1
answer
5k
views
mail issues "535 Authentication credentials invalid"
I'm trying to send mails from command line with my 1and1 credentials.
But if the following configuration worked to send mails from my nexcloud server :
send mode : smtp
encryption : SSL/TLS
from ...
0
votes
0
answers
100
views
arch linux laptop not recognizing partitions or filesystems on internal windows SDA drive
I bought a laptop with windows 11 and installed arch linux on it. The laptop has 3 internal 500GB SSDs. Two of them are in a RAID configuration to make a single 1TB partition which Windows came ...
6
votes
1
answer
8k
views
Why does the "nocto" NFS mount option in Linux not prevent flush-on-close?
I've been learning about the close-to-open policy of NFS, which causes each
file to be flushed to the server as it's closed, to ensure consistency across
clients. (See http://docstore.mik.ua/orelly/...
0
votes
3
answers
8k
views
libvirt cannot create default network
I can't start the default network for libvirt. I get the error in journalctl:
Jun 06 15:22:43 jenia libvirtd[889326]: Unable to create bridge virbr0: Package not installed
I did installed the ...
4
votes
3
answers
3k
views
systemd-journald system logs are not persistent across boots despite Storage=persistent
I recently got a problem with systemd not preserving logs from previous boots. I checked several answers here and elsewhere but haven't found a solution.
the problem is that the user log gets ...
0
votes
0
answers
590
views
Cannot boot on Arch Linux after modifying kernel parameters with GRUB
Looking for a way to set my backlights on my laptop running Arch Linux (and Windows on a dual boot), I edited the /etc/default/grub file to change a kernel parameter. Here is what I changed:
# before ...
0
votes
1
answer
240
views
hardening fail2ban using systemd sandbox
I've been trying to follow the ArchWiki instructions on hardening Fail2Ban:
https://wiki.archlinux.org/title/Fail2ban#Service_hardening
Specifically I've created a drop-in file as described and ...
6
votes
2
answers
43k
views
open() "/run/nginx.pid" failed (13: Permission denied)
Currently, I've set up a nextcloud server with nginx and I enabled it with sudo systemctl enable nginx.service. When I'm rebooting, than I'm getting an error message which complains about a proxy ...
49
votes
5
answers
129k
views
How do you use systemd's journalctl patterns
I am trying to use journalctl's pattern matching on SYSLOG_IDENTIFIERS. As an example, I have a ton of message tagged sshd:
$ journalctl -t sshd | wc -l
987
but if I try to use pattern matching to ...
20
votes
4
answers
25k
views
sar: enable data collecting
I've just installed the sysstat package on Manjaro. When running sar for the first time I see:
Cannot open /var/log/sa/sa21: No such file or directory
Please check if data collecting is enabled
How ...
4
votes
3
answers
4k
views
How do I use pg_upgrade on arch linux
I was running postgres 8.4 on arch but now have 9 installed I want to use pg_upgrade to upgrade but I don't know what all the options I have to use are, and all the directories that I have to point it ...
2
votes
1
answer
1k
views
/etc/environment.d does not take effect on Archlinux
I believe systemd-environment-d-generator parses conf files under /etc/environment.d/.
cat /etc/environment.d/60-foo.conf
FOO=xxx
But even after reboot, the environment variable 'FOO' does not ...
0
votes
2
answers
1k
views
access based share enum not working as expected
On a long-term (2years) Arch Linux server, I am running a small samba configuration with several shares.
I would like users to only see the shares which they have access to - which is why I am using ...
2
votes
5
answers
23k
views
Postfix not receiving mails from outside the localhost
I've a Postfix + Dovecot set up in my Parabola (Arch based) installation. It looks like it works, I can send emails to any address and it works, and also receive mails but only from local addresses.
...
0
votes
1
answer
867
views
Server closing connection after ssh login
Working on archlinux, last updated today. Tried to setup a web application on the server. Got error 'core dumped' when tried su, decided to reboot. After reboot the problem started.
ssh -vvv output ...
1
vote
1
answer
2k
views
OpenVPN client stops working after a few minutes
I'm using OpenVPN client, and it works fine but after a few minutes the VPN stops working.
I'm getting these errors in the logs:
Sun May 10 20:55:28 2015 [nrt-c01.ipvanish.com] Inactivity timeout (--...
0
votes
1
answer
1k
views
How to disable power_efficient kernel's feature?
The question, in fact, has been asked in the subject.
I use the ArchLinux. I tried to put the workqueue.power_efficient=false to the grub.cfg, but after reboot the contents of the /sys/modules/...
0
votes
1
answer
2k
views
Using Microsoft Teams on Gnome Wayland - Not able to screen share
currently i'm using Manjaro with Gnome and the wayland session manager.
5.15.68-1-lts #1 SMP Thu, 15 Sep 2022 09:53:50 +0000 x86_64 GNU/Linux
I've installed the MS Teams Linux app, but I also tried ...
11
votes
3
answers
79k
views
Connected to openvpn, but no Internet connection
I have openvpn on a remote server, it's Arch Linux. I'm able to connect to it, but there's no internet after I connect, meaning, when I open a browser and trying to load a website, it's getting stock ...
6
votes
1
answer
4k
views
Change default certificate signing algorithm in ssh-keygen
Presently, OpenSSH 7.8 (Fedora 28/Arch) is unable to negotiate with a OpenSSH 7.4 (CentOS 7) server utilizing a certificate signed key, as described in a bug filed on redhat's bugzilla. OpenSSH ...
0
votes
1
answer
1k
views
nextcloud rewrites config permissions after reboot
Heyhey!
i'm struggling with a permission-problem on my nextcloud instance.
My Setup is
Manjaro 21.0.7-210614 linux518
Nextcloud 24.0.3-1
Apache 2.4.54-1
php-sqlite 8.1.8-1
php-intl 8.1.8-1
php-...
1
vote
1
answer
2k
views
Samba AD: Bind9 won't load DLZ library anymore
I currently got a Problem with the Bind9 Backend on my Samba Domain Controller. Bind refuses to open the library Samba provides. But i can't figure out how to resolv this issu. Here is the SysLog:
...
1
vote
1
answer
2k
views
Connect to a IPSec/L2TP VPN pre-shared-key
I want to connect to an IPSec secured L2TP tunnelled VPN network with a pre-shared-key.
I'm using networkmanager-l2tp for this. As Phase1 Algorithms as well as for Phase2 Algorithms I have: aes128-...
22
votes
4
answers
125k
views
Ping: sendmsg: operation not permitted error after installing iptables on Arch GNU/Linux
Yesterday I got a new computer as my homeserver, a HP Proliant Microserver.
Installed Arch Linux on it, with kernel version 3.2.12.
After installing iptables (1.4.12.2 - the current version AFAIK) ...
0
votes
1
answer
75
views
Sed issue!! i tried to trigger this command cat test.txt | gf xss | sed ‘s/=.*/=/’ | sed ‘s/URL: //’ | tee testxss.txt
i tried to trigger this command
cat test.txt | gf xss | sed ‘s/=.*/=/’ | sed ‘s/URL: //’ | tee testxss.txt
but getting error as sed: -e expression #1, char 1: unknown command: ' sed: -e expression #...
1
vote
1
answer
495
views
How to make SystemRescueCD (Arch Linux) mount exFAT?
My SystemRescueCD (bootable CD based on Arch Linux distribution) won't mount my exFAT SD card. When I plug in the USB reader, /dev/sdc appears, but it won't even show /dev/sdc1. No way to mount it, ...
1
vote
1
answer
5k
views
Apache "can't locate API module structure" with php73
newbie here. I was working on installing a LAMP environment on Manjaro for testing, trying to use older versions to match the production environment I have to work with (PHP 7.3, MySQL 5.6; got them ...
2
votes
0
answers
4k
views
why doesn't arp-scan find any devices when nmap does?
When I run nmap -sn 192.168.0.0/24 I get the result:
Nmap scan report for 192.168.0.1
Host is up (0.16s latency).
Nmap scan report for 192.168.0.103
Host is up (0.19s latency).
Nmap scan report for ...
5
votes
1
answer
1k
views
Enabling IPv6 for docker breaks hosts IPv6 connectivity resulting in neither having IPv6 connection
Preface: I am newbie in both Docker and networking stuff, especially, IPv6. Am a software developer, not system/network administrator.
I am running Arch on Linode and am looking to set up Docker with ...
0
votes
1
answer
302
views
Arch Linux, incoming remote connections get dropped
I'm running into an issue on my (up to date) Arch Linux server. I've been able to reproduce it with netcat.
If I start listening on my server with:
ncat -l -p 2000 -k
and then
telnet (my local ip) ...
1
vote
0
answers
417
views
sudo hangs after some time
sudo hangs in my Archlinux (running under Hyper-V) after some time (usually a day).
Since this hangs my system, I have kept a root window open to do strace whenever this happens. strace sudo ls shows ...
2
votes
1
answer
723
views
LVM - pvmove to a smaller volume
I would like to pvmove a logical volume to a smaller, but faster drive, leaving the excess part on the original drive. Can that be easily accomplished?
12
votes
3
answers
15k
views
How to determine which packages need upgrading in Arch Linux?
I know that pacman -Su upgrades all packages. But how can I get just the list of packages that need upgrading?
3
votes
1
answer
343
views
arch linux on zfs root cannot configure grub on bios
as the title suggests I cannot get across the finish line installing arch on zfs. I get to the point where I try and install grub on my /boot after chrooting into my /mnt from the live cd. anyway ...
2
votes
4
answers
2k
views
netstat doesn't display full remote ip address, no ip address for ssl, port 443
We're running a Apache webserver on Arch Linux (build from May '10) and while monitoring connections with netstat we're seeing some odd connections on port 443 that don't report an IP address; is this ...
1
vote
1
answer
1k
views
What could prevent hdd hot-swap in linux ahci?
I'm tearing my hair out over this issue.
I wanted to add a hotswap bay to my homeserver to easily add and remove HDD such as to easily rotate off-site backups. The mainboard in question is an Asrock ...
1
vote
4
answers
6k
views
vsftpd error: 530 Login incorrect (and various others when trying other solutions on this website)
I know this question has been asked countless times already, but I feel like I've tried every possible solution and none seem to work.
Some articles I've read and tried to use:
vsftpd error 530 ...
0
votes
1
answer
1k
views
EAP-MS-CHAPv2 verification failed Arch Linux (strongswan)
I cannot get Strongswan, networkmanager-strongswan (client)
work on your Arch-PC. My vpn-strongswan server (hereinafter deb (server)) has been configured for a long time, any devices (such as android, ...
1
vote
0
answers
2k
views
How can I see which commands ansible runs and their output?
I'm new to Ansible, and yes I know this has already been asked many times, but I already tried to apply advice I saw elsewhere.
I did export ANSIBLE_STDOUT_CALLBACK=debug and then ansible-playbook -...
0
votes
0
answers
344
views
Some process are in unkillable sleeping state while i/o is low
I am the system administrator of an Arch Linux-based workstation. Our workstation uses Slurm as the load manager and consists of one master machine and 4 other computation nodes. In the past few ...
9
votes
4
answers
8k
views
kube-proxy won't start in Minikube because of permission denied issue with /proc/sys/net/netfilter/nf_conntrack_max
After updating Arch Linux (sudo pacman -Syu) and restarting the system, Minikube fails to start because of kube-proxy. The logs show it was trying to modify /proc/sys/net/netfilter/nf_conntrack_max ...
0
votes
1
answer
330
views
Apache error "could not bind to adress"
Since the last update, apache won't start anymore...
I have this message :
(98)Address already in use: AH00072: make_sock: could not bind to
address [::]:80
(98)Address already in use: AH00072: ...