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

安装图形界面版aTrust出错 #343

Open
normalpan opened this issue Apr 11, 2024 · 6 comments
Open

安装图形界面版aTrust出错 #343

normalpan opened this issue Apr 11, 2024 · 6 comments

Comments

@normalpan
Copy link

我是安装 图形界面版 aTrust(amd64、arm64、mips64el 架构)
执行下面的语句 重复出现下面的提示 是什么问题啊?
在终端输入: docker run --rm --device /dev/net/tun --cap-add NET_ADMIN -ti -e PASSWORD=xxxx -e URLWIN=1 -v $HOME/.atrust-data:/root -p 127.0.0.1:5901:5901 -p 127.0.0.1:1080:1080 -p 127.0.0.1:8888:8888 -p 127.0.0.1:54631:54631 hagb/docker-atrust;

ip6tables v1.8.9 (legacy): can't initialize ip6tables table mangle': Table does not exist (do you need to insmod?) Perhaps ip6tables or your kernel needs to be upgraded. ip6tables v1.8.9 (legacy): can't initialize ip6tables table mangle': Table does not exist (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.
ip6tables v1.8.9 (legacy): can't initialize ip6tables table `mangle': Table does not exist (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.

@normalpan
Copy link
Author

下面是完整的信息
$ docker run --rm --device /dev/net/tun --cap-add NET_ADMIN -ti -e PASSWORD=xxxx -e URLWIN=1 -v $HOME/.atrust-data:/root -p 127.0.0.1:5901:5901 -p 127.0.0.1:1080:1080 -p 127.0.0.1:8888:8888 -p 127.0.0.1:54631:54631 hagb/docker-atrust
Error: ipv4: FIB table does not exist.
Flush terminated
Error: Missing goto target for action goto.
WARNING: logging deactivated (can't log to stdout when daemonized)

New Xtigervnc server '403ef02ccc23:1 (root)' on port 5901 for display :1.
Use xtigervncviewer -SecurityTypes VncAuth,TLSVnc -passwd /tmp/tigervnc.0tdVWM/passwd 403ef02ccc23:1 to connect to the VNC server.

log isn't inited.[aTrustAgent][getAppdataPath:288]pw_name:root,pw_dir:/root
[current process id:131] lockfile path:/usr/share/sangfor/.aTrust/sapp-aTrustAgent_plugin-daemon-b49a-lockfile
full path of server:/usr/share/sangfor/.aTrust/sapp-aTrustAgent_plugin-daemon-b49a
log isn't inited.[aTrustAgent][getAppdataPath:288]pw_name:root,pw_dir:/root
[current process id:198] lockfile path:/usr/share/sangfor/.aTrust/sapp-aTrustAgent-b269-lockfile
log isn't inited.[aTrustAgent][getAppdataPath:288]pw_name:root,pw_dir:/root
[current process id:206] lockfile path:/usr/share/sangfor/.aTrust/sapp-aTrustAgent_plugins_aTrustTunnel-f282-lockfile
full path of server:/usr/share/sangfor/.aTrust/sapp-aTrustAgent_plugins_aTrustTunnel-f282
log isn't inited.[aTrustAgent][getAppdataPath:288]pw_name:sangfor,pw_dir:/home/sangfor
[current process id:245] lockfile path:/usr/share/sangfor/.aTrust/sapp-aTrustAgent_plugins_aTrustCore_h_e-5c4f-lockfile
full path of server:/usr/share/sangfor/.aTrust/sapp-aTrustAgent_plugins_aTrustCore_h_e-5c4f
log isn't inited.[Tag null][SSLContext:370]SSLContext 0x3b253b24dc50 created.
log isn't inited.[Tag null][SSLContext:370]SSLContext 0x3b253b24dcc0 created.
log isn't inited.[Tag null][getAppdataPath:288]pw_name:root,pw_dir:/root
log dir:/root/.aTrust/aTrust/logs log name:aTrustSSLProxy.log
log debug file path:/usr/share/sangfor/.aTrust/debug
[I] MMKV.cpp:165::initialize version v1.2.13, page size 4096, arch x86_64
[I] MMKV.cpp:207::initializeMMKV root dir: /usr/share/sangfor/.aTrust/database/sdpEntity
[I] MMKV.cpp:234::mmkvWithID prepare to load aTrustSpaPersistence (id aTrustSpaPersistence) from rootPath /usr/share/sangfor/.aTrust/database/sdpEntity
[I] MemoryFile.cpp:97::open open fd[0x3a], /usr/share/sangfor/.aTrust/database/sdpEntity/aTrustSpaPersistence
[I] MemoryFile.cpp:97::open open fd[0x3b], /usr/share/sangfor/.aTrust/database/sdpEntity/aTrustSpaPersistence.crc
[I] <MMKV_IO.cpp:81::loadFromFile> loading [aTrustSpaPersistence] with 0 actual size, file size 4096, InterProcess 1, meta info version:1
[I] <MMKV_IO.cpp:130::loadFromFile> loaded [aTrustSpaPersistence] with 0 key-values
[I] <MMKV_IO.cpp:1051::clearAll> cleaning all key-values from [aTrustSpaPersistence]
[I] <MMKV_IO.cpp:1058::clearAll> nothing to clear for [aTrustSpaPersistence]
(node:132) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[I] MMKV.cpp:207::initializeMMKV root dir: /usr/share/sangfor/.aTrust/database
[I] MMKV.cpp:234::mmkvWithID prepare to load SdpcHistory (id SdpcHistory) from rootPath /usr/share/sangfor/.aTrust/database
[I] MemoryFile.cpp:97::open open fd[0x79], /usr/share/sangfor/.aTrust/database/SdpcHistory
[I] MemoryFile.cpp:97::open open fd[0x7c], /usr/share/sangfor/.aTrust/database/SdpcHistory.crc
[I] <MMKV_IO.cpp:81::loadFromFile> loading [SdpcHistory] with 0 actual size, file size 4096, InterProcess 1, meta info version:1
[I] <MMKV_IO.cpp:130::loadFromFile> loaded [SdpcHistory] with 0 key-values

(process:245): GLib-GObject-WARNING **: 00:31:33.410: invalid (NULL) pointer instance

(process:245): GLib-GObject-CRITICAL **: 00:31:33.410: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:206): GLib-GObject-WARNING **: 00:31:34.917: invalid (NULL) pointer instance

(process:206): GLib-GObject-CRITICAL **: 00:31:34.917: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
sysctl: permission denied on key "net.ipv4.conf.all.rp_filter"
sysctl: permission denied on key "net.ipv4.conf.default.rp_filter"
sysctl: permission denied on key "net.ipv4.conf.eth0.rp_filter"
sysctl: permission denied on key "net.ipv4.conf.lo.rp_filter"
sysctl: permission denied on key "net.ipv4.conf.utun7.rp_filter"
iptables: No chain/target/match by that name.
iptables v1.8.9 (nf_tables): Chain 'ATRUST_DNS' does not exist
Try iptables -h' or 'iptables --help' for more information. iptables: No chain/target/match by that name. iptables: No chain/target/match by that name. iptables v1.8.9 (nf_tables): Chain 'ATRUST_DNS' does not exist Try iptables -h' or 'iptables --help' for more information.
iptables: No chain/target/match by that name.
ip6tables v1.8.9 (legacy): can't initialize ip6tables table mangle': Table does not exist (do you need to insmod?) Perhaps ip6tables or your kernel needs to be upgraded. ip6tables v1.8.9 (legacy): can't initialize ip6tables table mangle': Table does not exist (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.
ip6tables v1.8.9 (legacy): can't initialize ip6tables table mangle': Table does not exist (do you need to insmod?) Perhaps ip6tables or your kernel needs to be upgraded. sh: 1: nmcli: not found iptables: No chain/target/match by that name. iptables v1.8.9 (nf_tables): Chain 'ATRUST_DNS' does not exist Try iptables -h' or 'iptables --help' for more information.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
iptables v1.8.9 (nf_tables): Chain 'ATRUST_DNS' does not exist
Try iptables -h' or 'iptables --help' for more information. iptables: No chain/target/match by that name. ip6tables v1.8.9 (legacy): can't initialize ip6tables table mangle': Table does not exist (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.
ip6tables v1.8.9 (legacy): can't initialize ip6tables table mangle': Table does not exist (do you need to insmod?) Perhaps ip6tables or your kernel needs to be upgraded. ip6tables v1.8.9 (legacy): can't initialize ip6tables table mangle': Table does not exist (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.

@Hagb
Copy link
Collaborator

Hagb commented May 6, 2024

实际可以登录吗?

@normalpan
Copy link
Author

实际可以登录吗?

谢谢回复,没装好也就没有试过vnc ,我问个简单的问题VNC客户端 是要选哪个?

@Hagb
Copy link
Collaborator

Hagb commented May 8, 2024

*nix 下可用 Remmina、TigerVNC

@normalpan
Copy link
Author

$ docker run --rm --device /dev/net/tun --cap-add NET_ADMIN -ti -e PASSWORD=xxxx -e URLWIN=1 -v $HOME/.ecdata:/root -p 127.0.0.1:5901:5901 -p 127.0.0.1:1080:1080 -p 127.0.0.1:8888:8888 hagb/docker-easyconnect:7.6.7
docker: Error response from daemon: failed to create endpoint focused_babbage on network bridge: failed to add the host (veth63d1ad4) <=> sandbox (vethf5e733c) pair interfaces: operation not supported.

我装了tigervnc,也不知道咋配置.现在运行上面的语句 直接出错了.

@normalpan
Copy link
Author

当我把vnc服务开启了以后 可以在vncview上登录了.但是还是不能上网:(

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