Results 1 to 5 of 5
  1. #1
    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

  2. #2
    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

  3. #3
    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).

  4. #4
    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

  5. #5
    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

  1. FFMPEG install Centos 5.3 with Virtualmin
    By Newbie in forum Hosting Security and Technology
    Replies: 11
    Last Post: 09-02-2009, 04:38 PM
  2. Problems with DNS after fresh OS install.
    By voxio in forum Hosting Security and Technology
    Replies: 0
    Last Post: 07-10-2005, 11:27 AM
  3. Webmin - Virtualmin Problems?
    By tshank in forum Hosting Software and Control Panels
    Replies: 2
    Last Post: 02-27-2005, 12:10 PM
  4. WANTED Experienced! Install Virtualmin Suexec
    By wishiwashere in forum Employment / Job Offers
    Replies: 4
    Last Post: 03-20-2004, 12:23 PM
  5. Problems with fresh mySQL/PHP install
    By m3avrck in forum Programming Discussion
    Replies: 7
    Last Post: 09-27-2002, 05:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •