Search results

  1. K

    DMARC Reporting

    That would be good. In the meantime I'm using this. It consists of uncoupled parser and viewer. The parser (perl) checks via IMAP the mailbox that receives dmarc reports, and populates a DB (cron job). The viewer is a php web based view of said DB.
  2. K

    [TUTORIAL] Fix always high CPU frequency in proxmox host.

    You're correct, this is an in place upgrade. I don't use ZFS. Thanks for the references.
  3. K

    [TUTORIAL] Fix always high CPU frequency in proxmox host.

    Thanks for this. When I update kernel commandline, I usually run update-grub directly and don't use proxmox-boot-tool Having just tried proxmox-boot-tool refresh, I notice no modifications are made to /boot/grub/grub.cfg and therefore new boot args won't be applied.
  4. K

    [SOLVED] SSH server restart needed after package upgrades

    I was aware of xinetd/inetd but had not realised systemd had this super server functionality. It really does do everything, as claimed ;-)
  5. K

    [SOLVED] SSH server restart needed after package upgrades

    I did not lose the entire contents of /run but, post package upgrade, /run/sshd was either deleted or failed to initialise. The apt customisation I'd attempted, & since abandoned, was to diff files I'd created in /etc/pmg/templates/ with their counterparts in /var/lib/pmg/templates. Whilst it...
  6. K

    [SOLVED] SSH server restart needed after package upgrades

    @Stoiko Ivanov Many thanks for the help and background information. It's much appreciated.
  7. K

    [SOLVED] SSH server restart needed after package upgrades

    Thanks that was it! I had (what I thought was a commented-out) custom file in /etc/apt/apt.conf.d. I'd commented the contents using '#'. I changed these to '//'. Issue resolved, I think. Some things I have noticed, that have surprised me, whilst looking in to this (this is with a working ssh...
  8. K

    How to connect PMG to external syslog server?

    It doesn't appear to be there does it. You can configure rsyslog to send to a remote log server. Modify /etc/rsyslog.conf or add your conf as a new file in /etc/rsyslog.d/. I'm logging to an elastic endpoint with the following appended to /etc/rsyslog.conf: $ActionForwardDefaultTemplate...
  9. K

    [SOLVED] SSH server restart needed after package upgrades

    I just ran a package upgrade (libpve-http-server-perl) and /run/sshd got deleted. No other files or dirs under /run or existing ssh sessions are affected. However I need to restart sshd in order for /run/sshd to get (re)created and for new ssh logins to succeed. This is not something I have...
  10. K

    [SOLVED] SSH server restart needed after package upgrades

    On my PMG (Proxmox LXC) installation, I am often (possibly always) unable to login via ssh after applying updates apt dist-upgrade. The message I see on the remote client is: ssh root@smtp kex_exchange_identification: read: Connection reset by peer After restarting ssh via the web UI, all is...
  11. K

    Copy files from a Container to another

    There is also the `pct mount` command. I guess you need to take care of destination permissions regardless of the method you chose.
  12. K

    [SOLVED] Is there any purge facility to free up disk space?

    I wasn't sure why you had opted for LVM when setting up PMG. Then I looked at the install docs and it seems a bare metal or VM install will bring you LVM or ZFS. I had installed PMG, in Promox PVE, using their container template. Therefore did't have LVM in the guest. I can't see the benefit in...
  13. K

    [SOLVED] Is there any purge facility to free up disk space?

    It looks like your guest is using LVM and I'm guessing there's no space left in the VG (pmg) to grow the LV (/dev/mapper/pmg-root). Once you've provided some additonal storage to your guest VM (however you do that with Hyper-V), you could extend the VG, extend the LV, and finally resize the...
  14. K

    [SOLVED] Is there any purge facility to free up disk space?

    As pointed out, you can use `du -sh /dir/*` to investigate directory sizes. Aside from particular use case application data, the primary consumers of storage on a modern linux system are: systemd journal (/var/log/journal) check out journalctl --vacuum- options old kernels (/boot and...
  15. K

    Move to Junk/Spam folder based on Spam score

    Find the header your destination mailserver/client uses to identify spam prior to moving it to a junk mail folder. In PMG create/modify existing rule to add that header at the desired spam level. I changed the existing quarantine rule to trigger at spam level 5 and used another rule to add the...
  16. K

    Problems installing Ubuntu 20.04 Server

    Did you try the netplan config in the second answer? It would be good to know how it works out in the end.
  17. K

    Problems installing Ubuntu 20.04 Server

    Not that it helps but this is interesting and also suggests why the hosting provider has gateway outside subnet.
  18. K

    Problems installing Ubuntu 20.04 Server

    You say same settings yet one (Debian) is configured successfully via /etc/network/interfaces and therefore ifupdown. The other (Ubuntu) unsuccessfully via netplan and /etc/netplan/*.yaml. If you insist on using netplan, try commenting out all lines in /etc/network/interfaces, if there are any...
  19. K

    Problems installing Ubuntu 20.04 Server

    Well I guess you should determine which network management tool is controlling things. Configure in /etc/network/interfaces and reboot. Then try a yaml config for netplan and reboot. Verify the resulting interface/route/dns state are as expected following each restart. Then take it from there.
  20. K

    Problems installing Ubuntu 20.04 Server

    Not saying it *is* the cause of your issue, but it has caught me out previously. I have never used netplan other than on my ubuntu desktop here. I haven't installed ubuntu server in anything other than in lxc, since 18.04. I think things changed with 20.04 and netplan came in to vogue. You can...