[GE users] MacOSX startup problem (fixed)

Rayson Ho raysonho at eseenet.com
Tue Apr 26 19:06:27 BST 2005

    [ The following text is in the "iso-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

Background: schedd and execd used to die when started from StartupItems,
but if you wait till the machine is up and running, starting them up (by
hand or with at/cron) then works.

Ron mailed me the reduced code in sge_daemonize(), and Tim suggested to
reopen the first 3 fds in the startup scripts:


I used the following startup script, SGE is now up and running:


. /etc/rc.common

     ConsoleMessage "Starting SUN Grid Engine"
     <PATH on your machine>/sgemaster > /dev/null 2>&1 < /dev/null
     <PATH on your machine>/sgeexecd  > /dev/null 2>&1 < /dev/null

     ConsoleMessage "Stopping SUN Grid Engine services"
     # similar to the above

     ConsoleMessage "Restarting SUN Grid Engine services"
     # similar to the above

RunService "$1"

   Description = "SUN Grid Engine Queueing System";
   Provides = ("SGE");
   Requires = ("Disks", "NFS", "Resolver");
   Uses = ("NetworkExtensions");
   OrderPreference = "Late";
   Messages =
     start = "Starting SUN Grid Engine";
     stop = "Stopping SUN Grid Engine";
     restart = "Restarting SUN Grid Engine";

Please check if it works with NFS (I don't have NFS on my Mac machines),
and may be we can integrate those scripts into SGE6.0u5??


Get your FREE E-mail account at http://www.eseenet.com !

To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net

More information about the gridengine-users mailing list