无法启动emacs服务器
当我在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
超级用户可能是更合适的场所。他们也倾向于处理与操作系统相关的问题。
也就是说,您是否绝对确定客户端尚未在相关主机上运行?这将阻止它绑定到套接字...确保用户具有在该系统上创建套接字的适当权限。确保套接字没有陷入某种中间状态(可能权限设置错误,现在用户无法创建新权限)。尝试删除套接字(如果存在),然后让 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.