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

部署好后出问题 #46

Open
eratio opened this issue Oct 17, 2023 · 4 comments
Open

部署好后出问题 #46

eratio opened this issue Oct 17, 2023 · 4 comments

Comments

@eratio
Copy link

eratio commented Oct 17, 2023

访问登录页出现 JSON Parse error: Unrecognized token '<', 登录时也是这个提示

@xingyx
Copy link

xingyx commented Oct 17, 2023 via email

@eratio
Copy link
Author

eratio commented Oct 17, 2023

########################################################################
###################### Begin to start MySQL ###########################
########################################################################
Starting MySQL SUCCESS!
Succeed to + start MySQL
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)
########################################################################
###################### Begin to start nginx ###########################
########################################################################
Succeed to + start nginx
########################################################################
###################### Active env var ###########################
########################################################################
########################################################################
###################### Begin to start Hadoop ###########################
########################################################################
This script is Deprecated. Instead use start-dfs.sh and start-yarn.sh
Starting namenodes on [localhost]
localhost: starting namenode, logging to /data/docker/logs/hadoop/hadoop-hadoop-namenode-2b44b36ba044.out
localhost: starting datanode, logging to /data/docker/logs/hadoop/hadoop-hadoop-datanode-2b44b36ba044.out
Starting secondary namenodes [0.0.0.0]
0.0.0.0: starting secondarynamenode, logging to /data/docker/logs/hadoop/hadoop-hadoop-secondarynamenode-2b44b36ba044.out
starting yarn daemons
starting resourcemanager, logging to /data/docker/logs/hadoop/yarn-hadoop-resourcemanager-2b44b36ba044.out
localhost: starting nodemanager, logging to /data/docker/logs/hadoop/yarn-hadoop-nodemanager-2b44b36ba044.out
Succeed to + start hadoop
########################################################################
###################### Begin to start hive metastore ###########################
########################################################################
########################################################################
###################### Begin to start Linkis ###########################
########################################################################
We will start all linkis applications, it will take some time, please wait
<-------------------------------->
Begin to start mg-eureka
Is local execution:sh /data/docker/Install/linkis/sbin/linkis-daemon.sh restart mg-eureka
server mg-eureka is stopped.
2023-10-17 09:21:57: Starting Hive Metastore Server
Start to check whether the mg-eureka is running
Start server, startup script: /data/docker/Install/linkis/sbin/ext/linkis-mg-eureka
WARNING: Use "yarn jar" to launch YARN applications.
=====Java Start Command=====
nohup java -DserviceName=linkis-mg-eureka -Xmx512M -XX:+UseG1GC -Xloggc:/data/docker/logs/linkis/linkis-mg-eureka-gc.log -cp /data/docker/config/linkis-config:/data/docker/Install/linkis/lib/linkis-spring-cloud-services/linkis-mg-eureka/:/data/docker/Install/linkis/lib/linkis-commons/public-module/ org.apache.linkis.eureka.SpringCloudEurekaApplication --eureka.instance.hostname=127.0.0.1 --spring.profiles.active=eureka 2>&1 > /data/docker/logs/linkis/linkis-mg-eureka.out &
nohup: redirecting stderr to stdout
server linkis-mg-eureka start succeeded!
Succeed to start mg-eureka

<-------------------------------->
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/data/docker/Install/hive/lib/log4j-slf4j-impl-2.17.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/data/docker/Install/hadoop-2.7.2/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
<-------------------------------->
Begin to start mg-gateway
Is local execution:sh /data/docker/Install/linkis/sbin/linkis-daemon.sh restart mg-gateway
server mg-gateway is stopped.
Start to check whether the mg-gateway is running
Start server, startup script: /data/docker/Install/linkis/sbin/ext/linkis-mg-gateway
=====Java Start Command=====
nohup java -DserviceName=linkis-mg-gateway -Xmx512M -XX:+UseG1GC -Xloggc:/data/docker/logs/linkis/linkis-mg-gateway-gc.log -cp /data/docker/config/linkis-config:/data/docker/Install/linkis/lib/linkis-spring-cloud-services/linkis-mg-gateway/:/ org.apache.linkis.gateway.springcloud.LinkisGatewayApplication 2>&1 > /data/docker/logs/linkis/linkis-mg-gateway.out &
nohup: redirecting stderr to stdout
server linkis-mg-gateway start succeeded!
Succeed to start mg-gateway

<-------------------------------->
<-------------------------------->
Begin to start ps-publicservice
Is local execution:sh /data/docker/Install/linkis/sbin/linkis-daemon.sh restart ps-publicservice
server ps-publicservice is stopped.
Start to check whether the ps-publicservice is running
Start server, startup script: /data/docker/Install/linkis/sbin/ext/linkis-ps-publicservice
=====Java Start Command=====
nohup java -DserviceName=linkis-ps-publicservice -Xmx512M -XX:+UseG1GC -Xloggc:/data/docker/logs/linkis/linkis-ps-publicservice-gc.log -cp /data/docker/config/linkis-config:/data/docker/Install/linkis/lib/linkis-commons/public-module/:/data/docker/Install/linkis/lib/linkis-public-enhancements/linkis-ps-publicservice/:/* org.apache.linkis.filesystem.LinkisPublicServiceApp 2>&1 > /data/docker/logs/linkis/linkis-ps-publicservice.out &
nohup: redirecting stderr to stdout
server linkis-ps-publicservice start succeeded!
Succeed to start ps-publicservice

<-------------------------------->
sleeping 15s before start cg-linkismanager, please be patient
<-------------------------------->
Begin to start cg-linkismanager
Is local execution:sh /data/docker/Install/linkis/sbin/linkis-daemon.sh restart cg-linkismanager
server cg-linkismanager is stopped.
Start to check whether the cg-linkismanager is running
Start server, startup script: /data/docker/Install/linkis/sbin/ext/linkis-cg-linkismanager
=====Java Start Command=====
nohup java -DserviceName=linkis-cg-linkismanager -Xmx512M -XX:+UseG1GC -Xloggc:/data/docker/logs/linkis/linkis-cg-linkismanager-gc.log -cp /data/docker/config/linkis-config:/data/docker/Install/linkis/lib/linkis-commons/public-module/:/data/docker/Install/linkis/lib/linkis-computation-governance/linkis-cg-linkismanager/:/* org.apache.linkis.manager.am.LinkisManagerApplication 2>&1 > /data/docker/logs/linkis/linkis-cg-linkismanager.out &
nohup: redirecting stderr to stdout
server linkis-cg-linkismanager start succeeded!
Succeed to start cg-linkismanager

<-------------------------------->
sleeping 20s before start cg-entrance, please be patient
<-------------------------------->
Begin to start cg-entrance
Is local execution:sh /data/docker/Install/linkis/sbin/linkis-daemon.sh restart cg-entrance
server cg-entrance is stopped.
Start to check whether the cg-entrance is running
Start server, startup script: /data/docker/Install/linkis/sbin/ext/linkis-cg-entrance
=====Java Start Command=====
nohup java -DserviceName=linkis-cg-entrance -Xmx512M -XX:+UseG1GC -Xloggc:/data/docker/logs/linkis/linkis-cg-entrance-gc.log -cp /data/docker/config/linkis-config:/data/docker/Install/linkis/lib/linkis-commons/public-module/:/data/docker/Install/linkis/lib/linkis-computation-governance/linkis-cg-entrance/:/* org.apache.linkis.entrance.LinkisEntranceApplication 2>&1 > /data/docker/logs/linkis/linkis-cg-entrance.out &
nohup: redirecting stderr to stdout
server linkis-cg-entrance start succeeded!
Succeed to start cg-entrance

<-------------------------------->
<-------------------------------->
Begin to start cg-engineconnmanager
Is local execution:sh /data/docker/Install/linkis/sbin/linkis-daemon.sh restart cg-engineconnmanager
server cg-engineconnmanager is stopped.
Start to check whether the cg-engineconnmanager is running
Start server, startup script: /data/docker/Install/linkis/sbin/ext/linkis-cg-engineconnmanager
=====Java Start Command=====
nohup java -DserviceName=linkis-cg-engineconnmanager -Xmx512M -XX:+UseG1GC -Xloggc:/data/docker/logs/linkis/linkis-cg-engineconnmanager-gc.log -cp /data/docker/config/linkis-config:/data/docker/Install/linkis/lib/linkis-commons/public-module/:/data/docker/Install/linkis/lib/linkis-computation-governance/linkis-cg-engineconnmanager/:/* org.apache.linkis.ecm.server.LinkisECMApplication 2>&1 > /data/docker/logs/linkis/linkis-cg-engineconnmanager.out &
nohup: redirecting stderr to stdout
server linkis-cg-engineconnmanager start succeeded!
Succeed to start cg-engineconnmanager

<-------------------------------->
start-all shell script executed completely
Start to check all linkis microservice
<-------------------------------->
Begin to check mg-eureka
Is local execution:sh /data/docker/Install/linkis/sbin/linkis-daemon.sh status mg-eureka
2186
server mg-eureka is running.
<-------------------------------->
<-------------------------------->
Begin to check mg-gateway
Is local execution:sh /data/docker/Install/linkis/sbin/linkis-daemon.sh status mg-gateway
server mg-gateway is not running
ERROR: your linkis-mg-gateway microservice does not start successful !!! ERROR logs as follows :
Please check detail log, log path :/data/docker/Install/linkis/logs/linkis-mg-gateway.log
<---------------------------------------------------->
Is remote execution:tail -n 50 /data/docker/Install/linkis/logs/linkis-mg-gateway.log
Bad port 'linkis-mg-gateway'
<---------------------------------------------------->
Please check detail log, log path :/data/docker/Install/linkis/logs/linkis-mg-gateway.log
Failed to + start linkis

@eratio
Copy link
Author

eratio commented Oct 17, 2023

前面提示 mg-gateway 已成功启动,后面检查时又说没有启动。请问如何解决

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

3 participants
@eratio @xingyx and others