Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Access on linux system.

  1. #1
    Shuchi is offline Sugar Community Member
    Join Date
    Nov 2005
    Location
    UK
    Posts
    73

    Default Access on linux system.

    Hi,

    I am a newbie to SuagrCRM . I installed the entire Open Source Stack(Bitrock Linux Installer (70.48 MB BIN)) on a linux machine.By default it was installed in /opt/suagrcrm-3.5.1 directory.How do i access sugarcrm now???I am using the following url :
    http://myserver/opt/sugarcrm3.5.1 but it does not seem to work?
    Am i missing something??
    Any help is appreciated.

    Thanks in advance

  2. #2
    magesor is offline Sugar Community Member
    Join Date
    Nov 2005
    Location
    Saint Petersburg, Russia
    Posts
    27

    Default Re: Access on linux system.

    Are Apache/MySQL started?
    Check Apache's DocumentRoot dir (grep DocumentRoot /etc/apache2/httpd.conf)
    In my case it's /var/www/localhost/htdocs. sugarcrm was unpacked there there into sugarcrm directory. So on my local machine I just type:
    http://localhost/sugarcrm/index.php

  3. #3
    Shuchi is offline Sugar Community Member
    Join Date
    Nov 2005
    Location
    UK
    Posts
    73

    Default Re: Access on linux system.

    Hi,
    Thanks for the reply.
    I managed to start apache using the following : lampctl.sh start apache (located in /opt/sugarcrm-3.5.1/commom/bin/ directory.)When i started mysql, the following error was thrown:
    ./lampctl.sh :mysql started
    chown ':mysql' : invalid user
    Starting mysqld daemon with databse from /opt/sugarcrm3.5.1/mysql/data
    Stopping SErver from pifd file : /opt/sugarcrm3.5.1/mysql/data/myserver/pid XXXX mysqld ended.
    ################################################## ########

    What am i missing ??I am logged in as root

    Also, the installation wizard complained of the following:

    Writable SugarCRM Configuration File (config.php) Warning: Not Writeable
    Writable Custom Directory Not Writeable
    Writable Modules Sub-Directories and Files Not Writeable
    Writable Data Sub-Directories Not Writeable
    Writable Cache Sub-Directories Not Writeable

    Where are these directories located so that their permissions can be modified??

    Sorry, if this is a novice question.

    Thanks in advance

  4. #4
    magesor is offline Sugar Community Member
    Join Date
    Nov 2005
    Location
    Saint Petersburg, Russia
    Posts
    27

    Default Re: Access on linux system.

    Directories are in your sugarcrm dir in Apache's DocumentRoot (somewhere in /opt/sugarcrm3.5.1/apache/htdocs in your case, I guess). The simplest is to try chmod -R a+w /path/to/your/htdocs/sugarcrm/ Then check if the installer make proper permissions on all files and directories of sugarcrm. If no, remove write-to-all manually.
    Before doing that backup that sugarcrm dir.

    Also, you possibly may need to be in mysql group. If so, type `groups' to check. If no, type `gpasswd -a user group' where `user' is desired user for mysql.

    Installation guide (pdf, 71k):
    http://www.sugarforge.org/frs/downlo..._Guide_v35.pdf

    Lampstack userguide (pdf, ~800Mb)
    http://www.bitrock.com/lampstack-1.0-userguide.pdf

    Hope this help

  5. #5
    Shuchi is offline Sugar Community Member
    Join Date
    Nov 2005
    Location
    UK
    Posts
    73

    Default Re: Access on linux system.

    Thanks a lot....i will try that

    Cheers

  6. #6
    Shuchi is offline Sugar Community Member
    Join Date
    Nov 2005
    Location
    UK
    Posts
    73

    Default Re: Access on linux system.

    Hi,

    Thanks for the advice....got it up and running.Though, i still have issues with accessing phpMyAdmin .
    As per the Bitrock manual, this can be accessed by :
    http://127.0.0.1 : port number/phpmyadmin.

    When i type the above url, it can't find the page.Although, if it type : htp://myserverort/phpmyadmin, it dispalys the following error message

    Only requests from 127.0.0.1 are allowed access to this section. Please refer to the LAMPStack userguide for more details.

    Editing the config file also, does not help.

    Anyything i am missing????

    Thanks in advance

  7. #7
    ridruejo is offline Sugar Community Member
    Join Date
    Nov 2005
    Location
    Seville, Spain - San Francisco, USA
    Posts
    35

    Default Re: Access on linux system.

    The phpMyAdmin application is by default protected so it can only be accessed from the localhost. To change this, you can edit /opt/sugarcrm-3.5.1/apache/conf/httpd.conf and change :

    Allow from 127.0.0.1

    to include the IP address of your machine. Alternatively, you can remove it and rely on just username and password for protection (username is 'administrator', password the one you supplied during installation)

    Hope this helps

    Daniel

  8. #8
    Shuchi is offline Sugar Community Member
    Join Date
    Nov 2005
    Location
    UK
    Posts
    73

    Default Re: Access on linux system.

    Hi Daniel,

    I modified the config file with the ip address of my machine but it still gives the same error.
    Also, removing it/commenting it throws the same error.

    Anything that i am missing???

  9. #9
    stevec is offline Sugar Community Member
    Join Date
    Oct 2005
    Location
    London
    Posts
    1,100

    Default Re: Access on linux system.

    Try:

    http://127.0.0.1:PORT/phpmyadmin/

    Note the trailing '/'. There's an issue with a misconfigured apache installation using IP addresses rather than it's given FQDN.

  10. #10
    Shuchi is offline Sugar Community Member
    Join Date
    Nov 2005
    Location
    UK
    Posts
    73

    Default Re: Access on linux system.

    Sorry....did not work.

    Any other ideas ???

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

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
  •