Results 1 to 3 of 3

Thread: Error msg after a failed attempt at setting up vhost

  1. #1
    sptrsn is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    18

    Default Error msg after a failed attempt at setting up vhost

    I host my own ubuntu box on which I run my personal sugarcrm.
    I was in there trying to set up a vhost and failed. (typical) I thought I restored everything to where it was, but now I'm getting an error when I enter the system settings page thus...

    Warning: touch() [function.touch]: Unable to create file config_override.php because Permission denied in /opt/lampp/htdocs/crm5.5/include/utils/sugar_file_utils.php on line 161

    Warning: fopen(config_override.php) [function.fopen]: failed to open stream: Permission denied in /opt/lampp/htdocs/crm5.5/include/utils/sugar_file_utils.php on line 103

    Warning: fwrite(): supplied argument is not a valid stream resource in /opt/lampp/htdocs/crm5.5/modules/Configurator/Configurator.php on line 139

    Warning: fclose(): supplied argument is not a valid stream resource in /opt/lampp/htdocs/crm5.5/modules/Configurator/Configurator.php on line 140

    sugar5.5 on Xampp. php 5.2.8, mysql 5.1.3 on Ubuntu 8.1

    Any ideas on how to fix this. It was working so well.
    Thanks.
    Last edited by sptrsn; 2010-02-06 at 06:56 PM.

  2. #2
    jjwdesign's Avatar
    jjwdesign is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Orlando, FL
    Posts
    503

    Default Re: Error msg after a failed attempt at setting up vhost

    I did a similar thing with my Ubuntu OS at home. I didn't both setting up Vhost configurations as it's just a local testing machine. You're errors point to a definate permission issue; probably the user/group. You might check to see which user Apache2 runs as and make the necessary chown.

    Something like:

    chown -fR apache.apache *
    chmod -fR 0775 *

    Or, make your user and apache part of the same group.

    You might also look into setting the umask to 0002.

    umask 0002

    I seem to recall it has to be placed in some bootup file. Check on the Ubuntu forums. There's tons of forum posts out there that will head you in the right direction.

    Cheers,
    Jeff
    SugarForge Projects:
    JJWDesign Google Maps
    JJWDesign Tools and Reports

    Follow my blog postings at JJW Design.

  3. #3
    pritish is offline Junior Member
    Join Date
    Jul 2010
    Posts
    1

    Smile Re: Error msg after a failed attempt at setting up vhost

    HI,

    I have a solution but don't know its a good one or not.

    Just create a file in room as config_override.php and give the permission 0755.

    config_override.php is simply a blank php fle.

    Thanks,
    Pritish

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Failed to install with php5.2.0 and a smtp setting question
    By raymondlimw in forum Installation and Upgrade Help
    Replies: 4
    Last Post: 2009-10-05, 03:59 PM
  2. Login Attempt Failed
    By jcorbit in forum Developer Help
    Replies: 3
    Last Post: 2009-08-07, 04:15 AM
  3. Failed attempt to sync outlook tasks with sugar
    By davidhallsugarcrm in forum Help
    Replies: 0
    Last Post: 2008-09-13, 02:42 PM

Bookmarks

Posting Permissions

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