Posts

Showing posts with the label Linux

Setting up Docker on Rocky Linux 9.7

Image
Terminal screenshot $ sudo -i # dnf remove -y podman buildah docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-engine # dnf install -y dnf-plugins-core # dnf config-manager --add-repo https://download.docker.com/linux/rhel/docker-ce.repo # dnf install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin # systemctl enable --now docker #systemctl status docker ● docker.service - Docker Application Container Engine      Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; preset: d>      Active: active (running) since Fri 2026-06-05 01:19:51 PDT; 15s ago TriggeredBy: ● docker.socket        Docs: https://docs.docker.com    Main PID: 839223 (dockerd)       Tasks: 10      Memory: 25.0M (peak: 26.1M)         CPU: 155ms      CGroup: /system.slice/docker.servi...

Eliminating 413 Request Entity Too Large responses when uploading large files via WebDAV

Image
Transferring files to a system using Apache's mod_dav to export its filesystem via WebDAV , any time I tried to transfer a file over 1GB my local client ( Cyberduck ) would fail with the error: Unexpected response ( 413 Request Entity Too Large). The fix was simple, once I sat down to actually implement it; I just added a LimitRequestBody entry into httpd.conf and restarted the server : [root@server ~]# vi /etc/httpd/conf/httpd.conf   ... EnableSendfile   on LimitRequestBody  0 [root@server ~]# systemctl restart httpd

Increasing PHP file upload size

Image
Just a walk through of something that took me 3 minutes longer than it should have 🤔  Uploading a file via a PHP script was throwing an error. The culprit: upload_max_filesize was set to the default 2M in /etc/php.ini. (Tip: Use phpinfo() to determine the Loaded Configuration File, against the possibility there’s more than one on the system.) Once you tweak php.ini, restart the PHP FastCGI Process Manager, if that’s how PHP is running on the system (it is, at least on the Rocky Linux 9.7 box this service was running on): systemctl restart php-fpm.service And, Bob’s your uncle. (When I was a freshman, you just had to restart Apache ... 🤣)

WebDAV locking issues

Image
Trying to create a folder on my WebDAV share, using Cyberduck , but couldn’t: The logs: # tail -f /var/log/httpd/ssl_error_log [Mon Feb 02 12:20:36.415327 2026] [dav:error] [pid 50869:tid 50979] [client 192.168.1.1:53060] The locks could not be queried for verification against a possible "If:" header.  [500, #0] [Mon Feb 02 12:20:36.415404 2026] [dav:error] [pid 50869:tid 50979] [client 192.168.1.1:53060] Could not open the lock database.  [500, #400] [Mon Feb 02 12:20:36.415412 2026] [dav:error] [pid 50869:tid 50979] (120002)APR does not understand this error code: [client 192.168.1.1:53060] Could not open database.  [500, #1] [Mon Feb 02 12:20:36.526440 2026] [dav:error] [pid 50868:tid 50966] [client 192.168.1.1:53061] The locks could not be queried for verification against a possible "If:" header.  [500, #0] [Mon Feb 02 12:20:36.526476 2026] [dav:error] [pid 50868:tid 50966] [client 192.168.1.1:53061] Could not open the lock database.  [500, #400] [Mon ...

Adventures in ancient tech - frustrations with the Gen 8 MicroServer

Image
Xeon Been  flogging an HP ProLiant MicroServer Gen 8 for a while now . But I think its time may be coming to an end. It can’t boot the “optical drive” (slot 5) SATA device directly, need to have a USB stick or Micro SD card installed internally to do that. (Which failed last week. Replacing the old  SanDisk Cruzer Fit   with a  SAMSUNG FIT Plus . Second SanDisk I’ve had fail recently; the other was a  120GB 2.5" SATA SSD . Hrm.) iLO sucks, the iPad app crashes constantly, it doesn’t send mouse activity to Linux, etc. I tried using the Comet remote KVM , but I couldn’t get an any active VGA to HDMI adapters to generate a signal the KVM would recognize. So I did most of this stuff using a wireless Logitech K400 keyboard with trackpad and a tiny Eyoyo monitor . Works, but awkward. Can’t boot a GPT partition scheme (it’s got a BIOS and no UEFI), if you try you’ll get a red screen of death with an inscrutable “invalid op code” error. The most recent LTS version...

Finally installing Microserver upgrades; finding the iLO device and the client software

Image
For whatever reason I wasn’t able to find the HPE iLO (Integrated Lights Out) iOS / iPad client software in the App Store through a simple search, but I did find it when I went in under my apps. Anyway, here’s a link:  https://apps.apple.com/app/id497560256 Then, in the chaos of redoing parts of my home LAN (wiping and installing latest software, etc), I had yet to setup a DHCP reservation for the iLO interface on my HPE ProLiant MicroServer Gen8. A quick Google search revealed it uses the seldom used ports 17988, 17990, and 9300 for its remote console functionality, so I fired up nmap and scoured my network for machines with those ports open: $ nmap -p17988,17990,9300 75.748.86.0/24 --open   Nmap scan report for undefined.lan (75.748.86.91) Host is up (1.8s latency). Not shown: 1 closed tcp port (reset) PORT      STATE SERVICE 17988/tcp open  unknown 17990/tcp open  unknown MAC Address: G0:1G:48:G7:G6:4G (Hewlett Packard) There it is... (MAC addr...