Project

General

Profile

Troubleshooting the Web Server Shared » History » Revision 2

Revision 1 (Amber Herold, 03/03/2011 11:55 AM) → Revision 2/5 (Amber Herold, 03/03/2011 11:59 AM)

h1. Troubleshooting the Web Server: Server 


 h4. Run Running 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. 



 h4. Firewall settings  

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

 <pre> 
 $ system-config-securitylevel 
 </pre> 

 h4. Security-enhanced linux  

 "Security-enhanced linux (SELinux)":http://en.wikipedia.org/wiki/Security-Enhanced_Linux    may be preventing your files from loading. To fix this run the following command: 

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

 see "this website":http://docs.fedoraproject.org/selinux-apache-fc3/sn-simple-setup.html    for more details on SELinux