VPS / virtual private servers > Virtual servers - general

journalctl does not contain messages it should; dmesg is not permitted

(1/1)

Gamliel Fishkin:
I have a free VPS with Debian10.0-64bit-minimal here. It works, thank you.

But messages which are supposed to appear in journalctl, do not appear in it. And when I try to use dmesg (N.B.: as root), I see it is not permitted to me.


--- Code: ---$ sudo nft list chain inet filter input | grep Invalid
counter packets 81 bytes 6687 log prefix "Invalid-Input: " level debug
$ journalctl | grep -c Invalid
0
$ journalctl | wc -l
2862
$ sudo dmesg | grep -c Invalid
dmesg: read kernel buffer failed: Operation not permitted
0
$ sudo dmesg | wc -l
dmesg: read kernel buffer failed: Operation not permitted
0
--- End code ---

On a KVM VPS at another company and at my home computer (both with Debian 10 "Buster" 64bit) all of it works fine.

Is the described problem a limitation of OpenVZ?

Forum-Support2:
Hello,

we do not use OpenVZ for VS2/VS2free. It is a modified LXC/LXD System.

dmesg and other stuff may restricted inside a container. However, systctl should work.

KVM is full virtualized. This means you have full control at Kernel etc. since you do not use a shared kernel. We are currently develop KVM. May this is an option for you to test this later.

Navigation

[0] Message Index

Go to full version