Welcome, Guest
Please Login or Register.
Lost Password?
suexec configured to run under /var/www ... (1 viewing)
Post Reply

TOPIC: suexec configured to run under /var/www ...

#16901
Joe (Admin)
Posts: 4084
graph
Re:suexec configured to run under /var/www ... 2008/10/07 13:51  
This whole install have been nothing but problematic I was hoping that it was a faulty install that was causing my previous mail, and cgi problems. I even used webmin to install all modules during the testing process.

That's not the way to install a full Virtualmin stack. Installing Webmin modules does nothing to the underlying system--it simply can't. Webmin module packages don't have that kind of capability--they're just tarballs (though Webmin does do some dependency resolution against other Webmin modules and such).

There is an install script for Virtualmin found on the download page here at Virtualmin.com. It does a complete install of all dependencies (like Apache, BIND, Postfix, etc.) and it configures them appropriately for use with Virtualmin. Installing and configuring manually is certainly possible...but it's not something I'd suggest unless you're a pretty serious Linux nerd.

It is the public version so I guess that is a possible reason why.

The install script is available for both Virtualmin GPL and Virtualmin Professional. There is quite a bit of documentation about installing Virtualmin here:

http://www.virtualmin.com/documentation/id,automatic_virtualmin_installation/
  The administrator has disabled public write access.
#16908
shanta (User)
Posts: 29
graphgraph
Re:suexec configured to run under /var/www ... 2008/10/07 20:37  
I am not talking about the Webmin module for Apache. That is in the base install of webmin. Modules only function, I know, is to interact with the programs setup files, to install them if they are not installed, or reconfigure to see installations that are different from the norm. I had to do that routinely with setting up Apchie2 to work with Webmin.

What I am referring to is the fallowing.

When you go to a Webmin module, if the program the module is supposed to control is not installed, it will ask if you wish to install the program. The module calls apt-get and installs the program. It will usually move the module from unused to the appropriate category.

The link to the module is usually given on the failed program check dialog. Not the "The Suexec command on your system is configured to only run scripts under /var/www, but the Virtualmin base directory is /home. CGI and PHP scripts run as domain owners will not be executed." error though.

As for the install script it will not work on my system. Complains that my os is not supported. So that option is not in the works unless it has an override to allow installation on a Debian system anyway.

Shanta
  The administrator has disabled public write access.
#16948
shanta (User)
Posts: 29
graphgraph
Re:suexec configured to run under /var/www ... 2008/10/09 11:45  
Seem to be going down a dead end. And I need to get things working right. So I will to my back up server. CGI because of the suexec problems are already on that server anyway. My plan.

Backup all domains locally
reinstall the OS .
download the install script and start there as the installation via apt-get dose not work on this server.

script failed, incorrectly reported os

did find out what file the chouser script was looking at and it is as fallows

/etc/issue Debian GNU?Linux stable n l


next I used

apt-get install virtualmin-base

Now installing.

Shanta
  The administrator has disabled public write access.
#16949
Joe (Admin)
Posts: 4084
graph
Re:suexec configured to run under /var/www ... 2008/10/09 11:59  
script failed, incorrectly reported os

That'd be something I'd want to know about. If you really are running a supported OS version, it should work...if it doesn't, I want to fix it. Give me more details! ;-)
  The administrator has disabled public write access.
#16950
shanta (User)
Posts: 29
graphgraph
Re:suexec configured to run under /var/www ... 2008/10/09 12:09  
Well now it is totally out.

Try again. from the fresh install.

all attempts are a bust so far. I will try again.

This time I will update and upgrade the install with apt-get before any attempt to install webmin or virtualmin.

What exactly should

/etc/ issue and Debian_version look like for the setup script to do its job?

Shanta
  The administrator has disabled public write access.
#16951
shanta (User)
Posts: 29
graphgraph
Re:suexec configured to run under /var/www ... 2008/10/09 12:10  
What details do you need?
  The administrator has disabled public write access.
#16952
shanta (User)
Posts: 29
graphgraph
Re:suexec configured to run under /var/www ... 2008/10/09 12:50  
Well! I got the script to work finally!


It did not like they way that the redwood debian_version was set up. put 4.0 in and it ran.

Failed on first round.

Had to remove my previous attempt to install virtualmin-base did that with apt-get remove and the script ran to completion. Now I will test the install.

Shanta
  The administrator has disabled public write access.
#16953
shanta (User)
Posts: 29
graphgraph
Re:suexec configured to run under /var/www ... 2008/10/09 12:52  
First round of testing showed that MySQL not install Doing so now
  The administrator has disabled public write access.
#16954
shanta (User)
Posts: 29
graphgraph
Re:suexec configured to run under /var/www ... 2008/10/09 12:55  
quick check of mysql showed that it was installed.

Rechecking webmin config now shows that it is up an running.

Now to install my site backups.
  The administrator has disabled public write access.
#16955
shanta (User)
Posts: 29
graphgraph
Re:suexec configured to run under /var/www ... 2008/10/09 13:05  
Hummmm Seems that non of the backups I had beem makeing are backups. webmin says

Restore failed : The specified source does not contain any domains, or is not a Virtualmin backup

When one looks in the file there is all the directories and data in the domain.

Why is webmin not seeing these backups as backups?
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.