Missing dependencies & 'nobody' user issue

393 views
Skip to first unread message

Edward Poot

unread,
May 23, 2017, 9:54:21 AM5/23/17
to Phusion Passenger Discussions
Hi,

I use Passenger 5 and the logs display:

website_1    | App 267 stderr:  [passenger_native_support.so] trying to compile for the current user (nobody) and Ruby interpreter...

website_1    | App 267 stderr:      (set PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY=0 to disable)

website_1    | App 267 stderr:      Warning: compilation didn't succeed. To learn why, read this file:

website_1    | App 267 stderr:      /tmp/passenger_native_support-1w5dwso.log

website_1    | App 267 stderr:  [passenger_native_support.so] finding downloads for the current Ruby interpreter...

website_1    | App 267 stderr:      (set PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY=0 to disable)

website_1    | App 267 stderr:      Could not download https://oss-binaries.phusionpassenger.com/binaries/passenger/by_release/5.1.4/rubyext-ruby-2.4.0-x86_64-linux.tar.gz: The requested URL returned error: 404 Not Found

website_1    | App 267 stderr:      Trying next mirror...

website_1    | App 267 stderr:      Could not download https://s3.amazonaws.com/phusion-passenger/binaries/passenger/by_release/5.1.4/rubyext-ruby-2.4.0-x86_64-linux.tar.gz: The requested URL returned error: 403 Forbidden

website_1    | App 267 stderr:  [passenger_native_support.so] will not be used (can't compile or download) 

website_1    | App 267 stderr:   --> Passenger will still operate normally.


It seem there are two issues:
  1. Somehow the current user is nobody. Nginx config has passenger_user set to root. What else can this relate to?
  2. There are two native binaries not found on multiple mirrors.

Any input is appreciated. My app functions normally but this is still strange.

Camden Narzt

unread,
May 23, 2017, 1:48:37 PM5/23/17
to Phusion Passenger Discussions
Try Ruby 2.4.1, Ruby 2.4.0 never got native extensions built for it.

As to the nobody user, this should help: https://www.phusionpassenger.com/library/deploy/nginx/user_sandboxing.html#caveats-troubleshooting
Reply all
Reply to author
Forward
0 new messages