[torqueusers] Error in launching pbs_mom on Cygwin

Torque4 User torque4.mailinglist at gmail.com
Sun Jan 29 22:54:53 MST 2012


I managed to compile Torque 3.0.4 on Cygwin 1.7.9 but unable to launch pbs_mom.
Is there anyone successfully run pbs_mom as service in Windows 7.
Appreciate any help and pointer.

Here is what I did:
$ ./configure --disable-daemons --disable-unixsockets --disable-gcc-warnings
$ make
$ make install

$ uname -a
CYGWIN_NT-6.1-WOW64 AdaptiveC-THINK 1.7.9(0.237/5/3) 2011-03-29 10:10
i686 Cygwin

$ ./contrib/AddPrivileges --add mom
mkpasswd (103): [1355] The specified domain either does not exist or
could not be contacted.
mkgroup (102): [1355] The specified domain either does not exist or
could not be contacted.
   Adaptive .C is a local administrator
   Reboot your computer that the SeCreateTokenPrivilege has taken effect
   Passwd&Group files and additional privileges were set successfully
   Should run 'editrights -l -u UserAdmin'
    to ascertain of the privileges installation
 Warning!!! You have to understand that the installing of additional privileges
            can decrease your OS security level


$ cygrunsrv.exe -I pbs_mom -p /usr/local/sbin/pbs_mom.exe -u
Administrator -w password


If I tried to start as a service, the Event Properties reported the following:
The description for Event ID 0 from source pbs_mom cannot be found.
Either the component that raises this event is not installed on your
local computer or the installation is corrupted. You can install or
repair the component on the local computer.
If the event originated on another computer, the display information
had to be saved with the event.
The following information was included with the event:
pbs_mom: PID 6720: service `pbs_mom' failed: signal 6 raised


$ /usr/local/sbin/pbs_mom
pbs_mom: LOG_ERROR::IamRoot, Cann`t get the name of the primary domain
controller
MOM is up
assertion "stream >= 0" failed: file "../Libdis/diswul.c", line 130,
function: diswul
Aborted (core dumped)


More information about the torqueusers mailing list