Hi, I am trying to execute a rake, but the rake fails due to some database "development" issue, note that I want to install the gitorious 3 server to the database gitorious_production and that I am attempting to do a production gitorious 3
Error I got: [gitorious@mars gitorious]$ bundle exec rake db:schema:load Rails Error: Unable to access log file. Please ensure that /projects/gitorious/gitorious/log/development.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed. Invalid subdomain name localhost. Session cookies will not work! See http://gitorious.org/gitorious/pages/ErrorMessages for further explanation rake aborted! Access denied for user 'gitorious'@'localhost' to database 'gitorious_development' - I want it to use *gitorious_production* /projects/gitorious/gitorious/config/environment.rb:5 /projects/gitorious/gitorious/lib/tasks/resque.rake:4 /projects/gitorious/gitorious/Rakefile:8 (See full trace by running task with --trace) *Note - I did not add the schema, gitorious_development, because I want to have my gitorious 3 server running on a production environment. *Q:* Can I set this up somehow to use gitorious_production and not the development? Thank you in advance, Jaco T On Monday, January 14, 2013 12:24:42 PM UTC+2, Jaco Theron wrote: > > Hi Marius, > > *I installed sphinx RPM like this:* > > wget > ftp://mirror.as24220.net/pub/epel/6/x86_64/sphinx-0.9.9-1.el6.x86_64.rpm > rpm -Uvh sphinx-0.9.9-1.el6.x86_64.rpm > > *Then it installs sphinx and I just check to make sure with:* > > yum -y install sphinx > > *And it reply:* > > Loaded plugins: fastestmirror, security > Loading mirror speeds from cached hostfile > * base: www.ftp.saix.net > * extras: www.ftp.saix.net > * updates: www.ftp.saix.net > Setting up Install Process > * Nothing to do* > > This means that it is installed successfully I assume. > > I am continuing the installation. > > Thanks, > Jaco T > > On Friday, January 11, 2013 2:20:53 PM UTC+2, Jaco Theron wrote: >> >> Awesome >> >> Thanks Marius I will do this :-) >> >> Jaco T >> >> On Friday, January 11, 2013 1:31:35 PM UTC+2, Marius Mårnes Mathiesen >> wrote: >>> >>> >>> Jaco Theron writes: >>> >>> > Encountered a problem with installing sphinx. (CentOS 6) >>> > >>> > sudo yum install -y sphinx >>> > >>> > The above command does not find sphinx. >>> > >>> > Instead I have used the source of sphinx: >>> > >>> > wget http://sphinxsearch.com/files/sphinx-2.0.6-release.tar.gz >>> > tar xvfz sphinx-2.0.6-release.tar.gz >>> > cd sphinx-2.0.6-release >>> > ./configure && make && make install >>> > cd .. >>> > >>> > Q: Is this approach acceptable? >>> >>> I would highly recommend using a packaged version on your computer, that >>> way you'll receive updates and dependencies can be resolved by your >>> package manager. >>> >>> You will need to enable the EPEL repository on your server, this is a >>> Yum repository maintained by the Fedora project, which contains a lot of >>> packages not included in CentOS and its upstream by default. >>> >>> This page has the instructions: >>> >>> >>> http://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F >>> >>> You'll have to download and install an RPM (find the link from the above >>> link), it will add the repository to /etc/yum.repos.d/ on your >>> server. After that you can run >>> >>> yum install sphinx >>> >>> And you're all set. >>> >>> Cheers, >>> - Marius >>> >> -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected]
