记录一次平台local环境通过MQ异步发消息转码不好使问题

张开发
2026/4/21 13:43:47 15 分钟阅读
记录一次平台local环境通过MQ异步发消息转码不好使问题
前言今天上传文档但是一直提示转码中后来查看是mq没有给转码发消息就查看转码服务与openoffice服务查看问题所在1、首先是openoffice服务通过docker ps -a| grep openoffice命令查看服务并没有启动后来看端口也访问不通防火墙也没开判断服务没有启动启动之后恢复正常了[rootzjy02 files]# docker ps -a| grep openoffice f9a768ce3442 954l/openoffice:4.1.13 /bin/sh -c /opt/op… 6 months ago Exited (255) 5 months ago 0.0.0.0:8100-8100/tcp, :::8100-8100/tcp openOffice [rootzjy02 files]# nc -v 192.168.1.99 8100 Ncat: Version 7.50 ( https://nmap.org/ncat ) Ncat: Connection refused. [rootzjy02 files]# systemctl status firewalld ● firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled) Active: inactive (dead) since Mon 2025-12-15 16:44:02 CST; 2 weeks 6 days ago Docs: man:firewalld(1) Process: 37266 ExecStart/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS (codeexited, status0/SUCCESS) Main PID: 37266 (codeexited, status0/SUCCESS) Dec 15 16:41:32 zjy02 firewalld[37266]: WARNING: COMMAND_FAILED: /usr/sbin/iptables -w10 -t filter -X DOCKER failed: iptable...t name. Dec 15 16:41:32 zjy02 firewalld[37266]: WARNING: COMMAND_FAILED: /usr/sbin/iptables -w10 -t filter -F DOCKER-ISOLATION-STAGE-...t name. Dec 15 16:41:32 zjy02 firewalld[37266]: WARNING: COMMAND_FAILED: /usr/sbin/iptables -w10 -t filter -X DOCKER-ISOLATION-STAGE-...t name. Dec 15 16:41:32 zjy02 firewalld[37266]: WARNING: COMMAND_FAILED: /usr/sbin/iptables -w10 -t filter -F DOCKER-ISOLATION-STAGE-...t name. Dec 15 16:41:32 zjy02 firewalld[37266]: WARNING: COMMAND_FAILED: /usr/sbin/iptables -w10 -t filter -X DOCKER-ISOLATION-STAGE-...t name. Dec 15 16:41:32 zjy02 firewalld[37266]: WARNING: COMMAND_FAILED: /usr/sbin/iptables -w10 -t filter -F DOCKER-ISOLATION faile...t name. Dec 15 16:41:32 zjy02 firewalld[37266]: WARNING: COMMAND_FAILED: /usr/sbin/iptables -w10 -t filter -X DOCKER-ISOLATION faile...t name. Dec 15 16:41:52 zjy02 firewalld[37266]: WARNING: AllowZoneDrifting is enabled. This is considered an insecure configuration op...it now. Dec 15 16:43:46 zjy02 systemd[1]: Stopping firewalld - dynamic firewall daemon... Dec 15 16:44:02 zjy02 systemd[1]: Stopped firewalld - dynamic firewall daemon. Hint: Some lines were ellipsized, use -l to show in full. [rootzjy02 files]# nc -v 192.168.1.100 8100 Ncat: Version 7.50 ( https://nmap.org/ncat ) Ncat: Connection refused. [rootzjy02 files]# docker run -d --name openOffice -p 8100:8100 -v /home/openoffice/files/:/data/files 954l/openoffice:4.1.13 docker: Error response from daemon: Conflict. The container name /openOffice is already in use by container f9a768ce34426431aa6bd0f0d8a2d061cc6b8346abf62aa505a4918406e6f0c9. You have to remove (or rename) that container to be able to reuse that name. See docker run --help. #启动openoffice [rootzjy02 files]# docker logs openOffice [rootzjy02 files]# docker start openOffice openOffice [rootzjy02 files]# docker exec openOffice netstat -tlnp OCI runtime exec failed: exec failed: unable to start container process: exec: netstat: executable file not found in $PATH: unknown [rootzjy02 files]# docker ps -a| grep openoffice f9a768ce3442 954l/openoffice:4.1.13 /bin/sh -c /opt/op… 6 months ago Up 39 seconds 0.0.0.0:8100-8100/tcp, :::8100-8100/tcp openOffice [rootzjy02 files]# nc -v 192.168.1.100 8100 Ncat: Version 7.50 ( https://nmap.org/ncat ) Ncat: Connected to 192.168.1.100:8100. ecom.sun.star.bridge.XProtocolPropertiesUrpProtocolProperties.UrpProtocolPropertiesTidH^C [rootzjy02 files]#2、查看转码服务发现服务application.yml配置文件的地址有一个有异常重新配置之后重新打包过了5分钟左右发现日志恢复正常开始陆续转码了3、后来发现还是有报错后来访问9091那个地址发现请求不通最后发现是因为这台服务器的防火墙开着呢最后将9091这个端口加入到白名单然后测试发现可以正常转码了问题得以解决

更多文章