Skip to content
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

Centos7.9&anolisos7.9本地安装失败 #110

Open
cuimh068 opened this issue May 14, 2024 · 10 comments
Open

Centos7.9&anolisos7.9本地安装失败 #110

cuimh068 opened this issue May 14, 2024 · 10 comments

Comments

@cuimh068
Copy link

No description provided.

@cuimh068 cuimh068 changed the title Cento Centos7.9&anolisos7.9本地安装失败 May 14, 2024
@cuimh068
Copy link
Author

[root@ data]# ./backup-x -s install -l 127.0.0.1:9977 -d /data/
-bash: ./backup-x: Permission denied
[root@ data]# chmod -R 777 /data/
[root@ data]# ll
total 15896
-rwxrwxrwx 1 root root 16277504 May 14 16:09 backup-x
[root@ data]# ./backup-x -s install -l 127.0.0.1:9977 -d /data/
2024/05/14 16:10:29 安装 backup-x 服务失败, ERR: exit status 1
2024/05/14 16:10:29 请确保使用如下命令: ./backup-x -s install
[root@ data]# ./backup -s install -l 127.0.0.1:9977 -d /data/
2024/05/14 16:11:01 安装 backup-x 服务失败, ERR: Init already exists: /root/.config/systemd/user/backup-x.service
2024/05/14 16:11:01 请确保使用如下命令: ./backup-x -s install
[root@ data]# ./backup -s install
2024/05/14 16:11:12 安装 backup-x 服务失败, ERR: exit status 1
2024/05/14 16:11:12 请确保使用如下命令: ./backup-x -s install
这是龙蜥7.9安装的提示

@jeessy2
Copy link
Owner

jeessy2 commented May 14, 2024

用docker

@jeessy2
Copy link
Owner

jeessy2 commented May 14, 2024

看提示是安装已经安装了

@cuimh068
Copy link
Author

docker确实能起来,我本地的一台服务器就是用的docker

@cuimh068
Copy link
Author

看提示是安装已经安装
是的,/root/.config/systemd/ user/backup-x.service这个目录下有这个文件了,但是不知道为啥他出现了报错
我记得有个很老的版本不会这样,忘记具体是那一版了

@cuimh068
Copy link
Author

用docker

[root@hcss-ecs-2a56 ~]# tar -zxvf backup-x_2.1.6_Linux_x86_64.tar.gz
LICENSE
README-EN.md
README.md
backup-x
[root@hcss-ecs-2a56 ~]# ./backup-x -s install -l 127.0.0.1:9977 -d /data/
2024/05/14 16:33:51 安装 backup-x 服务成功! 程序会一直运行, 包括重启后。
[root@hcss-ecs-2a56 ~]#
扒拉了扒拉,2.1.6能本地安装不知道为啥

@jeessy2
Copy link
Owner

jeessy2 commented May 14, 2024

可能是你系统老了

@cuimh068
Copy link
Author

可能是你系统老了

有这个可能,等有时间搞个centos新版本的镜像安装一下试试

@cuimh068
Copy link
Author

您好还有个问题,
#保存备份通知
2024/05/17 13:01:41 Webhook调用成功, 返回数据: {"errcode":300001,"errmsg":"param error"}
#模拟备份通知
2024/05/17 13:04:49 Webhook调用成功, 返回数据: {"errcode":0,"errmsg":"ok"}
为什么会出现这种情况呢,我保存并备份的通知是提示错误,但是我模拟备份通知却成功了

@jeessy2
Copy link
Owner

jeessy2 commented May 17, 2024

模拟只是模式数据,假数据。真实数据看返回结果,提示参数错误

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants