root@srv28913:~# free
Error: /proc must be mounted
To mount /proc at boot you need an /etc/fstab line like:
proc /proc proc defaults
In the meantime, run "mount proc /proc -t proc"
root@srv28913:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/loop56 9.8G 1.4G 7.9G 15% /
none 492K 4.0K 488K 1% /dev
devtmpfs 16G 0 16G 0% /dev/tty
tmpfs 100K 0 100K 0% /dev/lxd
tmpfs 100K 0 100K 0% /dev/.lxd-mounts
tmpfs 16G 0 16G 0% /dev/shm
tmpfs 3.2G 116K 3.2G 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 16G 0 16G 0% /sys/fs/cgroup
tmpfs 98M 0 98M 0% /run/user/0
root@srv28913:~#
Hi, My problem still exists. In order to try to solve the problem, I have reinstalled different systems, including debian 10, debian 11, Ubuntu 20.04, etc., Currently, I am using Ubuntu 20.04, but the problem has not been resolved. My fstab file is also empty, I haven't created any entries in the fstab.
And /proc appears to be mounted normally, but when I tried the command 'cat /proc/cpuinfo' or 'cat /proc/meminfo', it displayed 'Permission denied'.
root@srv28913:~# cd /proc
root@srv28913:/proc# ls
1 256 628 66 74 capi cpuinfo dma filesystems ioports keys kpagecount mdstat mounts partitions scsi stat sysvipc uptime zoneinfo
100 56 634 67 acpi cgroups crypto driver fs irq key-users kpageflags meminfo mtrr pressure self swaps thread-self version
21 624 648 72 buddyinfo cmdline devices execdomains interrupts kallsyms kmsg loadavg misc net sched_debug slabinfo sys timer_list vmallocinfo
239 627 65 73 bus consoles diskstats fb iomem kcore kpagecgroup locks modules pagetypeinfo schedstat softirqs sysrq-trigger tty vmstat
root@srv28913:/proc# cat cpuinfo
cat: cpuinfo: Permission denied
root@srv28913:/proc# cat meminfo
cat: meminfo: Permission denied
root@srv28913:/proc#