Ubuntu WSL上的Aerospike_Err_Connection套接字写入错误:32,127.0.0.1:3000 [英] AEROSPIKE_ERR_CONNECTION Socket write error: 32, 127.0.0.1:3000 on ubuntu wsl

查看:25
本文介绍了Ubuntu WSL上的Aerospike_Err_Connection套接字写入错误:32,127.0.0.1:3000的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  1. 我正在尝试在ubuntu WSL上安装Aerospike。

安装了Aerospike工具、Aerospike服务器社区。使用Aerospike还需要满足哪些其他要求?

我收到Aerospike连接错误

*ubuntu@MANU:/$* ls

aerospike-server-community-5.7.0.8-ubuntu20.04  bin   dev  home  lib    lib64   media  opt   root  sbin  srv  tmp  var
aerospike.tgz                                   boot  etc  init  lib32  libx32  mnt    proc  run   snap  sys  usr

*ubuntu@MANU:/$* cd aerospike-server-community-5.7.0.8-ubuntu20.04

*ubuntu@MANU:/aerospike-server-community-5.7.0.8-ubuntu20.04$* aql

Seed:         127.0.0.1

User:         None

Config File:  /etc/aerospike/astools.conf /home/ubuntu/.aerospike/astools.conf

2021-11-20 13:10:36 WARN Failed to connect to seed 127.0.0.1 3000. AEROSPIKE_ERR_CONNECTION Socket write error: 32, 127.0.0.1:3000
Error -10: Failed to connect
  1. 尝试启动Aerospike时出现此错误:
*ubuntu@NUPUR:/aerospike-server-community-5.7.0.8-ubuntu20.04$* systemctl start aerospike

System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down

编辑:

我找到了系统ctl无法在此处运行的原因:https://unix.stackexchange.com/questions/646338/problem-creating-a-service-on-kali

服务也不起作用。

ubuntu@NUPUR:/aerospike-server-community-5.7.0.8-ubuntu20.04$* sudo service aerospike start

[sudo] password for ubuntu:

aerospike: unrecognized service

推荐答案

确保安装并启动了服务器。请查看Ubuntu install documentation中的逐步说明。如果您已启动服务器,但仍收到错误,请检查服务器日志文件,了解有关阻止服务器正常启动的详细信息。

这篇关于Ubuntu WSL上的Aerospike_Err_Connection套接字写入错误:32,127.0.0.1:3000的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆