[~]$ echo $TMPDIR
/tmp
[~]$ rvmsudo passenger-config validate-install
sudo: /private/etc/sudoers.d is owned by uid 501, should be 0
Password:
What would you like to validate?
Use <space> to select.
If the menu doesn't display correctly, press '!'
‣ ⬢ Passenger itself
⬡ Apache
-------------------------------------------------------------------------
* Checking whether this Passenger install is in PATH... ✓
* Checking whether there are no other Passenger installations... ✓
Everything looks good. :-)
[~]$ rvmsudo passenger-status
sudo: /private/etc/sudoers.d is owned by uid 501, should be 0
ERROR: Phusion Passenger doesn't seem to be running. If you are sure that it is running, then the causes of this problem could be:
1. You customized the instance registry directory using Apache's PassengerInstanceRegistryDir option, Nginx's passenger_instance_registry_dir option, or Phusion Passenger Standalone's --instance-registry-dir command line argument. If so, please set the environment variable PASSENGER_INSTANCE_REGISTRY_DIR to that directory and run passenger-status again.
2. The instance directory has been removed by an operating system background service. Please set a different instance registry directory using Apache's PassengerInstanceRegistryDir option, Nginx's passenger_instance_registry_dir option, or Phusion Passenger Standalone's --instance-registry-dir command line argument.
[~]$
2. The instance directory has been removed by an operating system background service. Please set a different instance registry directory using Apache's PassengerInstanceRegistryDir option, Nginx's passenger_instance_registry_dir option, or Phusion Passenger Standalone's --instance-registry-dir command line argument.
[~]$ rvmsudo passenger-memory-stats
sudo: /private/etc/sudoers.d is owned by uid 501, should be 0
Password:
Version: 5.0.22
Date : 2015-12-16 08:19:41 -0600
--------- Apache processes ----------
PID PPID VMSize Resident Name
-------------------------------------
356 1 2436.6 MB 6.0 MB /usr/sbin/httpd -D FOREGROUND -f /Library/Server/Web/Config/Proxy/apache_serviceproxy.conf -E /private/var/log/apache2/service_proxy_error.log
363 1 2422.5 MB 9.5 MB /usr/sbin/httpd -D FOREGROUND -f /Library/Server/Web/Config/apache2/services/ACSServer.conf -E /var/log/apache2/services/ACSServer_error_log
366 356 2442.6 MB 4.2 MB /usr/sbin/httpd -D FOREGROUND -f /Library/Server/Web/Config/Proxy/apache_serviceproxy.conf -E /private/var/log/apache2/service_proxy_error.log
367 356 2442.6 MB 3.9 MB /usr/sbin/httpd -D FOREGROUND -f /Library/Server/Web/Config/Proxy/apache_serviceproxy.conf -E /private/var/log/apache2/service_proxy_error.log
368 356 2442.6 MB 4.0 MB /usr/sbin/httpd -D FOREGROUND -f /Library/Server/Web/Config/Proxy/apache_serviceproxy.conf -E /private/var/log/apache2/service_proxy_error.log
369 356 2442.6 MB 4.1 MB /usr/sbin/httpd -D FOREGROUND -f /Library/Server/Web/Config/Proxy/apache_serviceproxy.conf -E /private/var/log/apache2/service_proxy_error.log
370 356 2442.6 MB 3.9 MB /usr/sbin/httpd -D FOREGROUND -f /Library/Server/Web/Config/Proxy/apache_serviceproxy.conf -E /private/var/log/apache2/service_proxy_error.log
372 363 2420.5 MB 1.2 MB /usr/sbin/httpd -D FOREGROUND -f /Library/Server/Web/Config/apache2/services/ACSServer.conf -E /var/log/apache2/services/ACSServer_error_log
651 356 2434.6 MB 3.7 MB /usr/sbin/httpd -D FOREGROUND -f /Library/Server/Web/Config/Proxy/apache_serviceproxy.conf -E /private/var/log/apache2/service_proxy_error.log
-------- Nginx processes ---------
--- Passenger processes ----
# Virtual hosts
Include /private/etc/apache2/extra/httpd-vhosts.conf
# Phusion Passenger
LoadModule passenger_module /Users/myusername/.rvm/gems/ruby-2.2.2@mygemsetname/gems/passenger-5.0.22/buildout/apache2/mod_passenger.so
<IfModule mod_passenger.c>
PassengerRoot /Users/myusername/.rvm/gems/ruby-2.2.2@mygemsetname/gems/passenger-5.0.22
PassengerDefaultRuby /Users/myusername/.rvm/gems/ruby-2.2.2@mygemsetname/wrappers/ruby
PassengerInstanceRegistryDir /tmp
</IfModule>
PassengerDebugLogFile /var/log/apache2/passenger_error_lograke assets:clean && rake assets:precompile RAILS_ENV=production && passenger-config restart-app[myrailsapp (master)]$ rake assets:clean && rake assets:precompile RAILS_ENV=production && passenger-config restart-app
I, [2015-12-16T11:42:08.714662 #25000] INFO -- : Writing /Users/myusername/Sites/myrailsapp/public/assets/application-f0180a2d8db6c18e2b41e12fb6dd1c1e902f2b910eb0516a2bbf4af0b0a94447.js.gz
I, [2015-12-16T11:42:10.015643 #25000] INFO -- : Writing /Users/myusername/Sites/myrailsapp/public/assets/application-77024ee6321dcfe6519d26add7cc90525fc27bfdb143afe52eaf4a754cff8e2b.css.gz
I, [2015-12-16T11:42:10.019745 #25000] INFO -- : Writing /Users/myusername/Sites/myrailsapp/public/assets/fontawesome-webfont-61c90f78333473c40f9512789708cdcd8206dd269401103f33d438cd838bb1f0.svg.gz
It appears that multiple Phusion Passenger instances are running. Please select
a specific one by passing:
--instance <NAME>
The following Phusion Passenger instances are running:
Name PID Description
--------------------------------------------------------------------------
6cbUUm7v 392 Apache/2.4.16 (Unix) OpenSSL/0.9.8zg Phusion_Passenger/5.0.22
6cbUUm7v 392 Apache/2.4.16 (Unix) OpenSSL/0.9.8zg Phusion_Passenger/5.0.22
To view this discussion on the web visit https://groups.google.com/d/msgid/phusion-passenger/a9417588-29b6-4a8b-8a92-6a0d5a6a45fa%40googlegroups.com.
I decided to change the DNS of my domains to point to my production server for a while then point them back to my development server. The assets are displaying properly for my Ruby on Rails websites now. At least I now know what to do to update Passenger on my production server when I upgrade my OS and Server app to the current stable versions.
Thanks so much for pointing me in the right direction. I should have thought about checking if Apple changed their Apache configuration. If I run into another problem with Passenger after deploying a major upgrade to the Server app I will find out if the Apache configuration has changed.
--
You received this message because you are subscribed to the Google Groups "Phusion Passenger Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phusion-passen...@googlegroups.com.
To post to this group, send email to phusion-...@googlegroups.com.
Visit this group at https://groups.google.com/group/phusion-passenger.
To view this discussion on the web visit https://groups.google.com/d/msgid/phusion-passenger/3c0014cd-213e-456c-8134-673bf5edef25%40googlegroups.com.