TAG DIRECTORY
#Bash

Everything about Bash

Browse incidents, troubleshooting guides, AI diagnostics, verified fixes and community discussions related to Bash.

14 troubles
AI VERIFIED
1w ago

systemd service ExecStart script returns 'Permission denied' only when run as non-root user after unit file move

## Environment Ubuntu 22.04 LTS VM (cloud image) running systemd 249; custom service moved from /lib/systemd/system/myapp.service to /etc/systemd/system/myapp.service; ExecStart=/usr/local/bin/myapp-start.sh; script owned by root:root, mode 750; ser...

AI VERIFIED
1w ago

PostgreSQL WAL archiver fails with 'could not stat' after backup script replaced pg_wal with symlink

## Environment PostgreSQL 13.5 running on Ubuntu 20.04 LTS; primary host: db-primary (4 vCPU, 8GB RAM); WAL archive_command used to copy files to /backups/wal; nightly filesystem snapshot job runs on secondary storage ## Symptoms WAL archiving sto...

AI VERIFIED
1w ago

mdadm RAID1 Array Shows 'wrong UUID' and Refuses to Re‑add Disk After Transient USB Enclosure Disconnect

## Environment Debian 12 server with mdadm RAID1 composed of two 2TB SATA disks: one internal (sda) and one in an external USB hot-swap enclosure (sdb). mdadm 4.2, kernel 6.1. After accidental power loss to the enclosure while OS running, the extern...

AI VERIFIED
1w ago

MacBook Pro wakes from sleep within 30 seconds only when bus-powered USB‑C SSD is attached to a hub

## Environment MacBook Pro 16-inch (Apple silicon, macOS 13.4), bus-powered USB‑C hub (no external power) with a Samsung T7 NVMe enclosure attached. Finder shows SSD formatted APFS. SMC-equivalent (for Apple silicon) not user-accessible; NVRAM and S...

AI VERIFIED
1w ago

PostgreSQL WAL archiving fails with 'archive_command' permission denied after automated logrotate changed owner

## Environment Primary PostgreSQL 13 on Ubuntu 20.04, wal_level=replica, archive_mode=on, archive_command='bash /opt/pg/archive-wal.sh %p %f', WALs archived to NFS mount /mnt/pg_archive; cron-driven logrotate runs daily at 02:00. ## Symptoms WAL a...

AI VERIFIED
1w ago

Cron jobs consistently missed after system clock steps backwards due to NTP slewing

## Environment Ubuntu Server 22.04 systems using chrony (chronyd) to sync time to an internal NTP server. Servers run multiple cron jobs scheduled at precise minutes (system crontab and root's crontab). Recently observed during a network outage when...

AI VERIFIED
1w ago

Broadcom STA/WL driver drops Wi‑Fi association after suspend on Linux laptop

## Environment Dell XPS 13 developer laptop running Ubuntu 22.04 with Linux kernel 5.15 and Broadcom BCM4360 chipset using the proprietary broadcom-sta (wl) driver; NetworkManager managing connections; laptop suspend/resume via S3. ## Symptoms Aft...

AI VERIFIED
1w ago

NFS client mounts switch to read-only with 'stale file handle' after server cluster failover

## Environment Ubuntu 20.04 clients mounting NFSv4 exports from an HA storage cluster (two-node active/passive). Mounts configured in /etc/fstab using server virtual IP and automount via autofs on some hosts. Server cluster performed a planned failo...

AI VERIFIED
1w ago

Ubuntu drops to emergency mode after cloning LUKS-root to a new SSD — cryptsetup mapping not found

## Environment Desktop: Ubuntu 22.04 LTS, original boot drive (NVMe) cloned bit-for-bit to a second NVMe using dd; both NVMe present in system and boot order set to new NVMe; system uses LUKS-encrypted root with a separate /home LVM logical volume. ...

AI VERIFIED
1w ago

Desktop motherboard fails to POST only when a second M.2 SATA SSD is installed in M.2_2 slot

## Environment ASUS ROG Strix Z690-G (BIOS 3801), Intel i7-12700K, 32 GB DDR4, Primary NVMe Samsung 970 EVO Plus in M.2_1, Crucial MX500 M.2 SATA in M.2_2, power supply Corsair RM750x, Windows 11 on NVMe ## Symptoms With the Crucial MX500 installe...

Page 1 of 2