Issue
Python app is not working
*** EXCEPTION: parent directory is world writable, FileUtils#remove_entry_secure does not work; abort: "/tmp/passenger.h8oxja" (parent directory mode 40767) (ArgumentError)
/opt/alt/ruby21/lib64/ruby/2.1.0/fileutils.rb:714:in `remove_entry_secure'
/usr/share/alt-mod-passenger/build/src/ruby_supportlib/phusion_passenger/utils/tmpio.rb:72:in `ensure in mktmpdir'
/usr/share/alt-mod-passenger/build/src/ruby_supportlib/phusion_passenger/utils/tmpio.rb:72:in `mktmpdir'
/usr/share/alt-mod-passenger/build/src/ruby_supportlib/phusion_passenger/platform_info.rb:160:in `create_temp_file'
/usr/share/alt-mod-passenger/build/src/ruby_supportlib/phusion_passenger/platform_info/compiler.rb:228:in `find_header'
/usr/share/alt-mod-passenger/build/src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/libs.rb:34:in `block (2 levels) in load'
/usr/share/alt-mod-passenger/build/src/ruby_supportlib/phusion_passenger/platform_info/depcheck.rb:79:in `call'
/usr/share/alt-mod-passenger/build/src/ruby_supportlib/phusion_passenger/platform_info/depcheck.rb:79:in `check'
/usr/share/alt-mod-passenger/build/src/ruby_supportlib/phusion_passenger/platform_info/depcheck.rb:336:in `block in check_all'
/usr/share/alt-mod-passenger/build/src/ruby_supportlib/phusion_passenger/platform_info/depcheck.rb:332:in `each'
/usr/share/alt-mod-passenger/build/src/ruby_supportlib/phusion_passenger/platform_info/depcheck.rb:332:in `check_all'
/usr/share/alt-mod-passenger/build/src/ruby_supportlib/phusion_passenger/abstract_installer.rb:152:in `check_dependencies'
bin/passenger-install-apache2-module:142:in `run_steps'
/usr/share/alt-mod-passenger/build/src/ruby_supportlib/phusion_passenger/abstract_installer.rb:74:in `run'
bin/passenger-install-apache2-module:964:in `<main>'
Environment
- CloudLinux 7
- DirectAdmin
Solution
# chmod o+t -R /tmp
# yum reinstall alt-mod-passenger alt-python-virtualenv# yum reinstall lve-utils lvemanager alt-python-virtualenv alt-mod-passenger
Comments
0 comments
Please sign in to leave a comment.