{"action":"created","issue":{"url":"https://api.github.com/repos/phusion/passenger/issues/1667","labels_url":"https://api.github.com/repos/phusion/passenger/issues/1667/labels{/name}","comments_url":"https://api.github.com/repos/phusion/passenger/issues/1667/comments","events_url":"https://api.github.com/repos/phusion/passenger/issues/1667/events","html_url":"https://github.com/phusion/passenger/issues/1667","id":116848742,"number":1667,"title":"Permission problem on OpenBSD 5.8 / nginx-1.9.3 / passenger-5.0.14","user":{"login":"peterljung","id":10199777,"avatar_url":"https://avatars.githubusercontent.com/u/10199777?v=3","gravatar_id":"","url":"https://api.github.com/users/peterljung","html_url":"https://github.com/peterljung","followers_url":"https://api.github.com/users/peterljung/followers","following_url":"https://api.github.com/users/peterljung/following{/other_user}","gists_url":"https://api.github.com/users/peterljung/gists{/gist_id}","starred_url":"https://api.github.com/users/peterljung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterljung/subscriptions","organizations_url":"https://api.github.com/users/peterljung/orgs","repos_url":"https://api.github.com/users/peterljung/repos","events_url":"https://api.github.com/users/peterljung/events{/privacy}","received_events_url":"https://api.github.com/users/peterljung/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phusion/passenger/labels/SupportCentral","name":"SupportCentral","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-13T20:46:22Z","updated_at":"2015-11-17T11:20:14Z","closed_at":null,"body":"I have some permission problem after an upgrade to OpenBSD 5.8. Any hint what problem I might have? I'm confused by the error message as the file has been created ...\r\n\r\n```\r\n2015/11/13 21:36:15 [alert] 20186#0: could not create /tmp/passenger.g9krmg4/web_server_control_process.pid (13: Permission denied)\r\n2015/11/13 21:36:15 [alert] 24799#0: could not create /tmp/passenger.g9krmg4/web_server_control_process.pid (13: Permission denied)\r\n2015/11/13 21:36:15 [alert] 8203#0: could not create /tmp/passenger.g9krmg4/web_server_control_process.pid (13: Permission denied)\r\n2015/11/13 21:36:15 [alert] 11025#0: could not create /tmp/passenger.g9krmg4/web_server_control_process.pid (13: Permission denied)\r\n2015/11/13 21:36:19 [crit] 20186#0: *1 connect() to unix:/passenger_core failed (13: Permission denied) while connecting to upstream, client: 192.168.0.1, server: blog.dittlag.se, request: \"GET / HTTP/1.1\", upstream: \"passenger:unix:/passenger_core:\", host: \"blog.dittlag.se\"\r\n2015/11/13 21:36:19 [crit] 20186#0: *1 connect() to unix:/tmp/passenger.g9krmg4/agents.s/core failed (13: Permission denied) while connecting to upstream, client: 192.168.0.1, server: blog.dittlag.se, request: \"GET /favicon.ico HTTP/1.1\", upstream: \"passenger:unix:/tmp/passenger.g9krmg4/agents.s/core:\", host: \"blog.dittlag.se\", referrer: \"http://blog.dittlag.se/\"\r\n\r\n# ls -l /tmp/passenger.g9krmg4/\r\ntotal 28\r\ndrwxr-xr-x  2 www  www  512 Nov 13 21:36 agents.s\r\ndrwx--x--x  2 www  www  512 Nov 13 21:36 apps.s\r\n-rw-r--r--  1 www  www    4 Nov 13 21:36 core.pid\r\n-rw-r--r--  1 www  www    0 Nov 13 21:36 creation_finalized\r\n-rw-------  1 www  www   24 Nov 13 21:36 full_admin_password.txt\r\n-rw-r--r--  1 www  www    0 Nov 13 21:36 lock\r\n-rw-r--r--  1 www  www  359 Nov 13 21:36 properties.json\r\n-rw-------  1 www  www   24 Nov 13 21:36 read_only_admin_password.txt\r\n-rw-r--r--  1 www  www    5 Nov 13 21:36 watchdog.pid\r\n-rw-r--r--  1 www  www    0 Nov 13 21:36 web_server_control_process.pid\r\n\r\n# uname -a\r\nOpenBSD core.lounge.se 5.8 GENERIC.MP#1236 amd64\r\n\r\n# pkg_info\r\n...\r\nruby22-passenger-5.0.14 ruby web application server/nginx module\r\n...\r\nnginx-1.9.3p3-passenger robust and small HTTP server and mail proxy server\r\n...\r\n\r\n# ruby -v\r\nruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-openbsd]\r\n\r\n# whereis ruby\r\n/usr/local/bin/ruby\r\n\r\n# cat /etc/nginx/nginx.conf\r\n\r\nuser  www;\r\n\r\nworker_processes        4;              # To use 4 cores\r\nworker_rlimit_nofile    1024;           # Make sure sysctl.conf and login.conf reflect this\r\n\r\nevents {\r\n    worker_connections  1024;\r\n}\r\n\r\nhttp {\r\n    include             mime.types;\r\n    default_type        application/octet-stream;\r\n\r\n    keepalive_timeout   65;\r\n\r\n    # The passenger root. (passenger-config --root)\r\n    passenger_user_switching off;\r\n    passenger_root      /usr/local/lib/phusion-passenger22;\r\n    passenger_ruby      /usr/local/bin/ruby;\r\n\r\n    # Optional passenger configuration\r\n    passenger_max_pool_size     20;\r\n    passenger_log_level         0;\r\n\r\n    passenger_default_user      www;            # Only used when user switching fails\r\n    passenger_default_group     www;            # See modrails docs\r\n\r\n    rails_spawn_method          smart;\r\n    passenger_pool_idle_time    0;              # (seconds) 0 = don't shut down if not neccesary\r\n\r\n    include             /etc/nginx/sites-enabled/*;\r\n\r\n    server {\r\n        listen                  80;\r\n        server_name             blog.dittlag.se;\r\n\r\n        root                    /var/www/pages/rails/eman-blog/public;\r\n        passenger_enabled       on;\r\n        rails_env               production;\r\n    }\r\n    passenger_pre_start http://blog.dittlag.se/;\r\n}\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/phusion/passenger/issues/comments/157341308","html_url":"https://github.com/phusion/passenger/issues/1667#issuecomment-157341308","issue_url":"https://api.github.com/repos/phusion/passenger/issues/1667","id":157341308,"user":{"login":"OnixGH","id":10709325,"avatar_url":"https://avatars.githubusercontent.com/u/10709325?v=3","gravatar_id":"","url":"https://api.github.com/users/OnixGH","html_url":"https://github.com/OnixGH","followers_url":"https://api.github.com/users/OnixGH/followers","following_url":"https://api.github.com/users/OnixGH/following{/other_user}","gists_url":"https://api.github.com/users/OnixGH/gists{/gist_id}","starred_url":"https://api.github.com/users/OnixGH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OnixGH/subscriptions","organizations_url":"https://api.github.com/users/OnixGH/orgs","repos_url":"https://api.github.com/users/OnixGH/repos","events_url":"https://api.github.com/users/OnixGH/events{/privacy}","received_events_url":"https://api.github.com/users/OnixGH/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T11:20:14Z","updated_at":"2015-11-17T11:20:14Z","body":"Any word from the package maintainer?\r\n\r\nBtw. /tmp and /var/www/ aren't by any chance mounted on network storage (e.g. NFS)? Because that wouldn't work."}}