Project

General

Profile

Actions

Troubleshooting the Web Server Shared » History » Revision 3

« Previous | Revision 3/5 (diff) | Next »
Amber Herold, 12/18/2013 03:48 PM


Troubleshooting the Web Server:

Run the web server troubleshooter

A web server troubleshooting tool is available at http://YOUR_HOST/myamiweb/test/checkwebserver.php.
You can browse to this page from the Appion and Leginon Tools home page (http://YOUR_HOST/myamiweb) by clicking on [test Dataset] and then [Troubleshoot].

This page will automatically confirm that your configuration file and PHP installation and settings are correct and point you to the appropriate documentation to correct any issues.

Firewall settings

You may need to configure your firewall to allow incoming HTTP (port 80) and MySQL (port 3306) traffic:

$ system-config-securitylevel

Security-enhanced linux

Security-enhanced linux may be preventing your files from loading. To fix this run the following command:

$ sudo /usr/bin/chcon -R -t httpd_sys_content_t /var/www/html/

see this website for more details on SELinux

Slow image loading

If you find that you have many users viewing images, and the images are taking too long to load, there are several ways to address this.

  1. Alternative reduxd installation on file server
  2. Using imcache to cache mrc images as jpeg images of the default size on myamiweb

Updated by Amber Herold almost 11 years ago · 3 revisions