简体   繁体   中英

Apache Passenger error : Unexpected error in mod_passenger

I recently washed my /tmp and I didn't know that it has some required files for phusion passenger. Now my passenger looking for files which are not there now. I tried running passenger-install-apache2-module to get files needed to apache2. But no luck it did not get the files in /tmp. Is there any way to get those files back??

I am getting following error:

Unexpected error in mod_passenger: Cannot connect to Unix socket '/tmp/passenger.1.0.1144/generation-0/socket': No such file or directory (2)

I did following step and it worked:

gem install passenger
sudo /etc/init.d/apache2 restart

Now I checked /tmp files required for passenger are there then I did:

rvmsudo  passenger-install-apache2-module

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM