Giter Site home page Giter Site logo

无法启动 about viper HOT 7 CLOSED

shinegod avatar shinegod commented on May 24, 2024
无法启动

from viper.

Comments (7)

FunnyWolf avatar FunnyWolf commented on May 24, 2024

Not Found: /api/auth_routes
msf连接失败,检查 127.0.0.1:60005 是否可用
Not Found: /api/auth_routes
[WARNING][2021-01-18 01:22:13][postmodule][_load_all_modules_config][113][uWSGIWorker1Core0] : 模块加载完成,共加载模块55个
[WARNING][2021-01-18 01:22:13][msgrpc][start][3349][uWSGIWorker1Core0] : 后台服务启动成功
[WARNING][2021-01-18 01:22:13][log][log_response][228][uWSGIWorker1Core0] : Not Found: /api/auth_routes
[pid: 50|app: 0|req: 1/1] 0.0.0.0 () {48 vars in 753 bytes} [Mon Jan 18 01:22:12 2021] GET /api/auth_routes => generated 179 bytes in 536 msecs (HTTP/1.1 404) 4 headers in 128 bytes (1 switches on core 0)
[WARNING][2021-01-18 01:22:17][msgrpc][call][217][ThreadPoolExecutor-2_3] : msf连接失败,检查 127.0.0.1:60005 是否可用
[WARNING][2021-01-18 01:22:19][log][log_response][228][uWSGIWorker1Core0] : Not Found: /api/auth_routes
[pid: 50|app: 0|req: 2/2] 0.0.0.0 () {48 vars in 753 bytes} [Mon Jan 18 01:22:19 2021] GET /api/auth_routes => generated 179 bytes in 1 msecs (HTTP/1.1 404) 4 headers in 128 bytes (1 switches on core 0)

#1 内存问题,可以增加虚拟内存,安装教程中有具体方法

from viper.

shinegod avatar shinegod commented on May 24, 2024

Not Found: /api/auth_routes
msf连接失败,检查 127.0.0.1:60005 是否可用
Not Found: /api/auth_routes
[WARNING][2021-01-18 01:22:13][postmodule][_load_all_modules_config][113][uWSGIWorker1Core0] : 模块加载完成,共加载模块55个
[WARNING][2021-01-18 01:22:13][msgrpc][start][3349][uWSGIWorker1Core0] : 后台服务启动成功
[WARNING][2021-01-18 01:22:13][log][log_response][228][uWSGIWorker1Core0] : Not Found: /api/auth_routes
[pid: 50|app: 0|req: 1/1] 0.0.0.0 () {48 vars in 753 bytes} [Mon Jan 18 01:22:12 2021] GET /api/auth_routes => generated 179 bytes in 536 msecs (HTTP/1.1 404) 4 headers in 128 bytes (1 switches on core 0)
[WARNING][2021-01-18 01:22:17][msgrpc][call][217][ThreadPoolExecutor-2_3] : msf连接失败,检查 127.0.0.1:60005 是否可用
[WARNING][2021-01-18 01:22:19][log][log_response][228][uWSGIWorker1Core0] : Not Found: /api/auth_routes
[pid: 50|app: 0|req: 2/2] 0.0.0.0 () {48 vars in 753 bytes} [Mon Jan 18 01:22:19 2021] GET /api/auth_routes => generated 179 bytes in 1 msecs (HTTP/1.1 404) 4 headers in 128 bytes (1 switches on core 0)

#1 内存问题,可以增加虚拟内存,安装教程中有具体方法

4vCPUs | 16GB | c6.xlarge.4
Ubuntu 16.04 server 64bit

from viper.

FunnyWolf avatar FunnyWolf commented on May 24, 2024

Not Found: /api/auth_routes
msf连接失败,检查 127.0.0.1:60005 是否可用
Not Found: /api/auth_routes
[WARNING][2021-01-18 01:22:13][postmodule][_load_all_modules_config][113][uWSGIWorker1Core0] : 模块加载完成,共加载模块55个
[WARNING][2021-01-18 01:22:13][msgrpc][start][3349][uWSGIWorker1Core0] : 后台服务启动成功
[WARNING][2021-01-18 01:22:13][log][log_response][228][uWSGIWorker1Core0] : Not Found: /api/auth_routes
[pid: 50|app: 0|req: 1/1] 0.0.0.0 () {48 vars in 753 bytes} [Mon Jan 18 01:22:12 2021] GET /api/auth_routes => generated 179 bytes in 536 msecs (HTTP/1.1 404) 4 headers in 128 bytes (1 switches on core 0)
[WARNING][2021-01-18 01:22:17][msgrpc][call][217][ThreadPoolExecutor-2_3] : msf连接失败,检查 127.0.0.1:60005 是否可用
[WARNING][2021-01-18 01:22:19][log][log_response][228][uWSGIWorker1Core0] : Not Found: /api/auth_routes
[pid: 50|app: 0|req: 2/2] 0.0.0.0 () {48 vars in 753 bytes} [Mon Jan 18 01:22:19 2021] GET /api/auth_routes => generated 179 bytes in 1 msecs (HTTP/1.1 404) 4 headers in 128 bytes (1 switches on core 0)

#1 内存问题,可以增加虚拟内存,安装教程中有具体方法

4vCPUs | 16GB | c6.xlarge.4
Ubuntu 16.04 server 64bit

msf服务没起来,docker内部 (docker exec -it viper-container bash 进入) 执行viper start

from viper.

shinegod avatar shinegod commented on May 24, 2024

/api/auth_routes

这个一直显示404

from viper.

shinegod avatar shinegod commented on May 24, 2024

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:60000 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:60004 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:60005 0.0.0.0:* LISTEN
tcp 0 0 127.0.1.1:53 0.0.0.0:* LISTEN
tcp6 0 0 :::22 :::* LISTEN

[+] redis运行中
[+] nginx运行中
[+] msfrpcd运行中
[+] VIPER主服务运行中
[+] daphne服务运行中
-------------- 检查服务状态 ----------------
2021-01-18 15:25:40
[+] redis运行中
[+] nginx运行中
[+] msfrpcd运行中
[+] VIPER主服务运行中
[+] daphne服务运行中
[+] 启动完成

[WARNING][2021-01-18 15:24:32][log][log_response][228][uWSGIWorker1Core0] : Not Found: /api/auth_routes

from viper.

shinegod avatar shinegod commented on May 24, 2024

UID PID PPID C STIME TTY TIME CMD
root 1 0 0 15:22 ? 00:00:00 /usr/bin/python3.7 /usr/bin/viper start -pw xxxxx
redis 18 1 0 15:22 ? 00:00:00 /usr/bin/redis-server 127.0.0.1:60004
root 34 1 0 15:22 ? 00:00:00 [nginx]
root 38 1 0 15:22 ? 00:00:09 [ruby]
root 40 1 0 15:22 ? 00:00:00 [uwsgi]
root 41 1 0 15:22 ? 00:00:00 [uwsgi]
root 44 1 0 15:22 ? 00:00:00 [sh]
root 46 1 0 15:22 ? 00:00:00 [sh]
root 47 1 0 15:22 ? 00:00:00 [daphne]
root 48 1 0 15:22 ? 00:00:07 [uwsgi]
root 83 0 0 15:22 pts/0 00:00:00 bash
root 289 0 0 15:25 pts/1 00:00:00 bash
root 1029 83 0 15:37 pts/0 00:00:00 /usr/bin/python3.7 /usr/bin/viper start
root 1043 0 0 15:37 ? 00:00:00 nginx: master process /usr/sbin/nginx
root 1044 1043 0 15:37 ? 00:00:00 nginx: worker process
root 1045 1043 0 15:37 ? 00:00:00 nginx: worker process
root 1047 0 3 15:37 pts/0 00:00:05 puma 5.1.1 (tcp://127.0.0.1:60005) [viper]
root 1051 0 0 15:37 ? 00:00:00 uwsgi --ini /root/viper/uwsgi.ini
root 1053 1029 0 15:37 pts/0 00:00:00 [sh]
root 1055 1029 0 15:37 pts/0 00:00:00 [sh]
root 1056 0 0 15:37 pts/0 00:00:00 /usr/bin/python3.7 /usr/local/bin/daphne -u /root/viper/daphne.sock --access-
root 1057 1051 1 15:37 ? 00:00:01 uwsgi --ini /root/viper/uwsgi.ini
root 1228 289 0 15:39 pts/1 00:00:00 ps -ef

from viper.

FunnyWolf avatar FunnyWolf commented on May 24, 2024

UID PID PPID C STIME TTY TIME CMD
root 1 0 0 15:22 ? 00:00:00 /usr/bin/python3.7 /usr/bin/viper start -pw xxxxx
redis 18 1 0 15:22 ? 00:00:00 /usr/bin/redis-server 127.0.0.1:60004
root 34 1 0 15:22 ? 00:00:00 [nginx]
root 38 1 0 15:22 ? 00:00:09 [ruby]
root 40 1 0 15:22 ? 00:00:00 [uwsgi]
root 41 1 0 15:22 ? 00:00:00 [uwsgi]
root 44 1 0 15:22 ? 00:00:00 [sh]
root 46 1 0 15:22 ? 00:00:00 [sh]
root 47 1 0 15:22 ? 00:00:00 [daphne]
root 48 1 0 15:22 ? 00:00:07 [uwsgi]
root 83 0 0 15:22 pts/0 00:00:00 bash
root 289 0 0 15:25 pts/1 00:00:00 bash
root 1029 83 0 15:37 pts/0 00:00:00 /usr/bin/python3.7 /usr/bin/viper start
root 1043 0 0 15:37 ? 00:00:00 nginx: master process /usr/sbin/nginx
root 1044 1043 0 15:37 ? 00:00:00 nginx: worker process
root 1045 1043 0 15:37 ? 00:00:00 nginx: worker process
root 1047 0 3 15:37 pts/0 00:00:05 puma 5.1.1 (tcp://127.0.0.1:60005) [viper]
root 1051 0 0 15:37 ? 00:00:00 uwsgi --ini /root/viper/uwsgi.ini
root 1053 1029 0 15:37 pts/0 00:00:00 [sh]
root 1055 1029 0 15:37 pts/0 00:00:00 [sh]
root 1056 0 0 15:37 pts/0 00:00:00 /usr/bin/python3.7 /usr/local/bin/daphne -u /root/viper/daphne.sock --access-
root 1057 1051 1 15:37 ? 00:00:01 uwsgi --ini /root/viper/uwsgi.ini
root 1228 289 0 15:39 pts/1 00:00:00 ps -ef

Not Found: /api/auth_routes 这个404是前端代码遗留的api,不影响使用,看输出需要的服务应该都起来了,现在使用的话还会报错吗?因为msfrpc启动较慢,可能会在刚启动时出现无法连接问题,30秒后就好了

from viper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.