BigOps 报错总结 ----bigops报404 sso没有返回等
严格按照文档做的话一般没有问题。
一、测试sso返回空 (这个问题有很多种情况,具体看日志分析)
curl 127.0.0.1:30001/signin/login 访问后没有返回值
排查:查看日志分析报错信息,(我的里面一大堆err )
查看错误日志: grep -i error /opt/bigops/sso/logs/catalina.out

解决方法:
1、修改配置文件加上时区
vim bigops/config/bigops.properties

2、就是服务器配置不满足导致
自己修改了脚本用一台低于6G内存的服务器安装,虽然安装成功了,但运行不起来。
3、hosts解析
域名解析没毛病,但是 有一点坑,就是必须得ping 通主机名
[root@centos7-02 opt]# hostname centos7-02 [root@centos7-02 opt]# ping centos7-02 PING centos7-02 (127.0.0.1) 56(84) bytes of data. 64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.011 ms 64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.019 ms ^C --- centos7-02 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 999ms rtt min/avg/max/mdev = 0.011/0.015/0.019/0.004 ms 如果ping 不通的,去下面这个配置文件加上一条记录 [root@centos7-02 opt]# vim /etc/hosts 127.0.0.1 centos7-02 追加一条 你的IP 你的主机名
二、404报错
这个问题一般都是nginx没启动起来,第一排查进程 查看nginx错误日志 排查后 nginx -t 检测配置文件 最重要的重启nginx systemctl restart nginx
[root@centos7-02 opt]# ps -ef | grep nginx 执行命令是否如下一样,那就OK了 root 22111 1 0 11:18 ? 00:00:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf root 22112 22111 0 11:18 ? 00:00:00 nginx: worker process root 22113 22111 0 11:18 ? 00:00:00 nginx: worker process root 22114 22111 0 11:18 ? 00:00:00 nginx: worker process root 22115 22111 0 11:18 ? 00:00:00 nginx: worker process root 22116 22111 0 11:18 ? 00:00:00 nginx: worker process root 22117 22111 0 11:18 ? 00:00:02 nginx: worker process root 22118 22111 0 11:18 ? 00:00:00 nginx: worker process root 22119 22111 0 11:18 ? 00:00:00 nginx: worker process root 35946 1254 0 11:45 pts/1 00:00:00 grep --color=auto nginx

浙公网安备 33010602011771号