[MacPorts] #68596: After installing Nginx, I can't shut down Redis (also installed by port) because the error "Failed opening the temp RDB file temp-8712.rdb (in server root dir /opt/local/var/log/nginx) for saving: Permission denied"

MacPorts noreply at macports.org
Wed Nov 1 02:24:26 UTC 2023


#68596: After installing Nginx, I can't shut down Redis (also installed by port)
because the error "Failed opening the temp RDB file temp-8712.rdb (in
server root dir /opt/local/var/log/nginx) for saving: Permission denied"
--------------------------+-------------------------
  Reporter:  qiulang      |      Owner:  Schamschula
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  nginx redis  |
--------------------------+-------------------------

Comment (by qiulang):

 Thanks for the reply. Now I know that starting nginx without sudo will
 involve quite some work. Since I am not a nginx expert I will just give
 up.

 About the redis, as I said in the previous comment, "Sorry, it is really
 not a bug. It is just that I forgot redis will write a log to the
 directory when it is started and I happened to start redis at
 /opt/local/var/log/nginx/ so now I can't shut it down."


 I don't know how to close my ticket. But I have considered it solved.
 Thanks for all the comments.

-- 
Ticket URL: <https://trac.macports.org/ticket/68596#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list