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/10/09 09:42:40 UTC

[GitHub] [apisix-dashboard] zaunist opened a new issue #2161: bug: manager-api services can't stop

zaunist opened a new issue #2161:
URL: https://github.com/apache/apisix-dashboard/issues/2161


   ### Issue description
   
   I compiled manager-api from the documentation and then ran `sudo./manager-api start`. So far everything is fine, but when I tried to stop manager-API I failed, I ran `sudo./manager-api stop` and got no response. I then use `kill` to kill the corresponding process, but the system will automatically create a manager-API process.
   
   
   
   ### Expected behavior
   
   apisix-dashboard is disabled properly
   
   ### How to Reproduce
   
   Occasionally
   
   ### Screenshots
   
   <img width="706" alt="image" src="https://user-images.githubusercontent.com/38528079/136652942-2a997e6a-10cb-469b-82bb-282b209da751.png">
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):2.10.0
   - OS (cmd: `uname -a`):Darwin kusaka.local 20.6.0 Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:21 PDT 2021; root:xnu-7195.141.6~3/RELEASE_X86_64 x86_64
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):nginx version: openresty/1.19.9.1
   - etcd version, if have (cmd: run `etcd --version`):etcd Version: 3.5.0
   - apisix-dashboard version, if have:2.9.0
   - Browser version, if have:
   
   
   ### Additional context
   
   _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-dashboard] Baoyuantop commented on issue #2161: bug: manager-api services can't stop

Posted by GitBox <gi...@apache.org>.
Baoyuantop commented on issue #2161:
URL: https://github.com/apache/apisix-dashboard/issues/2161#issuecomment-961581363






-- 
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-dashboard] bzp2010 commented on issue #2161: bug: manager-api services can't stop

Posted by GitBox <gi...@apache.org>.
bzp2010 commented on issue #2161:
URL: https://github.com/apache/apisix-dashboard/issues/2161#issuecomment-939270889


   @zaunist Attempt was made to execute the Manager API remove command.


-- 
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-dashboard] zaunist commented on issue #2161: bug: manager-api services can't stop

Posted by GitBox <gi...@apache.org>.
zaunist commented on issue #2161:
URL: https://github.com/apache/apisix-dashboard/issues/2161#issuecomment-939271936


   Solve it,thanks


-- 
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-dashboard] zaunist closed issue #2161: bug: manager-api services can't stop

Posted by GitBox <gi...@apache.org>.
zaunist closed issue #2161:
URL: https://github.com/apache/apisix-dashboard/issues/2161


   


-- 
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-dashboard] bzp2010 commented on issue #2161: bug: manager-api services can't stop

Posted by GitBox <gi...@apache.org>.
bzp2010 commented on issue #2161:
URL: https://github.com/apache/apisix-dashboard/issues/2161#issuecomment-961584329


   @Baoyuantop You need to use the `ps` command to view the PID of the program and stop it.


-- 
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-dashboard] zaunist commented on issue #2161: bug: manager-api services can't stop

Posted by GitBox <gi...@apache.org>.
zaunist commented on issue #2161:
URL: https://github.com/apache/apisix-dashboard/issues/2161#issuecomment-939267672


   > @zaunist Please check that the /tmp/manager-api.pid file exists.
   
   The file exists, and a new manager-api.pid is created with each reboot


-- 
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-dashboard] bzp2010 commented on issue #2161: bug: manager-api services can't stop

Posted by GitBox <gi...@apache.org>.
bzp2010 commented on issue #2161:
URL: https://github.com/apache/apisix-dashboard/issues/2161#issuecomment-939267445


   @zaunist Please check that the /tmp/manager-api.pid file exists.
   
   


-- 
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-dashboard] bzp2010 commented on issue #2161: bug: manager-api services can't stop

Posted by GitBox <gi...@apache.org>.
bzp2010 commented on issue #2161:
URL: https://github.com/apache/apisix-dashboard/issues/2161#issuecomment-961584329


   @Baoyuantop You need to use the `ps` command to view the PID of the program and stop it.


-- 
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-dashboard] bzp2010 commented on issue #2161: bug: manager-api services can't stop

Posted by GitBox <gi...@apache.org>.
bzp2010 commented on issue #2161:
URL: https://github.com/apache/apisix-dashboard/issues/2161#issuecomment-961584329


   @Baoyuantop You need to use the `ps` command to view the PID of the program and stop it.


-- 
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-dashboard] zaunist edited a comment on issue #2161: bug: manager-api services can't stop

Posted by GitBox <gi...@apache.org>.
zaunist edited a comment on issue #2161:
URL: https://github.com/apache/apisix-dashboard/issues/2161#issuecomment-939267672


   > @zaunist Please check that the /tmp/manager-api.pid file exists.
   
   The file exists, and a new manager-api.pid is created with each restart


-- 
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-dashboard] Baoyuantop commented on issue #2161: bug: manager-api services can't stop

Posted by GitBox <gi...@apache.org>.
Baoyuantop commented on issue #2161:
URL: https://github.com/apache/apisix-dashboard/issues/2161#issuecomment-961581363


   Hi @bzp2010 , I ran into a similar problem, but `failed to get manager-api pid: open /tmp/manager-api.pid: no such file or directory`, I checked that there is no such file.


-- 
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-dashboard] Baoyuantop commented on issue #2161: bug: manager-api services can't stop

Posted by GitBox <gi...@apache.org>.
Baoyuantop commented on issue #2161:
URL: https://github.com/apache/apisix-dashboard/issues/2161#issuecomment-961615905


   I was running on macOS and finally I used `launchctl unload /Library/LaunchDaemons/apisix-dashboard.plist` to solve.


-- 
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-dashboard] Baoyuantop commented on issue #2161: bug: manager-api services can't stop

Posted by GitBox <gi...@apache.org>.
Baoyuantop commented on issue #2161:
URL: https://github.com/apache/apisix-dashboard/issues/2161#issuecomment-961581363






-- 
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