Project

General

Profile

Potential Problems » History » Version 9

Amber Herold, 03/03/2011 11:54 AM

1 9 Amber Herold
h1. Troubleshooting the Web Server
2 1 Amber Herold
3 7 Amber Herold
4 8 Amber Herold
h4. Running the web server troubleshooter
5 7 Amber Herold
6
A web server troubleshooting tool is available at http://YOUR_HOST/myamiweb/test/checkwebserver.php.
7
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].
8
9
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.
10
11
12
13 1 Amber Herold
h4. Firewall settings 
14
15
You may need to configure your firewall to allow incoming HTTP (port 80) and MySQL (port 3306) traffic:
16
17
<pre>
18
$ system-config-securitylevel
19
</pre>
20
21
h4. Security-enhanced linux 
22
23
"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:
24
25
<pre>
26
$ sudo /usr/bin/chcon -R -t httpd_sys_content_t /var/www/html/
27
</pre>
28
29
see "this website":http://docs.fedoraproject.org/selinux-apache-fc3/sn-simple-setup.html  for more details on SELinux
30 7 Amber Herold
31 2 Amber Herold
32
______
33
34
35 6 Amber Herold
[[Install phpMyAdmin|< Install phpMyAdmin]]
36 3 Amber Herold
37
______