[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
Tue Oct 31 14:36:15 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 Schamschula):

 Generally, apache and nginx are bound to system ports < 1043 (80 and 443).
 These can only be opened by the root process. If you want to run nginx on
 port 8080, etc. you can invoke the master process as non-root.

 See: https://docs.nginx.com/nginx/admin-guide/basic-functionality/runtime-
 control/#master-and-worker-processes

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


More information about the macports-tickets mailing list