Results 1 to 5 of 5
-
11-11-2009, 12:41 PM #1Junior Guru
- Join Date
- Sep 2008
- Location
- St. Paul, MN
- Posts
- 220
Fresh Virtualmin Install, php problems
I did a fresh install of virtualmin on an Ubuntu 8.04_64 system and when I check my configuration of virtualmin post install I get the following:
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.
I tried it on 32 bit and had the same issue, I ran the automated sh install.sh installer
Advice?Anthony
http://www.hostedplanet.com
Hosting for Everyone
Shared Hosting and Virtual Private Servers with friendly support
-
11-11-2009, 07:22 PM #2Junior Guru
- Join Date
- Sep 2008
- Location
- St. Paul, MN
- Posts
- 220
switched to CentOS5, problem solved...
Anthony
http://www.hostedplanet.com
Hosting for Everyone
Shared Hosting and Virtual Private Servers with friendly support
-
11-12-2009, 08:20 PM #3WHT Addict
- Join Date
- May 2002
- Location
- Austin, Texas
- Posts
- 104
Just for reference, in case anyone else runs into this problem (and doesn't think to search the Virtualmin.com forums where it's been discussed a few times), this happens if apache2 has been preinstalled on the system before the install script. I don't know why it doesn't get replaced by apt-get, and I've never been able to figure out how to make it apt-get actually do the right thing, but it is easy to fix.
Simply run:
apt-get update
apt-get install apache2
At the end of the installation process. "apt-get update" might also do the trick. It should install the version from our repositories (labeled with a "vm" in the version number).
I haven't spent much time trying to work around this, as the way we deal with Apache and suexec on Debian systems has since changed, and doesn't require our custom build anymore. When the next LTS release of Ubuntu is released, it will use this new method. Or, you could get it today by just using Debian 5; Ubuntu doesn't really have any benefits over Debian on the server (and it has a couple of annoying quirks that Debian does not).
Anyway, CentOS 5 is also a great distro for hosting. I'm not suggesting it was a mistake to switch...it is, by far, the most popular distro for virtual hosting (has about 75% of the market, as far as I can tell, based on our user numbers).
-
11-12-2009, 09:15 PM #4Junior Guru Wannabe
- Join Date
- Nov 2009
- Posts
- 56
Cheers for the info buddy, should come in helpful for my playaround VPS as i've been doing alot of Playing around with different Free CP's and was planning on installing VirtualMin next lol.
- David Scheme
-
11-12-2009, 09:26 PM #5Junior Guru
- Join Date
- Sep 2008
- Location
- St. Paul, MN
- Posts
- 220
yeah, I gave that a shot but it didn't work.. and I figured I wasn't attached to Ubuntu really so why not give something else a try
Anthony
http://www.hostedplanet.com
Hosting for Everyone
Shared Hosting and Virtual Private Servers with friendly support
Similar Threads
-
FFMPEG install Centos 5.3 with Virtualmin
By Newbie in forum Hosting Security and TechnologyReplies: 11Last Post: 09-02-2009, 04:38 PM -
Problems with DNS after fresh OS install.
By voxio in forum Hosting Security and TechnologyReplies: 0Last Post: 07-10-2005, 11:27 AM -
Webmin - Virtualmin Problems?
By tshank in forum Hosting Software and Control PanelsReplies: 2Last Post: 02-27-2005, 12:10 PM -
WANTED Experienced! Install Virtualmin Suexec
By wishiwashere in forum Employment / Job OffersReplies: 4Last Post: 03-20-2004, 12:23 PM -
Problems with fresh mySQL/PHP install
By m3avrck in forum Programming DiscussionReplies: 7Last Post: 09-27-2002, 05:43 PM