我试图安装红熊猫时出错。
$ curl -1sLf 'https://packages.vectorized.io/nzc4ZYQK3WRGd9sy/redpanda/cfg/setup/bash.deb.sh' | sudo -E bash && sudo apt install redpanda -y && sudo systemctl start redpanda
Executing the setup script for the 'vectorized/redpanda' repository ...
OK: Checking for required executable 'curl' ...
OK: Checking for required executable 'apt-get' ...
OK: Detecting your OS distribution and release using system methods ...
^^^^: ... Detected/provided for your OS/distribution, version and architecture:
>>>>:
>>>>: ... distro=ubuntu version=20.04 codename=focal arch=x86_64
>>>>:
OK: Checking for apt dependency 'apt-transport-https' ...
OK: Checking for apt dependency 'ca-certificates' ...
OK: Checking for apt dependency 'gnupg' ...
RUN: Importing 'vectorized/redpanda' repository GPG key into OK: Importing 'vectorized/redpanda' repository GPG key into apt ...
OK: Checking if upstream install config is OK ...
OK: Installing 'vectorized/redpanda' repository via apt ...
OK: Updating apt repository metadata cache ...
OK: The repository has been installed successfully - You're ready to rock!
Reading package lists... Done
Building dependency tree
Reading state information... Done
redpanda is already the newest version (21.8.1-beta2-1-4dde38a2).
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
**Failed to start redpanda.service: Unit redpanda.service not found.**发布于 2021-08-10 13:00:26
似乎找不到redpanda.service了。您能检查一下您的服务吗,它可能有不同的名称。
ls /lib/systemd/system | grep redpanda那就从你找到的名字开始。如果找不到服务,请重新安装它。
sudo apt purge redpandacurl -1sLf 'https://packages.vectorized.io/nzc4ZYQK3WRGd9sy/redpanda/cfg/setup/bash.deb.sh' | sudo -E bash && \
sudo apt install redpanda -y && \
sudo systemctl start redpanda如果这个不能解决您的问题,您也应该向redpanda寻求帮助。或者等待一个在这里有redpanda经验的人。
https://askubuntu.com/questions/1357149
复制相似问题