n9e v6 mac编译后启动无异常,访问报404

Viewed 88

macOS 13.4
n9e版本:V6.0.0-ga.7.0.2

项目main分支代码/release中ga.7.0.2代码编译(make all)、启动均无异常

runner.cwd: /opt/n9e
runner.hostname: bogon
runner.fd_limits: (soft=61440, hard=unlimited)
runner.vm_limits: (soft=unlimited, hard=unlimited)
2023-05-22 18:55:39.238673 INFO memsto/busi_group_cache.go:108 timer: sync busi groups done, cost: 0ms, number: 1
2023-05-22 18:55:39.239119 INFO memsto/target_cache.go:163 timer: sync targets done, cost: 0ms, number: 0
2023-05-22 18:55:39.239373 INFO memsto/datasource_cache.go:107 timer: sync datasources done, cost: 0ms, number: 0
2023-05-22 18:55:39.239912 INFO memsto/alert_mute_cache.go:142 timer: sync mutes done, cost: 0ms, number: 0
2023-05-22 18:55:39.240375 INFO memsto/alert_rule_cache.go:132 timer: sync rules done, cost: 0ms, number: 0
2023-05-22 18:55:39.240544 INFO memsto/notify_config.go:86 timer: sync wbhooks done number: 0
2023-05-22 18:55:39.240686 INFO memsto/notify_config.go:100 timer: sync smtp:{Host: Port:0 User: Pass: From: InsecureSkipVerify:false Batch:0} done
2023-05-22 18:55:39.240818 INFO memsto/notify_config.go:114 timer: sync notify script done
2023-05-22 18:55:39.240950 INFO memsto/notify_config.go:133 timer: sync ibex done
2023-05-22 18:55:39.241235 INFO memsto/user_cache.go:158 timer: sync users done, cost: 0ms, number: 1
2023-05-22 18:55:39.241673 INFO memsto/user_group_cache.go:159 timer: sync user groups done, cost: 0ms, number: 1
2023-05-22 18:55:39.241966 INFO memsto/alert_subscribe_cache.go:157 timer: sync subscribes done, cost: 0ms, number: 0
2023-05-22 18:55:39.242263 INFO memsto/recording_rule_cache.go:133 timer: sync recording rules done, cost: 0ms, number: 0
2023-05-22 18:55:39.245158 INFO naming/hashring.go:39 hash ring 100000 rebuild [192.168.1.5:17000]
2023-05-22 18:55:39.245317 WARNING sender/email.go:108 SMTP configurations invalid
http server listening on: 127.0.0.1:17000

启动后尝试通过浏览器访问127.0.0.1:17000,返回404 page not found

期间找到类似提问:https://answer.flashcat.cloud/questions/10010000000000845
尝试将包转移到/opt/n9e后启动,问题依旧

2 Answers

前端单独拉取后,将pub文件夹放入n9e下第一级目录,访问正常了
谢谢解答