Category: Linux

  • NVMe on Linux

    NVMe on Linux

    My preferred commands: sudo nvme list -v yum install pciutils (if is not work lspci) sudo lspci -vv -nn -s 0000:07:00.0 | grep Width lspci -vv | grep -E ‘PCI bridge|LnkCap’ dmidecode –type 9 Output on one of my servers:

  • Windows 10 wont stay in sleep mode

    Windows 10 wont stay in sleep mode

    Useful commands Command Promptpowercfg -devicequery wake_armedWireless Keyboard Filter DeviceHID Keyboard Device Power ShellGet-ScheduledTask | where {$_.settings.waketorun} If you want to stop a service

  • Cisco IPSLA Enhanced EEM Script for BGP Neighbor Management

    Cisco IPSLA Enhanced EEM Script for BGP Neighbor Management

    This script automates the shutdown and reactivation of BGP neighbors based on the status of a tracked object, ensuring that your network can dynamically respond to changes without manual intervention. The enhancements include validation steps, improved logging for troubleshooting, and modular action design for easier maintenance and readability. Setting Up CLI Session Defaults event manager…

  • (13)Permission denied: AH00072: make_sock: could not bind to address [::]:448

    (13)Permission denied: AH00072: make_sock: could not bind to address [::]:448

    Encountering a “Permission Denied” error (AH00072) when attempting to bind Apache to a specific port can be a frustrating experience. This error message typically appears when the Apache server tries to listen on a port, in this case, port 448, and is unable to do so due to various possible reasons such as the port…

  • iPerf3 error – the server has terminated (as service)

    iPerf3 error – the server has terminated (as service)

    iPerf3 give this error when it starts as a service? It’s not related to the iPerf version, and it’s a hardware/network problem! Most probably, it’s a congestion problem with your VPS, and here are the steps I made using tcpdump. #ethtool -S ens33 | grep -i dropdrv dropped tx total: 0drv dropped tx total: 0drv…

  • Optimizing iLo4 and AlmaLinux Performance: Disabling Interrupt Remapping

    Optimizing iLo4 and AlmaLinux Performance: Disabling Interrupt Remapping

    Just disable remapping by adding nointermap to the group Experiencing sluggish performance with iLo4 in conjunction with AlmaLinux can be frustrating. A straightforward yet effective solution to this issue is to disable interrupt remapping. This can lead to a noticeable improvement in responsiveness and overall system performance. To achieve this, you need to modify the…

  • Fixing phpIPAM SQL Syntax Error During Installation

    Fixing phpIPAM SQL Syntax Error During Installation

    If you encounter a SQL syntax error when trying to connect to the database during phpIPAM installation, it typically indicates a compatibility issue with your MariaDB server version. Here’s a quick solution to resolve it: Additional Considerations: This approach should help you bypass the SQL syntax error and proceed with the phpIPAM installation.

  • Amazon S3 Bucket 404 error

    Amazon S3 Bucket 404 error

    Make a new policy like this one:

  • VPN Server Pritunl conflicts with file from package

    VPN Server Pritunl conflicts with file from package

    If you’re encountering a file conflict error when attempting to install Pritunl on AlmaLinux, it’s often due to package clashes between the new software and existing files managed by the system’s package manager. The specific error: file / from install of pritunl-1.30.3354.99-1.el8.almalinux.x86_64 conflicts with file from package filesystem-3.8-6.el8.x86_64 Indicates that the installation process for Pritunl…

  • Error: Unable to establish IPMI v2 / RMCP+ session

    Error: Unable to establish IPMI v2 / RMCP+ session

    #ipmitool -I lanplus -H 172.*.*.* -U user -P password power status -v Get Auth Capabilities errorError issuing Get Channel Authentication Capabilities requestError: Unable to establish IPMI v2 / RMCP+ session 1) Check nmap nmap -p 623 -sU -P0 172.*.*.* 2) Check Access Settings

  • Advanced HTTP to HTTPS Redirection on Apache with Custom Port Configuration

    Advanced HTTP to HTTPS Redirection on Apache with Custom Port Configuration

    This guide delves into sophisticated configuration strategies, ensuring secure, efficient traffic management while adhering to best practices in network security and Apache server optimization. Advanced Configuration Steps: 1. Prerequisite Check: Ensure Apache’s mod_rewrite and mod_ssl modules are enabled. These modules are crucial for rewriting URLs and handling SSL/TLS encryption, respectively. You can enable them by…

  • Grafana error reading InfluxDB. Status Code: 401

    Grafana error reading InfluxDB. Status Code: 401

    First, find your token using this command influx auth list –user user Second, put the word token before the token itself (a stupid thing) Like this: token myToken