-
-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stat_client 在 Alpine 上运行报错 #18
Comments
在你的环境(Alpine Linux)试试运行下面的命令,把运行的结果输出粘贴出来看看
|
远程环境: # uname -s
Linux 4ac4b485 5.12.2 #1 SMP Thu Feb 10 23:52:09 UTC 2022 x86_64 GNU/Linux
# df -Tlm --total -t ext4 -t ext3 -t ext2 -t reiserfs -t jfs -t ntfs -t fat32 -t btrfs -t fuseblk -t zfs -t simfs -t xfs
Filesystem Type 1M-blocks Used Available Use% Mounted on
/dev/vdb ext4 8000 65 7510 1% /
total - 8000 65 7510 1% - 本地测试环境: # df -Tlm --total -t ext4 -t ext3 -t ext2 -t reiserfs -t jfs -t ntfs -t fat32 -t btrfs -t fuseblk -t zfs -t simfs -t xfs
Filesystem Type 1M-blocks Used Available Use% Mounted on
/dev/sde ext4 257007 734 243149 1% /etc/hosts
total - 257007 734 243149 1% - |
你的 alpine 是什么版本?df 命令是什么版本? 默认的 df 版本是 busybox 版本,也可以安装 gnu coreutil 的版本,跑这个 df 命令均不兼容
|
本地是在docker里面跑的,df和alpine版本如下
|
docker 镜像是哪个?提供一下 docker pull xxxx 命令,我把镜像拉下来试试
|
刚刚使用 apk add coreutils 后执行 stat_client 正常运行,应该是依赖问题 |
尝试在Alpine Linux下运行报错如下:
client版本为
1.3.5
相同配置在debian11中正常运行
The text was updated successfully, but these errors were encountered: