无法启动emacs服务器

发布于 2024-11-01 22:38:17 字数 225 浏览 1 评论 0原文

当我在 Emacs 中运行 start-server 时,我的 *Messages* 缓冲区中出现以下内容:

 apply: Cannot bind server socket: cannot assign requested address

此 Emacs 二进制文件在我站点的一堆主机上可用,但仅在一台主机上有问题。不确定原因是什么。有人知道我如何开始调试这个吗?

When I run start-server in Emacs I get the following in my *Messages* buffer:

 apply: Cannot bind server socket: cannot assign requested address

This Emacs binary is available on a bunch of hosts at my site but it only has a problem on one host. Not sure what the cause is. Does anybody have an idea about how I can begin to debug this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

调妓 2024-11-08 22:38:17

超级用户可能是更合适的场所。他们也倾向于处理与操作系统相关的问题。

也就是说,您是否绝对确定客户端尚未在相关主机上运行?这将阻止它绑定到套接字...确保用户具有在该系统上创建套接字的适当权限。确保套接字没有陷入某种中间状态(可能权限设置错误,现在用户无法创建新权限)。尝试删除套接字(如果存在),然后让 Emacs 创建一个新套接字。

Super User is probably a more appropriate venue for this. They tend to deal with OS-related questions as well.

That said, are you absolutely certain that the client isn't already running on the host in question? That would prevent it from binding to the socket... Make sure the user has appropriate permissions to create the socket on that system. Make sure that the socket isn't stuck in some intermediate state (maybe the permissions got set wrong, and now the user can't create a new one). Try deleting the socket if it exists, and let Emacs create a new one.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文