-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Caused by: java.net.UnknownHostException: jmenv.tbsite.net #2902
Comments
By the way, it's ok on win7. the same config. |
很遗憾,我这里也有这个问题。 |
这个问题没有解决吧,怎么就关闭了呢! |
是这样的,启动的时候 用bash ./startup.sh -m 模式 一定要填写模式。如果不填写 默认是default 至于default是什么样的配置我没了解过。 |
哦,好的,我再试下 |
关注我的简书:https://www.jianshu.com/p/8a795ff74aeb |
666 我想你应该去研究一下 default是什么样的配置 如果只是简单的发个文章告诉读者 加上模式就行了。这样是治标不治本的 |
复制nacos/conf/cluster.conf.example 到nacos/conf/cluster.conf 设置ip和端口 重启服务 |
遇到了这个问题,官方简直挖坑,ubuntu系统,sh不行,bash就可以了,做技术的能不能要点脸,这就关闭了 |
你好,这是我关闭的。不是官方关闭的。 你再启动的时候要选择启动模式 不然会使用default的配置 就会出这个问题
On 07/14/2020 15:10, sharkme wrote:
遇到了这个问题,官方简直挖坑,ubuntu系统,sh不行,bash就可以了,做技术的能不能要点脸,这就关闭了
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
对不起,误伤了,没有要喷你的意思,模式启动已经没有问题了,就是想吐槽下官方没做好的工作,气人 |
你好,我今天同样遇见了这个问题。我在搭建nacos集群,使用外部mysql数据库作为数据源。 在集群模式下,使用内置数据源则需要 那么使用外置数据源则是 我今天遇到的是在集群模式下,使用外置mysql数据源,遇见了这个问题 我确认hostname在hosts中存在且没有问题,指定端口启动端口设置没有问题,但是还是遇见了这个报错 |
可以尝试下用bash启动 |
我已经尝试过了,但是还是不行,我先去看看源码问题可能出在哪里。 |
请问这个问题到底要怎么解决呀,楼上都没有给出解决方案? |
还是报Caused by: java.net.UnknownHostException: jmenv.tbsite.net |
解决了吗 |
集群模式要设置cluster.conf |
说出来可能不信,太沙雕的错误了。conf中只给了一个cluster.conf.example文件,需要copy成一个cluster.conf文件再修改。 |
@xuw027 有用。 下载下来, application.properties 要配资数据库; 希望后面的兄弟不要再踩坑浪费时间,官方也完善一下稳定、默认配置。 |
真的其实坑,连接mysql8又是一个艰难的事情
…------------------ 原始邮件 ------------------
发件人: "emmerich"<notifications@github.com>;
发送时间: 2020年8月10日(星期一) 晚上9:53
收件人: "alibaba/nacos"<nacos@noreply.github.com>;
抄送: "╰早《…》應該♀放手╯"<3121831267@qq.com>; "Comment"<comment@noreply.github.com>;
主题: Re: [alibaba/nacos] Caused by: java.net.UnknownHostException: jmenv.tbsite.net (#2902)
@xuw027 有用。
下载下来, application.properties 要配资数据库;
指定JAVA_HOME环境 (或者修改startup.sh);
另外拷贝一份cluster.conf.sample出来--> cluster.conf。
希望后面的兄弟不要再踩坑浪费时间,官方也完善一下稳定、默认配置。
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
macOS,使用bash startup.sh成功启动 |
我这是ubuntu,使用过了没用的一直报
…------------------ 原始邮件 ------------------
发件人: "Lazarus1995"<notifications@github.com>;
发送时间: 2020年8月12日(星期三) 下午2:37
收件人: "alibaba/nacos"<nacos@noreply.github.com>;
抄送: "╰早《…》應該♀放手╯"<3121831267@qq.com>; "Comment"<comment@noreply.github.com>;
主题: Re: [alibaba/nacos] Caused by: java.net.UnknownHostException: jmenv.tbsite.net (#2902)
macOS,使用bash startup.sh成功启动
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
正解。在cluster.conf里加个ip就行了 |
在startuo.cmd 里面28行 改成单机模式就行了 |
单机环境下遇到这个报错 .改运行模式确实可以解决!多谢 |
第27行 将set MODE="cluster" 修改为 MODE="standalone" 问题就解决了 |
ssss |
我们在用centos6的时候,nacos 2.1.1镜像时会遇到这种问题,都换centos7版本的宿主机就可以了。 |
我在WLS中启动用 |
这是来自QQ邮箱的假期自动回复邮件。你好,我最近正在休假中,无法亲自回复你的邮件。我将在假期结束后,尽快给你回复。
|
Describe what you expected to happen
启动时nacos.log 出现了如下异常:
From the above code, I can know that jmenv.tbsite.net has no configuration mapping in the host file. But I just start nacos locally, why should I map this domain name?
By the way, it's ok on win7. the same config.
以上代码我可以得知,jmenv.tbsite.net 在host文件中没有配置映射。但是我只是本地启动一个nacos,为什么要映射这个域名?
相同配置在windows7上可正常运行
Tell us your environment
Linux version 4.19.0-8-amd64 (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.98-1 (2020-01-26)
java version "1.8.0_251"
nacos-server-1.3.0-BETA
The text was updated successfully, but these errors were encountered: