当前位置:论坛首页 > Linux面板 > 求助

【已完成】软件商店安装软件 提示系统加固

发表在 Linux面板2023-2-16 15:24 [复制链接] 5 4703

本帖最后由 堡塔运维香菜卷 于 2023-3-30 16:48 编辑

Ubuntu 18.04.2 LTS aarch64(Py3.7.8)   

安装报错

安装报错
使用道具 举报 只看该作者 回复
发表于 2023-2-16 15:28:45 | 显示全部楼层
您好!可能是没有关闭系统加固导致仍然存在加固功能导致的,执行下面的命令解锁一下加固,在重新执行前面的操作试试。
  1. chattr -iaR /etc/init.d/*
  2. chattr -iaR /etc/rc.d/*
复制代码
使用道具 举报 回复 支持 反对
发表于 2023-2-16 15:36:57 | 显示全部楼层
堡塔运维向樛木 发表于 2023-2-16 15:28
您好!可能是没有关闭系统加固导致仍然存在加固功能导致的,执行下面的命令解锁一下加固,在重新执行前面的 ...


root@aml:~# chattr -iaR /etc/init.d/*
chattr: Read-only file system while setting flags on /etc/init.d/alsa-utils
chattr: Read-only file system while setting flags on /etc/init.d/bt
chattr: Read-only file system while setting flags on /etc/init.d/console-setup.sh
chattr: Read-only file system while setting flags on /etc/init.d/cpufrequtils
chattr: Read-only file system while setting flags on /etc/init.d/cron
chattr: Read-only file system while setting flags on /etc/init.d/dbus
chattr: Read-only file system while setting flags on /etc/init.d/docker
chattr: Read-only file system while setting flags on /etc/init.d/fake-hwclock
chattr: Read-only file system while setting flags on /etc/init.d/haveged
chattr: Read-only file system while setting flags on /etc/init.d/hostapd
chattr: Read-only file system while setting flags on /etc/init.d/hwclock.sh
chattr: Read-only file system while setting flags on /etc/init.d/keyboard-setup.sh
chattr: Read-only file system while setting flags on /etc/init.d/kmod
chattr: Read-only file system while setting flags on /etc/init.d/loadcpufreq
chattr: Read-only file system while setting flags on /etc/init.d/mysqld
chattr: Read-only file system while setting flags on /etc/init.d/network-manager
chattr: Read-only file system while setting flags on /etc/init.d/networking
chattr: Read-only file system while setting flags on /etc/init.d/ntp
chattr: Read-only file system while setting flags on /etc/init.d/procps
chattr: Read-only file system while setting flags on /etc/init.d/redis
chattr: Read-only file system while setting flags on /etc/init.d/resolvconf
chattr: Read-only file system while setting flags on /etc/init.d/rsync
chattr: Read-only file system while setting flags on /etc/init.d/rsyslog
chattr: Read-only file system while setting flags on /etc/init.d/screen-cleanup
chattr: Read-only file system while setting flags on /etc/init.d/sendmail
chattr: Read-only file system while setting flags on /etc/init.d/ssh
chattr: Read-only file system while setting flags on /etc/init.d/sysfsutils
chattr: Read-only file system while setting flags on /etc/init.d/sysstat
chattr: Read-only file system while setting flags on /etc/init.d/udev
chattr: Read-only file system while setting flags on /etc/init.d/ufw
chattr: Read-only file system while setting flags on /etc/init.d/unattended-upgrades
chattr: Read-only file system while setting flags on /etc/init.d/x11-common
root@aml:~# chattr -iaR /etc/rc.d/*
chattr: No such file or directory while trying to stat /etc/rc.d/*
root@aml:~#
使用道具 举报 回复 支持 反对
发表于 2023-2-16 15:38:44 | 显示全部楼层
宝塔用户_rurtmd 发表于 2023-2-16 15:36
root@aml:~# chattr -iaR /etc/init.d/*
chattr: Read-only file system while setting flags on /etc/i ...

执行以下命令截图看一下
  1. df -h
  2. df -i
复制代码
使用道具 举报 回复 支持 反对
发表于 2023-2-16 15:47:46 | 显示全部楼层
堡塔运维向樛木 发表于 2023-2-16 15:38
执行以下命令截图看一下

root@aml:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            467M     0  467M   0% /dev
tmpfs           184M   23M  162M  12% /run
/dev/mmcblk1p2  6.4G  4.1G  2.4G  64% /
tmpfs           920M   16K  920M   1% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           920M     0  920M   0% /sys/fs/cgroup
tmpfs           920M  120K  920M   1% /tmp
/dev/mmcblk1p1  122M   65M   57M  54% /boot
/dev/zram0       49M  5.0M   40M  11% /var/log
/dev/sda        110G   23G   82G  22% /mnt/disk
overlay         6.4G  4.1G  2.4G  64% /var/lib/docker/overlay2/7c1186f6058bc5e0f                                                                                                             aeff48551ed9dac6ffad54db97d1ede43c2f67f3856fc44/merged
overlay         6.4G  4.1G  2.4G  64% /var/lib/docker/overlay2/8408458d1cf4494b4                                                                                                             8248e4703ab50d7b702190079d3971d81aae15d216d3f34/merged
tmpfs           184M     0  184M   0% /run/user/0
root@aml:~# df -i
Filesystem      Inodes  IUsed   IFree IUse% Mounted on
udev            119484    453  119031    1% /dev
tmpfs           235317   1306  234011    1% /run
/dev/mmcblk1p2  427392 104608  322784   25% /
tmpfs           235317      5  235312    1% /dev/shm
tmpfs           235317      4  235313    1% /run/lock
tmpfs           235317     18  235299    1% /sys/fs/cgroup
tmpfs           235317     18  235299    1% /tmp
/dev/mmcblk1p1       0      0       0     - /boot
/dev/zram0       12800     35   12765    1% /var/log
/dev/sda       7331840    838 7331002    1% /mnt/disk
overlay         427392 104608  322784   25% /var/lib/docker/overlay2/7c1186f6058                                                                                                             bc5e0faeff48551ed9dac6ffad54db97d1ede43c2f67f3856fc44/merged
overlay         427392 104608  322784   25% /var/lib/docker/overlay2/8408458d1cf                                                                                                             4494b48248e4703ab50d7b702190079d3971d81aae15d216d3f34/merged
tmpfs           235317     10  235307    1% /run/user/0
root@aml:~#
使用道具 举报 回复 支持 反对
发表于 2023-3-30 16:48:25 | 显示全部楼层
您好,请问您的问题解决了吗?没有解决的话麻烦重新发帖以便处理。
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理

工作时间:09:00至24:00

快速回复 返回顶部 返回列表