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.
301
questions
0
votes
0
answers
309
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 ...
0
votes
0
answers
77
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
38
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
445
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 ...
0
votes
0
answers
84
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 ...
0
votes
0
answers
558
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
0
answers
445
views
Difference in routing between systemd-networkd and dhcpcd?
When using systemd-networkd with the configuration below, I cannot connect over SSH (connection time out) to a certain server on our network. Bizarrely, there are no problems when I use dhcpcd instead....
0
votes
1
answer
225
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 ...
0
votes
1
answer
833
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 ...
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
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 ...
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 ...
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-...
0
votes
1
answer
74
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
0
answers
411
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 ...
0
votes
1
answer
292
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) ...
2
votes
1
answer
697
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?
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 ...
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
334
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 ...
0
votes
1
answer
518
views
OpenVPN server, executing openvpn with the config as argument produces no output
I have the following OpenVPN server config, which when I try to give as argument produces no output and simply returns.
[root ~]# cat /etc/openvpn/server/myvpnserver.conf
port 28191
proto tcp
dev ...
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 ...
0
votes
1
answer
105
views
A simple configuration: LAN + direct connect simultaneously [closed]
This should be an easy configuration, but I'm struggling to Google for it; the vocabulary eludes me.
I've got a desktop with onboard gigabit which finds its way to the internet via the router. ...
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 ...
2
votes
1
answer
397
views
SSH tunnel attempt. Unable to establish SSH connection without actual shell. (Arch Linux)
So I'm trying to figure out how to establish a tunnel, but nothing else. I don't want the user to have shell access.
I found this ssh tunneling only access
Is this information outdated or something? ...
0
votes
0
answers
436
views
"Combine" multiple FTP directories so they appear as one
I own a website that allows users to upload files. I have MY files on there as well, but I don't want to mix their files with mine, just in case somebody puts a bunch of malicious files and need to be ...
0
votes
0
answers
2k
views
Can't connect via openvpn and .ovpn file on Manjaro and Ubuntu (but surprisingly it works on Windows)
At my recent job, I need to connect to the corporate VPN so I was sent a .ovpn file. I am not very much experienced with VPNs, but I had a feeling that connecting should be as easy as:
sudo pacman -S ...
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/...
1
vote
1
answer
4k
views
How to properly set specific PHP version used by Apache on Arch?
So it appears that after a recent Arch system upgrade, my NextCloud server no longer works, currently giving me "This version of Nextcloud is not compatible with > PHP 7.4. You are currently ...
0
votes
1
answer
5k
views
Arch Linux - QEMU override System Manufacturer on Windows 10
I've fully virtualized a VM with windows 10 on QEMU and had to do host-passthrough in order for it to work.
Because there's no way to set SMBIOS to reflect the host, I want to know if there's any way ...
0
votes
1
answer
833
views
WireGuard via systemd-networkd but with /etc/wireguard/wg0.conf
Is there any solution to use /etc/wireguard/wg0.conf for both, wg-quick and systemd-networkd.
Following this example I have to duplicate configuration, but I want to store config in one place.
How to ...
1
vote
1
answer
470
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
1k
views
lxd: dnsmasq not resolving containers ip anymore
I have Lxd installed on an Arch system (from packages, not snapd), yesterday I rebooted the system after an upgrade and the name resolution of the fake domain .lxd stopped working; dns is provided on ...
1
vote
0
answers
29
views
Archlinux SFTP indicated package length
I use Archlinux as a pure server system. The user "http" is authorized for ssh access. In this way I access the /var/www directory for the stored websites.
Recently, the login and the folder ...
0
votes
1
answer
654
views
Archlinux nfs is shutting down immediately
I want to setup an NFS server so I setup NFS as in the Archlinux tutorial with two mount points:
[jenia@jenia ~]$ sudo exportfs -arv
point 1
point 2
point 3
exportfs: /etc/exports [3]: Neither '...
6
votes
2
answers
42k
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 ...
0
votes
1
answer
4k
views
Error: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
I have the very same setup as shown in this thread and I'm having the same exact problem. I've already retraced my steps several times over the installation process of the PHP + Apache + PostgreSQL, ...
0
votes
1
answer
4k
views
openvpn startup error: Failed at step CHDIR spawning /usr/bin/openvpn
I'm trying to start an openvpn v2.4.9 server with running
systemctl start openvpn-server@server
as root on Arch Linux.
This results in the following error:
The job identifier is 176005 and the job ...
1
vote
1
answer
319
views
Arch Linux - KVM - Sharing SSD and HDD between Arch and it's VMs
I'm relatively new to linux and I'm trying to build an Arch linux that will have a gaming VM. I have 2 disks: a 500GB SSD and a 2TB HDD. I've settled on a LVM with a swapfile and extra space for ...
0
votes
1
answer
3k
views
cannot ping specific interface from router: (sendmsg: Operation not permitted)
I have router that I built running Arch Linux and I have a strange problem that might point to a misconfiguration. Here is my setup:
LAN interface: intern1
WAN interface: extern1
LAN address: 192.168....
0
votes
1
answer
929
views
fail2ban banning IPs, but iptables is failing to reject them
I'm running Arch with Nginx and fail2ban. I have added this to /etc/fail2ban/filter.d/nginx-dos.conf:
# /etc/fail2ban/filter.d/nginx-dos.conf
# Fail2Ban configuration file
#
# Generated on Fri Jun 08 ...
1
vote
1
answer
2k
views
What's !* in the password field in /etc/shadow?
Looking into my /etc/shadow file of a fairly new box today (running Arch), I see some passwords as * (disabled) but some others as !*, !! and as !. Presumably that means "disabled", too, but ...
0
votes
1
answer
1k
views
Redirection thru redsocks connecting but not responding
Am using redsocks to redirect thru a proxy. The problem is that when i use a tool like wget it appears to be connecting but not resolving. What could be the problem and how could i solve it?
Executing ...
0
votes
0
answers
239
views
Forwarding bonded connection to local network through stateful firewall - ArchLinux
I'm using Arch Linux to set up a firewall for a school which will stream each classes' video to students at home, so I need a strong and safe connection, that's why I was thinking about bonding ...
7
votes
1
answer
26k
views
How to remove a root CA certificate?
I am trying to delete a root CA certificate, but the trust anchor --remove command specified in the official Red Hat 8 documentation gives out a read-only error.
sudo trust anchor --remove --verbose &...
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 ...
0
votes
1
answer
44
views
Moving Files After Conversion to pdf
I have created a linux script to convert files from .odt to .pdf
But the script after converting moves files into same dir where script is executed. As script is recurring I want files to stay in the ...
3
votes
1
answer
338
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 ...
1
vote
1
answer
11k
views
Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
I'm trying to setup PhpPgAdmin. But the service won't start.
I get the following output when sudo systemctl status httpd.service:
● httpd.service - Apache Web Server
Loaded: loaded (/usr/lib/...