Difference between revisions of "SAC:Admin and Troubleshooting"

From OSGeo
Jump to navigation Jump to search
(TODO: Define rescue plan with responsible people if (like now) entire www.osgeo.org down)
Line 22: Line 22:
 
If a report in drupal starts saying a table is crashed and needs repair, log into mysql and run the following, for example for the cache table:
 
If a report in drupal starts saying a table is crashed and needs repair, log into mysql and run the following, for example for the cache table:
 
  REPAIR TABLE cache QUICK;
 
  REPAIR TABLE cache QUICK;
 +
 +
== Entire www.osgeo.org down ==
 +
 +
TODO: Define rescue plan with responsible people

Revision as of 02:36, 27 August 2007

Troubleshooting

NFS Mount Missing

For some reason, the /home mount on the various servers is often lost.

To fix...

LDAP Server Down

The LDAP server runs on .220, and if it needs to be restarted it can be done as root with the command:

/opt/fedora/slapd-ldapt/start-slapd

Peer1 LDAP Server Hanging

If there is a power outage like there was on 2-20-07, slapd's database will need to be recovered.

sudo /usr/sbin/slapd_db_recover -h /var/lib/ldap/osgeo2

MySQL Cleanup for Drupal

If a report in drupal starts saying a table is crashed and needs repair, log into mysql and run the following, for example for the cache table:

REPAIR TABLE cache QUICK;

Entire www.osgeo.org down

TODO: Define rescue plan with responsible people