You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/09/11 12:57:16 UTC

[GitHub] [apisix] cielswift opened a new issue #5042: Permission deniedbug:

cielswift opened a new issue #5042:
URL: https://github.com/apache/apisix/issues/5042


   ### Issue description
   
   #将 Apache APISIX 的 Docker 镜像下载到本地
   git clone https://github.com/apache/apisix-docker.git
   # 将当前的目录切换到 apisix-docker/example 路径下
   cd apisix-docker/example
   # 运行 docker-compose 命令,安装 Apache APISIX
   docker-compose -p docker-apisix up -d
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):
   - OS (cmd: `uname -a`):
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   - etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
   - apisix-dashboard version, if have:
   - luarocks version, if the issue is about installation (cmd: `luarocks --version`):
   
   
   ### Steps to reproduce
   
   #将 Apache APISIX 的 Docker 镜像下载到本地
   git clone https://github.com/apache/apisix-docker.git
   # 将当前的目录切换到 apisix-docker/example 路径下
   cd apisix-docker/example
   # 运行 docker-compose 命令,安装 Apache APISIX
   docker-compose -p docker-apisix up -d
   
   ### Actual result
   
   /usr/local/openresty/luajit/bin/luajit ./apisix/cli/apisix.lua init
   failed to read local yaml config of apisix: failed to open file: /usr/local/apisix/conf/config.yaml, error info:/usr/local/apisix/conf/config.yaml: Permission denie
   
   ### Error log
   
   /usr/local/openresty/luajit/bin/luajit ./apisix/cli/apisix.lua init
   failed to read local yaml config of apisix: failed to open file: /usr/local/apisix/conf/config.yaml, error info:/usr/local/apisix/conf/config.yaml: Permission denie
   
   ### Expected result
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] cielswift commented on issue #5042: Permission deniedbug:

Posted by GitBox <gi...@apache.org>.
cielswift commented on issue #5042:
URL: https://github.com/apache/apisix/issues/5042#issuecomment-922609586


   @leslie-tsang  
   ![image](https://user-images.githubusercontent.com/42295829/133953676-1222aeab-a279-496d-a139-cae289ad89b3.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] leslie-tsang commented on issue #5042: Permission deniedbug:

Posted by GitBox <gi...@apache.org>.
leslie-tsang commented on issue #5042:
URL: https://github.com/apache/apisix/issues/5042#issuecomment-917480777


   @cielswift Please follow cmd below and paste output as comment.
   ```bash
   # fetch OS
   uname -a
   
   # fetch user info
   id
   
   # fetch dockerd info (docker launch user may cause permission issue)
   ps aux | grep dockerd
   
   # fetch config.yaml permission (run in `apisix-docker/example`)
   ls -l example/apisix_conf/config.yaml
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] cielswift commented on issue #5042: Permission deniedbug:

Posted by GitBox <gi...@apache.org>.
cielswift commented on issue #5042:
URL: https://github.com/apache/apisix/issues/5042#issuecomment-922612278


   ![image](https://user-images.githubusercontent.com/42295829/133953785-b987804e-01aa-4f62-bf44-0746e40d0fbb.png)
   ![image](https://user-images.githubusercontent.com/42295829/133954022-1792d08e-93a3-4773-8c81-47357108a31d.png)
   not open


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander closed issue #5042: Permission deniedbug:

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #5042:
URL: https://github.com/apache/apisix/issues/5042


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] tokers commented on issue #5042: Permission deniedbug:

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #5042:
URL: https://github.com/apache/apisix/issues/5042#issuecomment-917417181


   @cielswift Could you show the permission of the `example/apisix_conf/config.yaml`?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander commented on issue #5042: Permission deniedbug:

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #5042:
URL: https://github.com/apache/apisix/issues/5042#issuecomment-921440080


   Closed as lack of response. Feel free to reopen it if need.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org