wiki:restartServer

Restarting the Server in the Event of a Lockup

Occasionally, the Kids GIS Fedora 4 Linux server hosting by TelaScience will lock up. Generally the culprit is Apache that is used by MapGuide Open Source and most problems seem due to FastCGI issues. This is what needs to be done to restart the services. First, the server will most likely need to be rebooted since port 8008 gets locked up with no known way to kill it. From a terminal, the command to reboot is (with sudo):

/sbin/shutdown -r now

After reboot, the 3 daemons that are manually started are (all with sudo):

/etc/init.d/httpd start
/usr/local/mapguideopensource/webserverextensions/apache2/bin/httpd
/usr/local/mapguideopensource/server/bin/mgserverd.sh

The first HTTP runs on port 80 and is the main Kids GIS web site. The second HTTP is specific to MapGuide and runs on port 8008. The last is the MapGuide service.

If you run into a problem when restarting the MGOS Apache service with this message: "FastCgiIpcDir /tmp/mapguideipc: access for server (uid 99, gid -1) failed: read not allowed" delete the /tmp/mapguideipc directory. Then attempt to start MGOS Apache and the directory will be recreated.

Last modified 16 years ago Last modified on Mar 25, 2008, 10:46:59 AM
Note: See TracWiki for help on using the wiki.