-
Notifications
You must be signed in to change notification settings - Fork 7
Troubleshooting Guide
acozine edited this page Jul 7, 2014
·
11 revisions
- Finding the logs
- Administering solr
- Administering fedora
- Administering resque-pool
- [Ffmpeg] (#ffmpeg)
- [libx264 not found] (#libx264 not found)
- [New ffmpeg text] (#New ffmpeg)
- [Fits] (#Fits)
- [command not found] (#command not found)
- [New fits text] (#New fits)
- [Navigating to the HydraDam Homepage] (#Navigating to the HydraDAM Homepage)
- [You see the default Apache Welcome Page] (#default Apache Welcome Page)
- [You see 'Found token that cannot start any token while scanning for the next token'] (#found token that cannot start any token while scanning for the next token)
- [You see '403 Forbidden You don't have permission to access / on this server'] (#403 Forbidden)
- [New navigation text] (#New navigation)
- [Fedora] (#Fedora)
- [Installation failed: (localhost): Name or service not know] (#Installation failed (localhost) Name or service not known)
- [New fedora text] (#New fedora)
- [Ruby or Ruby Gems] (#Ruby or Ruby Gems)
- [Wrong ruby or rubygems version] (#Wrong ruby or rubygems version)
- [New Ruby text] (#New ruby)
- [MySQL] (#MySQL)
- [MySQL doesn't have the right character set.] (#MySQL doesn't have the right character set)
- [MySQL version 5.1 and lower] (#MySQL version 5.1 and lower)
- [MySQL version 5.2 to 5.4] (#MySQL version 5.2 to 5.4)
- [MySQL doesn't have the right default storage engine.] (#MySQL doesn't have the right default storage engine)
- [New MySQL text] (#New MySQL)
- [MySQL doesn't have the right character set.] (#MySQL doesn't have the right character set)
- [New Section] (#New Section)
- [New Subsection] (#New Subsection)
- [New Section1] (#New Section1)
- [New Subsection1] (#New Subsection1)
- Other Resources
===============
1. Double-check that you ran the x264 section with the following configure line `./configure --enable-static --disable-opencl` 1. Try running `cd ~/ffmpeg-sources/x264 | sudo ldconfig` 1. Try re-running the x264 section with the following configure line `./configure --enable-static --prefix=/usr` [Troubleshooting text goes here.] Type `echo $PATH` – if /usr/local/bin is not included, add it to the relevant user’s bash_profile. For more info, see [the fits documentation](http://code.google.com/p/fits/) [Troubleshooting text goes here.] Look in /etc/httpd/conf.d/ or /etc/apache/conf.d/ - if you see a file there called welcome.conf, remove it. Passenger should then pick up the slack and serve up the hydradam home page. Check your yml files - you have a tab or another illegal character in one of your yml files. Use only the spacebar to create indentation in your yml files - tabs are not allowed in yml syntax. You may be using a newer version of apache than these instructions assumed - type "apache2 -v" to check the version. If it's 2.4.x, you need to use the newer configuration commands to allow access. See [apache documentation](http://httpd.apache.org/docs/2.4/upgrading.html). [Troubleshooting text goes here.] Something is wrong with your hostname. On one centos image the /etc/hosts file had an extra tab between "127.0.0.1" and "localhost.localdomain localhost", which caused this error. [Troubleshooting text goes here.] This may be an issue with `gem -v` versus `sudo gem -v` in Centos and you should document this. The most reliable way to install rubygems is to start with your package manager, but you need to complete the following extra steps to get the current/correct version. 1. In Ubuntu, use the command `sudo apt-get install rubygems` 1. In CentOS, use the command `sudo yum install rubygems` 1. Check the version with `gem -v` - if the version is 2.x, you're ready. If not, continue to the next step as you need to fix your ruby and rubygems versions before continuing. 1. Update rubygems with `sudo gem update --system` 1. Old rubygems packages also install old ruby packages. Remove the old ruby with the command `sudo yum remove ruby`. 1. Then check the bundler's ruby and update it if necessary: 1. Check the location of the ruby 2.0.0 installation with `which ruby` - the response will be something like `/usr/local/bin/ruby` 1. Check the location of bundler script with `which bundle` - the response will be something like `/usr/local/bin/bundle` 1. Use the output of the last step to look at the bundler script - for example `less /usr/local/bin/bundle` and make sure the first line - for example `#!/usr/local/bin/ruby` points to the location of the system ruby 2.0.0 installation (the output of `which ruby`) - if not, edit the script and change that line [Troubleshooting text goes here.] Copy and paste the following block to the end of the `/etc/mysql/my.cnf` file[mysql]
default-character-set=utf8
cat << EOF | sudo tee /etc/mysql/conf.d/utf8_charset.cnf
[mysqld]
default-character-set=utf8
[client]
default-character-set=utf8
EOF