php5.cfgi causing apache to fail on start - cannot access vituralmin

My ubuntu virtualmin server suddenly stopped working. When I try and restart the server, Apache fails and points to one of the VM's named spectaclecrm. I can not get to virtualmin or https at all but can ssh in to the server. I am unable to delete the VM (I do not need it anymore) but am unable to because of permissions of php5.fcgi located in the spectaclecrm/homes/fcgi-bin/php5.fcgi.

How can I delete this file so Apache will start up again. Or how can I delete the spectaclecrm VM on this server via sssh.

Thanks for you help, John

  • Starting web server apache2 Warning: DocumentRoot [/home/spectaclecrm/public_html] does not exist Syntax error on line 19 of /etc/apache2/sites-enabled/spectaclecrm.com.conf: Wrapper /home/spectaclecrm/fcgi-bin/php5.fcgi cannot be accessed: (2)No such file or directory [fail] root@SC11:/# /etc/init.d/apache2 start
  • Starting web server apache2 Syntax error on line 19 of /etc/apache2/sites-enabled/spectaclecrm.com.conf: Wrapper /home/spectaclecrm/fcgi-bin/php5.fcgi cannot be accessed: (2)No such file or directory
Status: 
Closed (fixed)

Comments

Howdy -- what happens when you try to delete the spectaclecrm.com Virtual Server? Do you receive an error message?

The permissions on php5.fcgi would indeed prevent someone from manually deleting it, but Virtualmin should always be able to do that.

When I try and rm -f the vm directory is is denied because of php5.fcgi permissions. I can not access virtualmn for the server at all now. So can not use virtualmin to delete the VM. I can ssh into the server though.

It won't work to manually delete a Virtual Server -- that'll just cause various daemons on your server to complain that files aren't there :-)

The only real way to get rid of a Virtual Server is to use Virtualmin to delete the domain.

So, it sounds like the part we need to figure out is why you can no longer access Virtualmin. Once you get into Virtualmin, you can use it to delete that domain.

One thing you might try is to restart it, using this command:

/etc/init.d/webmin restart

After that, can you access Virtualmin? If not, what error do you receive?

The webmin restart command worked great! Thanks. John

Great, I'm glad that worked!

Automatically closed -- issue fixed for 2 weeks with no activity.