Skip to content
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

openim starts kafka and reports error bash: line 1: /opt/bitnami/kafka/create-topic.sh: Permission denied #2551

Open
17674100338 opened this issue Aug 23, 2024 · 8 comments
Labels
bug Categorizes issue or PR as related to a bug.

Comments

@17674100338
Copy link

OpenIM Server Version

3.8

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Docker Deployment

Bug Description and Steps to Reproduce

如图,kafka报错
图片

Screenshots Link

No response

@17674100338 17674100338 added the bug Categorizes issue or PR as related to a bug. label Aug 23, 2024
@OpenIM-Robot OpenIM-Robot changed the title openim启动kafka报错bash: line 1: /opt/bitnami/kafka/create-topic.sh: Permission denied openim starts kafka and reports error bash: line 1: /opt/bitnami/kafka/create-topic.sh: Permission denied Aug 23, 2024
@17674100338
Copy link
Author

重启docker后又有新报错
image

@Bloomingg
Copy link
Member

Bloomingg commented Aug 23, 2024

Please check whether the script has execution permission. Most likely it is because you transferred the code from Windows or other platforms to the server, which caused the script permission problem.

@17674100338
Copy link
Author

请检查脚本是否有执行权限,很可能是您将代码从Windows或其他平台传输到服务器,导致脚本权限问题。

文件位置没有看到有这个脚本,脚本是在别的位置吗?我这个是直接docker打包传输过去的

@OpenIM-Robot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Please check whether the script has execution permissions. It is likely that you transferred the code from Windows or other platforms to the server, causing script permission issues.

I don't see this script in the file location. Is the script located somewhere else? I packaged this directly with docker and transferred it there.

@17674100338
Copy link
Author

请检查脚本是否有执行权限。最有可能是因为您将代码从 Windows 或其他平台传输到服务器,从而导致了脚本权限问题。

现在又是新的报错了
图片

@OpenIM-Robot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Please check whether the script has execution permission. Most likely, you are transferring code from Windows or another platform to the server, causing a script permissions issue.

Now there is a new error
Picture

@skiffer-git
Copy link
Member

docker ps

@OpenIM-Robot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


docker ps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

4 participants