Questions tagged [linux]
Linux is the generic term for a UNIX-like open source operating system based on the Linux kernel.
38,957 questions
0
votes
0
answers
16
views
Bash Script Linux - combines a QUIET function with other functions without hiding some of them
#!/bin/bash
DefaultColor="\033[0m"
GREEN="\033[32m"
RED="\033[31m"
PURPLE="\033[35m"
YELLOW="\033[33m"
CYAN="\033[36m"
CmdOk="\033[...
0
votes
0
answers
15
views
What OSCAP XML content files are used for scanning Alpine Linux containers?
I have found some references around that debian is a close example to Alpine Linux, but the xml file is full of debian references/commands, so it's going to fail testing against a different OS flavor.
...
0
votes
0
answers
22
views
crontab script is not running in other server. In the server we copied, it's running fine [duplicate]
see below details
eccdbpvm02:/mnt/HANA/E1P/backup/data/DB_F1P # crontab -l
05 00 * * * /usr/sys_scripts/clear_log >> /usr/sys_scripts/log.txt 2>&1
eccdbpvm02:/mnt/HANA/E1P/backup/data/...
-1
votes
0
answers
33
views
this means what apache2.service: Unit cannot be reloaded because it is inactive [closed]
Thu Oct 30 15:51:22.993200 2025] [core:warn] [pid 32395:tid 32395]
AH00111: Config variable ${APACHE_RUN_DIR} is not defined
apache2: Syntax error on line 80 of /etc/apache2/apache2.conf:
...
1
vote
2
answers
139
views
Redirect a command's log file to systemd log
I have a command that by default logs to a file in the current working directory.
When run from the command line, I can redirect log output to standard out with the option --log-file /dev/stdout
When ...
-1
votes
0
answers
38
views
Route traffic for a specific application through a Wireguard VPN while leaving other traffic untouched
I'm using a VPN service with a dedicated IP that doesn't run a SOCKS5 or SSL proxy on that IP. The connection is established over Wireguard, from my Ubuntu machine, with the following config:
[...
0
votes
0
answers
64
views
After building with Docker, the symbolic link becomes self-referential instead of pointing to the intended executable file
Problem Description
When building a Docker image, the project source code contains an empty directory named service, which has the same name as the target of the command ln -sf controller /app/service....
0
votes
0
answers
66
views
SSH (sometimes) hangs before logging in
I have a ssh server running (OpenSSH_9.9p2, OpenSSL 3.0.16 from freebsd, UseDNS set to no), but I sometimes randomly have issues logging in. As in, ssh doesn't even get to the auth state. What could ...
1
vote
0
answers
28
views
Emulate a USB stick with a read-only switch on qemu [migrated]
I need to emulate1 a USB stick that has a read-only switch on it2 on a qemu Linux VM3.
The important part is that, during the emulation, I need to simulate an action on that switch (going from read/...
0
votes
0
answers
21
views
split atop log to perday?
I have server with CloudLinux, I install atop to monitor memory dan cpu usage. I have only a atop log that record all day, I want to split atop log record per day.
[root@server atop]# atop -r
/var/...
2
votes
2
answers
477
views
System under memory pressure with high MemAvail
I am struggling with an issue which occurs about once a month. Basically we see low free memory, high avail memory and logs about memory pressure in syslog. System then becomes unresponsive and reboot ...
0
votes
1
answer
51
views
Authentication failure when trying to login with AD account (Ubuntu 20.04.6 LTS)
Successfully joined an Ubuntu machine to our domain using realmd.
Kerberos auth works, kinit [email protected] gives TGT.
getent passwd [email protected] and id [email protected] also successfully return user ...
0
votes
1
answer
157
views
Issues Setting up my Server with Multiple VLAN Sub Interfaces to work with my new network via a Cisco CBS350 Switch
I have a box I run Fedora Server on and use as a multi purpose self hosted server and recently bought a Cisco CBS350-24P-4G to handle most of the network traffic, so I can relegate my crappy ISP ...
1
vote
1
answer
113
views
mariabackup --prepare keeps backup state at "log-applied", not "full-prepared"
I'm performing a full backup on a MariaDB 10.6.8 instance on linux and encountering an issue where the --prepare step finishes successfully but fails to transition the backup state to full-prepared. ...
0
votes
0
answers
29
views
Apache htaccess allow TYPO3 and other WEB pages
It's my first time to setup TYPO3 on a LInux (Proxmax/Debian) system. Since Typo3 V3 I used Windows.
My target is to use TYPO3 and other WEB content on the same server. Under Windows I had the other ...