Архив автора
ProxMox Qemu create Ubuntu template
написано 5 апреля, 2024 - запись из раздела Proxmox VE | Комментировать
wget https://cloud-images.ubuntu.com/releases/jammy/release/ubuntu-22.04-server-cloudimg-amd64.img mv ubuntu-22.04-server-cloudimg-amd64.img ubuntu-22.04-server-cloudimg-amd64.qcow2 qemu-img resize ubuntu-22.04-server-cloudimg-amd64.qcow2 10G qm create 9000 \ —name ubuntu22 \ —bootdisk virtio0 \ —ostype l26 \ —sockets 1 \ —cores 2 \ —memory 1024 \ —scsihw virtio-scsi-single \ —onboot yes \ —serial0 socket \ —vga serial0 \ —net0 virtio,bridge=vmbr0 \ —agent 1 \ —ide2 local-zfs:cloudinit \ —virtio0 local-zfs:0,import-from=/root/ubuntu-22.04-server-cloudimg-amd64.qcow2 […]
Sentry: All events is empty
написано 25 марта, 2024 - запись из раздела Linux, Nginx | Комментировать
If you have a nginx revers proxy on your self-hosted Sentry you can get an issue with empty «All events» this can be fixed by adding to nginx config proxy_buffer_size 128k; proxy_buffers 16 256k; if you need a complete config, here it is:
ProxMox migration fails: Host key verification failed.
написано 22 марта, 2024 - запись из раздела Linux, Proxmox VE | Комментировать
If you get an error, on migrating VM from one ProxMox to another, like this: # /usr/bin/ssh -e none -o ‘BatchMode=yes’ -o ‘HostKeyAlias=pve-n23’ root@10.10.10.10 /bin/true Host key verification failed. ERROR: migration aborted (duration 00:00:01): Can’t connect to destination address using public key TASK ERROR: migration aborted And you have FreeIPA installed on proxmoxes, you can […]
LVM resize HOWTO
написано 15 марта, 2024 - запись из раздела Linux | Комментировать
We have an virtual machine with 165Gb disk, and added extra 10Gb. Now we need to extend filesystem inside a VM lets check trat extra 10Gb is available in VM # fdisk -l /dev/sdb Disk /dev/sdb: 175.2 GiB, 187924742144 bytes, 367040512 sectors Checkout the physical volume size, it’s 165Gbyte # pvdisplay — Physical volume — […]
Sangoma Linux after migration from VMWare ESXi to ProxmoxVE fails to boot
написано 13 марта, 2024 - запись из раздела CentOS Linux, KVM, Proxmox VE, virtualization, VoIP | Комментировать
After migration Sangoma Linux (FreePBX on CentOS7) from vmware to proxmox qm importovf 7804 PBX002.ovf local-zfs OS fails to boot with error: Could not boot /dev/SangomaVG/root does not exist /dev/SangomaVG/swaplv1 does not exist /dev/mapper/SangomaVG-root does not exist What do we need? 1. add network adapter, chose model «VMware vmxnet3» and set previously used MAC-address 2. […]
FreeIPA WebUI login fails
написано 18 января, 2024 - запись из раздела Linux | Комментировать
runing ‘kinit’ in console gives an error like: Received error from KDC: -1765328382/Server’s entry in database has expired kinit: Server’s entry in database has expired while getting initial credentials enter to console admin kadmin.local kadmin.local: getprinc krbtgt/DOMAIN.COM You may see that expiration date passed Expiration date: Tue Dec 31 23:59:59 MSK 2023 Set a new […]
HP Proliant Gen9 G9 DMAR error
написано 23 ноября, 2023 - запись из раздела Hardware, Linux | Комментировать
If you getting an error like this in dmesg on your linux and the physical server is a kind of HP Proliant G9 (Gen9) DMAR: [DMA Write NO_PASID] Request device [04:00.0] fault addr 0x791f4000 [fault reason 0x05] PTE Write access is not set DMAR: DRHD: handling fault status reg 402 You can just ignore it […]
Mikrotik FAN speed on CCR2004-1G-12S+2XS
написано 13 ноября, 2023 - запись из раздела Mikrotik | Комментировать
By default settings system health on mikrotik CCR2004 shows 0 RPM fan speed. In my case the temperature of CPU was about to 60C but there is no direct settings to set FAN speed, so i set the temp to run fullspeed this way /system health settings set fan-full-speed-temp=45C fan-target-temp=45C
Dell iDrac FAN speed adjustment
написано 23 октября, 2023 - запись из раздела Несортированное | Комментировать
You can do it by setting fan speed offset in BIOS, but if you don’t want to reboot your system you can do it using ipmitool enable manual Fan speed setting ipmitool raw 0x30 0x30 0x01 0x00 Then set fan speed to 100% ipmitool raw 0x30 0x30 0x02 0xff 0x64
FreeIPA allow queries from other networks
написано 11 сентября, 2023 - запись из раздела Linux | Комментировать
Add to /etc/named/ipa-ext.conf acl "trusted_network" { localnets; localhost; 10.222.0.0/23; 195.222.111.0/24; }; Where 10.222.0.0/23 and 195.222.111.0/24 not direct attached networks Add to /etc/named/ipa-options-ext.conf allow-recursion { trusted_network; }; and restart freeipa ipactl restart