compilation didn't succeed - read /tmp/passenger_native_support-18m5ub8.log

337 views
Skip to first unread message

Chris Arndt

unread,
Mar 7, 2016, 12:15:33 PM3/7/16
to Phusion Passenger Discussions
Environment
Ubuntu 14.04 LTS
Phusion Passenger version is 5.0.26
Using Apache and RVM system-wide.

Question
How critical is it that Passenger compile successfully?  Log output "Warning: compilation didn't succeed".

When I receive the "compilation didn't succeed" message it said to look at "/tmp/passenger_native_support-18m5ub8.log" which its contents are:
# current user is: ruby_193
# mkdir -p /usr/lib/buildout/ruby/ruby-2.1.6-x86_64-linux
Encountered permission error, trying a different directory...
-------------------------------
# mkdir -p /home/ruby_193/.passenger/native_support/5.0.26/ruby-2.1.6-x86_64-linux
# cd /home/ruby_193/.passenger/native_support/5.0.26/ruby-2.1.6-x86_64-linux
# /usr/local/rvm/gems/ruby-2.1.6@xapp/wrappers/ruby /usr/lib/src/ruby_native_extension/extconf.rb
ruby: No such file or directory -- /usr/lib/src/ruby_native_extension/extconf.rb (LoadError)

Question
So, in the above "ruby: No such file or directory --", should I look into the LoadError issue?

Thank you,
Chris



In case it is helpful, below is from log file when I rebooted the server and contains the compilation didn't succeed error:
[ 2016-03-07 09:31:38.4853 8610/7f6582ffd700 age/Cor/ApiServer.h:570 ]: API request: GET /pool.txt?colorize=true&verbose=
[ 2016-03-07 09:31:38.5313 8610/7f6582ffd700 age/Sha/ApiServerUtils.h:253 ]: [Client A1] Authenticated with UID: 0
[ 2016-03-07 09:31:38.5315 8610/7f6582ffd700 age/Sha/ApiServerUtils.h:292 ]: [Client A1] Authenticated with administrator account: ro_admin
App 28223 stdout: 
App 28223 stderr:  [passenger_native_support.so] trying to compile for the current user (ruby_193) and Ruby interpreter...
App 28223 stderr: 
App 28223 stderr:      (set PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY=0 to disable)
App 28223 stderr: 
App 28223 stderr:      Warning: compilation didn't succeed. To learn why, read this file:
App 28223 stderr:      /tmp/passenger_native_support-lnlpkp.log
App 28223 stderr:  [passenger_native_support.so] not downloading because passenger wasn't installed from a release package
App 28223 stderr:  [passenger_native_support.so] will not be used (can't compile or download) 
App 28223 stderr:   --> Passenger will still operate normally.
[ 2016-03-07 09:34:40.2851 8610/7f658826d700 age/Cor/Spa/SmartSpawner.h:309 ]: Preloader for /ruby_193/apps/xapp/current started on PID 28223, listening on unix:/tmp/passenger.GulfsRG/apps.s/preloader.obnybd
App 28328 stdout: 
[ 2016-03-07 09:34:50.0856 8610/7f6582ffd700 age/Cor/ApiServer.h:570 ]: API request: GET /pool.txt?colorize=true&verbose=
[ 2016-03-07 09:34:50.0857 8610/7f6582ffd700 age/Sha/ApiServerUtils.h:253 ]: [Client A2] Authenticated with UID: 0
[ 2016-03-07 09:34:50.0857 8610/7f6582ffd700 age/Sha/ApiServerUtils.h:292 ]: [Client A2] Authenticated with administrator account: ro_admin
[ 2016-03-07 09:36:26.1355 8610/7f6582ffd700 age/Cor/ApiServer.h:570 ]: API request: GET /pool.txt?colorize=true&verbose=
[ 2016-03-07 09:36:26.1356 8610/7f6582ffd700 age/Sha/ApiServerUtils.h:253 ]: [Client A3] Authenticated with UID: 0
[ 2016-03-07 09:36:26.1356 8610/7f6582ffd700 age/Sha/ApiServerUtils.h:292 ]: [Client A3] Authenticated with administrator account: ro_admin
[ 2016-03-07 09:38:30.8354 8610/7f6582ffd700 age/Cor/ApiServer.h:570 ]: API request: GET /pool.txt?colorize=true&verbose=
[ 2016-03-07 09:38:30.8354 8610/7f6582ffd700 age/Sha/ApiServerUtils.h:253 ]: [Client A4] Authenticated with UID: 0
[ 2016-03-07 09:38:30.8354 8610/7f6582ffd700 age/Sha/ApiServerUtils.h:292 ]: [Client A4] Authenticated with administrator account: ro_admin


[ 2016-03-07 10:10:17.7811 8610/7f65837fe700 age/Cor/CoreMain.cpp:532 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
[ 2016-03-07 10:10:17.7825 8610/7f658e23b7c0 age/Cor/CoreMain.cpp:901 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected...
[ 2016-03-07 10:10:17.7808 8618/7f8ea0597700 age/Ust/UstRouterMain.cpp:422 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
[ 2016-03-07 10:10:17.7828 8618/7f8ea6da17c0 age/Ust/UstRouterMain.cpp:492 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected...
[ 2016-03-07 10:10:17.7935 8610/7f658e23b7c0 age/Cor/CoreMain.cpp:819 ]: Checking whether to disconnect long-running connections for process 28328, application /ruby_193/apps/xapp/current (staging)
[ 2016-03-07 10:10:17.7966 8610/7f6582ffd700 Ser/Server.h:817 ]: [ApiServer] Freed 0 spare client objects
[ 2016-03-07 10:10:17.7967 8610/7f6582ffd700 Ser/HttpServer.h:967 ]: [ApiServer] Freed 2 spare request objects
[ 2016-03-07 10:10:17.7967 8610/7f6582ffd700 Ser/Server.h:464 ]: [ApiServer] Shutdown finished
[ 2016-03-07 10:10:17.7972 8610/7f65837fe700 Ser/Server.h:817 ]: [ServerThr.1] Freed 128 spare client objects
[ 2016-03-07 10:10:17.7990 8610/7f65837fe700 Ser/HttpServer.h:967 ]: [ServerThr.1] Freed 1 spare request objects
[ 2016-03-07 10:10:17.7991 8610/7f65837fe700 Ser/Server.h:464 ]: [ServerThr.1] Shutdown finished
[ 2016-03-07 10:10:17.7991 8610/7f658e23b7c0 age/Cor/CoreMain.cpp:926 ]: All clients have now disconnected. Proceeding with graceful shutdown
[ 2016-03-07 10:10:17.8003 8618/7f8e9fd96700 Ser/Server.h:817 ]: [UstRouterApiServer] Freed 0 spare client objects
[ 2016-03-07 10:10:17.8004 8618/7f8e9fd96700 Ser/HttpServer.h:967 ]: [UstRouterApiServer] Freed 0 spare request objects
[ 2016-03-07 10:10:17.8004 8618/7f8e9fd96700 Ser/Server.h:464 ]: [UstRouterApiServer] Shutdown finished
[ 2016-03-07 10:10:17.8004 8618/7f8ea6da17c0 age/Ust/UstRouterMain.cpp:508 ]: All clients have now disconnected. Proceeding with graceful shutdown
[ 2016-03-07 10:10:17.8006 8618/7f8ea0597700 Ser/Server.h:817 ]: [UstRouter] Freed 0 spare client objects
[ 2016-03-07 10:10:17.8006 8618/7f8ea0597700 Ser/Server.h:464 ]: [UstRouter] Shutdown finished
[ 2016-03-07 10:10:17.8012 8618/7f8ea6da17c0 age/Ust/UstRouterMain.cpp:523 ]: Passenger UstRouter shutdown finished
[ 2016-03-07 10:10:17.8034 8610/7f658e23b7c0 age/Cor/CoreMain.cpp:819 ]: Checking whether to disconnect long-running connections for process 28328, application /ruby_193/apps/xapp/current (staging)
[ 2016-03-07 10:10:18.8191 8610/7f658e23b7c0 age/Cor/CoreMain.cpp:967 ]: Passenger core shutdown finished
[ 2016-03-07 10:11:35.7514 1360/7f2ed9f767c0 age/Wat/WatchdogMain.cpp:1276 ]: Starting Passenger watchdog...
[ 2016-03-07 10:11:35.7916 1363/7f03718eb7c0 age/Cor/CoreMain.cpp:982 ]: Starting Passenger core...
[ 2016-03-07 10:11:35.7919 1363/7f03718eb7c0 age/Cor/CoreMain.cpp:235 ]: Passenger core running in multi-application mode.
[ 2016-03-07 10:11:35.8153 1363/7f03718eb7c0 age/Cor/CoreMain.cpp:732 ]: Passenger core online, PID 1363
[ 2016-03-07 10:11:35.8324 1368/7f99f826b7c0 age/Ust/UstRouterMain.cpp:529 ]: Starting Passenger UstRouter...
[ 2016-03-07 10:11:35.8420 1368/7f99f826b7c0 age/Ust/UstRouterMain.cpp:342 ]: Passenger UstRouter online, PID 1368
[ 2016-03-07 10:11:35.8444 1360/7f2ed9f767c0 age/Wat/WatchdogMain.cpp:1322 ]: All Phusion Passenger agents started!

[ 2016-03-07 10:11:35.9133 1363/7f036b11c700 age/Cor/CoreMain.cpp:532 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
[ 2016-03-07 10:11:35.9134 1363/7f03718eb7c0 age/Cor/CoreMain.cpp:901 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected...
[ 2016-03-07 10:11:35.9135 1363/7f036a91b700 Ser/Server.h:817 ]: [ApiServer] Freed 0 spare client objects
[ 2016-03-07 10:11:35.9135 1363/7f036a91b700 Ser/HttpServer.h:967 ]: [ApiServer] Freed 0 spare request objects
[ 2016-03-07 10:11:35.9136 1363/7f036a91b700 Ser/Server.h:464 ]: [ApiServer] Shutdown finished
[ 2016-03-07 10:11:35.9137 1363/7f036b11c700 Ser/Server.h:817 ]: [ServerThr.1] Freed 128 spare client objects
[ 2016-03-07 10:11:35.9138 1363/7f036b11c700 Ser/HttpServer.h:967 ]: [ServerThr.1] Freed 0 spare request objects
[ 2016-03-07 10:11:35.9138 1363/7f036b11c700 Ser/Server.h:464 ]: [ServerThr.1] Shutdown finished
[ 2016-03-07 10:11:35.9138 1363/7f03718eb7c0 age/Cor/CoreMain.cpp:926 ]: All clients have now disconnected. Proceeding with graceful shutdown

[ 2016-03-07 10:11:35.9144 1368/7f99f1a61700 age/Ust/UstRouterMain.cpp:422 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
[ 2016-03-07 10:11:35.9144 1368/7f99f826b7c0 age/Ust/UstRouterMain.cpp:492 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected...
[ 2016-03-07 10:11:35.9146 1368/7f99f1a61700 Ser/Server.h:817 ]: [UstRouter] Freed 0 spare client objects
[ 2016-03-07 10:11:35.9171 1368/7f99f1a61700 Ser/Server.h:464 ]: [UstRouter] Shutdown finished
[ 2016-03-07 10:11:35.9145 1368/7f99f1260700 Ser/Server.h:817 ]: [UstRouterApiServer] Freed 0 spare client objects
[ 2016-03-07 10:11:35.9172 1368/7f99f1260700 Ser/HttpServer.h:967 ]: [UstRouterApiServer] Freed 0 spare request objects
[ 2016-03-07 10:11:35.9172 1368/7f99f1260700 Ser/Server.h:464 ]: [UstRouterApiServer] Shutdown finished
[ 2016-03-07 10:11:35.9172 1368/7f99f826b7c0 age/Ust/UstRouterMain.cpp:508 ]: All clients have now disconnected. Proceeding with graceful shutdown
[ 2016-03-07 10:11:35.9176 1368/7f99f826b7c0 age/Ust/UstRouterMain.cpp:523 ]: Passenger UstRouter shutdown finished
[ 2016-03-07 10:11:35.9298 1363/7f03718eb7c0 age/Cor/CoreMain.cpp:967 ]: Passenger core shutdown finished
[ 2016-03-07 10:11:35.9628 1391/7fc29c13d7c0 age/Wat/WatchdogMain.cpp:1276 ]: Starting Passenger watchdog...
[ 2016-03-07 10:11:35.9761 1394/7f208ce787c0 age/Cor/CoreMain.cpp:982 ]: Starting Passenger core...
[ 2016-03-07 10:11:35.9764 1394/7f208ce787c0 age/Cor/CoreMain.cpp:235 ]: Passenger core running in multi-application mode.
[ 2016-03-07 10:11:35.9789 1394/7f208ce787c0 age/Cor/CoreMain.cpp:732 ]: Passenger core online, PID 1394
[ 2016-03-07 10:11:35.9928 1399/7fdf617487c0 age/Ust/UstRouterMain.cpp:529 ]: Starting Passenger UstRouter...
[ 2016-03-07 10:11:35.9942 1399/7fdf617487c0 age/Ust/UstRouterMain.cpp:342 ]: Passenger UstRouter online, PID 1399
[ 2016-03-07 10:11:35.9950 1391/7fc29c13d7c0 age/Wat/WatchdogMain.cpp:1322 ]: All Phusion Passenger agents started!
App 2581 stdout: 
App 2581 stderr:  [passenger_native_support.so] trying to compile for the current user (ruby_193) and Ruby interpreter...
App 2581 stderr: 
App 2581 stderr:      (set PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY=0 to disable)
App 2581 stderr: 
App 2581 stderr:      Warning: compilation didn't succeed. To learn why, read this file:
App 2581 stderr:      /tmp/passenger_native_support-18m5ub8.log
App 2581 stderr:  [passenger_native_support.so] not downloading because passenger wasn't installed from a release package
App 2581 stderr:  [passenger_native_support.so] will not be used (can't compile or download) 
App 2581 stderr:   --> Passenger will still operate normally.
[ 2016-03-07 10:15:58.7073 1394/7f20856a7700 age/Cor/Spa/SmartSpawner.h:309 ]: Preloader for /ruby_193/apps/xapp/current started on PID 2581, listening on unix:/tmp/passenger.81qnC13/apps.s/preloader.yg55af
App 2689 stdout: 

Daniel Knoppel

unread,
Mar 7, 2016, 12:31:50 PM3/7/16
to Phusion Passenger Discussions
As the error message says: "Passenger will still operate normally.". Compilation is not critical.

- Daniel
Reply all
Reply to author
Forward
0 new messages